:root {
  --primary: #1a365d;
  --primary-dark: #0f2542;
  --accent: #d97706;
  --accent-dark: #b45309;
  --text: #1e293b;
  --muted: #475569;
  --subtle: #94a3b8;
  --line: #e2e8f0;
  --soft: #f8fafc;
  --white: #ffffff;
  --shadow: 0 16px 40px rgba(15, 37, 66, 0.1);
  --shadow-strong: 0 24px 55px rgba(15, 37, 66, 0.16);
  --radius: 8px;
  --container: 1220px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background: var(--white);
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

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

.section {
  padding: 88px 0;
}

.section-soft {
  background: var(--soft);
}

.section-dark {
  color: var(--white);
  background: var(--primary);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 48px;
}

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

.section-heading.center .lead {
  margin-inline: auto;
}

.eyebrow {
  display: block;
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  line-height: 1.2;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2rem, 4.7vw, 3.5rem);
  font-weight: 800;
}

h2 {
  margin-bottom: 18px;
  color: var(--primary);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
}

h3 {
  color: var(--primary);
  font-size: 1.25rem;
  font-weight: 800;
}

p {
  color: var(--muted);
}

.section-dark p,
.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.lead {
  max-width: 760px;
  color: var(--muted);
  font-size: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(140%) blur(12px);
  transition: box-shadow 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  border-color: transparent;
  box-shadow: 0 12px 34px rgba(15, 37, 66, 0.1);
}

.nav-shell {
  width: min(100% - 48px, var(--container));
  min-height: 76px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-mark {
  position: relative;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 50%;
  background: url("../img/tongping-logo.png") center / contain no-repeat;
  overflow: hidden;
}

.brand-mark::before,
.brand-mark::after {
  content: none;
}

.brand-text {
  color: var(--primary);
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.18;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.site-nav a {
  position: relative;
  padding: 27px 0 25px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  height: 3px;
  border-radius: 99px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

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

.site-nav a:hover::after,
.site-nav a.active::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--primary);
  background: var(--white);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 99px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 28px;
  border: 2px solid transparent;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(15, 37, 66, 0.16);
}

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

.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.btn-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.88);
  background: transparent;
}

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

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

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

.btn-icon,
.inline-icon,
.card-icon,
.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-icon svg {
  width: 18px;
  height: 18px;
}

.hero,
.page-hero,
.cta-banner {
  position: relative;
  overflow: hidden;
  background-position: center;
  background-size: cover;
  isolation: isolate;
}

.hero::before,
.page-hero::before,
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(11, 29, 53, 0.82), rgba(11, 29, 53, 0.52) 48%, rgba(11, 29, 53, 0.14));
}

.hero-home {
  min-height: 680px;
  display: flex;
  align-items: center;
  background-image: url("../img/hero-land-carrier.png");
  background-position: center;
}

.hero-content {
  max-width: 910px;
  padding: 110px 0 95px;
  color: var(--white);
}

.hero-content h1 {
  max-width: 980px;
  margin-bottom: 16px;
  color: var(--white);
}

.hero-subtitle {
  margin-bottom: 12px;
  color: var(--white);
  font-size: clamp(1.25rem, 2.4vw, 1.5rem);
}

.hero-proof {
  max-width: 760px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.82);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.stats-strip {
  position: relative;
  z-index: 2;
  padding: 46px 0;
  background: var(--white);
}

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

.stat-card {
  min-height: 150px;
  padding: 26px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  text-align: center;
  box-shadow: 0 10px 26px rgba(15, 37, 66, 0.06);
}

.stat-number {
  display: block;
  margin-bottom: 8px;
  color: var(--primary);
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
}

.stat-label {
  display: block;
  color: var(--muted);
  font-size: 0.98rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(340px, 0.82fr);
  align-items: center;
  gap: 52px;
}

.split.reverse {
  grid-template-columns: minmax(340px, 0.82fr) minmax(0, 1.18fr);
}

.split-media {
  position: relative;
  min-height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.split-media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.media-note {
  position: absolute;
  left: 24px;
  bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 6px;
  color: var(--white);
  background: rgba(15, 37, 66, 0.82);
  backdrop-filter: blur(8px);
  font-weight: 800;
}

.operations-section {
  background: var(--white);
}

.operations-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) repeat(2, minmax(0, 1fr));
  grid-auto-rows: 292px;
  gap: 24px;
}

