/* 北京租车网 (www.bjbszc188.com) - Bespoke Local Stylesheet */
:root {
  --brand: #14599b;
  --brand-dark: #0c3b6b;
  --brand-deep: #0b2239;
  --brand-soft: #edf5fc;
  --accent: #e56b00;
  --accent-hover: #c75a00;
  --accent-soft: #fff4ea;
  --ink: #172331;
  --ink-2: #334355;
  --muted: #5c6d80;
  --surface: #f5f8fc;
  --white: #ffffff;
  --border: #dce5ef;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 10px rgba(15, 42, 74, 0.06);
  --shadow-md: 0 10px 30px rgba(12, 42, 78, 0.10);
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  overflow-x: clip;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--brand);
  text-decoration: none;
  transition: color 0.18s ease;
}

a:hover {
  color: var(--accent);
}

h1, h2, h3, h4 {
  margin: 0 0 12px;
  color: var(--ink);
  line-height: 1.3;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 12px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: inherit;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.2;
  padding: 11px 20px;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-sm {
  padding: 8px 14px;
  font-size: 13px;
}

.btn-lg {
  padding: 13px 24px;
  font-size: 15px;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--brand);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--brand-dark);
  color: var(--white);
}

.btn-accent {
  background: var(--accent);
  color: var(--white);
}

.btn-accent:hover {
  background: var(--accent-hover);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  border-color: var(--brand);
  color: var(--brand);
}

.btn-outline:hover {
  background: var(--brand);
  color: var(--white);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.65);
  color: var(--white);
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--brand-dark);
}

.text-link {
  font-weight: 600;
  font-size: 14px;
  color: var(--brand);
}

.text-link:hover {
  color: var(--accent);
}

