/* ============================================================
   standard-routes.css — 标准线路纵览页（services/standard-routes/）
   来源：previews/15-standard-routes-overview.html（已批准设计稿）
   页头/页脚/隐私弹窗由 assets/site-chrome.css 提供；本文件仅页面主体样式。
   ============================================================ */

:root {
  --paper: #f8f4ec;
  --surface: #fffdf8;
  --ink: #1d1b17;
  --muted: #686158;
  --green: #0b4035;
  --green-deep: #063127;
  --red: #a52b28;
  --gold: #c7a35b;
  --line: #ddd3c4;
  --container: 1240px;
  --display: Georgia, "Times New Roman", serif;
  --sans: Inter, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
body, button, select { font: 15px/1.5 var(--sans); }
img { display: block; width: 100%; }
a { color: inherit; }
button, select { color: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid rgba(199, 163, 91, 0.72); outline-offset: 3px; }

/* ============ 页头（覆盖 site-chrome 为实色深绿 + sticky） ============ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: 78px;
  padding-block: 16px;
  background: rgba(6, 49, 39, 0.97);
  border-bottom: 0;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
/* 导航链接/CTA 按钮/边框外观由 assets/site-chrome.css 统一提供 */

/* ============ Hero ============ */

.container {
  width: min(calc(100% - 64px), var(--container));
  margin-inline: auto;
}

.page-hero {
  padding: 124px 0 36px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(560px, 1.3fr);
  align-items: center;
  gap: 60px;
}
.eyebrow {
  margin: 0;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.hero-title {
  margin: 19px 0 0;
  max-width: 14ch;
  font: 600 clamp(48px, 3.7vw, 54px)/0.98 var(--display);
  letter-spacing: -0.035em;
}
.hero-copy {
  margin: 24px 0 0;
  max-width: 48ch;
  color: var(--muted);
  font-size: 18.5px;
  line-height: 1.72;
}
.hero-deck {
  position: relative;
  width: 100%;
  height: 350px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  isolation: isolate;
}
.hero-card {
  --deck-x: 0px;
  --deck-y: 26px;
  --deck-rotate: -0.45deg;
  position: absolute;
  inset: 0 auto auto 0;
  width: calc(100% - 34px);
  height: 320px;
  margin: 0;
  padding: 8px;
  border: 1px solid rgba(199, 163, 91, 0.82);
  border-radius: 18px;
  overflow: hidden;
  background: var(--surface);
  transform: translate(var(--deck-x), var(--deck-y)) rotate(var(--deck-rotate));
  transform-origin: 52% 120%;
  transition: transform 640ms cubic-bezier(0.22, 0.78, 0.22, 1), opacity 420ms ease;
  box-shadow: 0 14px 30px rgba(53, 42, 28, 0.1);
  will-change: transform, opacity;
}
.hero-card[data-pos="0"] { --deck-x: 0px; --deck-y: 26px; --deck-rotate: -0.45deg; z-index: 4; }
.hero-card[data-pos="1"] { --deck-x: 11px; --deck-y: 17px; --deck-rotate: 0.45deg; z-index: 3; }
.hero-card[data-pos="2"] { --deck-x: 22px; --deck-y: 8px; --deck-rotate: 1.25deg; z-index: 2; }
.hero-card[data-pos="3"] { --deck-x: 32px; --deck-y: 0px; --deck-rotate: 2deg; z-index: 1; }
.hero-card.is-leaving {
  z-index: 5;
  opacity: 0;
  transform: translate(96px, -32px) rotate(7deg);
}
.hero-card img {
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 11px;
}

/* ============ Route finder ============ */

.route-finder {
  padding: 22px 24px 18px;
  background: rgba(255, 253, 248, 0.76);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.finder-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) 154px;
  gap: 22px;
  align-items: end;
}
.field label {
  display: block;
  margin-bottom: 8px;
  font-size: 13.5px;
  font-weight: 760;
  color: #423e37;
}
.field select {
  width: 100%;
  height: 48px;
  padding: 0 42px 0 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background-color: var(--surface);
  cursor: pointer;
}
.show-routes, .clear-filters, .load-more {
  border: 0;
  cursor: pointer;
  font-weight: 760;
}
.show-routes {
  height: 48px;
  border-radius: 7px;
  background: var(--green);
  color: #fffaf0;
}
.show-routes:hover { background: var(--green-deep); }
.active-criteria {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 13.5px;
}
.active-criteria strong { color: #423e37; }
.criteria-value { display: flex; gap: 10px; flex-wrap: wrap; }
.criteria-value span + span::before { content: "/"; margin-right: 10px; color: #aaa195; }
.clear-filters {
  margin-left: auto;
  padding: 0;
  background: transparent;
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============ Sections ============ */

main { padding-bottom: 76px; }
.section { padding-top: 42px; }
.section-heading {
  margin: 0 0 22px;
  font: 500 clamp(31px, 3vw, 42px)/1.05 var(--display);
  letter-spacing: -0.025em;
}
.section-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}
.section-heading-row .section-heading { margin: 0; }
.route-count { color: var(--muted); font-size: 14px; }

/* ============ Recommended ============ */

.recommended-list { display: grid; gap: 12px; }
.recommended-card {
  display: grid;
  grid-template-columns: 34% minmax(0, 1fr) 230px;
  min-height: 0;
  height: 210px;
  background: rgba(255, 253, 248, 0.72);
  border: 1px solid var(--line);
  border-radius: 11px;
  overflow: hidden;
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease;
}
.recommended-card:not(.is-coming-soon):hover { border-color: #b8a688; transform: translateY(-2px); }
.recommended-card.is-coming-soon,
.route-card.is-coming-soon { cursor: default; }
.recommended-media { height: 210px; overflow: hidden; }
.recommended-media img { height: 100%; object-fit: cover; }
.recommended-body {
  padding: 23px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.route-code {
  color: var(--red);
  font-size: 12.5px;
  font-weight: 820;
  letter-spacing: 0.12em;
}
.recommended-title, .route-card-title {
  font-family: var(--display);
  letter-spacing: -0.012em;
}
.recommended-title { margin: 8px 0 0; font-size: 30px; line-height: 1.1; }
.recommended-summary { margin: 12px 0 0; color: var(--muted); font-size: 17px; line-height: 1.55; }
.recommended-highlights { margin: 16px 0 0; color: #49443d; font-size: 14.5px; }
.recommended-side {
  padding: 23px 26px;
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.duration { color: #333029; font-size: 14.5px; font-weight: 760; }
.price-label { margin-top: 26px; color: var(--muted); font-size: 13px; }
.price { margin-top: 2px; color: var(--green); font: 600 30px/1 var(--display); }
.price-note { margin-top: 7px; color: var(--muted); font-size: 12.5px; }
.price.price-coming-soon {
  width: max-content;
  margin-top: 7px;
  padding: 7px 10px;
  color: #8b6522;
  border: 1px solid rgba(139, 101, 34, 0.3);
  border-radius: 999px;
  background: rgba(184, 145, 75, 0.08);
  font: 800 11px/1 var(--body);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
}
.text-link { margin-top: 20px; color: var(--green); font-size: 14.5px; font-weight: 780; }

/* ============ Route grid ============ */

.route-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.route-card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 253, 248, 0.72);
  border: 1px solid var(--line);
  border-radius: 11px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease;
}
.route-card:not(.is-coming-soon):hover { transform: translateY(-3px); border-color: #b8a688; }
.route-card[hidden] { display: none; }
.route-card-media { position: relative; height: 190px; overflow: hidden; }
.route-card-media img { height: 100%; object-fit: cover; transition: transform 260ms ease; }
.route-card:not(.is-coming-soon):hover .route-card-media img { transform: scale(1.025); }
.route-card-body {
  padding: 19px 20px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.route-card-title { margin: 7px 0 0; font-size: 23px; line-height: 1.15; }
.route-card .route-code { color: var(--muted); font-size: 10px; font-weight: 500; letter-spacing: 0.09em; }
.route-highlights { margin: 10px 0 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.route-card-footer {
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 14px;
}
.route-card-duration { position: absolute; top: 14px; left: 14px; padding: 9px 13px; border-radius: 5px; background: #fffdf8; color: var(--green); box-shadow: 0 2px 10px #0002; font-size: 14px; line-height: 1.2; font-weight: 750; }
.route-card-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 6px; color: var(--muted); font-size: 11px; }
.route-card-price strong { color: var(--green); font: 600 25px/1.15 var(--display); }
.route-card-price > span:last-child { flex-basis: 100%; }
.route-card-price.price-coming-soon span { display: block; }
.route-card-price.price-coming-soon strong {
  width: max-content;
  margin: 0;
  padding: 6px 9px;
  color: #8b6522;
  border: 1px solid rgba(139, 101, 34, 0.3);
  border-radius: 999px;
  background: rgba(184, 145, 75, 0.08);
  font: 800 10.5px/1 var(--body);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.route-card-link { display: flex; align-items: center; gap: 9px; color: var(--green); font-size: 13px; font-weight: 750; }
.route-card-link [aria-hidden] { font-size: 20px; font-weight: 400; }
.route-card:focus-visible { outline: 3px solid var(--green); outline-offset: 4px; }
.is-coming-soon .text-link,
.is-coming-soon .route-card-link { color: var(--muted); }
.empty-state {
  grid-column: 1 / -1;
  padding: 54px 24px;
  border-block: 1px solid var(--line);
  text-align: center;
  color: var(--muted);
  font-size: 16px;
}
.empty-state strong { display: block; margin-bottom: 6px; color: var(--ink); font: 500 25px/1.2 var(--display); }
.load-row { padding-top: 30px; display: flex; justify-content: center; }
.load-more {
  padding: 12px 4px 8px;
  background: transparent;
  color: var(--green);
  border-bottom: 1px solid var(--green);
  font-size: 15.5px;
}
.load-more[hidden] { display: none; }

/* ============ Reassurance ============ */

.reassurance {
  margin-top: 54px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 11px;
  overflow: hidden;
  background: rgba(255, 253, 248, 0.72);
}
.assurance-item { padding: 24px 26px; border-left: 1px solid var(--line); }
.assurance-item:first-child { border-left: 0; }
.assurance-item strong { display: block; font-family: var(--display); font-size: 18px; }
.assurance-item span { display: block; margin-top: 7px; color: var(--muted); font-size: 14px; line-height: 1.5; }

/* ============ Responsive ============ */

@media (max-width: 980px) {
  .page-hero { grid-template-columns: 1fr; gap: 36px; padding-top: 126px; }
  .hero-title { max-width: 12ch; }
  .hero-deck { height: 350px; }
  .finder-grid { grid-template-columns: repeat(2, 1fr); }
  .show-routes { width: 100%; }
  .recommended-card { grid-template-columns: 38% minmax(0, 1fr); height: auto; min-height: 280px; }
  .recommended-side { grid-column: 2; border-left: 0; border-top: 1px solid var(--line); padding: 18px 30px 22px; display: grid; grid-template-columns: repeat(3, auto); align-items: end; justify-content: start; gap: 26px; }
  .recommended-media { grid-row: 1 / span 2; height: 100%; min-height: 280px; }
  .price-label, .price, .price-note, .text-link { margin-top: 0; }
  .price-note { display: none; }
  .route-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reassurance { grid-template-columns: repeat(2, 1fr); }
  .assurance-item:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .assurance-item:nth-child(4) { border-top: 1px solid var(--line); }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 102px;
    padding: 14px clamp(14px, 4.6vw, 20px) 12px;
  }
  /* 导航与 CTA 的移动端样式由 assets/site-chrome.css 统一提供 */
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 32px), var(--container)); }
  .page-hero { padding: 142px 0 30px; gap: 28px; }
  .hero-title { margin-top: 13px; font-size: clamp(43px, 13vw, 58px); }
  .hero-copy { margin-top: 18px; font-size: 16.5px; }
  .hero-deck { height: 256px; }
  .hero-card { width: calc(100% - 24px); height: 228px; padding: 6px; border-radius: 14px; }
  .hero-card[data-pos="0"] { --deck-x: 0px; --deck-y: 20px; --deck-rotate: -0.45deg; }
  .hero-card[data-pos="1"] { --deck-x: 8px; --deck-y: 13px; --deck-rotate: 0.45deg; }
  .hero-card[data-pos="2"] { --deck-x: 16px; --deck-y: 6px; --deck-rotate: 1.2deg; }
  .hero-card[data-pos="3"] { --deck-x: 23px; --deck-y: 0px; --deck-rotate: 2deg; }
  .hero-card.is-leaving { transform: translate(62px, -22px) rotate(7deg); }
  .hero-card img { border-radius: 9px; }
  .route-finder { padding: 22px 18px 17px; }
  .finder-grid { grid-template-columns: 1fr; gap: 16px; }
  .active-criteria { align-items: flex-start; gap: 10px; }
  .criteria-value { display: none; }
  .section { padding-top: 40px; }
  .section-heading { font-size: 34px; }
  .section-heading-row { align-items: baseline; margin-bottom: 18px; }
  .recommended-card { grid-template-columns: 1fr; min-height: 0; }
  .recommended-media { grid-row: auto; min-height: 0; height: 210px; }
  .recommended-body { padding: 24px 22px 20px; }
  .recommended-title { font-size: 28px; }
  .recommended-side { grid-column: 1; padding: 17px 22px 22px; grid-template-columns: 1fr auto; align-items: center; justify-content: stretch; gap: 10px 18px; }
  .recommended-side .duration { grid-column: 1 / -1; }
  .recommended-side .price-label { display: none; }
  .recommended-side .text-link { justify-self: end; }
  .route-grid { grid-template-columns: 1fr; }
  .route-card { min-height: 0; }
  .route-card-media { height: 204px; }
  .reassurance { grid-template-columns: 1fr; }
  .assurance-item { border-left: 0; border-top: 1px solid var(--line); }
  .assurance-item:first-child { border-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