.operation-card {
  position: relative;
  min-height: 292px;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--primary-dark);
  box-shadow: var(--shadow);
}

.operation-card-large {
  grid-row: span 2;
}

.operation-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.operation-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 37, 66, 0.02), rgba(15, 37, 66, 0.84));
}

.operation-card figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  padding: 24px;
}

.operation-card span {
  display: block;
  margin-bottom: 8px;
  color: #f59e0b;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.operation-card strong {
  display: block;
  color: var(--white);
  font-size: 1rem;
  line-height: 1.35;
}

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

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

.card-grid.four {
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.card-grid.six {
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  height: 100%;
  padding: 32px;
  border: 1px solid rgba(226, 232, 240, 0.92);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 34px rgba(15, 37, 66, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(217, 119, 6, 0.28);
  box-shadow: var(--shadow-strong);
}

.card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  border-radius: 8px;
  color: var(--primary);
  background: rgba(26, 54, 93, 0.08);
}

.card-icon svg {
  width: 26px;
  height: 26px;
  stroke-width: 1.9;
}

.card p {
  margin-bottom: 22px;
  font-size: 0.95rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 0.94rem;
  font-weight: 800;
}

.service-preview-section {
  background: var(--white);
}

.service-overview-section .section-heading {
  max-width: 820px;
}

.service-overview-section .section-heading h2 {
  font-size: clamp(2rem, 3.8vw, 3rem);
}

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

.service-gateway-grid {
  gap: 24px;
}

.home-service-card,
.service-gateway-card {
  position: relative;
  min-height: 430px;
  display: flex;
  align-items: flex-end;
  border-radius: var(--radius);
  overflow: hidden;
  color: var(--white);
  background: var(--primary-dark);
  box-shadow: var(--shadow);
  isolation: isolate;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-gateway-card {
  min-height: 520px;
  align-items: stretch;
  justify-content: space-between;
  flex-direction: column;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.home-service-card:hover,
.service-gateway-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-strong);
}

.home-service-card img,
.service-gateway-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

.home-service-card:hover img,
.service-gateway-card:hover img {
  transform: scale(1.04);
}

.service-card-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(15, 37, 66, 0.04), rgba(15, 37, 66, 0.88));
}

.service-gateway-card .service-card-shade {
  background:
    linear-gradient(180deg, rgba(8, 24, 45, 0.58), rgba(8, 24, 45, 0.26) 36%, rgba(8, 24, 45, 0.96)),
    linear-gradient(90deg, rgba(8, 24, 45, 0.74), rgba(8, 24, 45, 0.08) 62%);
}

.home-service-card div {
  width: 100%;
  padding: 30px;
}

.service-gateway-card .service-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.home-service-card div > span,
.service-gateway-card .service-card-label {
  display: block;
  margin-bottom: 10px;
  color: #f59e0b;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.service-gateway-card .service-card-number {
  color: rgba(255, 255, 255, 0.95);
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-size: clamp(3.1rem, 5.6vw, 4.65rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.9;
}

.service-gateway-card .service-card-label {
  display: inline-flex;
  justify-content: center;
  margin: 0;
  padding: 9px 12px;
  border-radius: 6px;
  color: var(--white);
  background: rgba(217, 119, 6, 0.94);
  font-size: 0.72rem;
  text-align: center;
}

.service-gateway-card .service-card-content {
  position: relative;
  z-index: 1;
}

.home-service-card h3,
.service-gateway-card h3 {
  margin-bottom: 10px;
  color: var(--white);
  font-size: clamp(1.35rem, 2.3vw, 1.75rem);
}

.service-gateway-card h3 {
  max-width: 360px;
  margin-bottom: 14px;
  font-size: clamp(2rem, 3.3vw, 2.55rem);
  line-height: 1.08;
}

.home-service-card p,
.service-gateway-card p {
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.78);
}

.service-gateway-card p {
  max-width: 360px;
  color: rgba(255, 255, 255, 0.86);
}

.business-points {
  display: grid;
  gap: 8px;
  margin: 0 0 20px;
  padding: 16px 0 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  list-style: none;
}

.business-points li {
  position: relative;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.35;
}

