:root {
  --primary: #2f9e44;
  --primary-2: #43b64f;
  --primary-dark: #123b2a;
  --cyan: #6fbf73;
  --bg-soft: #f4faf5;
  --text-main: #123b2a;
  --text-muted: #6f7f73;
  --border: #d9eadb;
  --shadow: 0 24px 60px rgba(18, 59, 42, 0.14);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text-main);
  background: #fff;
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
}

body[data-page="home"] {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

body[data-page="home"] main {
  flex: 0 0 auto;
}

body[data-page="home"] .site-footer {
  margin-top: auto;
}

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

button,
input {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

.container {
  width: min(calc(100% - 48px), 1240px);
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 72px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(18, 59, 42, 0.08);
  backdrop-filter: blur(14px);
}

.header-inner {
  height: 72px;
  display: flex;
  align-items: center;
  gap: 28px;
}

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

.brand img {
  width: 178px;
  height: auto;
  display: block;
}

.site-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: clamp(20px, 2.5vw, 44px);
}

.site-nav a {
  position: relative;
  height: 72px;
  display: inline-flex;
  align-items: center;
  color: #101d34;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 9px;
  width: 28px;
  height: 3px;
  margin: auto;
  border-radius: 999px;
  background: transparent;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--primary);
}

.site-nav a:hover::after,
.site-nav a.active::after {
  background: var(--primary);
}

.hotline {
  min-width: 150px;
  display: grid;
  padding-left: 24px;
  border-left: 1px solid var(--border);
  line-height: 1.18;
}

.hotline span {
  color: var(--text-muted);
  font-size: 12px;
}

.hotline strong {
  color: var(--primary-dark);
  font-size: 19px;
  letter-spacing: 0;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  border-radius: 10px;
  background: #edf6ff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--primary-dark);
}

.hero {
  position: relative;
  min-height: 470px;
  max-height: 500px;
  overflow: hidden;
  background: #eef8f1 url("images/hero-map-pattern.png") center / cover no-repeat;
}

.hero-inner {
  position: relative;
  min-height: 470px;
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  align-items: center;
  gap: 42px;
  padding: 48px 0 84px;
}

.hero-copy,
.hero-scene {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(48px, 4vw, 56px);
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: 0;
}

.hero h1 em {
  color: var(--cyan);
  font-style: normal;
}

.hero-lead {
  max-width: 560px;
  margin-top: 18px;
  color: var(--text-muted);
  font-size: 18px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hero-tags span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 15px;
  border: 1px solid rgba(47, 158, 68, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 14px;
}

.hero-tags span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
}

.hero-scene {
  height: 356px;
  min-width: 0;
}

.map-lines {
  position: absolute;
  inset: 0 0 auto auto;
  width: 100%;
  height: 250px;
}

.map-cloud {
  opacity: 0.56;
}

.thin-route {
  fill: none;
  stroke: rgba(47, 158, 68, 0.22);
  stroke-width: 1.4;
}

.thin-route.second {
  stroke: rgba(111, 191, 115, 0.22);
}