.text-accent {
  color: var(--accent);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 70px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo img {
  height: 46px;
  width: auto;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a {
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--brand);
  background: var(--brand-soft);
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

.mobile-nav {
  border-top: 1px solid var(--border);
  background: var(--white);
  padding: 12px 0 18px;
  box-shadow: var(--shadow-md);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav-links a {
  padding: 11px 14px;
  border-radius: 8px;
  font-weight: 500;
  color: var(--ink);
}

.mobile-nav-links a.active,
.mobile-nav-links a:hover {
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 600;
}

/* Homepage Verbatim Announcement Bar */
.announce-bar {
  background: linear-gradient(90deg, #fff6ec 0%, #eef6fd 100%);
  border-bottom: 1px solid #e3dfd9;
  padding: 10px 0;
}

.announce-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.announce-tag {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.03em;
  flex-shrink: 0;
}

.announce-text {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.5;
}

/* Hero */
.hero-section {
  position: relative;
  padding: 56px 0 64px;
  overflow: hidden;
  background: var(--brand-deep);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.42;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(108deg, rgba(10, 32, 58, 0.94) 0%, rgba(16, 62, 110, 0.84) 55%, rgba(10, 32, 58, 0.72) 100%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.85fr);
  gap: 36px;
  align-items: center;
}

.hero-pill {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #e6f2ff;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}

.hero-copy h1 {
  color: var(--white);
  font-size: 38px;
  line-height: 1.24;
  margin-bottom: 16px;
}

.hero-lead {
  color: #d9e6f4;
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 580px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.trust-item strong {
  display: block;
  color: var(--white);
  font-size: 15px;
  margin-bottom: 2px;
}

.trust-item span {
  display: block;
  color: #b7cde4;
  font-size: 12px;
  line-height: 1.4;
}

/* Hero Estimator Card */
.hero-estimator-card {
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(4, 18, 36, 0.35);
  overflow: hidden;
}

.card-head-accent {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: var(--white);
  padding: 18px 22px;
}

.card-head-accent h2 {
  color: var(--white);
  font-size: 19px;
  margin-bottom: 4px;
}

.card-head-accent p {
  margin: 0;
  font-size: 13px;
  color: #cfe3f8;
}

.quick-calc-form {
  padding: 20px 22px 22px;
}

/* Forms */
.form-row {
  margin-bottom: 14px;
}

.form-row label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 6px;
}

.form-row input[type="number"],
.form-row input[type="text"],
.form-row input[type="search"],
.form-row select,
textarea {
  width: 100%;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid #cbd7e6;
  border-radius: 8px;
  padding: 10px 12px;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.form-row input:focus,
.form-row select:focus,
textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(20, 89, 155, 0.14);
}

.form-row-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.form-row-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.quick-estimate-box {
  background: var(--accent-soft);
  border: 1px solid #ffd8b5;
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 16px;
  text-align: center;
}

.qe-label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 4px;
}

.qe-price {
  display: block;
  font-size: 26px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.2;
}

.qe-note {
  display: block;
  font-size: 12px;
  color: var(--ink-2);
  margin-top: 6px;
}

/* Sections */
.section {
  padding: 64px 0;
}

.section-alt {
  background: var(--surface);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.section-head h2 {
  font-size: 28px;
  margin-bottom: 0;
}

.section-sub {
  margin: 0;
  color: var(--muted);
  max-width: 480px;
  font-size: 14px;
}

/* Pillars */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.pillar-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 22px;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.pillar-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand);
  color: var(--ink);
}

.pillar-num {
  font-size: 13px;
  font-weight: 800;
  color: var(--accent);
  background: var(--accent-soft);
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.pillar-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.pillar-card p {
  font-size: 14px;
  color: var(--muted);
  flex: 1;
}

.pillar-link {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
}

/* Fleet Grid */
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.fleet-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.vehicle-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.vehicle-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.vehicle-thumb {
  position: relative;
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #e6edf5;
}

.vehicle-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.vehicle-card:hover .vehicle-thumb img {
  transform: scale(1.04);
}

.vehicle-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(11, 34, 57, 0.88);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
}

.vehicle-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.vehicle-cat {
  font-size: 12px;
  font-weight: 600;
  color: var(--brand);
  margin-bottom: 4px;
}

.vehicle-body h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.vehicle-body h3 a {
  color: var(--ink);
}

.vehicle-body h3 a:hover {
  color: var(--brand);
}

.vehicle-desc {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 12px;
  flex: 1;
}

.vehicle-specs {
  margin: 0 0 14px;
  padding: 10px 0;
  border-top: 1px dashed var(--border);
  border-bottom: 1px dashed var(--border);
  font-size: 12px;
}

.vehicle-specs div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 3px 0;
}

.vehicle-specs dt {
  color: var(--muted);
  flex-shrink: 0;
}

.vehicle-specs dd {
  margin: 0;
  color: var(--ink-2);
  font-weight: 600;
  text-align: right;
}

.vehicle-price-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.price-main {
  display: block;
  font-size: 19px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.2;
}

.price-main em {
  font-style: normal;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}

.price-sub {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

/* Shuttle Grid */
.shuttle-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.shuttle-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.shuttle-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.shuttle-top h3 {
  font-size: 17px;
  margin: 0;
  color: var(--brand-dark);
}

.shuttle-price {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
}

.shuttle-hubs,
.shuttle-meta {
  font-size: 13.5px;
  color: var(--ink-2);
  margin-bottom: 6px;
}

.shuttle-note {
  font-size: 13.5px;
  color: var(--muted);
  margin: 10px 0 0;
  padding-top: 10px;
  border-top: 1px dashed var(--border);
}

/* Routes Grid */
.routes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.route-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.route-img-wrap {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #dfe7f1;
}

.route-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.route-region {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(12, 59, 107, 0.9);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
}

.route-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.route-body h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.route-body h3 a {
  color: var(--ink);
}

.route-body h3 a:hover {
  color: var(--brand);
}

.route-body p {
  font-size: 13.5px;
  color: var(--muted);
  flex: 1;
}

.route-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 12px;
}

.route-stats span {
  font-size: 12px;
  background: var(--surface);
  color: var(--ink-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 3px 8px;
}

.route-rec {
  font-size: 12.5px;
  color: var(--brand-dark);
  margin-bottom: 12px;
}

.route-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.route-price {
  font-size: 19px;
  color: var(--accent);
}

.route-price em {
  font-style: normal;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}

/* Articles Grid */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.article-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.article-thumb {
  display: block;
  margin: -20px -20px 16px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 10px;
}

.cat-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 2px 9px;
  border-radius: 999px;
}

.cat-tag-light {
  background: rgba(255, 255, 255, 0.18);
  color: var(--white);
}

.article-card h3 {
  font-size: 17px;
  line-height: 1.4;
  margin-bottom: 10px;
}

.article-card h3 a {
  color: var(--ink);
}

.article-card h3 a:hover {
  color: var(--brand);
}

.article-card p {
  font-size: 13.5px;
  color: var(--muted);
  flex: 1;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 20px;
}

.faq-item summary {
  font-weight: 600;
  font-size: 15.5px;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 700;
  color: var(--brand);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "−";
  color: var(--accent);
}

.faq-answer {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
  color: var(--ink-2);
  font-size: 14px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

/* CTA Band */
.cta-band {
  background: linear-gradient(120deg, var(--brand-dark) 0%, var(--brand) 100%);
  color: var(--white);
  padding: 46px 0;
}

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-band h2 {
  color: var(--white);
  font-size: 25px;
  margin-bottom: 8px;
}

.cta-band p {
  margin: 0;
  color: #d6e6f7;
  max-width: 620px;
}

.cta-band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Page Banner */
.page-banner {
  background: linear-gradient(120deg, var(--brand-deep) 0%, var(--brand) 100%);
  color: var(--white);
  padding: 36px 0 40px;
}

.breadcrumb {
  font-size: 13px;
  color: #b7d0ea;
  margin-bottom: 12px;
}

.breadcrumb a {
  color: #d7e8fa;
}

.breadcrumb a:hover {
  color: var(--white);
}

.breadcrumb span {
  margin: 0 6px;
}

.breadcrumb strong {
  color: var(--white);
  font-weight: 600;
}

.page-banner h1 {
  color: var(--white);
  font-size: 30px;
  margin-bottom: 10px;
}

.page-banner p {
  color: #d9e8f8;
  font-size: 15px;
  max-width: 760px;
  margin-bottom: 0;
}

.article-banner-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
  color: #d7e8fa;
  margin-top: 12px;
}

/* Filter & Search */
.guides-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.guides-toolbar .filter-bar {
  margin-bottom: 0;
}

.filter-pill {
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--ink-2);
  font-size: 13.5px;
  font-weight: 500;
}

.filter-pill:hover,
.filter-pill.active {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--white);
}