.business-points li::before {
  content: "";
  position: absolute;
  top: 0.58em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.home-service-card strong {
  display: inline-flex;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--white);
  font-size: 0.96rem;
}

.service-gateway-card strong {
  display: inline-flex;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 6px;
  color: var(--white);
  background: rgba(8, 24, 45, 0.48);
  font-size: 0.92rem;
  line-height: 1.3;
}

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

.advantage-item {
  padding: 0 18px;
  text-align: center;
}

.advantage-item:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.advantage-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  color: var(--accent);
}

.advantage-icon svg {
  width: 32px;
  height: 32px;
}

.advantage-item h3 {
  margin-bottom: 10px;
  color: var(--white);
  font-size: 1.1rem;
}

.advantage-item p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.cta-banner {
  padding: 104px 0;
  color: var(--white);
  text-align: center;
  background-image: url("../img/hero-kashgar-corridor.png");
  background-position: center 54%;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(15, 37, 66, 0.16);
}

.cta-banner::before {
  background:
    linear-gradient(90deg, rgba(8, 24, 45, 0.94), rgba(15, 37, 66, 0.78) 48%, rgba(15, 37, 66, 0.5)),
    linear-gradient(180deg, rgba(8, 24, 45, 0.22), rgba(8, 24, 45, 0.68));
}

.cta-banner h2 {
  margin-bottom: 16px;
  color: var(--white);
}

.cta-banner p {
  max-width: 760px;
  margin: 0 auto 32px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.1rem;
}

.page-hero {
  min-height: 380px;
  display: flex;
  align-items: center;
  color: var(--white);
}

.page-hero.about-hero {
  background-image: url("../img/hero-bonded-warehouse.png");
}

.page-hero.services-hero {
  background-image: url("../img/hero-inland-intermodal.png");
}

.page-hero.contact-hero {
  background-image: url("../img/hero-kashgar-corridor.png");
  background-position: center 54%;
}

.page-hero h1 {
  margin-bottom: 8px;
  color: var(--white);
}

.page-hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.12rem;
}

.facts-card {
  text-align: center;
}

.facts-card .card-icon {
  margin-inline: auto;
}

.facts-label {
  display: block;
  margin-bottom: 8px;
  color: var(--subtle);
  font-size: 0.9rem;
  font-weight: 800;
}

.facts-value {
  display: block;
  color: var(--primary);
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.35;
}

.network-map {
  position: relative;
  margin-bottom: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}

.world-map-image {
  display: block;
  width: 100%;
  height: auto;
}

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

.port-panel {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.port-panel h3 {
  margin-bottom: 14px;
}

.port-panel ul,
.coverage-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.port-panel li,
.coverage-list li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
}

.port-panel li + li,
.coverage-list li + li {
  margin-top: 8px;
}

.port-panel li::before,
.coverage-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.international-coverage {
  margin-top: 28px;
  padding: 28px;
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--soft);
}

.international-coverage h3 {
  margin-bottom: 8px;
}

.international-coverage p {
  margin-bottom: 0;
}

.vision {
  padding: 96px 0;
  text-align: center;
}

.vision-text {
  max-width: 860px;
  margin: 0 auto;
  color: var(--white);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 300;
  line-height: 1.8;
}

.service-block {
  position: relative;
}

.section-number {
  position: absolute;
  top: 60px;
  right: max(24px, calc((100vw - var(--container)) / 2));
  color: #e2e8f0;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-size: clamp(4rem, 9vw, 7rem);
  font-weight: 800;
  line-height: 1;
  pointer-events: none;
}

.metric {
  display: inline-flex;
  margin-top: auto;
  padding-top: 12px;
  color: var(--accent);
  font-size: 0.98rem;
  font-weight: 800;
}

.product-card,
.service-card {
  display: flex;
  flex-direction: column;
}

.transport-list {
  margin-top: 42px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 34px rgba(15, 37, 66, 0.07);
}

.transport-list h3 {
  margin-bottom: 24px;
}

.transport-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 30px;
}

.transport-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
}

.transport-item .card-icon {
  width: 42px;
  height: 42px;
  margin: 0;
}

.transport-item strong {
  display: block;
  margin-bottom: 4px;
  color: var(--primary);
}

.transport-item p {
  margin: 0;
  font-size: 0.93rem;
}