.main-route {
  fill: none;
  stroke: url(#lineBlue);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 9 9;
}

.pin {
  fill: #fff;
  stroke: var(--primary);
  stroke-width: 4;
}

.map-lines text {
  fill: var(--primary-dark);
  font-size: 20px;
  font-weight: 800;
}

.port-silhouette {
  position: absolute;
  left: 16px;
  bottom: 76px;
  width: 245px;
  height: 90px;
  opacity: 0.24;
  background:
    linear-gradient(transparent 0 28px, rgba(18, 59, 42, 0.42) 29px 31px, transparent 32px),
    linear-gradient(90deg, transparent 0 24px, rgba(18, 59, 42, 0.5) 25px 30px, transparent 31px 70px, rgba(18, 59, 42, 0.5) 71px 76px, transparent 77px),
    linear-gradient(140deg, transparent 0 42%, rgba(18, 59, 42, 0.5) 43% 46%, transparent 47%);
}

.warehouse {
  position: absolute;
  right: 0;
  bottom: 36px;
  width: 255px;
  height: 158px;
  border: 4px solid #6fbd73;
  border-top: 0;
  background: linear-gradient(180deg, #fbfffc, #e0f2e4);
  box-shadow: 0 18px 35px rgba(18, 59, 42, 0.16);
}

.warehouse-roof {
  position: absolute;
  left: -9px;
  right: -18px;
  top: -43px;
  height: 48px;
  transform: skewX(-22deg);
  transform-origin: left bottom;
  background: linear-gradient(135deg, var(--primary), #63c36c);
}

.warehouse strong {
  position: absolute;
  left: 38px;
  top: 38px;
  color: var(--primary);
  font-size: 25px;
  font-weight: 800;
}

.warehouse-window {
  position: absolute;
  right: 26px;
  top: 28px;
  width: 76px;
  height: 28px;
  background: linear-gradient(90deg, #a7d9ad 1px, transparent 1px), rgba(167, 217, 173, 0.4);
  background-size: 18px 100%;
  border: 2px solid #86c98b;
}

.warehouse-door {
  position: absolute;
  right: 28px;
  bottom: 0;
  width: 58px;
  height: 58px;
  border: 3px solid #86c98b;
  background: #d2e8d6;
}

.cargo,
.cargo::before,
.cargo::after {
  position: absolute;
  width: 31px;
  height: 26px;
  background: #d8a452;
  border: 2px solid #b68135;
}

.cargo-a {
  left: 36px;
  bottom: 15px;
}

.cargo-b {
  left: 72px;
  bottom: 15px;
}

.cargo-b::after {
  content: "";
  left: 32px;
  top: 13px;
}

.truck {
  position: absolute;
  left: 170px;
  bottom: 38px;
  width: 316px;
  height: 142px;
  z-index: 3;
}

.truck-cab {
  position: absolute;
  left: 2px;
  bottom: 34px;
  width: 96px;
  height: 82px;
  border-radius: 24px 10px 8px 8px;
  background: linear-gradient(135deg, #1d7f39, #55ba5f);
}

.truck-cab::before {
  content: "";
  position: absolute;
  right: 12px;
  top: 15px;
  width: 34px;
  height: 27px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.75);
}

.truck-box {
  position: absolute;
  left: 84px;
  bottom: 34px;
  width: 204px;
  height: 86px;
  border: 3px solid #9bd5a1;
  border-radius: 10px;
  background: linear-gradient(180deg, #fff, #ecf8ef);
}

.truck-line {
  position: absolute;
  left: 112px;
  bottom: 74px;
  width: 150px;
  height: 2px;
  background: #c7e3ca;
  box-shadow: 0 16px 0 #dceee0;
}

.wheel {
  position: absolute;
  bottom: 18px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #0d2038;
  border: 7px solid #edf7f0;
}

.wheel-1 { left: 44px; }
.wheel-2 { left: 174px; }
.wheel-3 { left: 252px; }

.road {
  position: absolute;
  left: 0;
  right: -70px;
  bottom: 0;
  height: 80px;
  background: linear-gradient(170deg, rgba(47, 158, 68, 0.08), rgba(47, 158, 68, 0.24));
  clip-path: polygon(0 42%, 100% 0, 100% 100%, 0 100%);
}

.forklift {
  position: absolute;
  right: 18px;
  bottom: 39px;
  width: 56px;
  height: 38px;
  border-radius: 7px 7px 4px 4px;
  background: #e1a444;
  box-shadow: 34px 14px 0 -12px #e1a444;
}

.forklift::before {
  content: "";
  position: absolute;
  right: -14px;
  top: -26px;
  width: 18px;
  height: 58px;
  border-right: 4px solid #4b6480;
  border-top: 4px solid #4b6480;
}

.query-section {
  position: relative;
  z-index: 4;
  margin-top: -58px;
  background: #fff;
}

.query-card {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 58px 26px;
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.query-badge {
  width: 360px;
  height: 54px;
  margin-left: -58px;
  padding-left: 70px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  border-radius: 22px 34px 34px 0;
  color: #fff;
  background: linear-gradient(135deg, var(--primary-2), var(--primary));
}

.query-badge strong {
  font-size: 24px;
}

.search-icon {
  width: 22px;
  height: 22px;
  border: 3px solid currentColor;
  border-radius: 50%;
  position: relative;
}

.search-icon::after {
  content: "";
  position: absolute;
  right: -10px;
  bottom: -5px;
  width: 12px;
  height: 3px;
  border-radius: 3px;
  background: currentColor;
  transform: rotate(45deg);
}

.query-row {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 210px;
  overflow: hidden;
  border: 1px solid #b7dcbc;
  border-radius: 12px;
  box-shadow: inset 0 0 0 3px rgba(47, 158, 68, 0.035);
}

.query-row input {
  min-width: 0;
  height: 68px;
  border: 0;
  outline: 0;
  padding: 0 28px;
  color: var(--text-main);
  font-size: 17px;
}

.query-row input:focus {
  box-shadow: inset 0 0 0 3px rgba(47, 158, 68, 0.13);
}

.query-row button,
.service-btn {
  color: #fff;
  background: linear-gradient(135deg, var(--primary-2), var(--primary));
  font-weight: 800;
  transition: filter .2s ease, transform .2s ease;
}

.query-row button {
  font-size: 20px;
}

.query-row button:hover,
.service-btn:hover {
  filter: brightness(1.06);
}

.query-error {
  min-height: 22px;
  margin-top: 8px;
  color: #c7382f;
  font-size: 14px;
}

.query-history {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px 12px;
  color: var(--text-muted);
  font-size: 13px;
}

.query-history[hidden] {
  display: none;
}

.query-history > span {
  flex: 0 0 auto;
}

.history-list {
  min-width: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.history-list button {
  min-height: 26px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #61738d;
  background: #eef4fb;
  font-size: 12px;
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}

.history-list button:hover {
  color: var(--primary);
  border-color: rgba(47, 158, 68, 0.2);
  background: #e5f1ff;
  transform: translateY(-1px);
}

.service-section {
  padding: 88px 0 56px;
  background: #fff;
}

.section-title {
  text-align: center;
  margin-bottom: 34px;
}

.section-title span,
.timeline-title span {
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
}

.section-title h2 {
  margin-top: 6px;
  font-size: 34px;
  line-height: 1.25;
}

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

.service-card,
.network-grid article,
.summary-card,
.timeline-card,
.line-card,
.tip-card {
  border: 1px solid var(--border);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(18, 59, 42, 0.08);
}

.service-card,
.network-grid article {
  padding: 28px 24px;
  transition: transform .22s ease, box-shadow .22s ease;
}

.service-card:hover,
.network-grid article:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.line-icon,
.metric-icon {
  width: 58px;
  height: 58px;
  display: block;
  border-radius: 50%;
  background: #eff7ff;
  border: 1px solid #d6eaff;
  position: relative;
}

.line-icon::before,
.line-icon::after,
.metric-icon::before,
.metric-icon::after {
  content: "";
  position: absolute;
}

.icon-route::before {
  left: 15px;
  top: 27px;
  width: 28px;
  height: 3px;
  background: var(--primary);
  transform: rotate(-20deg);
}
.icon-route::after {
  left: 14px;
  top: 20px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 25px -9px 0 var(--primary);
}
.icon-doc::before {
  left: 17px;
  top: 12px;
  width: 24px;
  height: 32px;
  border: 3px solid var(--primary);
  border-radius: 4px;
}
.icon-doc::after {
  left: 22px;
  top: 24px;
  width: 14px;
  height: 3px;
  background: var(--cyan);
  box-shadow: 0 8px 0 var(--cyan);
}
.icon-warehouse::before {
  left: 15px;
  top: 26px;
  width: 30px;
  height: 20px;
  border: 3px solid var(--primary);
  border-top: 0;
}
.icon-warehouse::after {
  left: 18px;
  top: 14px;
  width: 22px;
  height: 22px;
  border-left: 3px solid var(--cyan);
  border-top: 3px solid var(--cyan);
  transform: rotate(45deg);
}
.icon-track::before {
  left: 15px;
  top: 14px;
  width: 28px;
  height: 28px;
  border: 3px solid var(--primary);
  border-radius: 8px;
}
.icon-track::after {
  left: 23px;
  top: 26px;
  width: 14px;
  height: 8px;
  border-left: 3px solid var(--cyan);
  border-bottom: 3px solid var(--cyan);
  transform: rotate(-45deg);
}

.service-card h3 {
  margin-top: 20px;
  font-size: 20px;
}

.service-card p,
.network-grid p {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 14px;
}

.network-section {
  padding: 48px 0 62px;
  background: var(--bg-soft);
}

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

.network-grid article {
  display: grid;
  gap: 10px;
}

.network-grid h3 {
  color: var(--primary);
  font-size: 24px;
}

.metric-line::before {
  left: 14px;
  top: 28px;
  width: 30px;
  height: 3px;
  background: var(--primary);
}
.metric-node::before {
  left: 25px;
  top: 12px;
  width: 8px;
  height: 34px;
  background: var(--primary);
}
.metric-node::after {
  left: 17px;
  top: 15px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 15px 14px 0 var(--primary), -1px 27px 0 var(--cyan);
}
.metric-service::before {
  left: 15px;
  top: 17px;
  width: 30px;
  height: 24px;
  border: 3px solid var(--primary);
  border-radius: 5px;
}
.metric-support::before {
  left: 15px;
  top: 17px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 3px solid var(--primary);
  box-shadow: 17px 0 0 -3px #fff, 17px 0 0 0 var(--cyan);
}
.metric-support::after {
  left: 12px;
  top: 34px;
  width: 34px;
  height: 13px;
  border: 3px solid var(--primary);
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  border-bottom: 0;
}

.site-footer {
  padding: 42px 0 22px;
  color: rgba(255,255,255,.76);
  background:
    radial-gradient(circle at 18% 0, rgba(32,168,184,.18), transparent 25%),
    linear-gradient(135deg, #061a37, var(--primary-dark));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  gap: 38px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255,255,255,.16);
}

.site-footer h2,
.site-footer h3 {
  color: #fff;
}

.site-footer h2 {
  font-size: 22px;
}

.site-footer h3 {
  margin-bottom: 12px;
  font-size: 16px;
}

.site-footer p,
.site-footer a,
.site-footer span {
  display: block;
  margin-top: 8px;
}

.site-footer a:hover {
  color: #fff;
}

.copyright {
  padding-top: 18px;
  text-align: center;
  font-size: 13px;
}

.track-page {
  position: relative;
  min-height: calc(100vh - 72px);
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 2%, rgba(47, 158, 68, 0.14), transparent 30%),
    linear-gradient(180deg, #eff8f1 0%, #f9fcf9 46%, #f4faf5 100%);
}

.track-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle, rgba(47, 158, 68, 0.12) 1px, transparent 1.5px) 0 0 / 18px 18px,
    linear-gradient(115deg, transparent 0 46%, rgba(255, 255, 255, 0.52) 46.4% 47%, transparent 47.4%),
    linear-gradient(24deg, transparent 0 62%, rgba(47, 158, 68, 0.08) 62.2% 62.6%, transparent 63%);
  opacity: .42;
  mask-image: linear-gradient(90deg, transparent 0, #000 24%, #000 80%, transparent 100%);
  pointer-events: none;
}

.track-hero,
.track-content {
  position: relative;
  z-index: 1;
}

.track-hero {
  padding: 34px 0 30px;
}

.track-hero-inner {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(520px, 1.3fr);
  gap: 38px;
  align-items: center;
}

.back-link {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
  color: var(--primary-dark);
  font-weight: 800;
}

.back-link:hover {
  color: var(--primary);
}

.track-heading h1 {
  font-size: clamp(38px, 4vw, 52px);
  line-height: 1.1;
  letter-spacing: 0;
  color: var(--primary-dark);
}

.track-heading p {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 18px;
}

.track-search-card {
  min-height: 92px;
  display: grid;
  grid-template-columns: 118px 1fr;
  align-items: center;
  gap: 20px;
  padding: 20px 28px;
  border: 1px solid rgba(47, 158, 68, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 22px 56px rgba(18, 59, 42, 0.12);
  backdrop-filter: blur(8px);
}

.track-search-card > strong {
  color: var(--primary-dark);
  font-size: 18px;
  white-space: nowrap;
}

.track-search-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 150px;
  overflow: hidden;
  border: 1px solid #b7dcbc;
  border-radius: 10px;
  background: #fff;
}

.track-search-row input {
  min-width: 0;
  height: 54px;
  padding: 0 18px 0 50px;
  border: 0;
  outline: 0;
  color: var(--text-main);
}

.track-search-row input:focus {
  box-shadow: inset 0 0 0 3px rgba(47, 158, 68, 0.12);
}

.track-search-row button {
  color: #fff;
  background: linear-gradient(135deg, var(--primary-2), var(--primary));
  font-weight: 800;
}

.track-input-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  width: 20px;
  height: 20px;
  border: 2px solid #8ca1bc;
  border-radius: 3px;
  transform: translateY(-50%);
}

.track-input-icon::before,
.track-input-icon::after {
  content: "";
  position: absolute;
  left: 5px;
  right: 5px;
  height: 2px;
  border-radius: 2px;
  background: #8ca1bc;
}

.track-input-icon::before { top: 6px; }
.track-input-icon::after { top: 12px; }

.track-query-error {
  grid-column: 2;
  min-height: 0;
  margin: -12px 0 0;
}

.track-query-history {
  grid-column: 2;
  margin-top: -10px;
}

.track-content {
  padding: 0 0 46px;
}

.track-alert {
  margin-bottom: 16px;
  padding: 12px 16px;
  border: 1px solid rgba(47, 158, 68, 0.18);
  border-radius: 12px;
  color: var(--primary-dark);
  background: #eaf7ed;
}

.track-alert.error {
  color: #9b241d;
  border-color: rgba(199, 56, 47, 0.2);
  background: #fff0ef;
}

.track-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.78fr) minmax(420px, 1.34fr) minmax(300px, 1fr);
  gap: 24px;
  align-items: start;
}

.summary-card,
.timeline-card,
.line-card,
.tip-card {
  border: 1px solid rgba(47, 158, 68, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 22px 58px rgba(18, 59, 42, 0.11);
}

.summary-card {
  min-height: 446px;
  display: flex;
  flex-direction: column;
  padding: 26px 26px 28px;
}

.summary-title {
  color: var(--text-main);
  font-size: 16px;
  font-weight: 800;
}

.summary-head {
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: 22px 0 24px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(18, 59, 42, 0.1);
  text-align: center;
}

.summary-check {
  width: 78px;
  height: 78px;
  display: block;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-2), var(--primary));
  box-shadow: 0 14px 30px rgba(47, 158, 68, 0.28);
  position: relative;
}

.summary-check::after {
  content: "";
  position: absolute;
  left: 22px;
  top: 27px;
  width: 31px;
  height: 17px;
  border-left: 5px solid #fff;
  border-bottom: 5px solid #fff;
  transform: rotate(-45deg);
}

.summary-head strong {
  display: block;
  color: var(--primary);
  font-size: 24px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.summary-list {
  display: grid;
  gap: 0;
}

.summary-list div {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 16px;
  padding: 9px 0;
}

.summary-list dt {
  color: var(--text-muted);
}

.summary-list dd {
  min-width: 0;
  color: var(--text-main);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.service-btn {
  width: 100%;
  min-height: 50px;
  margin-top: auto;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.service-btn::before {
  content: "";
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-radius: 50%;
  box-shadow: 10px 5px 0 -7px currentColor, -10px 5px 0 -7px currentColor;
}

.modal-open {
  overflow: hidden;
}

.contact-modal[hidden] {
  display: none;
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
}

.contact-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 26, 55, 0.58);
  backdrop-filter: blur(8px);
}

.contact-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 392px);
  padding: 34px 32px 30px;
  border: 1px solid rgba(47, 158, 68, 0.16);
  border-radius: 22px;
  background:
    radial-gradient(circle at 86% 8%, rgba(111, 191, 115, 0.16), transparent 24%),
    #fff;
  box-shadow: 0 34px 90px rgba(6, 26, 55, 0.28);
  text-align: center;
}

.contact-close {
  position: absolute;
  right: 16px;
  top: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #eef6ff;
}

.contact-close::before,
.contact-close::after {
  content: "";
  position: absolute;
  left: 10px;
  top: 16px;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--primary-dark);
}

.contact-close::before {
  transform: rotate(45deg);
}

.contact-close::after {
  transform: rotate(-45deg);
}

.contact-close:hover {
  background: #e0efff;
}

.contact-dialog-icon {
  width: 58px;
  height: 58px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-2), var(--primary));
  box-shadow: 0 16px 34px rgba(47, 158, 68, 0.24);
  position: relative;
}

