:root {
  --red: #b51620;
  --red-dark: #7f0f16;
  --ink: #171717;
  --muted: #66625d;
  --line: #e7e0dc;
  --paper: #fffaf6;
  --white: #ffffff;
  --graphite: #24201e;
  --gold: #c9933d;
  --green: #345744;
  --shadow: 0 18px 48px rgba(54, 35, 28, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 64px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(15, 12, 11, 0.78), rgba(15, 12, 11, 0));
  transition: background 0.2s ease, box-shadow 0.2s ease, padding 0.2s ease;
}

.site-header.is-scrolled {
  padding-block: 12px;
  color: var(--ink);
  background: rgba(255, 250, 246, 0.94);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-logo {
  display: grid;
  width: 86px;
  height: 40px;
  place-items: center;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand strong {
  font-size: 18px;
}

.brand small {
  margin-top: 4px;
  color: currentColor;
  font-size: 12px;
  opacity: 0.78;
}

.brand.light {
  color: var(--white);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 15px;
}

.main-nav a {
  white-space: nowrap;
}

.boss-link {
  border: 1px solid currentColor;
  border-radius: 8px;
  padding: 10px 16px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 8px;
  color: inherit;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  color: var(--white);
  background: var(--graphite);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(14, 9, 8, 0.88) 0%, rgba(14, 9, 8, 0.64) 34%, rgba(14, 9, 8, 0.2) 68%, rgba(14, 9, 8, 0.44) 100%),
    linear-gradient(180deg, rgba(14, 9, 8, 0.42) 0%, rgba(14, 9, 8, 0) 40%, rgba(14, 9, 8, 0.82) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(780px, calc(100% - 40px));
  padding: clamp(140px, 20vh, 190px) 0 180px;
  margin-left: clamp(20px, 6vw, 80px);
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 680px;
  margin: 16px 0;
  font-size: clamp(44px, 6vw, 78px);
  line-height: 1.04;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.75;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 22px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button {
  border: 1px solid var(--red);
  background: var(--red);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(181, 22, 32, 0.28);
}

.secondary-button {
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-2px);
}

.hero-strip {
  position: absolute;
  z-index: 3;
  right: clamp(20px, 6vw, 80px);
  bottom: 0;
  left: clamp(20px, 6vw, 80px);
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 0;
  background: rgba(23, 23, 23, 0.74);
  backdrop-filter: blur(12px);
}

.hero-strip div {
  min-height: 104px;
  padding: 18px 14px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-strip div:last-child {
  border-right: 0;
}

.hero-strip strong {
  display: block;
  font-size: clamp(28px, 2.8vw, 38px);
  line-height: 1;
}

.hero-strip span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  line-height: 1.35;
}

.hero-strip em {
  font-style: normal;
  font-size: 0.86em;
}

.intro-section,
.section,
.quote-section,
.contact-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.intro-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  padding: 78px 0 48px;
  align-items: start;
}

.section-copy h2,
.section-heading h2,
.quote-copy h2,
.contact-section h2,
.login-brand h1,
.login-panel h2 {
  margin: 12px 0 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.18;
  letter-spacing: 0;
}

.intro-section p,
.route-panel p,
.quote-copy p,
.contact-section p,
.login-brand p,
.login-note {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}

.intro-detail {
  display: grid;
  gap: 18px;
}

.intro-detail p {
  margin: 0;
}

.future-note {
  border-left: 4px solid var(--red);
  padding: 18px 20px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(78, 58, 49, 0.06);
}

.future-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 54px 0 36px;
}

.future-heading {
  display: grid;
  max-width: 820px;
  gap: 14px;
  margin-bottom: 26px;
}

.future-heading h2 {
  margin: 0;
  font-size: clamp(32px, 4.2vw, 54px);
  line-height: 1.14;
}

.future-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.future-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.future-grid article {
  min-height: 220px;
  border: 1px solid rgba(181, 22, 32, 0.18);
  border-radius: 8px;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(181, 22, 32, 0.07), rgba(255, 255, 255, 0)),
    var(--white);
  box-shadow: 0 14px 32px rgba(78, 58, 49, 0.08);
}

.future-grid strong {
  display: block;
  color: var(--red);
  font-size: clamp(34px, 4.5vw, 52px);
  line-height: 1;
}

.future-grid span {
  display: block;
  margin-top: 16px;
  color: var(--graphite);
  font-size: 18px;
  font-weight: 900;
}

.future-grid p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.72;
}

