/* ========== 基础 ========== */
body {
  font-family: "Century Gothic", "Lato", sans-serif;
  overflow-x: hidden;
  overflow-y: hidden;
}
a { text-decoration: none; }

.et-hero-tabs,
.et-slide {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  position: relative;
  background: #eee;
  text-align: center;
  padding: 0 2em;
}
.et-hero-tabs h1,
.et-slide h1 {
  font-size: 2rem;
  margin: 0;
  letter-spacing: 0.5rem;
}
.et-hero-tabs h3,
.et-slide h3 {
  font-size: 1rem;
  letter-spacing: 0.2rem;
  opacity: 0.6;
}

/* ========== 大号汉堡按钮 ========== */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 9999;
  width: 36px;
  height: 28px;
}
.menu-toggle span {
  width: 36px;
  height: 4px;
  background-color: #000;
  margin: 4.5px 0;
  transition: 0.25s;
}
.menu-toggle.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-7px, 9px) scaleX(1.1);
}
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) {
  transform: rotate(45deg) translate(-7px, -9px) scaleX(1.1);
}

/* ========== 导航栏 ========== */
.et-hero-tabs-container {
  display: flex;
  flex-direction: row;
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 70px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  background: #fff;
  z-index: 10;
}
.et-hero-tabs-container--top { position: fixed; top: 0; }

.et-hero-tab {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
  color: #000;
  letter-spacing: 0.1rem;
  transition: all 0.5s ease;
  font-size: 0.8rem;
}
.et-hero-tab:hover {
  color: white;
  background: rgba(0, 0, 0, 1);
  transition: all 0.5s ease;
}
.et-hero-tab-slider {
  position: absolute;
  bottom: 0;
  width: 0;
  height: 6px;
  background: #000;
  transition: left 0.3s ease;
}
.logo_menu { height: 70px; max-width: 70px; }
.logo_copyright { height: 150px; max-width: 150px; }

/* ========== 桌面端隐藏换行符 ========== */
br.hide-pc { display: none; }

/* ========== 移动端 ========== */
@media (max-width: 600px) {
  .menu-toggle { display: flex; }
  .iconfont.icon-split {display: none; }
  .et-hero-tabs h3{ 
  text-align: left;
  padding: 1rem 0;      /* 左右留一点呼吸感，可微调 */
  } 
  .et-slide {
  text-align: left;
  padding: 0 1rem;      /* 左右留一点呼吸感，可微调 */
  }

  /* 侧滑菜单：满屏高度 + 平均分行高 */
  .et-hero-tabs-container {
    position: fixed;
    top: 0;
    right: -100%;
    flex-direction: column;
    width: 40%;
    max-width: 150px;
    height: 100vh;
    padding: 60px 0 60px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.08);
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 998;
  }
  .et-hero-tabs-container.active { right: 0; }

  /* 每一项（含 logo）均等分 & 垂直居中 */
  .et-hero-tab,
  .et-hero-logo {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    font-size: 15px;
  }
  .et-hero-tab-slider { display: none; }

  /* logo 图片自适应 */
  .logo_menu {
    height: auto;
    max-height: 70px;
    width: auto;
    max-width: 70px;
  }

  /* 最后一项底部留空，防止 logo 被截断 */
  .et-hero-tabs-container > :last-child {
    margin-bottom: 80px;   /* 按需增减 */
  }

  /* 显示换行符 → 真正换行 */
  br.hide-pc { display: block; }
}

/* ========== 大屏字体放大 ========== */
@media (min-width: 800px) {
  .et-hero-tabs h1, .et-slide h1 { font-size: 3rem; }
  .et-hero-tabs h3, .et-slide h3 { font-size: 1rem; }
  .et-hero-tab { font-size: 1rem; }
}
