/* ============================================================
   腾腾旅游租车 · 官网样式系统
   GEO 友好设计：结构清晰、语义明确、移动端适配
   ============================================================ */

:root {
  --brand: #C8452F;
  --brand-dark: #9E3323;
  --brand-light: #FBEDE9;
  --accent: #1D7A5F;
  --accent-light: #E4F3EE;

  --text-1: #1F1E1C;
  --text-2: #5C5A56;
  --text-3: #8C8983;

  --bg-1: #FFFFFF;
  --bg-2: #F7F5F2;
  --bg-3: #EFEBE5;

  --border: #E2DDD6;
  --border-2: #CFC8BF;

  --radius: 10px;
  --radius-lg: 14px;
  --maxw: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei",
               "PingFang SC", "Hiragino Sans GB", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-1);
  background: var(--bg-1);
  -webkit-font-smoothing: antialiased;
}

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

section { padding: 64px 0; }
section.tight { padding: 40px 0; }
section.alt { background: var(--bg-2); }

/* ---------- 排版 ---------- */
h1 { font-size: 34px; line-height: 1.35; font-weight: 700; letter-spacing: -0.5px; }
h2 { font-size: 26px; line-height: 1.4; font-weight: 700; margin-bottom: 8px; }
h3 { font-size: 19px; line-height: 1.5; font-weight: 600; margin-bottom: 6px; }
h4 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
p { margin-bottom: 14px; color: var(--text-1); }

.lead { font-size: 17px; color: var(--text-2); line-height: 1.8; }
.muted { color: var(--text-3); font-size: 14px; }
.sec-intro { max-width: 760px; color: var(--text-2); margin-bottom: 32px; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 66px; gap: 20px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 18px; font-weight: 700; color: var(--text-1);
  text-decoration: none; letter-spacing: -0.3px; white-space: nowrap;
}
.logo-mark {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--brand); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700; flex-shrink: 0;
}
.nav-links { display: flex; gap: 4px; list-style: none; align-items: center; }
.nav-links a {
  color: var(--text-2); text-decoration: none; font-size: 15px;
  padding: 8px 13px; border-radius: 8px; transition: background .15s, color .15s;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { background: var(--bg-2); color: var(--brand); }

.nav-cta {
  background: var(--brand); color: #fff !important;
  padding: 9px 18px !important; font-weight: 500;
}
.nav-cta:hover { background: var(--brand-dark) !important; color: #fff !important; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--border);
  border-radius: 8px; width: 40px; height: 38px; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--text-1); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-block; padding: 12px 26px; border-radius: 9px;
  font-size: 15px; font-weight: 500; text-decoration: none;
  transition: all .15s; border: 1px solid transparent; cursor: pointer;
  font-family: inherit; line-height: 1.5;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-outline { background: #fff; color: var(--text-1); border-color: var(--border-2); }
.btn-outline:hover { border-color: var(--text-1); }

.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

/* ---------- 首屏 ---------- */
.hero {
  padding: 72px 0 64px;
  background: linear-gradient(180deg, var(--brand-light) 0%, var(--bg-1) 100%);
}
.hero-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  gap: 56px; align-items: center;
}
.hero h1 { margin-bottom: 18px; }
.hero .lead { font-size: 17px; margin-bottom: 8px; }
.hero-badge {
  display: inline-block; background: #fff; border: 1px solid var(--border);
  color: var(--brand); font-size: 13px; font-weight: 500;
  padding: 5px 13px; border-radius: 100px; margin-bottom: 18px;
}

/* 首屏事实卡（GEO 关键） */
.fact-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 22px 24px;
}
.fact-card h3 { font-size: 15px; color: var(--text-3); font-weight: 500; margin-bottom: 14px; }
.fact-list { list-style: none; }
.fact-list li {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 9px 0; border-bottom: 1px dashed var(--border);
  font-size: 14px; align-items: baseline;
}
.fact-list li:last-child { border-bottom: none; }
.fact-list .k { color: var(--text-3); flex-shrink: 0; }
.fact-list .v { color: var(--text-1); font-weight: 500; text-align: right; }

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

