/* TUER 途尔国际物流 — shared styles
   Palette: ink navy (trust, freight), brand red (action only), cool paper (calm background) */
:root {
  --ink: #0e1c2f;
  --ink-2: #172a42;
  --paper: #f4f6f9;
  --white: #ffffff;
  --line: #dde2e9;
  --text: #1b2636;
  --muted: #5a697c;
  --red: #c0182b;
  --red-dark: #9c1222;
  --num: "DIN Alternate", "Bahnschrift", "Helvetica Neue", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Segoe UI", system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 11px 22px; border-radius: 4px; border: 1px solid transparent;
  font: inherit; font-size: 15px; font-weight: 600; line-height: 1.4;
  cursor: pointer; transition: background-color .2s, border-color .2s, color .2s;
  white-space: nowrap;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { border-color: rgba(255,255,255,.45); color: #fff; background: transparent; }
.btn-light:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn-lg { padding: 14px 28px; font-size: 16px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line);
}
.bar { display: flex; align-items: center; gap: 32px; height: 72px; }
.logo { display: flex; align-items: baseline; gap: 10px; flex-shrink: 0; }
.logo b { font-family: var(--num); font-size: 28px; font-weight: 700; letter-spacing: .04em; color: var(--ink); }
.logo b i { font-style: normal; color: var(--red); }
.logo span { font-size: 14px; color: var(--muted); }
.site-nav { flex: 1; }
.site-nav ul { display: flex; gap: 26px; justify-content: center; }
.site-nav a { font-size: 15px; color: var(--text); padding: 6px 0; border-bottom: 2px solid transparent; }
.site-nav a:hover { border-bottom-color: var(--red); }
.bar-actions { display: flex; align-items: center; gap: 10px; }
.lang-btn { background: none; border: 1px solid var(--line); border-radius: 4px; padding: 8px 12px; font: inherit; font-size: 14px; cursor: pointer; color: var(--text); }
.lang-btn:hover { border-color: var(--ink); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 4px; width: 42px; height: 38px; cursor: pointer; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); margin: 4px auto; }

/* Hero */
.hero {
  background:
    linear-gradient(100deg, rgba(10,22,40,.96) 0%, rgba(10,22,40,.84) 52%, rgba(10,22,40,.55) 100%),
    url("1.jpg") center / cover no-repeat,
    var(--ink);
  color: #fff;
}
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 64px; align-items: center; padding: 96px 0 88px; }
.hero h1 { font-size: clamp(32px, 4.4vw, 54px); line-height: 1.22; font-weight: 700; letter-spacing: -.01em; }
.hero-lead { margin-top: 22px; max-width: 34em; font-size: 18px; color: rgba(255,255,255,.82); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.quote-panel {
  border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06);
  border-radius: 6px; padding: 32px;
}
.qp-label { font-size: 15px; color: rgba(255,255,255,.75); }
.qp-price { display: flex; align-items: baseline; gap: 8px; margin: 6px 0 2px; }
.qp-price strong { font-family: var(--num); font-size: 68px; line-height: 1.05; font-weight: 700; }
.qp-price span { font-size: 20px; color: rgba(255,255,255,.85); }
.qp-time { font-size: 17px; font-weight: 600; }
.route { display: flex; justify-content: space-between; position: relative; margin: 30px 0 22px; }
.route::before { content: ""; position: absolute; left: 6px; right: 6px; top: 6px; border-top: 2px dashed rgba(255,255,255,.35); }
.route li { position: relative; flex: 1; text-align: center; font-size: 13px; color: rgba(255,255,255,.85); padding-top: 22px; }
.route li::before { content: ""; position: absolute; top: 0; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--ink); border: 2px solid #fff; }
.route li:last-child::before { background: var(--red); border-color: var(--red); }
.qp-note { font-size: 13px; line-height: 1.6; color: rgba(255,255,255,.65); }

