@charset "utf-8";

/* ================= 全局基础设置 ================= */
:root {
  font-size: 16px;
  --primary-green: #00A896;
  --primary-orange: #FF6C00;
  --primary-blue: #166bb3;
  --primary-blue-deep: #005299;
  --primary-blue-header: #0066B3;
  --text-dark: #333;
  --text-gray: #666;
  --bg-light-gray: #F5F5F5;
  --border-radius-sm: 0.4rem;
  --border-radius-lg: 1.125rem;
  --max-width: 87.5rem;
  --transition-base: all 0.3s ease;
}

/* 全局重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Microsoft Yahei", "PingFang SC", sans-serif;
}
body { margin: 0; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* 通用类 */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}
.text-center { text-align: center; }
.text-secondary { color: #00A896; }
.text-primary { color: #0066B3; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-spac { letter-spacing: 0.25rem; }

/* ================= 头部导航 ================= */
.header-wrapper {
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  left: 0;
  z-index: 999;
}
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.75rem 2rem;
  flex-wrap: nowrap;
  white-space: nowrap;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-blue-header);
  white-space: nowrap;
  flex-shrink: 0;
}
.logo img {
  width: 5.2rem;
  height: auto;
  flex-shrink: 0;
}

/* PC导航 */
.nav {
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}
.nav li a {
  color: var(--text-dark);
  font-size: 1rem;
  font-weight: 500;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
  transition: var(--transition-base);
}
.nav li a.active,
.nav li a:hover {
  color: var(--primary-blue-header);
  border-bottom: 2px solid var(--primary-blue-header);
}

/* ================= 产品中心下拉菜单 ================= */
/* 父级li需要相对定位，作为下拉菜单的定位锚点 */
.nav li.has-submenu {
  position: relative;
}

/* 下拉菜单容器 */
.nav .submenu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.75rem;
  background: #fff;
  min-width: 200px;
  border-radius: 0.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  padding: 0.5rem 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 1000;
}

/* 鼠标悬停时显示下拉菜单 */
.nav li.has-submenu:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* 下拉菜单每一项的链接样式 */
.nav .submenu li a {
  display: block;
  padding: 0.6rem 1.2rem;
  color: var(--text-dark);
  font-size: 0.95rem;
  font-weight: 500;
  border-bottom: none;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}

/* 下拉菜单悬停效果 */
.nav .submenu li a:hover {
  background: #f0f6ff;
  color: var(--primary-blue-header);
  padding-left: 1.6rem;
}

/* 产品中心链接右侧小箭头指示器（可选） */
.nav li.has-submenu > a::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 0.35rem;
  vertical-align: 0.15rem;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--text-dark);
  transition: border-top-color 0.25s;
}
.nav li.has-submenu > a.active::after,
.nav li.has-submenu > a:hover::after {
  border-top-color: var(--primary-blue-header);
}

/* PC咨询按钮 */
.btn-consult-header {
  background: var(--primary-orange);
  color: #fff;
  padding: 0.625rem 1.5rem;
  border-radius: 0.375rem;
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.2s ease;
}
.btn-consult-header:hover {
  background: #E56000;
}

/* ================= 汉堡按钮 ================= */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}
.mobile-menu-btn span {
  width: 22px;
  height: 2px;
  background: #333;
  border-radius: 2px;
}

