/* ===== reset ===== */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section { display: block; }
ol, ul { list-style: none; }
blockquote, q { quotes: none; }
table { border-collapse: collapse; border-spacing: 0; }
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; outline: none; border: none; background: none; }
button { cursor: pointer; }

:root {
  --primary-color: #0066cc;
  --primary-dark: #004d99;
  --primary-darker: #0052a3;
  --secondary-color: #ff6b35;
  --secondary-dark: #ff5722;
  --text-dark: #2c3e50;
  --text-light: #666;
  --bg-light: #f8f9fa;
  --white: #ffffff;
  --border-color: #e1e8ed;
  --success-color: #10b981;
  --shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  --header-h: 64px;
  --container: 1400px;
}

html { scroll-behavior: smooth; }

body {
  font-family: "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 2rem; }

/* 区块标题（居中） */
.section-header { text-align: center; margin-bottom: 3rem; }
.section-subtitle { color: var(--primary-color); font-weight: 600; font-size: 1.3rem; letter-spacing: 2px; margin-bottom: 0.6rem; }
.section-title { font-size: 2.2rem; font-weight: 900; color: var(--text-dark); margin-bottom: 1rem; line-height: 1.3; }
.section-description { font-size: 1.1rem; color: var(--text-light); max-width: 720px; margin: 0 auto; }

/* 通用按钮 */
.btn-primary, .btn-secondary {
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-size: 1.05rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}
.btn-primary { background: var(--secondary-color); color: #fff; }
.btn-primary:hover { background: var(--secondary-dark); transform: translateY(-3px); box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4); }
.btn-secondary { background: #fff; color: var(--primary-color); }
.btn-secondary:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3); }

/* ===== 页头 ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.3s;
}
.nav-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}
.logo {
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}
.logo i { color: var(--secondary-color); }
.logo img {height:40px;}
.main-nav { display: flex; align-items: center; gap: 2.2rem; }
.main-nav a {
  color: var(--text-dark);
  font-weight: 500;
  font-size: 1.05rem;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: all 0.25s;
}
.main-nav a:hover { color: var(--primary-color); }
.main-nav li.active > a { color: var(--primary-color); border-bottom-color: var(--primary-color); }
.nav-cta {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-darker));
  color: #fff !important;
  padding: 0.6rem 1.5rem !important;
  border-radius: 50px;
  font-weight: 600;
  border-bottom: none !important;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3); }
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  font-size: 22px;
  color: var(--primary-color);
}

/* 移动端抽屉 */
.drawer-mask { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.5); z-index: 200; display: none; }
.mobile-drawer {
  position: fixed; top: 0; right: -300px;
  width: 288px; height: 100vh;
  background: #fff; z-index: 201;
  box-shadow: -6px 0 24px rgba(0, 0, 0, 0.15);
  overflow-y: auto;
  transition: right 0.32s ease;
}
.mobile-drawer.open { right: 0; }
.mobile-drawer .drawer-head {
  height: 60px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 18px; background: var(--primary-color); color: #fff;
}
.mobile-drawer .drawer-head .logo { color: #fff; font-size: 1.3rem; }
.mobile-drawer .drawer-head .logo i { color: #ffd9c7; }
.mobile-drawer .drawer-close { font-size: 22px; color: #fff; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; }
.mobile-drawer ul li a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 20px; border-bottom: 1px solid var(--border-color);
  font-size: 1.05rem; color: var(--text-dark);
}
.mobile-drawer ul li.active > a { color: var(--primary-color); font-weight: 700; }
.mobile-drawer .drawer-tel {
  margin: 20px 18px; padding: 14px;
  background: var(--bg-light); border: 1px solid var(--border-color);
  border-radius: 12px; text-align: center; color: var(--primary-color); font-weight: 700; display: inline-block;
}
.mobile-drawer .drawer-tel i { margin-right: 6px; }

/* ===== 页脚 ===== */
.site-footer { background: #1a1a1a; color: #fff; padding: 4rem 2rem 2rem; }
.footer-container {
  max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem;
}
.footer-about h3 { font-size: 1.6rem; margin-bottom: 1rem; color: var(--secondary-color); }
.footer-about p { color: rgba(255, 255, 255, 0.7); line-height: 1.8; margin-bottom: 1.5rem; }
.footer-section h4 { font-size: 1.15rem; margin-bottom: 1.4rem; }
.footer-links li { margin-bottom: 0.8rem; color: rgba(255, 255, 255, 0.7); }
.footer-links li i { margin-right: 0.5rem; color: var(--secondary-color); width: 18px; text-align: center; }
.footer-links a { color: rgba(255, 255, 255, 0.7); transition: color 0.3s; }
.footer-links a:hover { color: var(--secondary-color); }
.footer-bottom {
  text-align: center; padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5); font-size: 0.95rem;
}
.footer-bottom a { color: rgba(255, 255, 255, 0.5); }
.footer-bottom a:hover { color: var(--secondary-color); }

/* ===== 返回顶部 ===== */
.back-top {
  position: fixed; right: 24px; bottom: 90px;
  width: 46px; height: 46px;
  background: var(--primary-color); color: #fff;
  border-radius: 12px;
  display: none; align-items: center; justify-content: center;
  font-size: 18px;
  box-shadow: var(--shadow); z-index: 90;
  transition: all 0.25s;
}
.back-top:hover { background: var(--primary-dark); transform: translateY(-3px); }

/* ===== 滚动淡入 ===== */
.fade-up { opacity: 0; transform: translateY(36px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-up.in-view { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; }
.d4 { transition-delay: 0.4s; }
.d5 { transition-delay: 0.5s; }

/* ===== 响应式 ===== */
@media (max-width: 980px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .footer-container { grid-template-columns: 1fr; gap: 2rem; margin-bottom: 2rem; }
  .container, .nav-container { padding: 0 1.2rem; }
  .section-title { font-size: 1.7rem; }
}
