/* ==========================================================================
   蓉驾通 rongjiatong.com — 成都车驾服务
   深蓝 + 鎏金 商务风，现代高端
   ========================================================================== */
:root {
  --navy-900: #0a1626;
  --navy-800: #0f2138;
  --navy-700: #16304e;
  --navy-100: #e8eef6;
  --gold-500: #c9a24b;
  --gold-400: #d9b767;
  --gold-600: #a9853a;
  --ink: #1b2634;
  --muted: #5a6b80;
  --line: #e3e9f1;
  --bg: #f6f8fb;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(10, 22, 38, .08);
  --shadow-lg: 0 18px 50px rgba(10, 22, 38, .16);
  --max: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
}
img, svg { max-width: 100%; vertical-align: middle; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ---------- 顶部条 ---------- */
.topbar {
  background: var(--navy-900);
  color: rgba(255,255,255,.75);
  font-size: 13px;
}
.topbar-inner { display: flex; justify-content: space-between; align-items: center; height: 38px; }
.topbar-item { display: inline-flex; align-items: center; gap: 6px; }
.topbar .icon { width: 15px; height: 15px; }

/* ---------- 头部导航 ---------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 10px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-400); font-weight: 700; font-size: 19px;
  letter-spacing: 1px;
}
.brand-text strong { display: block; font-size: 20px; color: var(--navy-900); letter-spacing: 2px; }
.brand-text span { display: block; font-size: 11px; color: var(--muted); letter-spacing: 1px; }
.nav { display: flex; gap: 6px; }
.nav a {
  padding: 8px 14px; border-radius: 8px; font-size: 15px; color: var(--ink);
  transition: background .2s, color .2s;
}
.nav a:hover { background: var(--navy-100); color: var(--navy-800); }
.nav a.active { color: var(--gold-600); font-weight: 600; }
.header-cta { display: flex; align-items: center; gap: 12px; }
.header-phone {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--navy-900); font-weight: 700; font-size: 18px; letter-spacing: .5px;
}
.header-phone .icon { width: 20px; height: 20px; color: var(--gold-600); }
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer; padding: 6px;
}
.nav-toggle svg { width: 26px; height: 26px; color: var(--navy-900); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 26px; border-radius: 999px; font-size: 15px; font-weight: 600;
  transition: transform .2s, box-shadow .2s, background .2s;
  cursor: pointer; border: none;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: #fff; box-shadow: 0 8px 20px rgba(169, 133, 58, .35);
}
.btn-dark { background: var(--navy-800); color: #fff; }
.btn-ghost { border: 1.5px solid var(--navy-700); color: var(--navy-800); background: transparent; }
.btn-ghost:hover { background: var(--navy-100); }
.btn-lg { padding: 15px 34px; font-size: 16px; }
.btn-block { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(201,162,75,.18), transparent 60%),
    linear-gradient(150deg, var(--navy-900) 0%, var(--navy-800) 55%, var(--navy-700) 100%);
  color: #fff;
  padding: 88px 0 96px;
  position: relative;
  overflow: hidden;
}
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(217,183,103,.5); color: var(--gold-400);
  padding: 6px 14px; border-radius: 999px; font-size: 13px; letter-spacing: 2px;
  margin-bottom: 22px;
}
.hero h1 { font-size: 42px; line-height: 1.25; letter-spacing: 1px; font-weight: 700; }
.hero h1 em { font-style: normal; color: var(--gold-400); }
.hero-sub { margin-top: 18px; font-size: 17px; color: rgba(255,255,255,.82); max-width: 560px; }
.hero-points { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-points li {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
  padding: 8px 16px; border-radius: 999px; font-size: 14px; color: rgba(255,255,255,.9);
}
.hero-actions { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-actions .btn-ghost { border-color: rgba(255,255,255,.4); color: #fff; }
.hero-actions .btn-ghost:hover { background: rgba(255,255,255,.1); }
.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stat-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius); padding: 22px 24px;
  backdrop-filter: blur(4px);
}
.stat-card strong { display: block; font-size: 26px; color: var(--gold-400); letter-spacing: .5px; }
.stat-card span { font-size: 13.5px; color: rgba(255,255,255,.75); }

/* ---------- 通用板块 ---------- */
.section { padding: 76px 0; }
.section.alt { background: var(--white); }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-block; color: var(--gold-600); font-size: 13px;
  letter-spacing: 3px; font-weight: 600; margin-bottom: 12px;
}
.section-title { font-size: 30px; color: var(--navy-900); line-height: 1.35; letter-spacing: .5px; }
.section-desc { margin-top: 14px; color: var(--muted); font-size: 16px; }

