/* ============================================================
   3C底盘官网 — 金色+墨黑主题
   风格参考：鑫嘉隆汽车服务中心
   ============================================================ */

/* ---- CSS 变量 ---- */
:root {
  --gold: #c1964b;
  --gold-2: #e0bb79;
  --gold-dark: #a07a3a;
  --ink: #111419;
  --ink-2: #181c23;
  --ink-3: #222731;
  --text: #262a31;
  --muted: #767c87;
  --paper: #f6f4ef;
  --paper-2: #efece4;
  --white: #ffffff;
  --line: rgba(17, 20, 25, 0.1);
  --line-light: rgba(255, 255, 255, 0.14);
  --radius: 2px;
  --radius-md: 4px;
  --shadow: 0 18px 50px -25px rgba(17, 20, 25, 0.35);
  --wrap: 1200px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---- Reset ---- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", system-ui, -apple-system, sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: var(--white);
  font-size: 16px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; transition: color var(--ease); }
img { max-width: 100%; display: block; }
button, input, textarea, select { font-family: inherit; }

/* ---- 容器 ---- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---- 顶部导航 ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ink);
  transition: background var(--ease);
}
.site-header .wrap {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-header.scrolled { background: rgba(17, 20, 25, 0.96); }

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--white);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 2px;
}
.logo .brand-mark {
  width: 36px;
  height: 36px;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
}
.logo .brand-sub {
  font-size: 10px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 3px;
  margin-top: 2px;
}
.logo img { height: 36px; width: auto; }

.nav { display: flex; gap: 40px; align-items: center; }
.nav a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 1px;
  position: relative;
  padding: 4px 0;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--ease);
}
.nav a:hover, .nav a.active { color: var(--white); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }

.nav-cta {
  background: var(--gold);
  color: var(--ink) !important;
  padding: 10px 24px;
  font-weight: 700;
  letter-spacing: 1px;
  transition: all var(--ease);
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--gold-2); }

/* ---- Hero ---- */
.hero {
  background: var(--ink);
  color: var(--white);
  padding: 100px 0 120px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    linear-gradient(135deg, rgba(193, 150, 75, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 30%, rgba(193, 150, 75, 0.12) 0%, transparent 60%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.hero-kicker {
  font-size: 12px;
  letter-spacing: 4px;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.hero h1 {
  font-size: 56px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -1px;
  margin-bottom: 24px;
}
.hero h1 .accent { color: var(--gold); }
.hero p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 560px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--line-light);
}
.hero-stats .stat-num {
  font-size: 42px;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}
.hero-stats .stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 1px;
  margin-top: 6px;
}

/* ---- 通用 Section ---- */
.section { padding: 96px 0; position: relative; }
.section.bg-paper { background: var(--paper); }
.section.bg-paper-2 { background: var(--paper-2); }
.section.bg-white { background: var(--white); }
.section.bg-ink { background: var(--ink); color: var(--white); }
.section.bg-ink .section-kicker { color: var(--gold); }
.section.bg-ink .section-title { color: var(--white); }
.section.bg-ink .section-desc { color: rgba(255,255,255,0.55); }

.section-head { margin-bottom: 60px; }
.section-kicker {
  font-size: 12px;
  letter-spacing: 4px;
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}
.section-title {
  font-size: 36px;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -0.5px;
  line-height: 1.3;
}
.section-desc {
  margin-top: 16px;
  font-size: 15px;
  color: var(--muted);
  max-width: 560px;
}

/* ---- 按钮 ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--ease);
  background: none;
}
.btn-gold {
  background: var(--gold);
  color: var(--ink);
}
.btn-gold:hover { background: var(--gold-2); }
.btn-outline {
  border-color: var(--gold);
  color: var(--gold);
  background: transparent;
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--ink);
}
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
}
.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
}

/* ---- 卡片 ---- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 32px;
  transition: all var(--ease);
}
.card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.card .card-num {
  font-size: 36px;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: -1px;
  margin-bottom: 16px;
  line-height: 1;
}
.card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}
.card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

/* 网格 */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }

/* ---- Footer ---- */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 32px;
  border-top: 1px solid var(--line-light);
}
.site-footer .wrap {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line-light);
}
.site-footer h4 {
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--white);
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.site-footer .footer-logo {
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.site-footer .footer-desc {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.5);
  max-width: 340px;
}
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 10px; }
.site-footer a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}
.site-footer a:hover { color: var(--gold); }
.site-footer .footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.5px;
}

/* ---- 内部页面 Hero ---- */
.page-hero {
  background: var(--ink) !important;
  background-image: linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 50%, var(--ink-3) 100%) !important;
  color: var(--white) !important;
  padding: 72px 0 80px;
  text-align: center;
  position: relative;
}
.page-hero::after { display: none !important; }
.page-hero .wrap { max-width: 680px; }
.page-hero .breadcrumb {
  font-size: 12px;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}
.page-hero .breadcrumb a { color: rgba(255,255,255,0.55); }
.page-hero h1 {
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}
.page-hero p {
  font-size: 15px;
  color: rgba(255,255,255,0.55);
}

/* ---- 新闻列表 ---- */
.news-list .news-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.news-list .news-item:first-child { padding-top: 0; }
.news-list .news-date {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 1px;
  padding-top: 4px;
}
.news-list .news-cat {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.news-list h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
  transition: color var(--ease);
}
.news-list .news-item:hover h3 { color: var(--gold); }
.news-list p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

/* ---- 新闻详情 ---- */
.news-detail { padding: 80px 0 120px; }
.news-detail .wrap { max-width: 760px; }
.news-detail .article-meta {
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--muted);
  margin-bottom: 24px;
  text-transform: uppercase;
}
.news-detail h1 {
  font-size: 36px;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: var(--ink);
  margin-bottom: 40px;
  line-height: 1.3;
}
.news-detail .article-body {
  font-size: 16px;
  line-height: 1.9;
  color: var(--text);
}
.news-detail .article-body p { margin-bottom: 20px; }
.news-detail .article-body h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  margin: 40px 0 16px;
  letter-spacing: 0.5px;
}
.news-detail .article-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin: 28px 0 12px;
}

/* ---- 服务项目卡片 ---- */
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 40px;
  transition: all var(--ease);
  position: relative;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 3px;
  background: var(--gold);
  transition: width var(--ease);
}
.service-card:hover::before { width: 100%; }
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--gold);
}
.service-card .price {
  font-size: 32px;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}
.service-card .price small {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}
.service-card h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}
.service-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

/* ---- 响应式 ---- */
@media (max-width: 960px) {
  .site-footer .wrap { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 38px; }
  .nav { gap: 20px; }
  .nav a { font-size: 13px; }
}
@media (max-width: 640px) {
  .site-header .wrap { height: 60px; }
  .hero { padding: 60px 0 80px; }
  .hero h1 { font-size: 28px; }
  .section { padding: 64px 0; }
  .section-title { font-size: 26px; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; gap: 20px; }
  .site-footer .wrap { grid-template-columns: 1fr; gap: 32px; }
  .site-footer .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .page-hero h1 { font-size: 28px; }
  .news-list .news-item { grid-template-columns: 1fr; gap: 8px; }
  .nav { gap: 12px; }
  .nav a { font-size: 12px; letter-spacing: 0; }
  .nav-cta { padding: 8px 14px; font-size: 12px; }
}