.search-form {
  display: flex;
  gap: 8px;
  width: 320px;
  max-width: 100%;
}

.search-form input {
  flex: 1;
  min-width: 0;
  border: 1.5px solid #cbd7e6;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 14px;
}

/* Tables */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  font-size: 14px;
}

.data-table th,
.data-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: middle;
}

.data-table thead th {
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-weight: 700;
  white-space: nowrap;
}

.data-table tbody tr:last-child td,
.data-table tbody tr:last-child th {
  border-bottom: none;
}

.data-table tbody th {
  width: 34%;
  background: #fafcfe;
  color: var(--ink-2);
  font-weight: 600;
}

.table-link {
  font-weight: 600;
  color: var(--brand);
}

.table-footnote {
  font-size: 13px;
  color: var(--muted);
  margin-top: 12px;
}

/* Detail Layout */
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: start;
}

.detail-hero-img {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 24px;
  border: 1px solid var(--border);
}

.detail-hero-img img {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
}

.detail-card,
.article-prose-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
}

.detail-card h2 {
  font-size: 20px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--brand-soft);
}

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  color: var(--ink-2);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 800;
}

.callout-info {
  background: var(--brand-soft);
  border-left: 4px solid var(--brand);
  padding: 14px 16px;
  border-radius: 0 8px 8px 0;
  font-size: 14px;
  color: var(--ink-2);
  margin-top: 12px;
}

.timeline-list {
  display: grid;
  gap: 10px;
}

.timeline-item {
  background: var(--surface);
  border-left: 3px solid var(--accent);
  padding: 12px 16px;
  border-radius: 0 8px 8px 0;
  font-size: 14px;
  color: var(--ink-2);
}

/* Sidebar */
.sidebar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.sticky-card {
  position: sticky;
  top: 88px;
}

.sidebar-price-head {
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.sidebar-cat {
  font-size: 12px;
  font-weight: 600;
  color: var(--brand);
}

.sidebar-price {
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
  margin-top: 4px;
}

.sidebar-price span {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}

.sidebar-specs {
  margin: 0 0 18px;
}

.sidebar-specs div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 13.5px;
}

.sidebar-specs dt {
  color: var(--muted);
  flex-shrink: 0;
}

.sidebar-specs dd {
  margin: 0;
  font-weight: 600;
  color: var(--ink);
  text-align: right;
}

.sidebar-text {
  font-size: 13.5px;
  color: var(--muted);
}

.sidebar-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sidebar-links li {
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
}

.sidebar-links li:last-child {
  border-bottom: none;
}

.sidebar-links a strong {
  display: block;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 4px;
}

.sidebar-links a:hover strong {
  color: var(--brand);
}

.sidebar-links a span {
  font-size: 12px;
  color: var(--muted);
}

/* Shuttle Planner Box */
.shuttle-tool-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.shuttle-tool-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px;
}

.shuttle-result-box {
  background: var(--white);
  border: 1px solid #ffd8b5;
  border-radius: 10px;
  padding: 14px 16px;
  margin-top: 14px;
}

.sr-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 14px;
}

.sr-row:last-child {
  border-bottom: none;
}

/* Full Calculator Page */
.calc-presets {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.preset-label {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-2);
}

.preset-btn {
  font-family: inherit;
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid #bdd3ea;
  background: var(--brand-soft);
  color: var(--brand-dark);
  cursor: pointer;
  transition: all 0.16s ease;
}

.preset-btn:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--white);
}

.calc-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 24px;
  align-items: start;
}

.calc-form-card,
.calc-result-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}

.calc-form-card h2 {
  font-size: 20px;
  margin-bottom: 18px;
}

.checkbox-inline {
  display: flex !important;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-weight: 500 !important;
}

.calc-total-banner {
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 100%);
  color: var(--white);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
  text-align: center;
}