.service-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.service-photo {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 10px 26px rgba(15, 37, 66, 0.06);
}

.service-photo img {
  width: 100%;
  height: 178px;
  object-fit: cover;
}

.service-photo figcaption {
  padding: 14px 16px;
  color: var(--primary);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.3;
}

.service-overview-section {
  background: var(--white);
}

.service-feature-section,
.clearance-section {
  background: var(--white);
}

.service-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(420px, 0.94fr);
  gap: 58px;
  align-items: center;
}

.service-feature.reverse {
  grid-template-columns: minmax(420px, 0.94fr) minmax(0, 1.06fr);
}

.service-feature.reverse .service-feature-media {
  order: 2;
}

.service-feature.reverse .service-feature-content {
  order: 1;
}

.service-feature-media {
  position: relative;
  min-height: 520px;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--primary-dark);
  box-shadow: var(--shadow);
}

.service-feature-media img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.service-feature-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 37, 66, 0), rgba(15, 37, 66, 0.72));
}

.service-feature-media figcaption {
  position: absolute;
  left: 26px;
  bottom: 24px;
  z-index: 1;
  max-width: calc(100% - 52px);
  color: var(--white);
  font-weight: 800;
}

.service-feature-content h2 {
  max-width: 720px;
  margin-bottom: 20px;
  font-size: clamp(2.25rem, 4.4vw, 3.4rem);
}

.service-feature-content > p {
  margin-bottom: 30px;
  font-size: 1.04rem;
}

.feature-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}

.feature-stat-row div {
  padding: 20px;
  border-left: 3px solid var(--accent);
  border-radius: 0 8px 8px 0;
  background: var(--soft);
}

.feature-stat-row strong {
  display: block;
  color: var(--primary);
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 1.45rem;
  line-height: 1.1;
}

.feature-stat-row span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.4;
}

.service-bullets {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-bullets li {
  position: relative;
  padding-left: 26px;
  color: var(--muted);
  font-weight: 700;
}

.service-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
}

.supply-flow-section {
  position: relative;
  overflow: hidden;
}

.supply-flow-section::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background: url("../img/operations/operation-warehouse-cargo-coils.jpg") center / cover;
}

.supply-flow-section .container {
  position: relative;
}

.supply-flow-section .lead {
  color: rgba(255, 255, 255, 0.74);
}

.supply-flow-section .section-heading h2 {
  font-size: clamp(2.15rem, 4vw, 3.25rem);
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin: 0 0 44px;
  padding: 0;
  list-style: none;
  counter-reset: flow;
}

.flow-steps li {
  position: relative;
  min-height: 168px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 24px 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(15, 37, 66, 0.68);
  text-align: center;
}

.flow-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -10px;
  z-index: 3;
  width: 20px;
  height: 20px;
  border-top: 2px solid rgba(255, 255, 255, 0.54);
  border-right: 2px solid rgba(255, 255, 255, 0.54);
  transform: translateY(-50%) rotate(45deg);
  background: var(--primary);
}

.flow-icon {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border-radius: 8px;
  color: var(--accent);
  background: rgba(255, 255, 255, 0.1);
}

.flow-icon svg {
  width: 30px;
  height: 30px;
}

.flow-steps strong {
  color: var(--white);
  font-size: 1rem;
  line-height: 1.3;
}

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

.transport-showcase figure {
  position: relative;
  min-height: 320px;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--primary-dark);
}

.transport-showcase img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.transport-showcase figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 37, 66, 0.08), rgba(15, 37, 66, 0.86));
}

.transport-showcase figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  padding: 22px;
}

.transport-showcase span {
  display: block;
  margin-bottom: 7px;
  color: #f59e0b;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.transport-showcase strong {
  display: block;
  color: var(--white);
  font-size: 0.98rem;
  line-height: 1.38;
}

.clearance-steps {
  display: grid;
  gap: 16px;
}

.clearance-steps article {
  display: grid;
  grid-template-columns: 54px 128px 1fr;
  gap: 18px;
  align-items: center;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 26px rgba(15, 37, 66, 0.06);
}

.clearance-steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--white);
  background: var(--primary);
  font-weight: 800;
}

.clearance-steps strong {
  color: var(--primary);
  font-size: 1rem;
}