/* ================= 顶部抽屉导航 ================= */
.mobile-top-drawer {
  position: fixed;
  top: -100%;
  left: 0;
  width: 100%;
  height: auto;
  background: rgba(255, 255, 255, 0.9);
  z-index: 1000;
  transition: top 0.35s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.mobile-top-drawer.open { top: 0; }

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #eee;
}
.drawer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-blue-header);
}
.drawer-logo img { width: 40px; height: auto; }
.drawer-close-btn { font-size: 24px; color: #333; cursor: pointer; padding: 4px 8px; }

.drawer-inner {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.drawer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-align: center;
}
.drawer-nav li a { font-size: 16px; color: #333; font-weight: 500; }
.drawer-nav li a.active { color: var(--primary-blue-header); }
.drawer-btn {
  background: var(--primary-orange);
  color: #fff;
  padding: 14px;
  text-align: center;
  border-radius: 8px;
  font-weight: 600;
}

/* 遮罩 */
.drawer-mask {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.45);
  z-index: 999;
  display: none;
}
.drawer-mask.open { display: block; }

/* ================= 动画 ================= */
@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}
.fade-up {
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
  will-change: opacity, transform;
}
.fade-up.active {
  opacity: 1;
  transform: translateY(0);
  animation: fadeUp 0.6s ease-out forwards;
}
.fade-up-delay-1 { animation-delay: 0.1s; }
.fade-up-delay-2 { animation-delay: 0.2s; }
.fade-up-delay-3 { animation-delay: 0.3s; }
.fade-up-delay-4 { animation-delay: 0.4s; }

.text-blue-bold {
  color: #77c5ff; /* #0066B3 */
  font-weight: 800;
  font-size: 1.0375rem;
}
.text-blue-bold-big {
  color: var(--primary-blue-header); /* #0066B3 */
  font-weight: 800;
  font-size: 1.0375rem;
}



/* ================= 页脚 ================= */
.footer {
  background: var(--primary-blue-header);
  color: #fff;
  padding: 60px 0 30px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  margin-bottom: 30px;
}
.footer-col {
  flex: 1;
  min-width: 220px;
}
.footer-brand .footer-logo {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 20px;
}
.footer-brand .footer-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
}
.footer-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 20px;
}
.footer-links li, .contact-list li, .time-list li {
  margin-bottom: 12px;
  font-size: 14px;
  color: rgba(255,255,255,0.8);
}
.footer-links a {
  color: rgba(255,255,255,0.8);
  transition: color 0.3s;
}
.footer-links a:hover { color: #fff; }
.contact-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon {
  width: 16px;
  height: 16px;
  display: inline-block;
  border-radius: 2px;
}
.icon-phone {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2300A896'%3E%3Cpath d='M20.01 15.38c-1.23 0-2.42-.2-3.53-.56a.977.977 0 0 0-1.01.24l-1.57 1.97c-2.84-1.44-5.15-3.75-6.59-6.59l1.97-1.57c.31-.31.37-.78.18-1.13-.37-.92-.57-1.9-.57-2.95 0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1 0 9.39 7.61 17 17 17 .55 0 1-.45 1-1v-2.01c0-.55-.45-1-1-1z'/%3E%3C/svg%3E") center/cover no-repeat;
}
.icon-email {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2300A896'%3E%3Cpath d='M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E") center/cover no-repeat;
}
.icon-address {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2300A896'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z'/%3E%3C/svg%3E") center/cover no-repeat;
}
.footer-bottom .copyright {
  text-align: center;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
}

/* ================= 响应式（唯一、干净、无冲突） ================= */
@media (max-width: 1100px) {
	.btn-consult-header{
		display: none !important;
	}
}
@media (max-width: 992px) {
  .nav,
  .btn-consult-header {
    display: none !important;
  }
  .mobile-menu-btn {
    display: flex !important;
  }
  .header-container {
    padding: 12px 16px !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
  }
  .logo {
    font-size: 1rem !important;
    gap: 6px !important;
  }
  .logo img {
    width: 3.6rem !important;
  }

  .footer-top { gap: 30px; }
}

@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    gap: 40px;
  }
  .footer-col { width: 100%; }
  .footer-brand,
  .footer-nav,
  .footer-time {
    display: none !important;
  }
  .footer-contact {
    width: 100% !important;
    text-align: center !important;
  }
  .footer-bottom .copyright {
    font-size: 12px;
    padding: 0 20px;
  }
}
