/* ============================================================
   www.seeygo.com 样式表
   - 颜色、字号、圆角等集中在 :root 变量，改一处全局生效
   - 已完整适配 手机 / 平板 / 电脑（响应式）
============================================================ */
:root {
  --primary: #e63946;
  --primary-dark: #c62f3b;
  --primary-light: #ff6b76;
  --accent: #1d3557;
  --text: #2b2b2b;
  --text-light: #6b7280;
  --bg: #ffffff;
  --bg-alt: #f6f8fb;
  --border: #ebedf2;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(17, 24, 39, .08);
  --shadow-sm: 0 4px 14px rgba(17, 24, 39, .06);
  --max-width: 1140px;
  --header-h: 66px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  line-height: 1.75;
  background: var(--bg);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 28px);
}

/* ===================== 顶部导航 ===================== */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid transparent;
  z-index: 1000;
  transition: box-shadow .25s, border-color .25s;
}
.site-header.scrolled {
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  border-radius: 10px;
  font-size: 19px;
  box-shadow: 0 6px 14px rgba(230, 57, 70, .35);
}
.logo-text { font-size: clamp(16px, 2.4vw, 19px); letter-spacing: .4px; }

.nav { display: flex; align-items: center; }
.nav a {
  position: relative;
  margin-left: 30px;
  font-size: 15px;
  color: var(--text-light);
  font-weight: 500;
  transition: color .2s;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--primary);
  transition: width .25s;
}
.nav a:hover { color: var(--primary); }
.nav a:hover::after { width: 100%; }

/* 汉堡按钮（桌面端隐藏） */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===================== 首页横幅 ===================== */
.hero {
  position: relative;
  color: #fff;
  text-align: center;
  padding: clamp(70px, 14vw, 130px) 0;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 55%, var(--accent) 140%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 20%, rgba(255,255,255,.18), transparent 42%),
    radial-gradient(circle at 82% 78%, rgba(255,255,255,.12), transparent 40%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; animation: fadeUp .8s ease both; }
.hero h1 {
  font-size: clamp(26px, 5.5vw, 44px);
  line-height: 1.25;
  margin-bottom: 18px;
  font-weight: 800;
}
.hero p {
  font-size: clamp(15px, 2.4vw, 18px);
  opacity: .95;
  max-width: 660px;
  margin: 0 auto 32px;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 13px 34px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 15px;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s;
}
.btn-primary { background: #fff; color: var(--primary); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(0,0,0,.2); }
.btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.75); }
.btn-ghost:hover { background: rgba(255,255,255,.14); transform: translateY(-3px); }

/* ===================== 通用区块 ===================== */
.section { padding: clamp(54px, 9vw, 86px) 0; }
.section-alt { background: var(--bg-alt); }
.section-title {
  font-size: clamp(22px, 4vw, 30px);
  text-align: center;
  margin-bottom: 12px;
  font-weight: 800;
  position: relative;
}
.section-title.align-left { text-align: left; }
.section-sub {
  text-align: center;
  color: var(--text-light);
  margin-bottom: clamp(32px, 5vw, 50px);
  font-size: clamp(14px, 2.2vw, 16px);
}

/* ===================== 服务卡片 ===================== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(16px, 2.5vw, 26px);
}
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(26px, 4vw, 34px) 24px;
  text-align: center;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.card-icon {
  font-size: 42px;
  margin-bottom: 16px;
  display: inline-flex;
  width: 72px; height: 72px;
  align-items: center;
  justify-content: center;
  background: var(--bg-alt);
  border-radius: 50%;
}
.card h3 { font-size: 18px; margin-bottom: 10px; }
.card p { color: var(--text-light); font-size: 14px; }

/* ===================== 关于我们 ===================== */
.about-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}
.about-text p { margin-bottom: 14px; color: var(--text-light); font-size: clamp(14px, 2.2vw, 16px); }
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 30px);
  box-shadow: var(--shadow-sm);
}
.stat { text-align: center; }
.stat .num {
  display: block;
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat .label { color: var(--text-light); font-size: 13px; }

/* ===================== 联系我们 ===================== */
.contact-box {
  max-width: 580px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(26px, 5vw, 40px);
  box-shadow: var(--shadow-sm);
}
.contact-list { list-style: none; margin-bottom: 28px; }
.contact-list li {
  display: flex;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 15px;
}
.contact-list li:last-child { border-bottom: none; }
.contact-label {
  flex: 0 0 90px;
  color: var(--text-light);
  font-weight: 500;
}
.contact-value { color: var(--text); word-break: break-all; }
.todo { color: #c0c4cc; }

.social { display: flex; justify-content: center; gap: clamp(26px, 6vw, 44px); }
.social-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-light);
  transition: transform .2s, color .2s;
}
.social-item:hover { color: var(--primary); transform: translateY(-3px); }
.social-icon {
  font-size: 26px;
  width: 58px; height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-alt);
  border-radius: 50%;
  transition: background .2s;
}
.social-item:hover .social-icon { background: #ffe8ea; }
.social-name { font-size: 13px; }

/* ===================== 页脚 ===================== */
.site-footer {
  background: var(--accent);
  color: rgba(255,255,255,.7);
  text-align: center;
  padding: 26px 0;
  font-size: 13px;
}
.site-footer p { padding: 0 12px; }

/* ===================== 动画 ===================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===================== 响应式：平板 ===================== */
@media (max-width: 900px) {
  .about-inner { grid-template-columns: 1fr; }
  .section-title.align-left { text-align: center; }
}

/* ===================== 响应式：手机 ===================== */
@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border-top: 1px solid var(--border);
    box-shadow: var(--shadow);
    padding: 8px 0;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform .3s ease, opacity .3s ease;
  }
  .nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav a {
    margin: 0;
    padding: 14px 24px;
    border-bottom: 1px solid var(--border);
    font-size: 16px;
  }
  .nav a:last-child { border-bottom: none; }
  .nav a::after { display: none; }

  .hero-actions { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 280px; text-align: center; }
  .about-stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .contact-list li { flex-wrap: wrap; }
  .contact-label { flex-basis: 100%; margin-bottom: 2px; }
}

@media (max-width: 380px) {
  .about-stats { grid-template-columns: 1fr; }
}