* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", "Microsoft YaHei", sans-serif;
}

:root {
  --primary-color: #111;
  --secondary-color: #b00d15;
  --secondary-hover-color: #bc3239;
  --title-color: #222;
  --text-color: #848484;
  --border-color: #dadada;
  --text-hover-color: #1e6ffa;
}

/* Global Font: Inter */
html,
body,
body *,
input,
textarea,
select,
button,
option {
  font-family: 'Inter', sans-serif !important;
}

/* Font Awesome 5 & 6 */
.fa,
.fas,
.far,
.fal,
.fab,
.fa-solid,
.fa-regular,
.fa-light,
.fa-brands,
[class^="fa-"],
[class*=" fa-"] {
  font-family: "Font Awesome 5 Free" !important;
}

.fab,
.fa-brands {
  font-family: "Font Awesome 5 Brands" !important;
}

/* Bootstrap Icons */
.bi,
[class^="bi-"],
[class*=" bi-"] {
  font-family: "bootstrap-icons" !important;
}

/* Material Icons */
.material-icons,
.material-icons-outlined,
.material-symbols-outlined,
.material-symbols-rounded,
.material-symbols-sharp {
  font-family: "Material Icons" !important;
}



/*通用css类*/
.section-container {
  padding: 40px 0;
}
.section-container .section-content {
  width: 1400px;
  max-width: 100%;
  margin: 0 auto;
}

.bg1{
  background:#efefef;
}

.bg2{
  background:#ededed;
}

.bg3{
  background: var(--secondary-color);
}

.bg-cta{
  background: rgba(14, 14, 14, 0.8) url("/dist/img/banner/bg.webp") center center no-repeat;
  background-blend-mode: multiply;
  background-size: cover;
}

.text-center{
  text-align: center !important;
}

.section-container .section-title {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  color: var(--title-color);
}
.section-container .fff {
  color: white !important;
}
.section-container .text-left {
  text-align: left !important;
}

.section-head{
  margin:0 auto 25px;
  text-align:center
}

.section-head--left{
  margin-left:0;
  text-align:left
}

.section-head p {
  font-size:16px;
  color:var(--text-color);
  margin:0
}

.section-head .section-title{
  margin-bottom:15px
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--secondary-color);
  margin-bottom: 5px;
}

.section-sub {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--secondary-color);
  letter-spacing: 0.01em;
  margin: -6px 0 12px;
}


.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 8px 15px;
  border-radius: 5px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none;
  transition:
          background 0.2s cubic-bezier(0.4, 0, 0.2, 1),
          border-color 0.2s cubic-bezier(0.4, 0, 0.2, 1),
          color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}
.btn i {
  flex: 0 0 auto;
}
.btn-primary {
  background: var(--secondary-color);
  color: #fff;
}
.btn-primary:hover {
  background: var(--secondary-hover-color);
  color: #fff;
}
.btn-outline {
  background: #fff;
  border-color: var(--border-color);
  color: var(--title-color);
}
.btn-outline:hover {
  border-color: var(--secondary-color);
  color: var(--secondary-color);
  background: #fff;
}
.btn-light {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}
.btn-light:hover {
  background: #fff;
  color: var(--title-color);
  border-color: #fff;
}
.btn-lg {
  padding: 15px 30px;
  font-size: 16px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--secondary-color);
}
.text-link i {
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.text-link:hover i {
  transform: translateX(3px);
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.cta-center {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}
/*通用css类*/



.header-section {
  position: relative;
  z-index: 1000;
}

.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1002;
  width: 44px;
  height: 44px;
  border-radius: 6px;
  border: none;
  background: #000;
  font-size: 30px;
  color: #fff;
  cursor: pointer;
}

.header-nav-section {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background-color: #000000;
  z-index: 1000;
  transition: all 0.4s ease;
}

.header-nav-section.scrolled {
  background-color: #000000;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.header-nav-section.border-bottom {
  background-color: #000000;
  border-bottom: 4px solid var(--secondary-color);
}

.header-nav-content {
  max-width: 1400px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
  gap: 40px;
}

/* 左侧 Logo 区域 */
.header-nav-left {
  flex: 0 0 auto;
}

.header-nav-logo {
  width: auto;
  height: 80px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  color: #fff;
  text-decoration: none;
}

.header-nav-logo img {
  height: 80%;
  width: auto;
  object-fit: contain;
}

/* Logo wordmark: Chinese name over English name */
.header-nav-logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 3px;
}

/* Chinese name spreads to the same width as the English line below */
.header-nav-logo-text strong {
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--secondary-color);
  white-space: nowrap;
}

