/* datugo 官网样式 —— 品牌色：速达橙 #F26A21 / 深海蓝 #0E2C4E / 米白 #F7F6F2 */

@font-face {
  font-family: "Outfit";
  src: url("/assets/fonts/outfit-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --orange: #F26A21;
  --orange-dark: #D4561A;
  --navy: #0E2C4E;
  --navy-2: #1B3F66;
  --cream: #F7F6F2;
  --sand: #ECEAE4;
  --ink: #1C2733;
  --muted: #55657A;
  --line: #DEDBD3;
  --white: #FFFFFF;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(14, 44, 78, .06), 0 8px 24px rgba(14, 44, 78, .06);
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  --font-latin: "Outfit", var(--font);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { line-height: 1.25; margin: 0; color: var(--navy); }
p { margin: 0; }
a { color: var(--navy-2); }
img { max-width: 100%; display: block; }

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

.todo { background: #FFE9DC; color: #8A3410; border-radius: 4px; padding: 0 4px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 26px;
  border-radius: 999px; border: 2px solid transparent;
  font-size: 18px; font-weight: 700; text-decoration: none;
  transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--orange); outline-offset: 3px;
}
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-dark); }
.btn-ghost { border-color: var(--navy); color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: var(--white); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 15px; }
.site-nav .nav-login { margin-right: -14px; }
.login-link { color: var(--orange); font-weight: 700; }

/* ---------- 顶栏 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 246, 242, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 38px; height: 38px; }
.brand-word { font-family: var(--font-latin); font-weight: 800; font-size: 28px; letter-spacing: -0.02em; line-height: 1; }
.w-datu { color: var(--navy); }
.w-go { color: var(--orange); }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a:not(.btn) { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; }
.site-nav a:not(.btn):hover { color: var(--orange-dark); }

.nav-toggle {
  display: none; width: 44px; height: 44px; padding: 10px;
  background: none; border: 0; cursor: pointer;
  flex-direction: column; justify-content: space-between;
}
.nav-toggle span { display: block; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

/* ---------- 首屏 ---------- */
.hero { padding: 72px 0 88px; }
.hero-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.eyebrow { color: var(--orange-dark); font-weight: 700; letter-spacing: .12em; font-size: 14px; margin-bottom: 16px; }
.hero h1 { font-size: clamp(36px, 5.2vw, 60px); font-weight: 800; letter-spacing: .01em; }
.lead { margin-top: 20px; font-size: 18px; color: var(--muted); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; padding: 0; margin: 28px 0 0; color: var(--navy); font-weight: 500; }
.hero-points li::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); margin-right: 8px; vertical-align: middle; }

.hero-art svg { width: 100%; height: auto; }
.parcel rect { fill: var(--white); stroke: var(--navy); stroke-width: 3; }
.parcel line { stroke: var(--orange); stroke-width: 6; }
.flow { fill: none; stroke: var(--navy); stroke-width: 3; stroke-dasharray: 2 10; stroke-linecap: round; opacity: .5; }
.big-box { fill: var(--orange); }
.chev { fill: none; stroke-width: 16; stroke-linecap: round; stroke-linejoin: round; }
.chev.c1 { stroke: var(--white); }
.chev.c2 { stroke: var(--navy); }

@media (prefers-reduced-motion: no-preference) {
  .flow { animation: dash 1.6s linear infinite; }
  .parcel { animation: bob 4s ease-in-out infinite; }
  .parcel.p2 { animation-delay: -1.3s; }
  .parcel.p3 { animation-delay: -2.6s; }
}
@keyframes dash { to { stroke-dashoffset: -24; } }
@keyframes bob { 50% { transform: translateY(-4px); } }

/* ---------- 通用区块 ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--white); }
.section-title { font-size: clamp(28px, 3.4vw, 38px); font-weight: 800; }
.section-sub { color: var(--muted); margin-top: 10px; margin-bottom: 40px; font-size: 17px; }

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

.card { background: var(--white); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow); }
.card h3 { font-size: 19px; margin: 18px 0 8px; }
.card p { color: var(--muted); font-size: 15px; }
.icon { width: 48px; height: 48px; border-radius: 12px; background: #FFF1E8; display: grid; place-items: center; }
.icon svg { width: 26px; height: 26px; fill: none; stroke: var(--orange-dark); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* 流程 */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.steps li { position: relative; padding: 24px 20px; background: var(--cream); border-radius: var(--radius); }
.step-no {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy); color: var(--white); font-family: var(--font-latin); font-weight: 700; font-size: 18px;
}
.steps h3 { font-size: 18px; margin: 16px 0 6px; }
.steps p { color: var(--muted); font-size: 15px; }