.contact-dialog-icon::before {
  content: "";
  width: 25px;
  height: 19px;
  border: 3px solid #fff;
  border-radius: 10px;
}

.contact-dialog-icon::after {
  content: "";
  position: absolute;
  left: 19px;
  bottom: 17px;
  width: 9px;
  height: 9px;
  border-left: 3px solid #fff;
  border-bottom: 3px solid #fff;
  transform: skew(-22deg);
}

.contact-dialog h2 {
  color: var(--primary-dark);
  font-size: 24px;
  line-height: 1.3;
}

.contact-dialog p {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.8;
}

.contact-qr-box {
  width: 210px;
  height: 210px;
  display: grid;
  place-items: center;
  margin: 24px auto 20px;
  padding: 12px;
  border: 1px solid #d6e8fb;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(47, 158, 68, 0.06), rgba(111, 191, 115, 0.08)),
    #f8fbff;
}

.contact-qr-box img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 12px;
  object-fit: contain;
  background: #fff;
}

.contact-qr-box span {
  color: #7c8ba0;
  font-size: 14px;
  font-weight: 800;
}

.contact-dialog-footer {
  display: grid;
  gap: 2px;
  padding-top: 18px;
  border-top: 1px dashed rgba(18, 59, 42, 0.16);
}

.contact-dialog-footer span {
  color: var(--text-muted);
  font-size: 13px;
}