.fleet-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 46px 0 70px;
}

.fleet-gallery {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}

.fleet-gallery figure {
  position: relative;
  min-height: 270px;
  overflow: hidden;
  border-radius: 8px;
  margin: 0;
  background: var(--graphite);
  box-shadow: 0 14px 34px rgba(78, 58, 49, 0.12);
}

.fleet-gallery figure:first-child {
  grid-row: span 2;
  min-height: 556px;
}

.fleet-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fleet-gallery figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  border-radius: 8px;
  padding: 9px 12px;
  color: var(--white);
  background: rgba(23, 19, 18, 0.72);
  font-size: 14px;
  font-weight: 900;
  backdrop-filter: blur(10px);
}

.section {
  padding: 64px 0;
}

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

.section-heading.compact {
  display: block;
}

.section-heading h2 {
  max-width: 760px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  min-height: 250px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(78, 58, 49, 0.06);
}

.service-card.highlight {
  background: var(--graphite);
  color: var(--white);
}

.service-index {
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
}

.service-card.highlight .service-index {
  color: var(--gold);
}

.service-card h3,
.route-panel h3 {
  margin: 18px 0 12px;
  font-size: 23px;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.service-card.highlight p {
  color: rgba(255, 255, 255, 0.78);
}

.route-section {
  width: 100%;
  padding: 78px max(20px, calc((100vw - 1180px) / 2));
  background: #201c1a;
  color: var(--white);
}

.route-layout {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(300px, 0.78fr);
  gap: 34px;
  align-items: stretch;
  margin-top: 34px;
}

.route-map {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: #2a2522;
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.22);
}

.real-map,
.baidu-map,
.province-map,
.static-map {
  width: 100%;
  min-height: 540px;
}

.static-map {
  display: flex;
  align-items: center;
  padding: 16px;
  background:
    radial-gradient(circle at 68% 28%, rgba(201, 147, 61, 0.18), transparent 26%),
    #2a2522;
}

.static-map-stage {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.static-map-image {
  width: 100%;
  height: auto;
  filter: saturate(0.96) contrast(0.98) brightness(0.92);
}

.static-map-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.route-line {
  fill: none;
  stroke-linecap: round;
  stroke-width: 4;
}

.branch-route {
  stroke: #c91522;
}

.outbound-route {
  stroke: #c9933d;
  stroke-dasharray: 10 9;
}

.map-point circle {
  stroke: var(--white);
  stroke-width: 5;
}

.map-point text {
  fill: var(--white);
  paint-order: stroke;
  stroke: rgba(21, 17, 16, 0.92);
  stroke-width: 5;
  stroke-linejoin: round;
  font-size: 18px;
  font-weight: 900;
}

.map-point.hq circle {
  fill: var(--red);
}

.map-point.hq text {
  font-size: 20px;
}

.map-point.branch circle {
  fill: var(--red-dark);
}

.map-point.dest circle {
  fill: var(--gold);
}

.map-legend {
  position: absolute;
  z-index: 2;
  left: 16px;
  bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.map-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 8px 10px;
  color: var(--white);
  background: rgba(21, 17, 16, 0.72);
  font-size: 13px;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.map-legend i {
  display: inline-block;
  width: 11px;
  height: 11px;
  border: 2px solid var(--white);
  border-radius: 999px;
}

.legend-hq {
  background: var(--red);
}

.legend-branch {
  background: var(--red-dark);
}

.legend-dest {
  background: var(--gold);
}

.route-panel {
  border-radius: 8px;
  padding: 34px;
  background: var(--paper);
  color: var(--ink);
}

.route-panel ul {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.route-panel li {
  padding-left: 22px;
  position: relative;
  color: var(--muted);
}

.route-panel li::before {
  position: absolute;
  left: 0;
  color: var(--red);
  content: "◆";
  font-size: 10px;
  top: 5px;
}

.industry-section {
  width: 100%;
  padding-inline: max(20px, calc((100vw - 1180px) / 2));
  background: var(--white);
}

.industry-list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.industry-list span {
  display: grid;
  min-height: 86px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--graphite);
  font-weight: 800;
  background: #fffdfb;
}

.quote-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 42px;
  padding: 78px 0;
}

.quote-form,
.login-panel form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--graphite);
  font-size: 14px;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 15px;
  color: var(--ink);
  background: var(--white);
  outline: none;
}

input:focus,
textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(181, 22, 32, 0.12);
}

