/* Tianyang route directory: a lighter, operational route-control visual system. */
.routes-page {
  --route-ink: #12384a;
  --route-muted: #68818b;
  --route-line: #d7e9ed;
  --route-sky: #eef9fb;
  --route-cyan: #078ea7;
  --route-cyan-dark: #056c80;
  --route-lime: #c8f2da;
  background: #f7fbfc;
  color: var(--route-ink);
}
.routes-page main { padding-top: 0 !important; }

.routes-page .site-header {
  position: sticky !important;
  top: 0;
  height: 74px !important;
  background: rgba(255, 255, 255, .96) !important;
  color: var(--route-ink) !important;
  border-bottom: 1px solid var(--route-line) !important;
  box-shadow: 0 3px 18px rgba(18, 56, 74, .06) !important;
  backdrop-filter: blur(14px);
}

.routes-page .header-inner {
  width: min(1320px, calc(100% - 64px)) !important;
  height: 74px !important;
  min-height: 0 !important;
  gap: 30px;
}

.routes-page .brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #e2f7fa !important;
  color: var(--route-cyan-dark) !important;
}

.routes-page .brand-copy strong { color: var(--route-ink) !important; }
.routes-page .brand-copy small { color: #7c99a2 !important; }
.routes-page .main-nav { gap: 24px; }
.routes-page .main-nav a {
  color: #466674 !important;
  font-size: 13px;
  font-weight: 700;
  line-height: 34px;
}
.routes-page .main-nav a.active,
.routes-page .main-nav a:hover { color: var(--route-cyan) !important; }
.routes-page .phone-link { color: var(--route-cyan-dark) !important; }
.routes-page .header-cta {
  border-radius: 5px !important;
  background: var(--route-cyan) !important;
  color: #fff !important;
}

.routes-page .routes-hero-new {
  min-height: 472px;
  padding: 88px 0 72px;
  background: linear-gradient(120deg, #e9f8fa 0%, #f8fcfd 55%, #e4f3f6 100%);
  color: var(--route-ink);
  overflow: hidden;
}
.routes-page .routes-hero-new:before {
  z-index: -1;
  background-image: linear-gradient(90deg, rgba(7, 142, 167, .06) 1px, transparent 1px), linear-gradient(rgba(7, 142, 167, .06) 1px, transparent 1px);
  background-size: 52px 52px;
  opacity: .8;
}
.routes-page .routes-hero-new:after {
  z-index: -1;
  background: linear-gradient(135deg, transparent 0 62%, rgba(7, 142, 167, .08) 62.1% 62.6%, transparent 62.7% 100%);
}
.routes-page .routes-hero-content { max-width: 760px; }
.routes-page .routes-kicker {
  color: var(--route-cyan-dark);
  font: 800 11px/1.2 'Manrope', sans-serif;
  letter-spacing: 1.8px;
}
.routes-page .live-dot { background: var(--route-cyan); box-shadow: 0 0 0 5px rgba(7, 142, 167, .12); }
.routes-page .routes-hero-new h1 {
  max-width: 710px;
  margin: 18px 0 20px;
  color: var(--route-ink);
  font: 800 clamp(44px, 6vw, 78px)/1.08 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
  letter-spacing: -2px;
}
.routes-page .routes-hero-new h1 em { color: var(--route-cyan); }
.routes-page .routes-hero-new p { max-width: 560px; color: #56727d; font-size: 16px; line-height: 1.85; }
.routes-page .routes-hero-stats { gap: 12px; margin-top: 34px; color: var(--route-muted); }
.routes-page .routes-hero-stats span {
  padding: 12px 16px;
  border: 1px solid #cfe6ea;
  border-radius: 6px;
  background: rgba(255, 255, 255, .72);
}
.routes-page .routes-hero-stats b { color: var(--route-cyan-dark); font: 800 26px/1 'Manrope', sans-serif; }
.routes-page .route-map-card {
  right: max(32px, calc((100% - 1320px) / 2));
  bottom: 76px;
  width: 300px;
  height: 188px;
  padding: 21px;
  border: 1px solid #cde6ea;
  border-radius: 9px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 18px 40px rgba(22, 98, 115, .1);
  backdrop-filter: blur(8px);
}
.routes-page .route-map-card span { color: var(--route-cyan-dark); font: 800 10px/1 'Manrope', sans-serif; letter-spacing: 1.6px; }
.routes-page .route-map-card strong { color: var(--route-ink); font-size: 19px; }
.routes-page .map-lines {
  height: 74px;
  background: radial-gradient(circle at 18% 68%, var(--route-cyan) 0 4px, transparent 5px), radial-gradient(circle at 52% 25%, var(--route-cyan) 0 4px, transparent 5px), radial-gradient(circle at 84% 62%, var(--route-cyan) 0 4px, transparent 5px);
}
.routes-page .map-lines i { background: var(--route-cyan); }

.routes-page .inner-section { padding: 88px 0; background: #fff; }
.routes-page .inner-section.alt { background: var(--route-sky); }
.routes-page .inner-heading h2 {
  color: var(--route-ink);
  font: 800 clamp(32px, 4vw, 52px)/1.16 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
  letter-spacing: -1px;
}
.routes-page .inner-heading h2 em { color: var(--route-cyan); }
.routes-page .inner-heading p { color: var(--route-muted); }
.routes-page .eyebrow.dark { color: var(--route-cyan-dark); }
.routes-page .eyebrow-index { color: var(--route-cyan); }

.routes-page .price-query-section { padding: 78px 0 92px; background: #f7fbfc; }
.routes-page .price-query-heading { margin-bottom: 30px; }
.routes-page .route-price-query {
  padding: 24px;
  border: 1px solid var(--route-line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(18, 74, 91, .07);
}
.routes-page .route-price-side {
  padding: 16px 18px 18px;
  border: 1px solid #cfe5e9;
  border-radius: 8px;
  background: #fbfeff;
}
.routes-page .route-price-side legend { color: var(--route-ink); font-size: 14px; }
.routes-page .route-price-side select {
  height: 44px;
  border: 1px solid #cfe2e6;
  border-radius: 5px;
  background: #f7fcfd;
  color: var(--route-ink);
}
.routes-page .route-price-side select:focus { border-color: var(--route-cyan); box-shadow: 0 0 0 3px rgba(7, 142, 167, .12); }
.routes-page .route-price-direction { color: var(--route-cyan); }
.routes-page .route-price-query-actions { border-top-color: #e2eff1; }
.routes-page .route-price-query-actions .button { border-radius: 5px; background: var(--route-cyan); }
.routes-page .route-price-query-actions .button:hover { background: var(--route-cyan-dark); }

.routes-page .route-directory { gap: 10px; }
.routes-page .directory-row {
  grid-template-columns: 86px minmax(170px, 1fr) 1fr auto;
  gap: 18px;
  padding: 19px 22px;
  border: 1px solid var(--route-line);
  border-left: 4px solid #8ed5dc;
  border-radius: 7px;
  background: #fff;
  box-shadow: none;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.routes-page .directory-row:hover { border-left-color: var(--route-cyan); box-shadow: 0 8px 20px rgba(18, 74, 91, .08); transform: translateX(3px); }
.routes-page .directory-type { color: var(--route-cyan-dark); background: #e6f7f8; border-radius: 4px; padding: 5px 8px; text-align: center; }
.routes-page .directory-row strong { color: var(--route-ink); font-size: 18px; }
.routes-page .directory-row span { color: var(--route-muted); }
.routes-page .directory-row a { color: var(--route-cyan-dark); font-weight: 800; }

.routes-page .route-letter-tabs { gap: 8px; margin-bottom: 24px; }
.routes-page .route-letter-tab {
  min-width: 38px;
  height: 34px;
  border: 1px solid #cfe5e9;
  border-radius: 17px;
  color: var(--route-muted);
  background: #fff;
}
.routes-page .route-letter-tab:hover,
.routes-page .route-letter-tab.active { border-color: var(--route-cyan); color: #fff; background: var(--route-cyan); }
.routes-page .route-province-list { gap: 12px; border: 0; background: transparent; }
.routes-page .route-province-group {
  grid-template-columns: 250px 1fr;
  gap: 30px;
  padding: 25px;
  border: 1px solid var(--route-line);
  border-radius: 8px;
  background: #fff;
}
.routes-page .route-region-label { color: var(--route-cyan); }
.routes-page .route-province-heading h3 { color: var(--route-ink); font: 800 26px/1.2 'Noto Sans SC', sans-serif; }
.routes-page .route-city-grid { gap: 8px; border: 0; background: transparent; }
.routes-page .route-city-card {
  min-height: 94px;
  padding: 14px;
  border: 1px solid #d8e9ed;
  border-radius: 6px;
  background: #fafdfe;
}
.routes-page .route-city-card:before { width: 4px; background: var(--route-cyan); }
.routes-page .route-city-card:hover { border-color: #8bcfd8; background: #effbfc; box-shadow: 0 8px 18px rgba(18, 74, 91, .08); }
.routes-page .route-city-card strong { color: var(--route-ink); font-size: 18px; }
.routes-page .route-city-card span { color: var(--route-muted); }

.routes-page .process-grid { gap: 12px; }
.routes-page .process-step { border: 1px solid var(--route-line); border-radius: 8px; background: #fff; }
.routes-page .process-step > span { color: var(--route-cyan); }
.routes-page .process-step h3 { color: var(--route-ink); }

@media (max-width: 1050px) {
  .routes-page .route-map-card { right: 30px; width: 260px; }
  .routes-page .main-nav { gap: 14px; }
}
@media (max-width: 800px) {
  .routes-page .site-header, .routes-page .header-inner { height: 68px !important; }
  .routes-page .main-nav { top: 68px; }
  .routes-page .header-inner { width: calc(100% - 32px) !important; }
  .routes-page .routes-hero-new { min-height: 620px; padding: 68px 0 42px; }
  .routes-page .routes-hero-new h1 { font-size: 45px; letter-spacing: -1px; }
  .routes-page .routes-hero-new p { font-size: 14px; }
  .routes-page .routes-hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
  .routes-page .routes-hero-stats span { padding: 10px 8px; font-size: 10px; }
  .routes-page .routes-hero-stats b { font-size: 20px; }
  .routes-page .route-map-card { position: relative; right: auto; bottom: auto; width: auto; height: 150px; margin: 36px 0 0; }
  .routes-page .inner-section { padding: 62px 0; }
  .routes-page .route-price-query { padding: 16px; }
  .routes-page .directory-row { grid-template-columns: 68px 1fr auto; gap: 10px; padding: 15px 13px; }
  .routes-page .directory-row span { grid-column: 2 / -1; font-size: 11px; }
  .routes-page .directory-row a { grid-column: 3; grid-row: 1; }
  .routes-page .route-province-group { display: block; padding: 19px 15px; }
  .routes-page .route-province-heading { margin-bottom: 17px; }
}

/* 2026-10 query refresh: a clear origin/destination control rather than a flat form. */
.routes-page .price-query-section{position:relative;overflow:hidden;background:radial-gradient(circle at 8% 18%,rgba(7,142,167,.09),transparent 28%),linear-gradient(180deg,#f7fbfc 0%,#eef8f8 100%)}
.routes-page .price-query-section:before{content:"ROUTE CONTROL";position:absolute;top:34px;right:max(28px,calc((100% - 1320px)/2));color:rgba(7,142,167,.15);font:800 11px/1 "Manrope",sans-serif;letter-spacing:3px}
.routes-page .route-price-query{position:relative;padding:20px;border:0;border-radius:16px;background:rgba(255,255,255,.78);box-shadow:0 20px 55px rgba(18,74,91,.12);backdrop-filter:blur(12px)}
.routes-page .route-price-sides{gap:14px}
.routes-page .route-price-side{position:relative;padding:52px 18px 18px;border:1px solid #cfe5e9;border-radius:12px;background:#fff;box-shadow:inset 0 3px 0 rgba(7,142,167,.12)}
.routes-page .route-price-side legend{position:static;display:block;grid-column:1 / -1;margin:0 0 2px;padding:0;color:var(--route-cyan-dark);font-size:17px;font-weight:800;line-height:1.2;background:transparent}
.routes-page .route-price-side:before{display:block;margin-bottom:14px;color:#7d9aa2;content:"STEP 01";font:800 10px/1 "Manrope",sans-serif;letter-spacing:1.5px}
.routes-page .route-price-side:nth-of-type(2):before{content:"STEP 02"}
.routes-page .route-price-side legend{position:absolute;top:17px;right:16px;padding:0;color:var(--route-cyan-dark);font-size:17px;font-weight:800}
.routes-page .route-price-side select{border-radius:7px;background:#f8fcfd;transition:border-color .2s ease,box-shadow .2s ease,background .2s ease}
.routes-page .route-price-side select:hover:not(:disabled){border-color:#8bcfd8;background:#fff}
.routes-page .route-price-direction{width:34px;height:34px;padding:8px;border-radius:50%;background:#e6f7f8}
.routes-page .route-price-query-actions{margin-top:16px;padding-top:16px;border-top:1px solid #e2eff1}
.routes-page .route-price-query-actions .button{min-height:48px;padding:0 24px;border-radius:8px;font-size:14px;box-shadow:0 8px 18px rgba(7,142,167,.2)}
.routes-page .route-price-query-actions p{display:flex;align-items:center;gap:7px}
.routes-page .route-price-query-actions p:before{content:"✓";display:inline-grid;place-items:center;width:18px;height:18px;border-radius:50%;color:#056c80;background:#dff5ee;font-weight:900}
.routes-page .route-price-result{border-radius:12px;box-shadow:0 16px 32px rgba(18,74,91,.16)}
@media (max-width:800px){
  .routes-page .price-query-section:before{top:22px;right:16px;font-size:9px}
  .routes-page .route-price-query{padding:12px;border-radius:12px}
  .routes-page .route-price-side{padding:48px 13px 13px}
  .routes-page .route-price-side legend{top:15px;right:13px;font-size:15px}
  .routes-page .route-price-side:before{margin-bottom:12px}
  .routes-page .route-price-direction{transform:rotate(90deg)}
  .routes-page .route-price-query-actions .button{width:100%}
  .routes-page .route-price-query-actions p{margin-top:12px;line-height:1.5}
}

.routes-page .price-query-modal-panel{border:1px solid #cfe5e9;border-top:4px solid var(--route-cyan);border-radius:14px;box-shadow:0 24px 70px rgba(18,74,91,.24)}
.routes-page .price-query-modal-kicker{color:var(--route-cyan-dark)}
.routes-page .price-query-modal-close{border-color:#d7e9ed;border-radius:8px;color:var(--route-cyan-dark);background:#f3fbfc}
.routes-page .price-query-modal .route-price-side{box-shadow:none}
.routes-page .price-query-modal .route-price-query-actions .button{background:var(--route-cyan)}
.routes-page .site-floating-action{border-color:#cfe5e9;color:var(--route-cyan-dark);background:rgba(255,255,255,.96);box-shadow:0 8px 20px rgba(18,74,91,.12)}
.routes-page .site-floating-price{border-color:#8bcfd8;color:#056c80;background:#eaf8f8}
.routes-page .route-price-side{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;gap:12px;padding:18px}
.routes-page .route-price-side:before{grid-column:1 / -1;margin:0 0 2px}
.routes-page .route-price-side legend{position:static;display:block;grid-column:1 / -1;grid-row:auto;margin:0;padding:0;line-height:1.2;background:transparent}
@media (max-width: 800px){.routes-page .route-price-side{grid-template-columns:1fr;gap:9px;padding:16px 13px}.routes-page .route-price-side:before,.routes-page .route-price-side legend{grid-column:1}}