/* Fact strip */
.facts { border-bottom: 1px solid var(--line); background: #fff; }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 26px 28px 26px 0; }
.fact + .fact { padding-left: 28px; border-left: 1px solid var(--line); }
.fact h3 { font-size: 17px; color: var(--ink); }
.fact p { font-size: 14px; color: var(--muted); line-height: 1.6; margin-top: 2px; }

/* Sections */
.section { padding: 96px 0; }
.section-alt { background: var(--paper); }
.section-dark { background: var(--ink); color: #fff; }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head h2, .split h2 { font-size: clamp(26px, 3vw, 38px); line-height: 1.3; font-weight: 700; letter-spacing: -.01em; }
.lead { margin-top: 14px; font-size: 17px; color: var(--muted); }
.section-dark .lead { color: rgba(255,255,255,.75); }

/* Advantages */
.adv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 44px; }
.adv-item { border-top: 2px solid var(--ink); padding: 24px 0 40px; }
.adv-item.key { border-top-color: var(--red); }
.adv-item h3 { font-size: 20px; line-height: 1.4; color: var(--ink); margin-bottom: 8px; }
.adv-item p { font-size: 15.5px; color: var(--muted); }

/* Pricing table */
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); }
table { width: 100%; min-width: 680px; border-collapse: collapse; }
th, td { text-align: left; padding: 22px 26px; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { font-size: 14px; font-weight: 600; color: var(--muted); background: var(--paper); }
tr:last-child td { border-bottom: 0; }
td:first-child { font-size: 18px; font-weight: 700; color: var(--ink); }
tr.rec td:first-child { border-left: 3px solid var(--red); }
tr.rec td:nth-child(3) { color: var(--red); font-weight: 700; }
.tag { display: inline-block; margin-left: 10px; padding: 1px 8px; border-radius: 3px; background: var(--red); color: #fff; font-size: 12px; font-weight: 600; vertical-align: 2px; }
.fine { margin-top: 16px; font-size: 14px; color: var(--muted); }

/* Goods */
.goods-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: center; }
.goods { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.18); border-left: 1px solid rgba(255,255,255,.18); }
.goods li { padding: 34px 22px; font-size: 20px; font-weight: 600; border-right: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); }

/* Split blocks */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; background: var(--ink-2); }
.checks { margin-top: 26px; }
.checks li { position: relative; padding: 12px 0 12px 32px; border-top: 1px solid var(--line); color: var(--text); }
.checks li:last-child { border-bottom: 1px solid var(--line); }
.checks li::before { content: ""; position: absolute; left: 4px; top: 21px; width: 12px; height: 7px; border-left: 2px solid var(--red); border-bottom: 2px solid var(--red); transform: rotate(-45deg); }
.callout { margin-top: 22px; padding: 16px 20px; background: var(--paper); border-left: 3px solid var(--ink); font-size: 15px; color: var(--muted); }

/* Process */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; counter-reset: step; }
.step { counter-increment: step; border-top: 2px solid var(--line); padding-top: 22px; position: relative; }
.step::before {
  content: counter(step); position: absolute; top: -17px; left: 0;
  width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff;
  font-family: var(--num); font-weight: 700; font-size: 15px; line-height: 32px; text-align: center;
}
.step h3 { font-size: 18px; color: var(--ink); margin: 10px 0 6px; }
.step p { font-size: 15px; color: var(--muted); line-height: 1.65; }

/* Service tiles */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile { position: relative; aspect-ratio: 4 / 3; background: var(--ink-2); overflow: hidden; border-radius: 4px; color: #fff; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,22,40,.88) 0%, rgba(10,22,40,.1) 65%); }
.tile span { position: absolute; z-index: 1; left: 16px; right: 16px; bottom: 14px; font-size: 16px; font-weight: 600; line-height: 1.4; }

/* FAQ */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-size: 18px; font-weight: 600; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 400; color: var(--muted); }
.faq details[open] summary::after { content: "\2212"; color: var(--red); }
.faq p { padding: 0 40px 24px 0; color: var(--muted); }

