* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

:root {
  --primary-color: #222;
  /*--secondary-color: #329694;*/
  /*--secondary-hover-color: rgb(15, 145, 143,0.7);*/

  --secondary-color: #0c61ae;
  --secondary-hover-color: rgb(12, 97, 174,0.7);
  --accent-color: #10b981;
  --title-color: #222;
  --text-color: #848484;
  --border-color: #dadada;
}

body{
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

body p{
  line-height: 1.6;
}


.section-container {
  padding: 60px 0;
}
.section-container .section-content {
  width: 1400px;
  max-width: 100%;
  margin: 0 auto;
}

.bg1{
  background:#F8FAFC;
}

.bg2{
  background:#e4f3ea;
}

.bg3{
  background: var(--secondary-color);
}

.text-center{
  text-align: center !important;
}

.section-container .section-title {
  font-size: 32px;
  font-weight: 600;
  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 52px;
  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: 10px;
}

.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 svg {
  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 svg {
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.text-link:hover svg {
  transform: translateX(3px);
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.cta-center {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}




.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;
  background: white;
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  font-size: 20px;
  color: #333;
  cursor: pointer;
}

.header-nav-section {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background-color: transparent;
  z-index: 1000;
  transition: all 0.4s ease;
}

.header-nav-section.scrolled {
  background-color: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.header-nav-section.border-bottom {
  background-color: white;
  border-bottom: 4px solid var(--secondary-color);
}

.header-nav-content {
  max-width: 1400px;
  margin: 0 auto;
  height: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 30px;
  padding: 0 20px;
}

.header-nav-logo-area {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.header-nav-logo {
  width: 150px;
  height: 80px;
  display: flex;
  align-items: center;
}

.header-nav-logo img {
  height: 80%;
  width: auto;
  object-fit: contain;
}

/* ===== Logo 双版本切换 =====
   透明 header（页面顶部）→ logo-on-dark 白色版
   白底 header（.scrolled 下滑后 / .border-bottom 无 banner 页）→ logo-on-light 彩色版 */
.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: none;
}

.header-nav-section.scrolled .header-nav-logo .logo-on-light,
.header-nav-section.border-bottom .header-nav-logo .logo-on-light {
  display: block;
}

.header-nav-links-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.header-nav-links {
  display: flex;
  gap: 18px;
  align-items: center;
  position: relative;
}

.header-nav-cta-area {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

/* 搜索框样式 */
.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;
  width: auto;
  border-radius: 5px;
  box-shadow: 0 8px 10px rgba(0, 0, 0, 0.1);
  z-index: 1001;
  padding: 10px;
  transition: all 0.3s 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 5px;
  text-decoration: none;
  color: #333;
  font-size: 16px;
  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 3px;
  position: relative;
  transition: color 0.3s ease;
  white-space: nowrap;
  font-family: 'Barlow', sans-serif;
  text-transform: uppercase;
}

.header-nav-link i{
  font-size: 14px;
}

.header-nav-section.scrolled .header-nav-link,
.header-nav-section.border-bottom .header-nav-link {
  color: #000;
  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: white !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }

  .header-nav-content {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 15px;
  }

  .header-nav-logo {
    height: 60px;
  }

  /* 移动端 header 恒为白底，固定使用深色 logo，不参与滚动切换 */
  .header-nav-section .header-nav-logo .logo-on-dark {
    display: none;
  }

  .header-nav-section .header-nav-logo .logo-on-light {
    display: block;
  }

  .header-nav-links-wrapper {
    display: none;
    width: 100%;
    padding: 10px 0;
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
  }

  .header-nav-links-wrapper.show {
    display: flex;
  }

  .header-nav-links {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  .header-nav-link {
    color: #000 !important;
    text-shadow: none;
    width: 100%;
    padding: 12px 15px;
    font-size: 16px;
  }

  .header-nav-dropdown {
    width: 100%;
    padding: 10px 0;
  }

  .header-nav-dropdown-content {
    position: static;
    visibility: visible;
    opacity: 1;
    transform: none;
    box-shadow: none;
    width: 100%;
    display: none;

  }

  .header-nav-dropdown-content.show {
    display: block;
  }

  .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;
  }
}
