/* Palsmon 关于我们 - 响应式样式 */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 14px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
  color: #333;
  background: #fff;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ----- 顶部栏 PC ----- */
.site-header {
  position: relative;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: flex;
  align-items: center;
}

.logo-link img {
  height: auto;
  max-height: 48px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav > a {
  font-size: 14px;
  color: #666;
  transition: color 0.2s;
}

.main-nav > a:hover {
  color: #000;
}

.main-nav > a.is-active {
  color: #000;
  font-weight: 700;
}

/* 关于我们：下拉子导航 */
.nav-item--dropdown {
  position: relative;
}

.nav-item__trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  color: #666;
  transition: color 0.2s;
}

.nav-item__trigger:hover {
  color: #000;
}

.nav-item__trigger.is-active {
  color: #000;
  font-weight: 700;
}

.nav-item__caret {
  display: inline-block;
  width: 0;
  height: 0;
  margin-top: 2px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #999;
  flex-shrink: 0;
}

.nav-dropdown {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 100%;
  padding-top: 10px;
  min-width: 148px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s, visibility 0.2s;
  z-index: 120;
}

.nav-item--dropdown:hover .nav-dropdown,
.nav-item--dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav-dropdown__panel {
  background: #fff;
  border: 1px solid #eee;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  padding: 6px 0;
}

.nav-dropdown__link {
  display: block;
  padding: 10px 18px;
  font-size: 15px;
  line-height: 1.4;
  color: #888;
  font-weight: 400;
  white-space: nowrap;
  transition: color 0.2s;
}

.nav-dropdown__link:hover {
  color: #333;
}

.nav-dropdown__link.is-active {
  color: #000;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: #c00;
  text-underline-offset: 5px;
}

/* 手机端顶栏 */
.header-mobile-bar {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.menu-toggle {
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #333;
  border-radius: 1px;
  transition: transform 0.25s, opacity 0.25s;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-dropdown {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 99;
  background: #fff;
  border-bottom: 1px solid #eee;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.mobile-dropdown.is-open {
  display: block;
}

.mobile-dropdown a {
  display: block;
  padding: 14px 20px;
  font-size: 14px;
  color: #333;
  border-bottom: 1px solid #f0f0f0;
}

.mobile-dropdown a:last-child {
  border-bottom: none;
}

.mobile-dropdown a.is-active {
  font-weight: 700;
  color: #000;
}

/* 手机端：关于我们子菜单 */
.mobile-nav-group {
  border-bottom: 1px solid #f0f0f0;
}

.mobile-nav-group__parent {
  display: block;
  padding: 14px 20px;
  font-size: 14px;
  color: #333;
  border-bottom: 1px solid #f5f5f5;
}

.mobile-nav-group__parent.is-active {
  font-weight: 700;
  color: #000;
}

.mobile-nav-group__sub {
  padding: 0 0 8px;
  background: #fafafa;
}

.mobile-nav-group__sub .nav-dropdown__link {
  padding: 12px 20px 12px 32px;
  font-size: 14px;
  white-space: normal;
}

/* Banner 轮播 */
.banner-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #111;
}

.banner-track {
  display: flex;
  transition: transform 0.5s ease;
  will-change: transform;
}

.banner-slide {
  flex: 0 0 100%;
  width: 100%;
}

.banner-slide img {
  width: 100%;
  height: auto;
  min-height: 200px;
  object-fit: cover;
}

.banner-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: none;
  background: rgba(255, 255, 255, 0.35);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: background 0.2s;
}

.banner-arrow:hover {
  background: rgba(255, 255, 255, 0.55);
}

.banner-arrow--prev {
  left: 12px;
}

.banner-arrow--next {
  right: 12px;
}

/* 主内容 */
.main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 24px 48px;
}

.line-4 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 10px;
  line-height: 1.4;
  text-align: center;
}

.line-5,
.line-6,
.line-7 {
  font-size: 14px;
  color: #444;
  margin: 0 0 8px;
  line-height: 1.65;
  text-align: center;
}

.video-block {
  margin: 24px 0;
}

.video-block img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.intro-text {
  font-size: 14px;
  color: #444;
  line-height: 1.85;
  margin: 0 0 32px;
  text-align: justify;
}

/* 时间轴 */
.timeline {
  margin-top: 8px;
}

.timeline-item {
  margin-bottom: 22px;
}

.timeline-year {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 8px;
  color: #111;
}

.timeline-desc {
  font-size: 12px;
  color: #444;
  margin: 0;
  line-height: 1.75;
  text-align: justify;
}

.timeline-outro {
  font-size: 12px;
  color: #444;
  margin: 28px 0 0;
  line-height: 1.75;
}

/* 页脚 */
.site-footer {
  background: #000;
  color: #fff;
  padding: 32px 20px 28px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logos {
  margin-bottom: 24px;
  text-align: center;
}

.footer-logos img {
  margin: 0 auto;
  max-width: 40%;
  height: auto;
}

.footer-hotline {
  font-size: 25px;
  font-weight: 700;
  text-align: center;
  margin: 0 0 20px;
  line-height: 1.4;
  color: #999;
}

.footer-text {
  font-size: 14px;
  text-align: center;
  margin: 0;
  color: #666;
}

.footer-cities {
  /*margin-top: 16px;*/
}

.footer-copy {
  margin-top: 15px;
}

/*.footer-links {*/
/*  font-size: 14px;*/
/*  text-align: center;*/
/*  color: #666;*/
/*}*/

/*.footer-links a {*/
/*  color: #666;*/
/*  text-underline-offset: 3px;*/
/*}*/

/*.footer-links a:hover {*/
/*  color: #fff;*/
/*}*/

/* <=800px 手机端 */
@media (max-width: 800px) {
  .header-inner {
    display: none;
  }

  .header-mobile-bar {
    display: flex;
  }

  .site-header {
    position: sticky;
    top: 0;
  }

  .tab-bar {
    gap: 8px 20px;
  }

  .tab-bar a {
    font-size: 15px;
  }

  .line-4 {
    font-size: 18px;
  }

  .footer-hotline {
    font-size: 18px;
  }

  .banner-arrow {
    width: 36px;
    height: 36px;
    font-size: 22px;
  }

  .banner-arrow--prev {
    left: 6px;
  }

  .banner-arrow--next {
    right: 6px;
  }
}

/* PC: >800px */
@media (min-width: 801px) {
  .header-mobile-bar,
  .mobile-dropdown {
    display: none !important;
  }

  .header-inner {
    display: flex;
  }
}
