/* ============================================================
   广州顺启国际物流 官网样式
   配色：深蓝主色 + 青色强调 + 橙色点缀
   ============================================================ */
:root {
  --primary: #0a3d6b;        /* 深蓝主色 */
  --primary-dark: #072a4a;
  --accent: #00b4d8;         /* 青色强调 */
  --accent-2: #ff7a18;       /* 橙色点缀 */
  --ink: #1f2d3d;
  --muted: #6b7c8f;
  --line: #e4eaf0;
  --bg: #ffffff;
  --bg-soft: #f4f8fb;
  --bg-dark: #072a4a;
  --radius: 12px;
  --shadow: 0 8px 30px rgba(10, 61, 107, .08);
  --maxw: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; }
.brand .logo {
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: grid; place-items: center; color: #fff; font-size: 18px; font-weight: 900;
}
.brand .name { font-size: 18px; color: var(--primary); letter-spacing: .5px; }
.brand .name small { display: block; font-size: 11px; color: var(--muted); font-weight: 600; letter-spacing: 1px; }

.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a { font-size: 15px; color: var(--ink); font-weight: 600; position: relative; padding: 6px 0; transition: color .2s; }
.nav-links a:hover { color: var(--accent); }
.nav-links a.active { color: var(--primary); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px;
  background: var(--accent); border-radius: 3px;
}
.nav-cta {
  background: var(--accent-2); color: #fff; padding: 10px 20px; border-radius: 30px;
  font-weight: 700; font-size: 14px; transition: transform .15s, box-shadow .2s;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255, 122, 24, .35); color: #fff; }

.menu-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: 0; }
.menu-toggle span { width: 24px; height: 3px; background: var(--primary); border-radius: 3px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background:
    linear-gradient(120deg, rgba(7, 42, 74, .92), rgba(10, 61, 107, .78)),
    url("../assets/hero-bg.svg") center/cover no-repeat;
}
.hero .container { padding-top: 96px; padding-bottom: 96px; position: relative; z-index: 2; }
.hero .badge {
  display: inline-block; background: rgba(0, 180, 216, .18); color: #aef1ff;
  border: 1px solid rgba(0, 180, 216, .4); padding: 6px 16px; border-radius: 30px;
  font-size: 13px; font-weight: 600; margin-bottom: 22px;
}
.hero h1 { font-size: 44px; line-height: 1.25; font-weight: 800; margin-bottom: 18px; }
.hero h1 .hl { color: var(--accent); }
.hero p.lead { font-size: 18px; max-width: 640px; color: #d7e6f2; margin-bottom: 32px; }
.hero .actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px;
  border-radius: 30px; font-weight: 700; font-size: 15px; transition: transform .15s, box-shadow .2s;
}
.btn-primary { background: var(--accent); color: #042b3a; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 180, 216, .4); }
.btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .5); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }

.hero-stats { display: flex; gap: 40px; margin-top: 56px; flex-wrap: wrap; }
.hero-stats .stat .num { font-size: 32px; font-weight: 800; color: #fff; }
.hero-stats .stat .num span { color: var(--accent); }
.hero-stats .stat .label { font-size: 13px; color: #b9d2e6; }

/* ---------- 通用区块 ---------- */
.section { padding: 80px 0; }
.section.soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.section-head .eyebrow { color: var(--accent); font-weight: 700; letter-spacing: 2px; font-size: 13px; text-transform: uppercase; }
.section-head h2 { font-size: 32px; font-weight: 800; margin: 10px 0 14px; color: var(--primary); }
.section-head p { color: var(--muted); font-size: 16px; }

/* ---------- 业务卡片 ---------- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(10, 61, 107, .14); border-color: var(--accent); }
.card .ico {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; font-size: 24px; margin-bottom: 18px;
}
.card h3 { font-size: 19px; color: var(--primary); margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; }

/* ---------- 业务页增强 ---------- */
.card.svc { position: relative; overflow: hidden; }
.card.svc .ribbon {
  position: absolute; top: 14px; right: 20px; font-size: 54px; font-weight: 900;
  color: var(--primary); opacity: .07; line-height: 1; letter-spacing: -2px;
}
.card.svc .ico { position: relative; z-index: 1; }
.svc-list { list-style: none; margin-top: 16px; }
.svc-list li {
  position: relative; padding: 9px 0 9px 26px; color: var(--ink); font-size: 14.5px;
  border-bottom: 1px dashed var(--line);
}
.svc-list li:last-child { border-bottom: 0; }
.svc-list li::before {
  content: "✓"; position: absolute; left: 0; top: 9px; color: var(--accent);
  font-weight: 900; font-size: 13px;
}
.card.svc .btn-text {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 16px;
  color: var(--accent); font-weight: 700; font-size: 14px;
}
.card.svc:hover .btn-text { gap: 10px; }

/* 热门专线 */
.lines-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.line-chip {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 120px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 12px; text-align: center; box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.line-chip:hover { transform: translateY(-5px); border-color: var(--accent); box-shadow: 0 16px 34px rgba(10,61,107,.14); }
.line-chip .flag { font-size: 34px; line-height: 1; margin-bottom: 10px; }
.line-chip b { display: block; color: var(--primary); font-size: 16px; font-weight: 700; }

/* CTA 横幅 */
.cta-band {
  background: linear-gradient(120deg, var(--primary-dark), var(--primary) 55%, var(--accent));
  border-radius: 18px; padding: 46px 40px; color: #fff; text-align: center; margin-top: 20px;
}
.cta-band h2 { font-size: 28px; margin-bottom: 10px; }
.cta-band p { color: #d7e6f2; margin-bottom: 24px; font-size: 16px; }
.cta-band .btn-primary { background: #fff; color: var(--primary); }
.cta-band .btn-primary:hover { box-shadow: 0 10px 24px rgba(0,0,0,.2); }

/* ---------- 优势 ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature { text-align: center; padding: 30px 18px; }
.feature .ico { font-size: 34px; margin-bottom: 14px; }
.feature h4 { color: var(--primary); font-size: 17px; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 14px; }

/* ---------- 流程 ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 28px 22px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); }
.step::before {
  counter-increment: step; content: counter(step); position: absolute; top: -18px; left: 22px;
  width: 40px; height: 40px; border-radius: 50%; background: var(--primary); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 18px;
}
.step h4 { margin: 12px 0 8px; color: var(--primary); }
.step p { color: var(--muted); font-size: 14px; }

/* ---------- 关于我们 ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.about-text h2 { font-size: 30px; color: var(--primary); margin-bottom: 18px; }
.about-text p { color: var(--muted); margin-bottom: 16px; font-size: 16px; }
.about-text ul { list-style: none; margin: 18px 0; }
.about-text li { padding-left: 28px; position: relative; margin-bottom: 12px; color: var(--ink); }
.about-text li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.about-visual {
  background: linear-gradient(135deg, var(--primary), var(--accent)); border-radius: 18px;
  padding: 40px; color: #fff; min-height: 320px; display: flex; flex-direction: column; justify-content: center;
}
.about-visual h3 { font-size: 22px; margin-bottom: 18px; }
.about-visual .row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.about-visual .row:last-child { border-bottom: 0; }
.about-visual .row b { font-size: 20px; }
.about-visual .row span { color: #cfe8f5; }

/* 时间线 */
.timeline { margin-top: 20px; border-left: 3px solid var(--accent); padding-left: 24px; }
.timeline .item { position: relative; margin-bottom: 26px; }
.timeline .item::before {
  content: ""; position: absolute; left: -32px; top: 4px; width: 14px; height: 14px;
  border-radius: 50%; background: var(--accent); border: 3px solid #fff; box-shadow: 0 0 0 3px var(--accent);
}
.timeline .item .year { font-weight: 800; color: var(--primary); }
.timeline .item p { color: var(--muted); }

/* ---------- 联系我们 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.info-list { list-style: none; }
.info-list li { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.info-list .ico { font-size: 22px; }
.info-list .txt b { display: block; color: var(--primary); }
.info-list .txt span { color: var(--muted); font-size: 15px; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.form-card h3 { color: var(--primary); margin-bottom: 18px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14px; color: var(--ink); margin-bottom: 6px; font-weight: 600; }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  font-size: 15px; font-family: inherit; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0, 180, 216, .15);
}
.field textarea { resize: vertical; min-height: 110px; }
.submit-btn {
  width: 100%; background: var(--primary); color: #fff; border: 0; padding: 14px;
  border-radius: 10px; font-weight: 700; font-size: 16px; cursor: pointer; transition: background .2s;
}
.submit-btn:hover { background: var(--primary-dark); }
.form-note { font-size: 13px; color: var(--muted); margin-top: 12px; text-align: center; }
.form-note.success { color: #15803d; font-weight: 600; }
.form-note.error { color: #dc2626; font-weight: 600; }
.qr-box {
  margin-top: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; text-align: center; box-shadow: var(--shadow);
}
.qr-box img { width: 180px; height: 180px; object-fit: contain; border-radius: 10px; }
.qr-box p { margin-top: 12px; color: var(--muted); font-size: 14px; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--bg-dark); color: #c3d4e4; padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.site-footer h4 { color: #fff; font-size: 16px; margin-bottom: 18px; }
.site-footer a { color: #c3d4e4; font-size: 14px; display: block; margin-bottom: 10px; transition: color .2s; }
.site-footer a:hover { color: var(--accent); }
.site-footer .brand .name { color: #fff; }
.site-footer p { font-size: 14px; line-height: 1.9; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 40px; padding-top: 22px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px; color: #8aa3ba;
}
.soon-tag {
  display: inline-block; background: rgba(255, 122, 24, .15); color: var(--accent-2);
  border: 1px solid rgba(255, 122, 24, .4); padding: 3px 12px; border-radius: 20px; font-size: 12px; font-weight: 700;
}

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .grid-3, .features, .steps, .lines-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column;
    gap: 0; padding: 8px 22px 16px; border-bottom: 1px solid var(--line); display: none; box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; border-bottom: 1px solid var(--line); }
  .nav-links a { display: block; padding: 14px 0; }
  .menu-toggle { display: flex; }
  .nav-cta { display: none; }
  .hero h1 { font-size: 30px; }
  .hero .container { padding-top: 64px; padding-bottom: 64px; }
  .grid-3, .features, .steps, .grid-2 { grid-template-columns: 1fr; }
  .lines-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
  .cta-band { padding: 34px 22px; }
  .cta-band h2 { font-size: 22px; }
}