/* ---------- 卡片网格 ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.card-icon .icon { width: 26px; height: 26px; color: var(--gold-400); }
.card h3 { font-size: 18.5px; color: var(--navy-900); margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 14.5px; }
.card ul { margin-top: 12px; }
.card ul li {
  position: relative; padding-left: 20px; color: var(--muted); font-size: 14px;
  margin-top: 6px;
}
.card ul li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 8px; height: 8px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
}
.card-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 16px;
  color: var(--gold-600); font-weight: 600; font-size: 14.5px;
}
.card-link .icon { width: 16px; height: 16px; transition: transform .2s; }
.card-link:hover .icon { transform: translateX(4px); }

/* ---------- 数据信任条 ---------- */
.trustbar { background: var(--navy-900); color: #fff; padding: 30px 0; }
.trustbar-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.trustbar strong { display: block; font-size: 24px; color: var(--gold-400); }
.trustbar span { font-size: 13px; color: rgba(255,255,255,.7); }

/* ---------- 流程 ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: relative; box-shadow: var(--shadow); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-size: 40px; font-weight: 800; color: var(--navy-100);
  position: absolute; right: 20px; top: 12px; letter-spacing: -1px;
}
.step h3 { font-size: 17px; color: var(--navy-900); margin-bottom: 8px; position: relative; }
.step p { font-size: 14px; color: var(--muted); }

/* ---------- 评价 ---------- */
.review-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.review-card blockquote { font-size: 14.5px; color: var(--ink); line-height: 1.8; }
.review-meta { margin-top: 16px; display: flex; align-items: center; gap: 10px; }
.avatar {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
  color: var(--gold-400); display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px;
}
.review-meta strong { font-size: 14px; color: var(--navy-900); display: block; }
.review-meta span { font-size: 12.5px; color: var(--muted); display: block; }
.review-stars { color: var(--gold-500); font-size: 14px; letter-spacing: 2px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 14px; overflow: hidden; }
.faq-item summary {
  padding: 20px 24px; cursor: pointer; font-weight: 600; font-size: 16px;
  color: var(--navy-900); list-style: none; position: relative;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 22px; color: var(--gold-600); font-weight: 400; flex: none;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-a { padding: 0 24px 20px; color: var(--muted); font-size: 14.5px; }

/* ---------- CTA 区块 ---------- */
.cta-band {
  background:
    radial-gradient(700px 320px at 15% 120%, rgba(201,162,75,.22), transparent 60%),
    linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: #fff; text-align: center; padding: 72px 0;
}
.cta-band h2 { font-size: 30px; letter-spacing: 1px; }
.cta-band p { margin-top: 12px; color: rgba(255,255,255,.8); font-size: 16px; }
.cta-band .big-phone {
  display: block; margin-top: 24px; font-size: 38px; font-weight: 800;
  color: var(--gold-400); letter-spacing: 2px;
}
.cta-band .cta-actions { margin-top: 28px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-band .btn-ghost { border-color: rgba(255,255,255,.4); color: #fff; }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,.1); }

/* ---------- 面包屑 ---------- */
.breadcrumb { background: var(--white); border-bottom: 1px solid var(--line); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; padding: 14px 0; font-size: 13px; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: #c3cedb; }
.breadcrumb a:hover { color: var(--gold-600); }

/* ---------- 页头（子页） ---------- */
.page-hero {
  background: linear-gradient(150deg, var(--navy-900), var(--navy-700));
  color: #fff; padding: 60px 0;
}
.page-hero h1 { font-size: 34px; letter-spacing: 1px; }
.page-hero p { margin-top: 14px; color: rgba(255,255,255,.8); max-width: 680px; }

/* ---------- 表格 ---------- */
.price-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.price-table th, .price-table td { padding: 16px 20px; text-align: left; font-size: 14.5px; border-bottom: 1px solid var(--line); }
.price-table thead th { background: var(--navy-800); color: #fff; font-weight: 600; }
.price-table tbody tr:hover { background: var(--navy-100); }
.price-table td strong { color: var(--gold-600); }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.72); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 44px; }
.footer-brand strong { color: #fff; font-size: 20px; letter-spacing: 2px; display: block; }
.footer-brand .en { font-size: 12px; color: rgba(255,255,255,.5); letter-spacing: 1px; }
.footer-brand p { margin-top: 14px; font-size: 13.5px; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 16px; letter-spacing: 1px; }
.footer-col ul li { margin-bottom: 10px; font-size: 13.5px; }
.footer-col a:hover { color: var(--gold-400); }
.footer-phone { display: block; color: var(--gold-400); font-size: 22px; font-weight: 800; letter-spacing: 1px; }
.footer-contact li { display: flex; gap: 8px; align-items: flex-start; }
.footer-contact .icon { width: 16px; height: 16px; flex: none; margin-top: 4px; color: var(--gold-400); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0;
  font-size: 12.5px; color: rgba(255,255,255,.45); text-align: center;
}

/* ---------- 移动端吸底栏 ---------- */
.mobile-bar { display: none; }

/* ---------- 图标 ---------- */
.icon { width: 20px; height: 20px; }

/* ---------- 三端响应式：PC ≥1201 / 平板 641–1200 / 手机 ≤640 ---------- */

/* 基础适配：触屏优化 + 防横向溢出 */
html, body { max-width: 100%; overflow-x: hidden; }
a, button, summary { -webkit-tap-highlight-color: rgba(201,162,75,.2); }
.hero h1 { font-size: clamp(28px, 3.4vw, 42px); }
.section-title { font-size: clamp(24px, 2.4vw, 30px); }
.page-hero h1 { font-size: clamp(26px, 2.8vw, 34px); }

/* ---------- PC 大屏与宽屏微调 ---------- */
@media (max-width: 1200px) {
  .container { padding: 0 24px; }
  .hero-inner { gap: 36px; }
  .grid-3 { gap: 18px; }
  .steps { gap: 18px; }
}

/* ---------- 平板（≤960px）---------- */
@media (max-width: 960px) {
  .topbar-inner { justify-content: center; }
  .topbar-item:first-child { display: none; }
  .header-inner { height: 62px; }
  .brand-text strong { font-size: 18px; }
  .hero { padding: 56px 0 64px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-sub { font-size: 16px; }
  .hero-actions .btn { padding: 12px 24px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .stat-card { padding: 18px 20px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .trustbar-inner { grid-template-columns: 1fr 1fr; gap: 16px; }
  .trustbar strong { font-size: 21px; }
  .section { padding: 60px 0; }
  .section-head { margin-bottom: 34px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .cta-band { padding: 56px 0; }
  .cta-band .big-phone { font-size: 32px; }
  .nav {
    display: none; position: absolute; top: 62px; left: 0; right: 0;
    background: var(--white); flex-direction: column; padding: 12px 20px 20px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
  }
  .nav.open { display: flex; }
  .nav a { padding: 13px 8px; border-bottom: 1px solid var(--line); min-height: 44px; }
  .nav-toggle { display: block; }
  .header-phone span { display: none; }
  .faq-toc ul { gap: 8px; }
  .faq-toc a { padding: 7px 14px; }
  .price-table th, .price-table td { padding: 13px 14px; }
}

/* ---------- 手机（≤640px）---------- */
@media (max-width: 640px) {
  .grid-3, .steps { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
  .container { padding: 0 16px; }
  .topbar { font-size: 12.5px; }
  .hero { padding: 44px 0 56px; }
  .hero-eyebrow { font-size: 12px; letter-spacing: 1px; }
  .hero-sub { font-size: 15px; }
  .hero-points { gap: 8px; }
  .hero-points li { padding: 7px 13px; font-size: 13px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-stats { gap: 10px; }
  .stat-card strong { font-size: 22px; }
  .section-title { letter-spacing: 0; }
  .section-desc { font-size: 14.5px; }
  .card { padding: 22px; }
  .card h3 { font-size: 17px; }
  .step { padding: 20px; }
  .step::before { font-size: 30px; top: 8px; right: 14px; }
  .trustbar { padding: 22px 0; }
  .trustbar strong { font-size: 18px; }
  .trustbar span { font-size: 12px; }
  .page-hero { padding: 44px 0; }
  .breadcrumb ol { flex-wrap: nowrap; overflow-x: auto; }
  .cta-band h2 { font-size: 24px; }
  .cta-band .big-phone { font-size: 28px; margin-top: 18px; }
  .cta-band .cta-actions { flex-direction: column; align-items: stretch; }
  .faq-cat-head h2 { font-size: 19px; }
  .faq-item summary { padding: 16px 18px; font-size: 15px; }
  .faq-item .faq-a { padding: 0 18px 16px; font-size: 14px; }
  .price-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .price-table th, .price-table td { padding: 12px 14px; font-size: 13.5px; white-space: nowrap; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-brand strong { font-size: 18px; }
  .mobile-bar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
    background: var(--navy-900); padding: 10px 14px; gap: 10px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom));
    box-shadow: 0 -6px 20px rgba(10,22,38,.25);
  }
  .mobile-bar .btn { flex: 1; padding: 12px 10px; font-size: 14.5px; min-height: 44px; }
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
}

/* ---------- 小屏手机（≤420px）---------- */
@media (max-width: 420px) {
  .brand-text span { display: none; }
  .hero h1 { letter-spacing: 0; }
  .hero-stats { grid-template-columns: 1fr; }
  .trustbar-inner { grid-template-columns: 1fr; gap: 14px; }
  .stat-card { padding: 14px 18px; }
  .stat-card strong { font-size: 20px; }
  .btn-lg { padding: 13px 26px; font-size: 15px; }
  .faq-toc ul { gap: 6px; }
  .faq-toc a { padding: 6px 12px; font-size: 13px; }
}

/* ---------- 触屏设备：取消悬停位移 ---------- */
@media (hover: none) {
  .card:hover, .btn:hover { transform: none; }
}

/* ---------- 降低动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