textarea {
  resize: vertical;
}

.full {
  grid-column: 1 / -1;
  width: 100%;
}

.contact-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-top: 1px solid var(--line);
  padding: 48px 0 72px;
}

.contact-section .secondary-button {
  border-color: var(--line);
  color: var(--ink);
  background: var(--white);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(20px, 5vw, 64px);
  color: rgba(255, 255, 255, 0.7);
  background: #171312;
  font-size: 14px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.78);
}

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

.login-body {
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(23, 19, 18, 0.95), rgba(23, 19, 18, 0.72)),
    url("./assets/fleet-electric-lineup.jpg") center / cover;
}

.login-shell {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 54px;
  width: min(1080px, calc(100% - 40px));
  min-height: 100vh;
  align-items: center;
  margin: 0 auto;
  padding: 56px 0;
}

.login-brand {
  color: var(--white);
}

.login-brand h1 {
  max-width: 620px;
  margin-top: 42px;
  font-size: clamp(42px, 6vw, 70px);
}

.login-brand p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.76);
}

.login-panel {
  border-radius: 8px;
  padding: 34px;
  background: rgba(255, 250, 246, 0.96);
  box-shadow: var(--shadow);
}

.login-panel form {
  grid-template-columns: 1fr;
  margin-top: 26px;
}

.login-note {
  margin: 18px 0 0;
  font-size: 14px;
}

@media (max-width: 920px) {
  .nav-toggle {
    display: inline-block;
  }

  .main-nav {
    position: absolute;
    top: calc(100% - 2px);
    right: 20px;
    display: none;
    width: min(320px, calc(100vw - 40px));
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-radius: 8px;
    padding: 10px;
    color: var(--ink);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 13px 12px;
  }

  .boss-link {
    color: var(--red);
  }

  .hero-content {
    margin-inline: 20px;
    padding-bottom: 220px;
  }

  .hero-strip {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .hero-strip div {
    grid-column: span 1;
    min-height: 94px;
    padding: 16px 10px;
  }

  .hero-strip strong {
    font-size: 32px;
  }

  .hero-strip span {
    font-size: 13px;
  }

  .intro-section,
  .quote-section,
  .route-layout,
  .login-shell {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .future-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .fleet-gallery {
    grid-template-columns: 1fr;
  }

  .fleet-gallery figure,
  .fleet-gallery figure:first-child {
    grid-row: auto;
    min-height: 300px;
  }

  .industry-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-section,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .login-shell {
    align-content: center;
  }

  .login-panel {
    width: min(100%, 460px);
  }
}

@media (max-width: 620px) {
  .site-header {
    padding-inline: 16px;
  }

  .brand strong {
    font-size: 16px;
  }

  .hero {
    min-height: 94vh;
  }

  .hero-content {
    width: calc(100% - 32px);
    margin-inline: 16px;
    padding-top: 126px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .hero-strip {
    left: 16px;
    right: 16px;
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .hero-strip div {
    grid-column: span 2;
    min-height: 92px;
    padding: 12px 10px;
  }

  .hero-strip div:nth-child(3) {
    border-right: 0;
  }

  .hero-strip strong {
    font-size: 30px;
  }

  .hero-strip span {
    margin-top: 7px;
    font-size: 12px;
  }

  .intro-section,
  .future-section,
  .fleet-section,
  .section,
  .quote-section,
  .contact-section {
    width: calc(100% - 32px);
  }

  .service-grid,
  .future-grid,
  .industry-list,
  .quote-form {
    grid-template-columns: 1fr;
  }

  .route-section,
  .industry-section {
    padding-inline: 16px;
  }

  .route-map {
    min-height: 520px;
  }

  .real-map,
  .baidu-map,
  .province-map,
  .static-map {
    min-height: 0;
  }

  .static-map {
    padding: 10px;
  }

  .map-point text {
    font-size: 42px;
    stroke-width: 8;
  }

  .map-point.hq text {
    font-size: 48px;
  }

  .map-point circle {
    r: 17px;
    stroke-width: 7;
  }

  .map-point.hq circle {
    r: 22px;
  }

  .route-line {
    stroke-width: 6;
  }

  .route-panel {
    padding: 24px;
  }

  .contact-actions,
  .hero-actions {
    width: 100%;
  }

  .contact-actions a,
  .hero-actions a {
    width: 100%;
  }

  .login-shell {
    width: calc(100% - 32px);
  }

  .login-panel {
    padding: 24px;
  }
}