.header-nav-logo-text span {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 1.6px;
  color: var(--secondary-color);
  text-transform: uppercase;
  white-space: nowrap;
}

/* 中间导航区域 */
.header-nav-center {
  flex: 1;
  display: flex;
  justify-content: center;
}

.header-nav-links {
  display: flex;
  gap: 18px;
  align-items: center;
  position: relative;
}

/* 右侧按钮区域 */
.header-nav-right {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
}

/* ===== 语言选择器样式 ===== */
.header-nav-lang {
  position: relative;
  display: inline-block;
}

.header-nav-lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  padding: 8px 12px;
  color: white;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.header-nav-lang-btn:hover,
.header-nav-lang:hover .header-nav-lang-btn {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.header-nav-lang-btn i.fa-globe {
  font-size: 16px;
}

.header-nav-lang-btn i.fa-angle-down {
  font-size: 12px;
  transition: transform 0.25s ease;
}

.header-nav-lang:hover .header-nav-lang-btn i.fa-angle-down {
  transform: rotate(180deg);
}

.header-nav-lang-current {
  max-width: 130px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-nav-lang-dropdown {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: white;
  min-width: 180px;
  max-height: 360px;
  overflow-y: auto;
  padding: 8px;
  border-radius: 6px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  z-index: 1001;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  transform: translateY(10px);
}

.header-nav-lang:hover .header-nav-lang-dropdown {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.header-nav-lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  text-decoration: none;
  color: #333;
  font-size: 14px;
  font-weight: 400;
  border-radius: 4px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.header-nav-lang-option:hover {
  background: #f5f7fa;
  color: var(--secondary-color);
}

.header-nav-lang-option.active {
  background: #f0f0f0;
  color: var(--secondary-color);
  font-weight: 600;
}

.lang-flag-img {
  display: block;
  width: 20px;
  height: 15px;
  object-fit: cover;
  border-radius: 2px;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

/* 滚动条样式优化 */
.header-nav-lang-dropdown::-webkit-scrollbar {
  width: 6px;
}

.header-nav-lang-dropdown::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.header-nav-lang-dropdown::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 3px;
}

.header-nav-lang-dropdown::-webkit-scrollbar-thumb:hover {
  background: #999;
}

/* ===== Logo 双版本切换 =====
   黑色 header → logo-on-dark 白色版始终显示 */
.header-nav-logo .logo-on-dark {
  display: block;
}

.header-nav-logo .logo-on-light {
  display: none;
}

.header-nav-section.scrolled .header-nav-logo .logo-on-dark,
.header-nav-section.border-bottom .header-nav-logo .logo-on-dark {
  display: block;
}

.header-nav-section.scrolled .header-nav-logo .logo-on-light,
.header-nav-section.border-bottom .header-nav-logo .logo-on-light {
  display: none;
}

/* 搜索框样式 */
.header-search-box {
  display: flex;
  align-items: center;
  height: 40px;
}

.header-search-box input {
  height: 100%;
  width: 180px;
  padding: 0 15px;
  border: 1px solid var(--border-color);
  border-radius: 6px 0 0 6px;
  outline: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.header-search-box input:focus {
  width: 220px;
  border-color: var(--secondary-color);
}

.header-search-box button {
  height: 100%;
  width: 44px;
  border: none;
  background: var(--secondary-color);
  color: white;
  border-radius: 0 6px 6px 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.header-search-box button:hover {
  background: var(--secondary-hover-color);
}

/* 电脑端默认显示，手机默认隐藏 */
.desktop-search {
  display: flex;
}
.mobile-search {
  display: none;
}

/* 导航滚动后搜索框样式适配 */
.header-nav-section.scrolled .header-search-box input,
.header-nav-section.border-bottom .header-search-box input {
  background: #f9f9f9;
  color: #333;
}

.header-nav-dropdown {
  position: relative;
  display: inline-block;
}

.header-nav-dropdown-content {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 230px;
  padding: 8px;
  border-radius: 5px;
  box-shadow: 0 8px 10px rgba(0, 0, 0, 0.12);
  z-index: 1001;
  margin-top: 15px;
  transition:
          opacity 0.25s ease,
          transform 0.25s ease,
          visibility 0.25s ease;
  transform: translateY(10px);
}

.header-nav-dropdown:hover .header-nav-dropdown-content {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.header-nav-dropdown-content a {
  display: block;
  padding: 10px 14px;
  text-decoration: none;
  color: #333;
  font-size: 15px;
  font-weight: 400;
  border-radius: 4px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.header-nav-dropdown-content a:hover,
.header-nav-dropdown-content a.active {
  background: #f5f7fa;
  color: var(--secondary-color);
}

.header-nav-link {
  text-decoration: none;
  color: white;
  font-weight: 500;
  font-size: 16px;
  padding: 8px 0;
  margin: 0 3px;
  position: relative;
  transition: color 0.3s ease;
  white-space: nowrap;
  /*font-family: 'Barlow', sans-serif;*/
  font-family: 'Inter', sans-serif;
}


.header-nav-link i{
  font-size: 14px;
}

/* 下拉箭头 */
.header-nav-dropdown > .header-nav-link i {
  margin-left: 4px;
  transition: transform 0.25s ease;
}

.header-nav-dropdown:hover > .header-nav-link i {
  transform: rotate(180deg);
}

.header-nav-section.scrolled .header-nav-link,
.header-nav-section.border-bottom .header-nav-link {
  color: white;
  text-shadow: none;
}

.header-nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--secondary-color);
  left: 0;
  bottom: 0;
  transition: width 0.3s ease;
}

.header-nav-link:hover::after,
.header-nav-link.active::after {
  width: 100%;
}

.header-nav-link:hover,
.header-nav-link.active {
  color: var(--secondary-color) !important;
}

/* 回到顶部 */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  opacity: 0;
  visibility: hidden;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--secondary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 9999;
  border: none;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.back-to-top:hover {
  background: var(--secondary-hover-color);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

/* WhatsApp */
.whatapp-btn {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgb(37, 211, 102);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 9999;
  text-decoration: none;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.whatapp-btn:hover {
  background: rgba(37, 211, 102, 0.8);
}

/* =================================== */
/* 响应式 992px 以下 */
/* =================================== */
@media (max-width: 992px) {
  .section-container {
    padding: 48px 0;
  }
  .section-container .section-content {
    width: 100%;
    padding: 0 24px;
  }
  .section-container .section-title {
    font-size: 28px;
  }

  .section-head {
    margin-bottom: 40px;
  }
  .section-head p {
    font-size: 15px;
  }

  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .header-nav-section {
    height: auto;
    background: #000000 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  }

  .header-nav-content {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 15px;
  }

  .header-nav-left {
    width: 100%;
  }

  .header-nav-logo {
    height: 60px;
    gap: 8px;
  }

  .header-nav-logo-text strong {
    font-size: 24px;
    letter-spacing: 2px;
  }

  .header-nav-logo-text span {
    font-size: 9px;
    letter-spacing: 1.2px;
  }

  /* 移动端 header 恒为黑底，固定使用白色 logo */
  .header-nav-section .header-nav-logo .logo-on-dark {
    display: block;
  }

  .header-nav-section .header-nav-logo .logo-on-light {
    display: none;
  }

  .header-nav-center {
    display: none;
    width: 100%;
    padding: 10px 0;
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
  }

  .header-nav-center.show {
    display: flex;
  }

  .header-nav-links {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  .header-nav-right {
    width: 100%;
    display: none;
    flex-direction: column;
    gap: 10px;
  }

  .header-nav-center.show ~ .header-nav-right {
    display: flex;
  }

  /* 移动端语言选择器 */
  .header-nav-lang {
    width: 100%;
  }

  .header-nav-lang-btn {
    width: 100%;
    justify-content: center;
  }

  .header-nav-lang-dropdown {
    left: 0;
    right: 0;
    max-height: 280px;
  }

  /* 移动端 RFQ 按钮 */
  .rfq-btn {
    width: 100%;
  }

  .header-nav-link {
    color: white !important;
    text-shadow: none;
    padding: 20px 0px;
    font-size: 16px;
    border-bottom: 1px solid #ccc;
    width: 100%;
  }

  .header-nav-dropdown {
    width: 100%;
    border-bottom: 1px solid #ccc;
    padding: 20px 0;
  }

  .header-nav-dropdown .header-nav-link{
    border-bottom: none;
    width: 100%;
  }

  .header-nav-dropdown-content {
    position: static;
    visibility: visible;
    opacity: 1;
    transform: none;
    box-shadow: none;
    width: 100%;
    min-width: 0;
    padding: 0;
    background: transparent;
    display: none;

  }

  .header-nav-dropdown-content.show {
    display: block;
  }

  .header-nav-dropdown-content a {
    padding: 10px 15px 10px 30px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
  }

  .header-nav-dropdown-content a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
  }

  .header-nav-link::after {
    display: none;
  }

  /* 电脑搜索隐藏、手机搜索100%宽度 */
  .desktop-search {
    display: none !important;
  }
  .mobile-search {
    display: flex;
    width: 100%;
    height: 44px;
  }
  .mobile-search input {
    width: 100% !important;
    font-size: 15px;
  }
}