.clearance-steps p {
  margin: 0;
  font-size: 0.92rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 1fr);
  gap: 50px;
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 24px;
}

.contact-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
}

.contact-icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  color: var(--primary);
  background: rgba(26, 54, 93, 0.08);
}

.contact-icon svg {
  width: 22px;
  height: 22px;
}

.contact-label {
  display: block;
  margin-bottom: 3px;
  color: var(--subtle);
  font-size: 0.86rem;
  font-weight: 800;
}

.contact-value {
  color: var(--muted);
  font-size: 1.05rem;
}

.map-frame {
  min-height: 420px;
  display: flex;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background:
    linear-gradient(135deg, rgba(26, 54, 93, 0.92), rgba(15, 37, 66, 0.96)),
    url("../img/hero-kashgar-corridor.png") center / cover;
}

.map-card {
  width: 100%;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 44px;
  color: var(--white);
}

.map-kicker {
  display: inline-flex;
  width: max-content;
  margin-bottom: 16px;
  padding: 8px 12px;
  border-radius: 6px;
  color: var(--white);
  background: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.map-card h3 {
  max-width: 460px;
  margin-bottom: 14px;
  color: var(--white);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
}

.map-card p {
  max-width: 520px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.78);
}

.map-route-line {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 30px;
}

.map-route-line span {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 58px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
  font-weight: 800;
  text-align: center;
}

.map-route-line span:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -12px;
  z-index: 1;
  width: 14px;
  height: 2px;
  background: var(--accent);
}

.map-link {
  width: max-content;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  color: var(--white);
  font-weight: 800;
  transition: background 180ms ease, border-color 180ms ease;
}

.map-link:hover {
  border-color: var(--accent);
  background: rgba(217, 119, 6, 0.22);
}

.site-footer {
  color: var(--white);
  background: var(--primary);
}

.site-footer .brand-mark {
  border-radius: 6px;
  background: var(--white) url("../img/tongping-logo.png") center / 90% auto no-repeat;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 48px;
  padding: 64px 0;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.footer-title {
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.28;
}

.site-footer p,
.site-footer li,
.site-footer a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.site-footer h3 {
  margin-bottom: 18px;
  color: var(--white);
  font-size: 1rem;
}

.footer-links,
.footer-contact {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li + li,
.footer-contact li + li {
  margin-top: 9px;
}

.footer-links a {
  display: inline-block;
  border-bottom: 1px solid transparent;
  transition: color 180ms ease, border-color 180ms ease;
}

.footer-links a:hover {
  color: var(--white);
  border-color: var(--accent);
}

.social-row {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.social-link {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.78rem;
  font-weight: 800;
}

.social-link:hover {
  color: var(--white);
  border-color: var(--accent);
}

.footer-bottom {
  padding: 18px 0;
  color: rgba(255, 255, 255, 0.66);
  background: var(--primary-dark);
  text-align: center;
  font-size: 0.78rem;
}

@media (max-width: 1080px) {
  .card-grid,
  .card-grid.four,
  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-feature,
  .service-feature.reverse {
    grid-template-columns: 1fr;
  }

  .service-feature.reverse .service-feature-media,
  .service-feature.reverse .service-feature-content {
    order: initial;
  }

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

  .clearance-steps article {
    grid-template-columns: 54px 120px 1fr;
  }

  .operations-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 260px;
  }

  .operation-card-large {
    grid-column: span 2;
    grid-row: span 1;
    min-height: 360px;
  }

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

  .advantage-item:not(:last-child) {
    border-right: 0;
  }

  .advantage-item {
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius);
  }

  .split,
  .split.reverse,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .split.reverse .split-media {
    order: 2;
  }

  .split.reverse .split-content {
    order: 1;
  }
}

@media (max-width: 860px) {
  .container,
  .nav-shell {
    width: min(100% - 36px, var(--container));
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 76px;
    right: 0;
    bottom: 0;
    left: 0;
    min-height: calc(100vh - 76px);
    align-content: start;
    display: grid;
    gap: 0;
    padding: 22px 18px 28px;
    border-top: 1px solid var(--line);
    background: var(--white);
    box-shadow: 0 26px 44px rgba(15, 37, 66, 0.14);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 220ms ease, opacity 220ms ease;
  }

  .site-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    padding: 16px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 0.94rem;
  }

  .site-nav a::after {
    bottom: 8px;
    right: auto;
    width: 42px;
  }

  .brand-text {
    font-size: 1rem;
  }

  .hero-home {
    min-height: 640px;
    background-position: 42% center;
  }

  .hero::before {
    background: linear-gradient(90deg, rgba(15, 37, 66, 0.94), rgba(15, 37, 66, 0.72));
  }

  .hero-content {
    padding: 88px 0 78px;
  }

  .stats-grid,
  .card-grid.two,
  .card-grid.six,
  .port-grid,
  .transport-grid,
  .home-service-grid,
  .service-gateway-grid,
  .flow-steps,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .stats-grid,
  .card-grid,
  .card-grid.four,
  .service-photo-grid {
    grid-template-columns: 1fr;
  }

  .operations-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .operation-card,
  .operation-card-large {
    grid-column: auto;
    grid-row: auto;
    min-height: 280px;
  }

  .home-service-card,
  .service-gateway-card {
    min-height: 360px;
  }

  .service-gateway-card {
    min-height: 470px;
  }

  .flow-steps {
    gap: 14px;
  }

  .flow-steps li {
    min-height: 136px;
  }

  .flow-steps li:not(:last-child)::after {
    top: auto;
    right: 50%;
    bottom: -17px;
    transform: translateX(50%) rotate(135deg);
  }

  .transport-showcase {
    grid-template-columns: 1fr;
  }

  .transport-showcase figure,
  .transport-showcase img {
    min-height: 290px;
  }

  .service-feature-media,
  .service-feature-media img {
    min-height: 360px;
  }

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

  .clearance-steps article {
    grid-template-columns: 1fr;
    gap: 10px;
    align-items: start;
  }

  .page-hero {
    min-height: 330px;
  }
}