.contact-dialog-footer a {
  color: var(--primary);
  font-size: 24px;
  font-weight: 800;
}

.timeline-card {
  padding: 26px 28px 30px;
}

.timeline-title {
  margin-bottom: 20px;
}

.timeline-title span {
  color: var(--primary);
  font-size: 14px;
  font-weight: 800;
}

.timeline-title h1 {
  margin-top: 6px;
  color: var(--primary-dark);
  font-size: 28px;
  line-height: 1.25;
}

.timeline-loading {
  padding: 16px;
  border-radius: 14px;
  color: var(--text-muted);
  background: #f5f9ff;
}

.timeline-empty {
  padding: 16px;
  border-radius: 14px;
  color: var(--text-muted);
  background: #f6f9fd;
}

.timeline-list {
  display: grid;
}

.timeline-event {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 138px;
  gap: 14px;
  align-items: start;
  padding: 18px 0;
}

.timeline-event::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, #bad1eb, #e3ecf6);
}

.timeline-event:first-child::before {
  top: 28px;
}

.timeline-event:last-child::before {
  bottom: calc(100% - 28px);
}

.event-dot {
  width: 20px;
  height: 20px;
  margin: 5px 0 0 3px;
  border: 5px solid #fff;
  border-radius: 50%;
  background: #aebbd0;
  box-shadow: 0 0 0 2px #d8e4f2;
  position: relative;
  z-index: 1;
}

.timeline-event.latest {
  margin: 0 -14px;
  padding: 18px 14px;
  border-radius: 13px;
  background: #eaf7ed;
}