/* Quote form */
.quote-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: start; }
.need { margin-top: 28px; }
.need li { padding: 10px 0; border-top: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.88); }
.need li:last-child { border-bottom: 1px solid rgba(255,255,255,.18); }
.form-card { background: #fff; color: var(--text); padding: 36px; border-radius: 6px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: block; margin-bottom: 16px; }
.field > span { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #c8d0da; border-radius: 4px;
  font: inherit; font-size: 15px; color: var(--text); background: #fff;
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--ink); outline-offset: 0; border-color: var(--ink); }
.field textarea { min-height: 96px; resize: vertical; }
.form-card .btn { width: 100%; padding: 14px; font-size: 16px; }
.form-privacy { margin-top: 12px; font-size: 13px; color: var(--muted); line-height: 1.6; }
.form-status { margin-top: 14px; font-size: 15px; font-weight: 600; min-height: 1.5em; }
.form-status.ok { color: #176b3a; }
.form-status.err { color: var(--red); }

/* Footer */
.site-footer { background: #091423; color: rgba(255,255,255,.65); padding: 40px 0; font-size: 14px; }
.foot { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
.foot .logo b { color: #fff; font-size: 22px; }
.foot .logo span { color: rgba(255,255,255,.55); }
.foot-links { display: flex; gap: 22px; }
.foot-links a:hover { color: #fff; }
.foot-copy { margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; }

/* Track dialog */
dialog { margin: auto; border: 0; border-radius: 6px; padding: 32px; width: min(440px, 92vw); }
dialog::backdrop { background: rgba(9,20,35,.6); }
dialog h3 { font-size: 20px; color: var(--ink); }
dialog p { color: var(--muted); font-size: 15px; margin: 6px 0 16px; }
dialog input { width: 100%; padding: 12px 14px; border: 1px solid #c8d0da; border-radius: 4px; font: inherit; margin-bottom: 14px; }
.dlg-actions { display: flex; gap: 10px; }
.dlg-actions .btn { flex: 1; }
.dlg-msg { margin-top: 12px; font-size: 14px; color: var(--muted); min-height: 1.4em; }

/* ---------- Why-TUER page ---------- */
.page-hero {
  background:
    linear-gradient(100deg, rgba(10,22,40,.95) 0%, rgba(10,22,40,.78) 60%, rgba(10,22,40,.5) 100%),
    url("18.jpg") center / cover no-repeat,
    var(--ink);
  color: #fff; padding: 112px 0 96px;
}
.page-hero h1 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.25; font-weight: 700; max-width: 16em; letter-spacing: -.01em; }
.page-hero p { margin-top: 20px; max-width: 34em; font-size: 18px; color: rgba(255,255,255,.82); }

.figures { background: #fff; border-bottom: 1px solid var(--line); }
.figures-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.figure { padding: 36px 28px 36px 0; }
.figure + .figure { padding-left: 28px; border-left: 1px solid var(--line); }
.figure strong { display: block; font-family: var(--num); font-size: 46px; line-height: 1.1; color: var(--ink); font-weight: 700; }
.figure span { font-size: 14px; color: var(--muted); }

.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.mv h3 { font-size: 15px; color: var(--red); font-weight: 700; margin-bottom: 10px; }
.mv p { font-size: 22px; line-height: 1.6; color: var(--ink); font-weight: 600; }

.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 40px; }
.value { border-top: 2px solid var(--ink); padding-top: 20px; }
.value h3 { font-size: 20px; color: var(--ink); margin-bottom: 6px; }
.value p { font-size: 15px; color: var(--muted); }

.cta-band { background: var(--ink); color: #fff; padding: 80px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-inner h2 { font-size: clamp(24px, 3vw, 34px); line-height: 1.3; max-width: 18em; }
.cta-inner p { margin-top: 8px; color: rgba(255,255,255,.75); }

/* ---------- Responsive ---------- */
@media (max-width: 1060px) {
  .site-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(14,28,47,.08); }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; padding: 8px 24px 16px; align-items: stretch; }
  .site-nav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: block; }
  .bar { gap: 16px; }
  .bar-actions { margin-left: auto; }
}
@media (max-width: 900px) {
  .section { padding: 72px 0; }
  .hero-grid, .goods-layout, .split, .quote-grid, .mv { grid-template-columns: 1fr; gap: 44px; }
  .hero-grid { padding: 64px 0; }
  .facts-grid, .figures-grid { grid-template-columns: repeat(2, 1fr); }
  .fact, .figure { padding: 22px 16px 22px 0; }
  .fact + .fact, .figure + .figure { padding-left: 0; border-left: 0; }
  .fact:nth-child(even), .figure:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
  .adv { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .step { padding-left: 0; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .values { grid-template-columns: 1fr 1fr; gap: 32px 32px; }
}
@media (max-width: 560px) {
  .logo span { display: none; }
  .btn-track { display: none; }
  .adv, .values { grid-template-columns: 1fr; }
  .goods { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-card { padding: 24px; }
  .quote-panel { padding: 24px; }
  .qp-price strong { font-size: 54px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