/* 线路 */
.route { display: flex; flex-direction: column; gap: 4px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.route strong { font-size: 18px; color: var(--navy); }
.route span { font-size: 14px; color: var(--muted); align-self: flex-start; }

/* 价格 */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); }
.price-table { width: 100%; min-width: 560px; border-collapse: collapse; background: var(--white); }
.price-table th, .price-table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.price-table thead th { background: var(--navy); color: var(--white); font-weight: 600; }
.price-table tbody tr:last-child td { border-bottom: 0; }
.price-table td.todo { background: #FFF6F0; border-radius: 0; }
.fee-notes { margin-top: 24px; }
.badge { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 999px; background: #FFE9DC; color: #8A3410; font-size: 12px; font-weight: 700; vertical-align: 2px; }
.price-table td { vertical-align: top; }
.price-table td:first-child { white-space: nowrap; }
.price-rules { margin: 20px 0 0; padding-left: 20px; color: var(--muted); font-size: 15px; display: grid; gap: 6px; }
.fee-list { margin: 0; padding-left: 18px; color: var(--muted); font-size: 15px; display: grid; gap: 6px; }
.note-wide { margin-top: 20px; }
.dd-note { color: #9FB2C8; font-size: 14px; font-weight: 400; }
.contact-list a { color: var(--white); }
.contact-list em { font-style: normal; color: var(--orange); font-weight: 700; padding: 0 2px; }
.addr-example { margin-top: 24px; padding: 16px 20px; border-radius: 12px; background: rgba(255, 255, 255, .08); border: 1px dashed rgba(255, 255, 255, .3); color: var(--white); font-size: 15px; }
.addr-example-title { color: var(--orange); font-weight: 700; margin-bottom: 6px; }
.note { padding: 22px 24px; border-radius: 12px; background: var(--cream); }
.note h3 { font-size: 17px; margin-bottom: 6px; }
.note p { color: var(--muted); font-size: 15px; }

/* 须知 */
.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.tags li { padding: 8px 16px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: 15px; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--cream); border-radius: 12px; padding: 0 22px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 28px 18px 0; position: relative;
  font-weight: 600; color: var(--navy); font-size: 17px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 10px; height: 10px;
  border-right: 2px solid var(--orange-dark); border-bottom: 2px solid var(--orange-dark);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding-bottom: 18px; color: var(--muted); }

/* 关于我们 */
.about-inner { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: center; }
.about-mark { text-align: center; }
.about-mark svg { width: 100%; max-width: 240px; height: auto; filter: drop-shadow(0 16px 32px rgba(242, 106, 33, .25)); }
.about-slogan { margin-top: 24px; font-size: 24px; font-weight: 800; color: var(--navy); letter-spacing: .1em; }
.about-copy .section-title { margin-bottom: 20px; }
.about-copy p { color: var(--muted); font-size: 17px; margin-bottom: 14px; }
.about-copy strong { color: var(--navy); }
.about-copy .about-lead { color: var(--navy); font-size: 19px; font-weight: 600; }
.about-meaning { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.about-meaning li { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; background: var(--white); border-radius: 12px; font-size: 15px; color: var(--muted); }
.about-meaning strong { display: block; color: var(--navy); font-size: 16px; }
.dot { flex: none; width: 22px; height: 22px; border-radius: 50%; margin-top: 2px; }
.dot-orange { background: var(--orange); }
.dot-navy { background: var(--navy); }

/* 联系 */
.contact { background: var(--navy); }
.contact .section-title { color: var(--white); }
.contact .section-sub { color: #C9D3DF; }
.contact-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
.contact-list { margin: 0; display: grid; gap: 14px; }
.contact-list div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; }
.contact-list dt { color: #9FB2C8; }
.contact-list dd { margin: 0; color: var(--white); font-weight: 500; }
.contact-list dd.todo { color: #8A3410; justify-self: start; }
.qr-box { justify-self: center; text-align: center; color: #C9D3DF; line-height: 1.6; }
.qr {
  width: 200px; height: 200px; border-radius: 16px; background: var(--white);
  padding: 12px; margin: 0 auto 12px; display: block;
}

/* 页脚 */
.site-footer { background: #0A2240; color: #9FB2C8; padding: 32px 0; font-size: 14px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand .brand-word { font-size: 22px; }
.footer-brand .w-datu { color: var(--white); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer-legal a { color: #9FB2C8; text-decoration: none; }
.footer-legal a:hover { color: var(--white); }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line);
    padding: 8px 20px 20px; display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 16px; }
  .site-nav .btn { margin-top: 16px; min-height: 48px; font-size: 17px; }
  .site-nav .nav-login { margin-right: 0; }
  .site-nav .nav-login + .btn { margin-top: 10px; }

  .hero { padding: 40px 0 56px; }
  .hero-inner { grid-template-columns: 1fr; gap: 24px; }
  .hero-art { order: -1; max-width: 280px; margin: 0 auto; }
  .lead { font-size: 16px; }

  .section { padding: 60px 0; }
  .section-sub { margin-bottom: 28px; }
  .grid-3 { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; gap: 32px; }
  .about-inner { grid-template-columns: 1fr; gap: 32px; }
  .about-mark svg { max-width: 140px; }
  .about-slogan { margin-top: 16px; font-size: 20px; }
}

@media (max-width: 520px) {
  .about-meaning { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .container { padding: 0 16px; }
  .grid-4 { grid-template-columns: 1fr 1fr; gap: 12px; }
  .services .grid-4, #services .grid-4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 100%; }
  .card { padding: 22px 20px; }
  .route { padding: 16px; }
  .contact-list div { grid-template-columns: 80px 1fr; }
}