.timeline-event.latest .event-dot {
  background: var(--primary);
  box-shadow: 0 0 0 5px rgba(47, 158, 68, 0.14);
}

.event-body h2 {
  color: var(--text-main);
  font-size: 15px;
  line-height: 1.6;
}

.event-location {
  display: inline-flex;
  margin-top: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  color: var(--primary);
  background: #eef7ff;
  font-size: 12px;
  font-weight: 800;
}

.event-time {
  padding-top: 3px;
  color: var(--text-muted);
  font-size: 12px;
  text-align: right;
  white-space: nowrap;
}

.side-column {
  display: grid;
  gap: 18px;
  align-content: start;
}

.line-card {
  position: relative;
  min-height: 275px;
  padding: 30px 28px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(7, 34, 76, 0.92), rgba(12, 99, 209, 0.92)),
    radial-gradient(circle at 82% 16%, rgba(111, 191, 115, 0.6), transparent 30%);
}

.line-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle, rgba(255,255,255,.16) 1px, transparent 1.5px) 0 0 / 15px 15px,
    linear-gradient(135deg, transparent 52%, rgba(255,255,255,.09) 52.4% 52.8%, transparent 53.2%);
  opacity: .55;
}

.line-card > * {
  position: relative;
  z-index: 1;
}

.mini-route {
  height: 72px;
  margin-bottom: 12px;
  position: relative;
}

.mini-route::before {
  content: "";
  position: absolute;
  left: 16%;
  right: 10%;
  top: 42px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #b7e4bd, #fff);
  transform: rotate(-13deg);
  box-shadow: 0 0 18px rgba(255,255,255,.55);
}

.route-pin {
  position: absolute;
  width: 28px;
  height: 28px;
  border: 5px solid #fff;
  border-radius: 50% 50% 50% 0;
  background: #6fbf73;
  transform: rotate(-45deg);
  box-shadow: 0 10px 24px rgba(0,0,0,.22);
}

.route-pin::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
}

.route-pin.start {
  left: 18%;
  top: 33px;
}

.route-pin.end {
  right: 6%;
  top: 0;
}

.line-card h2,
.tip-card h2 {
  font-size: 22px;
  line-height: 1.3;
}

.line-card p {
  max-width: 300px;
  margin-top: 12px;
  color: rgba(255,255,255,.82);
  line-height: 1.75;
}

.mini-services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.service-tag {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 12px;
  background: rgba(255,255,255,.16);
  color: #fff;
  font-weight: 800;
}

.service-tag::before {
  content: "";
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-radius: 4px;
}

.truck-tag::before { border-radius: 3px 7px 3px 3px; }
.shield-tag::before { border-radius: 50% 50% 45% 45%; }
.depot-tag::before { transform: rotate(45deg); border-radius: 2px; }
.door-tag::before { border-radius: 2px 2px 8px 8px; }

.tip-card {
  padding: 26px 28px;
}

.tip-card h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--primary-dark);
}

.tip-icon {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--primary);
  font-size: 14px;
  font-weight: 800;
}

.tip-card p {
  margin-top: 14px;
  color: var(--text-muted);
  line-height: 1.9;
}

.tip-hotline {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px dashed rgba(18, 59, 42, 0.18);
  color: var(--text-muted);
}

.tip-hotline a {
  color: var(--primary);
  font-size: 20px;
  font-weight: 800;
}

.tip-hotline small {
  display: block;
  margin-top: 4px;
}