.card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 26px 24px;
  transition: border-color .15s, transform .15s;
}
.card:hover { border-color: var(--border-2); transform: translateY(-2px); }
.card-num {
  width: 34px; height: 34px; border-radius: 9px; background: var(--brand-light);
  color: var(--brand); display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700; margin-bottom: 14px;
}
.card p { font-size: 14.5px; color: var(--text-2); margin-bottom: 0; }
.card .card-link {
  display: inline-block; margin-top: 14px; color: var(--brand);
  font-size: 14px; font-weight: 500; text-decoration: none;
}
.card .card-link:hover { text-decoration: underline; }

/* ---------- 表格 ---------- */
.table-wrap { overflow-x: auto; margin: 20px 0; }
table {
  width: 100%; border-collapse: collapse; font-size: 14.5px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden;
}
th, td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--border); }
th { background: var(--bg-2); font-weight: 600; font-size: 14px; color: var(--text-1); white-space: nowrap; }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: #FCFBF9; }
td.price { font-weight: 600; color: var(--brand); white-space: nowrap; }

/* ---------- FAQ ---------- */
.faq-item {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); margin-bottom: 12px; overflow: hidden;
}
.faq-q {
  padding: 18px 22px; font-size: 16px; font-weight: 600;
  cursor: pointer; display: flex; justify-content: space-between;
  gap: 16px; align-items: flex-start; user-select: none;
}
.faq-q:hover { background: var(--bg-2); }
.faq-q::after {
  content: "+"; font-size: 20px; font-weight: 400; color: var(--text-3);
  flex-shrink: 0; line-height: 1.4;
}
.faq-item.open .faq-q::after { content: "−"; }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height .25s ease;
  padding: 0 22px; color: var(--text-2);
}
.faq-item.open .faq-a { max-height: 600px; padding: 0 22px 20px; }
.faq-a p { font-size: 15px; margin-bottom: 0; }
.faq-cat {
  font-size: 13px; font-weight: 600; color: var(--accent);
  background: var(--accent-light); padding: 4px 11px; border-radius: 100px;
  display: inline-block; margin-bottom: 14px;
}
.faq-group { margin-bottom: 40px; }

/* ---------- 面包屑 ---------- */
.breadcrumb {
  font-size: 13.5px; color: var(--text-3); padding: 20px 0 0;
}
.breadcrumb a { color: var(--text-3); text-decoration: none; }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb span { margin: 0 7px; }

/* ---------- 页面头 ---------- */
.page-head {
  padding: 32px 0 40px; border-bottom: 1px solid var(--border);
  background: var(--bg-2);
}
.page-head h1 { font-size: 30px; margin-bottom: 12px; }
.page-head .lead { max-width: 780px; margin-bottom: 0; }

/* ---------- 提示条 ---------- */
.notice {
  background: var(--accent-light); border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 14px 18px; font-size: 14.5px; color: #16543F; margin: 18px 0;
}
.notice strong { font-weight: 600; }

.todo {
  background: #FFF8E6; border: 1px dashed #E0B94A; color: #7A5B0A;
  border-radius: var(--radius); padding: 12px 16px; font-size: 13.5px; margin: 16px 0;
}

/* ---------- 页脚 ---------- */
.site-footer {
  background: #26241F; color: #B8B3AA; padding: 52px 0 28px;
  font-size: 14px; margin-top: 0;
}
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 36px; margin-bottom: 36px;
}
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 14px; font-weight: 600; }
.site-footer a { color: #B8B3AA; text-decoration: none; display: block; padding: 4px 0; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; }
.site-footer .brand-line {
  color: #fff; font-weight: 600; font-size: 16px; margin-bottom: 10px;
}
.footer-bottom {
  border-top: 1px solid #3A3730; padding-top: 22px;
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  font-size: 13px; color: #8A857C;
}

/* ---------- 工具类 ---------- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.text-center { text-align: center; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 680px) {
  body { font-size: 15.5px; }
  h1 { font-size: 27px; }
  h2 { font-size: 22px; }
  section { padding: 44px 0; }
  .hero { padding: 44px 0; }
  .wrap { padding: 0 18px; }

  .nav-links {
    display: none; position: absolute; top: 66px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--border);
    flex-direction: column; align-items: stretch; padding: 10px 18px 18px; gap: 2px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 11px 12px; }
  .nav-toggle { display: flex; }

  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .btn-row { flex-direction: column; }
  .btn { text-align: center; }
  th, td { padding: 11px 12px; font-size: 14px; }
}
