/* 江禾租车 · Apple 产品页节奏：系统字体、留白、黑白模块、滚动缩放 */

:root {
  --bg: #000;
  --page: #f5f5f7;
  --card: #fff;
  --ink: #1d1d1f;
  --ink-on-dark: #f5f5f7;
  --muted: #86868b;
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --line: rgba(0, 0, 0, 0.08);
  --line-dark: rgba(255, 255, 255, 0.12);
  --nav-h: 48px;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "PingFang SC", "Helvetica Neue", sans-serif;
  --z-nav: 40;
  --z-panel: 50;
  --z-bar: 45;
  --pad: clamp(1.25rem, 4.2vw, 3rem);
  --max: 980px;
  --max-wide: 1120px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  color-scheme: light;
  scroll-behavior: smooth;
  background: var(--page);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.011em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
address { font-style: normal; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--blue);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 70;
}
.skip:focus { left: 1rem; top: 1rem; }

.wrap {
  width: min(var(--max), calc(100% - var(--pad) * 2));
  margin-inline: auto;
}
.wrap-wide {
  width: min(var(--max-wide), calc(100% - var(--pad) * 2));
  margin-inline: auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  color-scheme: dark;
  height: var(--nav-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 22px;
  background: rgba(22, 22, 23, 0.8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}
@supports not (backdrop-filter: blur(20px)) {
  .nav { background: #161617; }
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  color: #f5f5f7;
  justify-self: start;
}
.brand img { width: 18px; height: 18px; object-fit: contain; }
.brand span { font-size: 0.75rem; font-weight: 400; }

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.nav-links a {
  font-size: 12px;
  color: #d2d2d7;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.nav .btn-primary,
.nav .btn-gold {
  justify-self: end;
  min-height: 28px;
  padding: 0 0.85rem;
  font-size: 12px;
}
.nav-links a:hover,
.nav-links a.is-current { color: #fff; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 44px;
  padding: 0 1.15rem;
  border-radius: 980px;
  font-size: 0.94rem;
  font-weight: 500;
  transition: background 180ms var(--ease), transform 180ms var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn-gold,
.btn-primary {
  background: var(--blue);
  color: #fff;
}
.btn-gold:hover,
.btn-primary:hover { background: var(--blue-hover); }
.btn-ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
}
.light .btn-ghost {
  border-color: rgba(0, 0, 0, 0.16);
  color: var(--ink);
}
.more {
  color: #2997ff;
  font-size: 1.05rem;
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  min-height: 44px;
}
.more::after { content: "\203A"; font-size: 1.2em; line-height: 1; }
.more:hover { text-decoration: underline; }

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
}
.menu-btn span,
.menu-btn span::before,
.menu-btn span::after {
  display: block;
  width: 16px;
  height: 1.5px;
  background: #f5f5f7;
  position: relative;
  transition: transform 280ms var(--ease), opacity 200ms;
}
.menu-btn span::before,
.menu-btn span::after {
  content: "";
  position: absolute;
  left: 0;
}
.menu-btn span::before { top: -5px; }
.menu-btn span::after { top: 5px; }
.menu-btn.is-open span { background: transparent; }
.menu-btn.is-open span::before { top: 0; transform: rotate(45deg); }
.menu-btn.is-open span::after { top: 0; transform: rotate(-45deg); }

.nav-panel {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  z-index: var(--z-panel);
  background: #000;
  padding: 0.5rem var(--pad) 2rem;
}
.nav-panel.is-open { display: grid; align-content: start; }
.nav-panel a {
  min-height: 52px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line-dark);
  font-size: 1.5rem;
  font-weight: 600;
  color: #f5f5f7;
}

.hero {
  position: relative;
  display: grid;
  grid-template-rows: auto auto;
  overflow: hidden;
  background: #000;
  color: #f5f5f7;
  text-align: center;
  color-scheme: dark;
}
.hero-copy {
  position: relative;
  z-index: 1;
  padding: clamp(1.6rem, 6vh, 3.2rem) var(--pad) 0.4rem;
}
.hero h1 {
  margin: 0 auto 0.4rem;
  font-size: clamp(2.4rem, 6.4vw, 4.4rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.05;
  text-wrap: balance;
  max-width: 16ch;
}
.hero p {
  margin: 0 auto 1.1rem;
  max-width: 34ch;
  color: #a1a1a6;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}
.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.4rem 1.4rem;
}
.hero-visual {
  position: relative;
  line-height: 0;
}
.hero-visual picture,
.hero-visual img {
  width: 100%;
  height: auto;
  display: block;
}

.light {
  background: var(--page);
  color: var(--ink);
}
.photo-credit {
  margin: 0;
  padding: 0.6rem var(--pad) 0;
  font-size: 11px;
  color: #86868b;
  text-align: center;
}
.light h2, .light h1, .light h3 { color: var(--ink); }

.section {
  padding: 5.5rem 0 4.5rem;
}
.section h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.12;
  text-align: center;
  text-wrap: balance;
}
.lede {
  margin: 0 auto 2.6rem;
  max-width: 36ch;
  color: var(--muted);
  text-align: center;
  font-size: 1.15rem;
}

.fleet {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.tile {
  display: block;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  color: var(--ink);
  text-align: center;
  padding: 2.6rem 1.2rem 0;
  min-height: 420px;
}
.tile-lg { grid-column: span 2; min-height: 520px; padding-top: 3rem; }
.tile h3 {
  margin: 0;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.tile p { margin: 0.35rem 0 1.2rem; color: var(--muted); }
.tile figure {
  margin: 0;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
}
.tile-lg figure {
  max-width: 920px;
  margin-inline: auto;
}
.tile img,
.tile-lg img {
  width: 100%;
  height: auto;
  display: block;
}

.process {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.process ul { margin: 0; padding: 0; display: contents; }
.process li {
  list-style: none;
  margin: 0;
  padding: 1.6rem 1.5rem;
  background: #fff;
  border-radius: 22px;
  color: var(--ink);
}
.process strong {
  display: block;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.process span { color: var(--muted); font-size: 0.98rem; }

.band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
  background: #000;
  color: #f5f5f7;
}
.band figure { margin: 0; overflow: hidden; }
.band img { width: 100%; height: 100%; object-fit: cover; }
.band-copy {
  padding: clamp(2rem, 6vw, 4.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.band-copy h2 { text-align: left; }
.band-copy p { color: #a1a1a6; max-width: 34ch; font-size: 1.1rem; }
.band-copy .lede { margin: 0 0 1.2rem; text-align: left; color: #a1a1a6; }

.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.facts article {
  background: #fff;
  color: var(--ink);
  border-radius: 22px;
  padding: 1.7rem 1.5rem;
}
.facts h3 {
  margin: 0 0 0.4rem;
  font-size: 1.25rem;
  font-weight: 600;
}
.facts p { margin: 0; color: var(--muted); }

.close {
  padding: 5.5rem 0 6.5rem;
  text-align: center;
  background: var(--page);
  color: var(--ink);
}
.close h2 { margin: 0 auto; }
.phone {
  display: inline-block;
  margin: 0.8rem 0 0.5rem;
  font-size: clamp(2rem, 6vw, 3.6rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--blue);
}
.phone:hover { text-decoration: underline; }
.close p { color: var(--muted); max-width: 36ch; margin: 0 auto; }

.footer {
  background: #f5f5f7;
  color: #6e6e73;
  border-top: 1px solid #d2d2d7;
  font-size: 12px;
  line-height: 1.333;
}
.footer-inner {
  width: min(980px, calc(100% - 44px));
  margin: 0 auto;
  padding: 20px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1.5fr auto;
  gap: 24px 40px;
  padding-bottom: 16px;
}
.footer strong {
  display: block;
  color: #1d1d1f;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 0.45rem;
}
.footer p { margin: 0; }
.footer a:hover { text-decoration: underline; color: #1d1d1f; }
.footer-copy {
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid #d2d2d7;
  text-align: center;
  color: #6e6e73;
}
.footer small {
  display: block;
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid #d2d2d7;
  text-align: center;
}

.page-head {
  padding: 4rem 0 1.2rem;
  text-align: center;
}
.block {
  text-align: center;
  padding: 2.5rem 0 4rem;
}
.block h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.block .lede { margin-bottom: 1.2rem; }
.page-cta {
  margin: 0.4rem auto 0;
}
.cta-row { text-align: center; margin: 1.5rem 0 4rem; }
.contact-card {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 1.5rem;
}
.contact-card address { margin: 0 0 0.6rem; color: var(--muted); }
.cats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 auto 1.8rem;
}
.cats button {
  min-height: 40px;
  padding: 0 1.05rem;
  border-radius: 980px;
  background: #fff;
  color: #1d1d1f;
  font-size: 14px;
  cursor: pointer;
}
.cats button.is-on {
  background: var(--blue);
  color: #fff;
}
.car-card.is-off { display: none; }
.car-grid.is-one { grid-template-columns: minmax(0, 520px); justify-content: center; }
.page-head h1 {
  margin: 0 auto 0.6rem;
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-wrap: balance;
}
.page { background: var(--page); color: var(--ink); min-height: 70dvh; }

.legal {
  max-width: 68ch;
  margin-inline: auto;
  padding: 0 var(--pad) 5rem;
  text-align: left;
}
.legal h2 { font-size: 1.15rem; margin: 2rem 0 0.45rem; text-align: left; }
.legal p { color: var(--muted); }

.car-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  padding-bottom: 3rem;
}
.car-card {
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  color: var(--ink);
}
.car-card img {
  width: 100%;
  height: auto;
  display: block;
}
.car-card div { padding: 1.1rem 1.15rem 1.3rem; }
.car-card h3 { margin: 0; font-size: 1.2rem; font-weight: 600; }
.car-card p { margin: 0.3rem 0 0; color: var(--muted); font-size: 0.95rem; }

.map {
  width: 100%;
  min-height: 280px;
  border: 0;
  border-radius: 22px;
}

.dock {
  display: none;
  position: fixed;
  color-scheme: dark;
  left: 12px;
  right: 12px;
  bottom: calc(10px + env(safe-area-inset-bottom));
  z-index: var(--z-bar);
  padding: 0.45rem;
  background: rgba(22, 22, 23, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 18px;
  gap: 0.4rem;
}
.dock .btn { flex: 1; min-height: 46px; }

.note {
  margin: 1.2rem auto 0;
  color: var(--muted);
  font-size: 0.88rem;
  text-align: center;
}

.faq {
  margin: 2.4rem 0 4rem;
  text-align: left;
}
.faq h2 {
  text-align: left;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
.faq details {
  background: #fff;
  border-radius: 16px;
  padding: 1rem 1.15rem;
  margin-bottom: 0.6rem;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.faq details p {
  margin: 0.4rem 0 0.2rem;
  color: var(--muted);
}

@media (max-width: 900px) {
  .nav {
    display: flex;
    justify-content: space-between;
    padding: 0 16px;
  }
  .nav-links, .nav .btn-gold, .nav .btn-primary { display: none; }
  .menu-btn { display: grid; justify-self: end; }
  .fleet, .process, .band, .facts, .footer-grid, .car-grid { grid-template-columns: 1fr; }
  .tile-lg { grid-column: auto; min-height: 0; }
  .tile, .tile-lg { min-height: 0; padding: 1.6rem 1rem 0; }

  .band { min-height: 0; }
  .band figure { min-height: 220px; }
  .band-copy { padding: 2rem 1.25rem 2.4rem; }
  .section { padding: 3.4rem 0 3rem; }
  .section h2 { font-size: 1.85rem; }
  .lede { font-size: 1.02rem; margin-bottom: 1.6rem; }
  .hero h1 { font-size: 2.05rem; max-width: none; }
  .hero p { font-size: 1.02rem; }
  .hero-copy { padding: 2rem 1.25rem 0.6rem; }

  .page-head { padding: 2.6rem 0 0.8rem; }
  .page-head h1 { font-size: 1.9rem; }
  .close { padding: 3.4rem 1.25rem 6.5rem; }
  .phone { font-size: 1.85rem; word-break: keep-all; }
  .dock { display: flex; }
  .page-cta { display: none; }
  body { padding-bottom: calc(5.6rem + env(safe-area-inset-bottom)); }
  .page { padding-bottom: 1.5rem; }
  .process li, .facts article { padding: 1.25rem 1.15rem; }
  .footer-inner { padding-bottom: calc(24px + 4.8rem + env(safe-area-inset-bottom)); }
  .footer-copy, .footer small { text-align: center; }
}

@media (max-width: 640px) {
  .hero-actions .btn { min-height: 42px; }
  .cats {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0 0 6px;
  }
  .cats button { flex: 0 0 auto; }
}

.reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tile img, .btn { transition: none; }
  .hero-visual img { will-change: auto; }
}