@media (max-width: 640px) {
  .container,
  .nav-shell {
    width: min(100% - 28px, var(--container));
  }

  .section {
    padding: 64px 0;
  }

  .nav-shell {
    min-height: 70px;
  }

  .site-nav {
    top: 70px;
    min-height: calc(100vh - 70px);
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .brand-text {
    max-width: 230px;
    font-size: 0.95rem;
  }

  .hero-home {
    min-height: 610px;
  }

  .hero-actions,
  .hero-actions .btn,
  .cta-banner .btn {
    width: 100%;
  }

  .btn {
    min-height: 50px;
  }

  .split-media,
  .split-media img {
    min-height: 300px;
  }

  .operation-card,
  .operation-card-large {
    min-height: 260px;
  }

  .operation-card figcaption {
    padding: 18px;
  }

  .home-service-card,
  .service-gateway-card {
    min-height: 320px;
  }

  .service-gateway-card {
    min-height: 450px;
    padding: 22px;
  }

  .service-overview-section .section-heading h2 {
    max-width: 320px;
    margin-inline: auto;
    font-size: 1.85rem;
  }

  .service-gateway-card .service-card-top {
    flex-direction: column;
    gap: 12px;
  }

  .service-gateway-card .service-card-label {
    max-width: 100%;
  }

  .service-gateway-card h3 {
    max-width: 100%;
    font-size: clamp(1.85rem, 8vw, 2.25rem);
  }

  .service-gateway-card p,
  .service-gateway-card strong {
    max-width: 100%;
  }

  .home-service-card div,
  .transport-showcase figcaption {
    padding: 22px;
  }

  .service-feature-content h2 {
    font-size: 1.85rem;
  }

  .feature-stat-row div {
    padding: 18px;
  }

  .service-photo img {
    height: 190px;
  }

  .card,
  .transport-list,
  .port-panel {
    padding: 26px;
  }

  .section-number {
    top: 42px;
    right: 18px;
    opacity: 0.55;
  }

  .contact-grid {
    gap: 36px;
  }

  .map-frame,
  .map-card {
    min-height: 340px;
  }

  .map-card {
    padding: 28px;
  }

  .map-route-line {
    grid-template-columns: 1fr;
  }

  .map-route-line span:not(:last-child)::after {
    top: auto;
    right: 50%;
    bottom: -10px;
    width: 2px;
    height: 10px;
    transform: translateX(50%);
  }

  .footer-main {
    padding: 46px 0;
  }
}

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