.track-footer {
  position: relative;
  z-index: 1;
  padding: 22px 0;
  color: rgba(255,255,255,.72);
  text-align: center;
  background: linear-gradient(135deg, #061a37, var(--primary-dark));
}

@media (min-width: 901px) {
  body[data-page="home"] main {
    position: relative;
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    background: #fff;
  }

  body[data-page="home"] .site-footer {
    flex: 0 0 auto;
    margin-top: 0;
  }

  body[data-page="home"] .hero {
    flex: 1 0 auto;
    height: auto;
    min-height: 430px;
    max-height: none;
  }

  body[data-page="home"] .hero-inner {
    min-height: 100%;
    padding: 28px 0 68px;
  }

  body[data-page="home"] .hero h1 {
    font-size: clamp(42px, 3.4vw, 50px);
    line-height: 1.14;
  }

  body[data-page="home"] .hero-lead {
    margin-top: 12px;
    font-size: 16px;
    line-height: 1.65;
  }

  body[data-page="home"] .hero-tags {
    margin-top: 18px;
  }

  body[data-page="home"] .hero-tags span {
    min-height: 30px;
    padding: 0 13px;
    font-size: 13px;
  }

  body[data-page="home"] .hero-scene {
    height: 300px;
  }

  body[data-page="home"] .map-lines {
    height: 210px;
  }

  body[data-page="home"] .port-silhouette {
    bottom: 58px;
  }

  body[data-page="home"] .warehouse {
    right: 4px;
    bottom: 24px;
    width: 228px;
    height: 136px;
  }

  body[data-page="home"] .warehouse-roof {
    top: -36px;
    height: 40px;
  }

  body[data-page="home"] .warehouse strong {
    top: 30px;
    font-size: 22px;
  }

  body[data-page="home"] .warehouse-door {
    width: 52px;
    height: 48px;
  }

  body[data-page="home"] .truck {
    left: 152px;
    bottom: 22px;
    transform: scale(.92);
    transform-origin: left bottom;
  }

  body[data-page="home"] .road {
    height: 70px;
  }

  body[data-page="home"] .query-section {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    margin-top: 0;
    transform: translateY(-50%);
    background: transparent;
  }

  body[data-page="home"] .query-card {
    max-width: 1130px;
    padding: 0 54px 22px;
    border-radius: 20px;
  }

  body[data-page="home"] .query-badge {
    width: 348px;
    height: 46px;
    margin-left: -54px;
    padding-left: 66px;
  }

  body[data-page="home"] .query-badge strong {
    font-size: 21px;
  }

  body[data-page="home"] .query-row {
    margin-top: 10px;
    grid-template-columns: 1fr 196px;
  }

  body[data-page="home"] .query-row input,
  body[data-page="home"] .query-row button {
    height: 50px;
  }

  body[data-page="home"] .query-row button {
    font-size: 18px;
  }

  body[data-page="home"] .query-error {
    min-height: 16px;
    margin-top: 4px;
    font-size: 13px;
  }

  body[data-page="home"] .service-section {
    padding: 28px 0 18px;
  }

  body[data-page="home"] .service-section .section-title {
    display: none;
  }

  body[data-page="home"] .service-grid {
    gap: 0;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(18, 59, 42, 0.07);
    overflow: hidden;
  }

  body[data-page="home"] .service-card {
    min-height: 112px;
    display: grid;
    grid-template-columns: 52px 1fr;
    grid-template-rows: auto auto;
    column-gap: 16px;
    align-items: center;
    padding: 18px 22px;
    border: 0;
    border-right: 1px solid var(--border);
    border-radius: 0;
    box-shadow: none;
  }

  body[data-page="home"] .service-card:last-child {
    border-right: 0;
  }

  body[data-page="home"] .service-card:hover {
    transform: translateY(-2px);
    box-shadow: none;
    background: #f8fbff;
  }

  body[data-page="home"] .service-card .line-icon {
    grid-row: 1 / 3;
    width: 50px;
    height: 50px;
  }

  body[data-page="home"] .service-card h3 {
    margin-top: 0;
    font-size: 17px;
  }

  body[data-page="home"] .service-card p {
    margin-top: 2px;
    font-size: 12px;
    line-height: 1.6;
  }

  body[data-page="home"] .network-section {
    padding: 16px 0 20px;
  }

  body[data-page="home"] .network-grid {
    gap: 0;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(18, 59, 42, 0.06);
    overflow: hidden;
  }

  body[data-page="home"] .network-grid article {
    min-height: 98px;
    display: grid;
    grid-template-columns: 52px 1fr;
    column-gap: 16px;
    align-items: center;
    padding: 16px 22px;
    border: 0;
    border-right: 1px solid var(--border);
    border-radius: 0;
    box-shadow: none;
  }

  body[data-page="home"] .network-grid article:last-child {
    border-right: 0;
  }

  body[data-page="home"] .network-grid article:hover {
    transform: translateY(-2px);
    box-shadow: none;
    background: #f8fbff;
  }

  body[data-page="home"] .network-grid .metric-icon {
    grid-row: 1 / 3;
    width: 50px;
    height: 50px;
  }

  body[data-page="home"] .network-grid h3 {
    font-size: 18px;
    line-height: 1.2;
  }

  body[data-page="home"] .network-grid p {
    margin-top: 2px;
    font-size: 12px;
    line-height: 1.55;
  }

  body[data-page="home"] .site-footer {
    padding: 24px 0 12px;
  }

  body[data-page="home"] .footer-grid {
    gap: 32px;
    padding-bottom: 16px;
  }

  body[data-page="home"] .site-footer h2 {
    font-size: 20px;
  }

  body[data-page="home"] .site-footer h3 {
    margin-bottom: 6px;
    font-size: 15px;
  }

  body[data-page="home"] .site-footer p,
  body[data-page="home"] .site-footer a,
  body[data-page="home"] .site-footer span {
    margin-top: 4px;
    font-size: 12px;
  }

  body[data-page="home"] .copyright {
    padding-top: 10px;
    font-size: 12px;
  }
}

@media (min-width: 901px) and (max-height: 950px) {
  body[data-page="home"] .site-header,
  body[data-page="home"] .header-inner,
  body[data-page="home"] .site-nav a {
    height: 64px;
  }

  body[data-page="home"] .site-nav a::after {
    bottom: 6px;
  }

  body[data-page="home"] .brand img {
    width: 160px;
  }

  body[data-page="home"] .hotline strong {
    font-size: 17px;
  }

  body[data-page="home"] .hero {
    min-height: 430px;
    max-height: none;
  }

  body[data-page="home"] .hero-inner {
    min-height: 100%;
    padding: 20px 0 54px;
  }

  body[data-page="home"] .hero h1 {
    font-size: clamp(38px, 3.1vw, 46px);
  }

  body[data-page="home"] .hero-lead {
    max-width: 520px;
    margin-top: 9px;
    font-size: 14px;
  }

  body[data-page="home"] .hero-tags {
    margin-top: 12px;
  }

  body[data-page="home"] .hero-tags span {
    min-height: 26px;
    padding: 0 11px;
    font-size: 12px;
  }

  body[data-page="home"] .hero-scene {
    height: 256px;
  }

  body[data-page="home"] .map-lines {
    height: 178px;
  }

  body[data-page="home"] .warehouse {
    transform: scale(.78);
    transform-origin: right bottom;
  }

  body[data-page="home"] .truck {
    left: 142px;
    transform: scale(.78);
  }

  body[data-page="home"] .forklift {
    transform: scale(.82);
    transform-origin: right bottom;
  }

  body[data-page="home"] .query-section {
    margin-top: 0;
  }

  body[data-page="home"] .query-card {
    padding-bottom: 16px;
  }

  body[data-page="home"] .query-badge {
    height: 40px;
  }

  body[data-page="home"] .query-badge strong {
    font-size: 19px;
  }

  body[data-page="home"] .search-icon {
    width: 19px;
    height: 19px;
  }

  body[data-page="home"] .query-row {
    margin-top: 8px;
  }

  body[data-page="home"] .query-row input,
  body[data-page="home"] .query-row button {
    height: 42px;
  }

  body[data-page="home"] .query-error {
    min-height: 10px;
    margin-top: 2px;
    font-size: 12px;
  }

  body[data-page="home"] .service-section {
    padding: 16px 0 12px;
  }

  body[data-page="home"] .service-card {
    min-height: 88px;
    grid-template-columns: 44px 1fr;
    column-gap: 14px;
    padding: 12px 18px;
  }

  body[data-page="home"] .service-card .line-icon,
  body[data-page="home"] .network-grid .metric-icon {
    width: 42px;
    height: 42px;
  }

  body[data-page="home"] .service-card h3 {
    font-size: 16px;
  }

  body[data-page="home"] .service-card p,
  body[data-page="home"] .network-grid p {
    font-size: 11px;
    line-height: 1.45;
  }

  body[data-page="home"] .network-section {
    padding: 10px 0 12px;
  }

  body[data-page="home"] .network-grid article {
    min-height: 78px;
    grid-template-columns: 44px 1fr;
    column-gap: 14px;
    padding: 10px 18px;
  }

  body[data-page="home"] .network-grid h3 {
    font-size: 16px;
  }

  body[data-page="home"] .site-footer {
    padding: 14px 0 8px;
  }

  body[data-page="home"] .footer-grid {
    gap: 28px;
    padding-bottom: 10px;
  }

  body[data-page="home"] .site-footer h2 {
    font-size: 17px;
  }

  body[data-page="home"] .site-footer h3 {
    margin-bottom: 4px;
    font-size: 13px;
  }

  body[data-page="home"] .site-footer p,
  body[data-page="home"] .site-footer a,
  body[data-page="home"] .site-footer span {
    margin-top: 2px;
    font-size: 11px;
    line-height: 1.45;
  }

  body[data-page="home"] .copyright {
    padding-top: 6px;
    font-size: 11px;
  }
}

@media (max-width: 1180px) {
  .hotline {
    display: none;
  }

  .hero-inner {
    grid-template-columns: .9fr 1fr;
  }

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

  .track-layout {
    grid-template-columns: 1fr 1.28fr;
  }

  .side-column {
    grid-column: 1 / -1;
    grid-template-columns: 1fr 1fr;
  }

  .track-hero-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 900px) {
  .container {
    width: min(calc(100% - 32px), 1240px);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    height: 44px;
    padding: 0 12px;
  }

  .site-nav a::after {
    display: none;
  }

  .hero {
    max-height: none;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding: 42px 0 94px;
  }

  .hero-scene {
    height: 310px;
  }

  .query-card {
    padding: 0 30px 26px;
  }

  .query-badge {
    margin-left: -30px;
  }

  .track-layout {
    grid-template-columns: 1fr;
  }

  .side-column {
    grid-template-columns: 1fr;
  }

  .track-hero {
    padding: 28px 0 24px;
  }

  .track-search-card {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .track-query-error {
    grid-column: 1;
    margin: -6px 0 0;
  }

  .track-query-history {
    grid-column: 1;
    margin-top: 0;
  }

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

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 24px), 1240px);
  }

  .brand img {
    width: 150px;
  }

  .hero h1 {
    font-size: 34px;
    overflow-wrap: anywhere;
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-tags {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-tags span {
    justify-content: center;
    padding: 0 10px;
  }

  .truck {
    left: 24px;
    transform: scale(.74);
    transform-origin: left bottom;
  }

  .warehouse {
    right: -8px;
    transform: scale(.72);
    transform-origin: right bottom;
  }

  .forklift {
    display: none;
  }

  .query-section {
    margin-top: -52px;
  }

  .query-card {
    border-radius: 18px;
    padding: 0 18px 24px;
  }

  .query-badge {
    width: calc(100% + 36px);
    margin-left: -18px;
    padding-left: 28px;
    border-radius: 18px 18px 0 0;
  }

  .query-badge strong {
    font-size: 21px;
  }

  .query-row {
    grid-template-columns: 1fr;
  }

  .query-row input,
  .query-row button {
    height: 58px;
  }

  .service-section {
    padding-top: 70px;
  }

  .service-grid,
  .network-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section-title h2 {
    font-size: 28px;
  }

  .summary-list div {
    grid-template-columns: 82px 1fr;
  }

  .timeline-event {
    grid-template-columns: 30px minmax(0, 1fr);
  }

  .event-time {
    grid-column: 2;
    text-align: left;
  }

  .track-heading h1 {
    font-size: 34px;
  }

  .track-heading p {
    font-size: 15px;
  }

  .track-search-row {
    grid-template-columns: 1fr;
  }

  .track-search-row input,
  .track-search-row button {
    height: 52px;
  }

  .track-input-icon {
    top: 26px;
  }

  .track-search-row button {
    width: 100%;
  }

  .summary-card,
  .timeline-card,
  .line-card,
  .tip-card {
    padding: 22px;
  }

  .mini-services {
    grid-template-columns: 1fr;
  }

  .contact-modal {
    padding: 16px;
  }

  .contact-dialog {
    padding: 30px 22px 24px;
  }

  .contact-qr-box {
    width: min(210px, 70vw);
    height: min(210px, 70vw);
  }
}

@media (max-width: 420px) {
  .hero-tags {
    grid-template-columns: 1fr 1fr;
  }

  .hero-scene {
    height: 285px;
  }

  .truck {
    left: 4px;
    transform: scale(.66);
  }

  .warehouse {
    right: -34px;
    transform: scale(.62);
  }
}

/* Logo-green theme overrides: color-only changes, no layout edits. */
.site-header {
  box-shadow: 0 4px 20px rgba(18, 59, 42, 0.08);
}

.site-nav a {
  color: #173927;
}

.nav-toggle {
  background: #eef8f1;
}

.hero {
  background:
    linear-gradient(90deg, rgba(255,255,255,.88), rgba(238,248,241,.78)),
    url("images/hero-map-pattern.png") center / cover no-repeat;
}

.hero-tags span {
  border-color: rgba(47, 158, 68, 0.2);
}

.thin-route {
  stroke: rgba(47, 158, 68, 0.24);
}

.thin-route.second {
  stroke: rgba(111, 191, 115, 0.24);
}

.main-route {
  stroke: var(--primary);
}

.port-silhouette {
  background:
    linear-gradient(transparent 0 28px, rgba(18, 59, 42, 0.34) 29px 31px, transparent 32px),
    linear-gradient(90deg, transparent 0 24px, rgba(18, 59, 42, 0.42) 25px 30px, transparent 31px 70px, rgba(18, 59, 42, 0.42) 71px 76px, transparent 77px),
    linear-gradient(140deg, transparent 0 42%, rgba(18, 59, 42, 0.42) 43% 46%, transparent 47%);
}

.warehouse {
  border-color: #6fbd73;
  background: linear-gradient(180deg, #fbfffc, #e0f2e4);
  box-shadow: 0 18px 35px rgba(18, 59, 42, 0.14);
}

.warehouse-roof,
.query-badge,
.query-row button,
.service-btn,
.track-search-row button,
.summary-check,
.contact-dialog-icon {
  background: linear-gradient(135deg, var(--primary-2), var(--primary));
}

.warehouse-window {
  background: linear-gradient(90deg, #a7d9ad 1px, transparent 1px), rgba(167, 217, 173, 0.38);
  border-color: #86c98b;
}

.warehouse-door {
  border-color: #86c98b;
  background: #d2e8d6;
}

.truck-cab {
  background: linear-gradient(135deg, #1d7f39, #55ba5f);
}

.truck-box {
  border-color: #9bd5a1;
  background: linear-gradient(180deg, #fff, #ecf8ef);
}

.truck-line {
  background: #c7e3ca;
  box-shadow: 0 16px 0 #dceee0;
}

.wheel {
  background: #173927;
  border-color: #edf7f0;
}

.road {
  background: linear-gradient(170deg, rgba(47, 158, 68, 0.08), rgba(47, 158, 68, 0.22));
}

.query-row,
.track-search-row {
  border-color: #b7dcbc;
}

.query-row,
.query-row input:focus,
.track-search-row input:focus {
  box-shadow: inset 0 0 0 3px rgba(47, 158, 68, 0.11);
}

.history-list button {
  color: #607564;
  background: #eef7f0;
}

.history-list button:hover {
  border-color: rgba(47, 158, 68, 0.24);
  background: #e2f3e6;
}

.line-icon,
.metric-icon {
  background: #eff8f1;
  border-color: #d3ead7;
}

.service-card,
.network-grid article,
.summary-card,
.timeline-card,
.line-card,
.tip-card {
  box-shadow: 0 14px 38px rgba(18, 59, 42, 0.08);
}

.site-footer,
.track-footer {
  background:
    radial-gradient(circle at 18% 0, rgba(111, 191, 115, .18), transparent 25%),
    linear-gradient(135deg, #082717, var(--primary-dark));
}

.track-page {
  background:
    radial-gradient(circle at 76% 2%, rgba(47, 158, 68, 0.14), transparent 30%),
    linear-gradient(180deg, #eff8f1 0%, #f9fcf9 46%, #f4faf5 100%);
}

.track-page::before {
  background:
    radial-gradient(circle, rgba(47, 158, 68, 0.12) 1px, transparent 1.5px) 0 0 / 18px 18px,
    linear-gradient(115deg, transparent 0 46%, rgba(255, 255, 255, 0.52) 46.4% 47%, transparent 47.4%),
    linear-gradient(24deg, transparent 0 62%, rgba(47, 158, 68, 0.08) 62.2% 62.6%, transparent 63%);
}

.track-search-card {
  border-color: rgba(47, 158, 68, 0.14);
  box-shadow: 0 22px 56px rgba(18, 59, 42, 0.12);
}

.track-alert {
  border-color: rgba(47, 158, 68, 0.2);
  background: #eaf7ed;
}

.summary-card,
.timeline-card,
.line-card,
.tip-card {
  border-color: rgba(47, 158, 68, 0.12);
  box-shadow: 0 22px 58px rgba(18, 59, 42, 0.11);
}

.summary-head {
  border-bottom-color: rgba(18, 59, 42, 0.1);
}

.summary-check,
.contact-dialog-icon {
  box-shadow: 0 14px 30px rgba(47, 158, 68, 0.25);
}

.contact-modal-backdrop {
  background: rgba(8, 39, 23, 0.58);
}

.contact-dialog {
  border-color: rgba(47, 158, 68, 0.18);
  background:
    radial-gradient(circle at 86% 8%, rgba(111, 191, 115, 0.16), transparent 24%),
    #fff;
  box-shadow: 0 34px 90px rgba(8, 39, 23, 0.28);
}

.contact-close {
  background: #eef8f1;
}

.contact-close:hover {
  background: #dff1e4;
}

.contact-qr-box {
  border-color: #d3ead7;
  background:
    linear-gradient(135deg, rgba(47, 158, 68, 0.06), rgba(111, 191, 115, 0.08)),
    #f8fcf8;
}

.contact-dialog-footer,
.tip-hotline {
  border-top-color: rgba(18, 59, 42, 0.16);
}

.timeline-loading {
  background: #f5fbf6;
}

.timeline-empty {
  background: #f6faf7;
}

.timeline-event::before {
  background: linear-gradient(180deg, #c0dec6, #e4f0e7);
}

.event-dot {
  background: #aabaaa;
  box-shadow: 0 0 0 2px #d9e8dc;
}

.timeline-event.latest {
  background: #eaf7ed;
}

.timeline-event.latest .event-dot {
  box-shadow: 0 0 0 5px rgba(47, 158, 68, 0.15);
}

.event-location {
  background: #eef8f1;
}

.line-card {
  background:
    linear-gradient(135deg, rgba(8, 39, 23, 0.94), rgba(31, 141, 69, 0.92)),
    radial-gradient(circle at 82% 16%, rgba(111, 191, 115, 0.52), transparent 30%);
}

.mini-route::before {
  background: linear-gradient(90deg, #b7e4bd, #fff);
}

.route-pin {
  background: var(--cyan);
}

body[data-page="home"] .service-grid,
body[data-page="home"] .network-grid {
  box-shadow: 0 12px 34px rgba(18, 59, 42, 0.07);
}

body[data-page="home"] .service-card:hover,
body[data-page="home"] .network-grid article:hover {
  background: #f8fcf8;
}