.calc-total-banner > span {
  display: block;
  font-size: 13px;
  color: #cfe3f8;
}

.calc-total-banner > strong {
  display: block;
  font-size: 36px;
  line-height: 1.2;
  margin: 6px 0 10px;
  color: #ffd399;
}

.calc-sub-metrics {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
  color: #e6f2ff;
}

.breakdown-list {
  margin: 0 0 20px;
}

.breakdown-list div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 14px;
}

.breakdown-list dt {
  color: var(--ink-2);
}

.breakdown-list dd {
  margin: 0;
  font-weight: 700;
  color: var(--ink);
}

.approval-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
}

.approval-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 14px;
}

.approval-box textarea {
  font-size: 13px;
  line-height: 1.55;
  background: var(--white);
  resize: vertical;
}

.copy-status {
  display: block;
  font-size: 12.5px;
  color: #16794c;
  margin-top: 6px;
  min-height: 18px;
}

/* Article Prose */
.article-cover {
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 18px;
}

.article-cover img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
}

.article-summary-box {
  background: var(--brand-soft);
  border-left: 4px solid var(--brand);
  padding: 14px 18px;
  border-radius: 0 8px 8px 0;
  margin-bottom: 22px;
  font-size: 14.5px;
  color: var(--ink-2);
}

.prose h2 {
  font-size: 20px;
  margin: 26px 0 12px;
  color: var(--brand-dark);
}

.prose p {
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--ink-2);
  margin-bottom: 14px;
}

.prose ul,
.prose ol {
  margin: 0 0 18px;
  padding-left: 22px;
  color: var(--ink-2);
}

.prose li {
  margin-bottom: 8px;
  line-height: 1.75;
}

.article-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
}

.tag-chip {
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--ink-2);
  font-size: 12.5px;
}

/* Steps Grid on About */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.step-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px;
}

.step-box span {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 6px;
}

.step-box h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.step-box p {
  font-size: 13.5px;
  color: var(--muted);
  margin: 0;
}

/* Empty & 404 */
.empty-state,
.not-found-box {
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 48px 24px;
}

.nf-code {
  font-size: 64px;
  font-weight: 800;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 12px;
}

.nf-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0 30px;
}

.nf-quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  text-align: left;
}

.nf-quick-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
}

.nf-quick-card strong {
  display: block;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 4px;
}

.nf-quick-card span {
  font-size: 12.5px;
  color: var(--muted);
}

/* Footer */
.site-footer {
  background: var(--brand-deep);
  color: #b8cde3;
  padding-top: 52px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
}

.footer-brand-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}

.footer-desc {
  font-size: 13.5px;
  line-height: 1.7;
  color: #a9c2dc;
  margin-bottom: 14px;
}

.footer-meta-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: #d2e4f7;
}

.footer-col h4 {
  color: var(--white);
  font-size: 15px;
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 8px;
}

.footer-col a {
  font-size: 13.5px;
  color: #b4cbe2;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px 0;
  font-size: 13px;
  color: #93b0ce;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-bottom a {
  color: #cfe4f9;
}

.footer-bottom a:hover {
  color: var(--white);
  text-decoration: underline;
}

/* Responsive Breakpoints (375px bulletproof) */
@media (max-width: 1080px) {
  .fleet-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pillars-grid,
  .steps-grid,
  .nf-quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .main-nav {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .hero-grid,
  .detail-layout,
  .shuttle-tool-box,
  .calc-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .routes-grid,
  .articles-grid,
  .fleet-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-copy h1 {
    font-size: 30px;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 14px;
  }
  .header-inner {
    min-height: 62px;
  }
  .brand-logo img {
    height: 38px;
  }
  .header-actions .btn {
    display: none;
  }
  .hero-section {
    padding: 34px 0 42px;
  }
  .hero-copy h1 {
    font-size: 25px;
  }
  .hero-lead {
    font-size: 14.5px;
  }
  .hero-trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .section {
    padding: 42px 0;
  }
  .section-head h2 {
    font-size: 22px;
  }
  .page-banner {
    padding: 26px 0 30px;
  }
  .page-banner h1 {
    font-size: 23px;
  }
  .fleet-grid,
  .fleet-grid-3,
  .pillars-grid,
  .shuttle-grid,
  .routes-grid,
  .articles-grid,
  .steps-grid,
  .footer-grid,
  .nf-quick-grid,
  .form-row-2,
  .form-row-3 {
    grid-template-columns: minmax(0, 1fr);
  }
  .shuttle-tool-box,
  .calc-form-card,
  .calc-result-card,
  .detail-card,
  .article-prose-card {
    padding: 18px;
  }
  .search-form {
    width: 100%;
  }
  .hero-cta-row .btn,
  .cta-band-actions .btn {
    width: 100%;
  }
  .data-table {
    min-width: 540px;
  }
}
