/* ========== 浙江德洋国际货运代理有限公司 官网样式 ========== */
:root {
  --navy: #0b2545;
  --navy-2: #13315c;
  --blue: #1f6feb;
  --blue-light: #e8f1fd;
  --orange: #ff7a1a;
  --ink: #1c2733;
  --gray: #5b6b7b;
  --line: #e3e9f0;
  --bg: #f6f8fb;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 8px 30px rgba(11, 37, 69, .08);
  --maxw: 1180px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- 顶部信息条 ---------- */
.topbar {
  background: var(--navy);
  color: rgba(255, 255, 255, .82);
  font-size: 13px;
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; height: 38px; }
.topbar a { color: #ffd9b0; }
.topbar .tb-right a { margin-left: 18px; color: rgba(255,255,255,.82); }
.topbar .tb-right a:hover { color: #fff; }

/* ---------- 导航 ---------- */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.navbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 44px; height: 44px; border-radius: 10px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 18px; letter-spacing: 1px;
}
.logo-text { line-height: 1.25; }
.logo-text .cn { font-size: 17px; font-weight: 700; color: var(--navy); }
.logo-text .en { font-size: 10.5px; color: var(--gray); letter-spacing: .4px; }
.nav-menu { display: flex; list-style: none; gap: 6px; align-items: center; }
.nav-menu a {
  display: block; padding: 8px 16px; color: var(--ink); font-size: 15.5px;
  border-radius: 8px; transition: all .2s;
}
.nav-menu a:hover { color: var(--blue); background: var(--blue-light); }
.nav-menu a.active { color: var(--blue); font-weight: 600; }
.nav-menu a.nav-cta {
  background: var(--orange); color: #fff; font-weight: 600; margin-left: 8px;
}
.nav-menu a.nav-cta:hover { background: #f06d08; color: #fff; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: .3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(120deg, #0b2545 0%, #13315c 45%, #1f4e8f 100%);
  color: #fff;
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -120px; top: -80px;
  width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(31,111,235,.35) 0%, rgba(31,111,235,0) 70%);
}
.hero .wrap { position: relative; z-index: 2; padding-top: 92px; padding-bottom: 100px; }
.hero-badge {
  display: inline-block; padding: 6px 14px; border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px; font-size: 13px; letter-spacing: 2px; color: #ffd9b0; margin-bottom: 22px;
}
.hero h1 { font-size: 46px; line-height: 1.3; font-weight: 800; max-width: 720px; }
.hero h1 em { font-style: normal; color: #ffb066; }
.hero p.sub { margin-top: 20px; font-size: 17px; color: rgba(255,255,255,.78); max-width: 640px; }
.hero-actions { margin-top: 36px; display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 13px 32px; border-radius: 10px; font-size: 16px;
  font-weight: 600; transition: all .2s; cursor: pointer; border: none;
}
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 6px 20px rgba(255,122,26,.35); }
.btn-primary:hover { background: #f06d08; transform: translateY(-2px); }
.btn-ghost { border: 1.5px solid rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.hero-stats { display: flex; gap: 48px; margin-top: 56px; flex-wrap: wrap; }
.hero-stats .st .num { font-size: 34px; font-weight: 800; color: #ffd9b0; }
.hero-stats .st .lbl { font-size: 13.5px; color: rgba(255,255,255,.7); margin-top: 2px; }

/* ---------- 通用区块 ---------- */
.section { padding: 84px 0; }
.section.gray { background: var(--bg); }
.sec-head { text-align: center; margin-bottom: 52px; }
.sec-head .en { font-size: 13px; letter-spacing: 3px; color: var(--blue); font-weight: 700; text-transform: uppercase; }
.sec-head h2 { font-size: 34px; color: var(--navy); margin-top: 8px; font-weight: 800; }
.sec-head p { color: var(--gray); margin-top: 12px; max-width: 620px; margin-left: auto; margin-right: auto; }

/* ---------- 服务卡片 ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.svc-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 24px; transition: all .25s; position: relative; overflow: hidden;
}
.svc-card::before {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
  transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.svc-card:hover::before { transform: scaleX(1); }
.svc-icon {
  width: 54px; height: 54px; border-radius: 12px; background: var(--blue-light);
  display: flex; align-items: center; justify-content: center; font-size: 26px; margin-bottom: 16px;
}
.svc-card h3 { font-size: 17.5px; color: var(--navy); margin-bottom: 8px; }
.svc-card p { font-size: 13.5px; color: var(--gray); line-height: 1.75; }

/* ---------- 优势 ---------- */
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.adv-item { display: flex; gap: 16px; }
.adv-num {
  flex: 0 0 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.adv-item h3 { font-size: 17px; color: var(--navy); margin-bottom: 6px; }
.adv-item p { font-size: 13.5px; color: var(--gray); }

/* ---------- 政策区（首页） ---------- */
.policy-home { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.policy-home .intro h2 { font-size: 30px; color: var(--navy); font-weight: 800; margin-bottom: 14px; }
.policy-home .intro p { color: var(--gray); margin-bottom: 22px; }
.policy-list { list-style: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.policy-list li { border-bottom: 1px solid var(--line); }
.policy-list li:last-child { border-bottom: none; }
.policy-list a {
  display: flex; gap: 14px; align-items: baseline; padding: 14px 20px; color: var(--ink);
  transition: background .2s; font-size: 14.5px;
}
.policy-list a:hover { background: var(--blue-light); }
.policy-list .p-date { flex: 0 0 92px; color: var(--blue); font-size: 13px; font-variant-numeric: tabular-nums; }
.policy-list .p-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.policy-loading, .policy-empty { padding: 26px; text-align: center; color: var(--gray); font-size: 14px; }

/* ---------- 关于我们 ---------- */
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.about-text h2 { font-size: 30px; color: var(--navy); font-weight: 800; margin-bottom: 18px; }
.about-text p { color: var(--gray); margin-bottom: 14px; text-align: justify; }
.about-panel {
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-2) 60%, #1f4e8f 100%);
  border-radius: 18px; padding: 40px 36px; color: #fff;
}
.about-panel .ap-item { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px dashed rgba(255,255,255,.2); font-size: 14.5px; }
.about-panel .ap-item:last-child { border-bottom: none; }
.about-panel .ap-item b { color: #ffd9b0; font-weight: 600; }

/* ---------- CTA 横幅 ---------- */
.cta-band {
  background: linear-gradient(100deg, var(--orange) 0%, #ff9a4d 100%);
  border-radius: 18px; padding: 46px 52px; color: #fff;
  display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap;
}
.cta-band h2 { font-size: 28px; font-weight: 800; }
.cta-band p { opacity: .92; margin-top: 6px; }
.cta-band .btn { background: #fff; color: var(--orange); }
.cta-band .btn:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0,0,0,.15); }

/* ---------- 页脚 ---------- */
.footer { background: var(--navy); color: rgba(255,255,255,.72); margin-top: 0; }
.footer .wrap { padding-top: 56px; padding-bottom: 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.footer a { color: rgba(255,255,255,.72); display: block; padding: 4px 0; font-size: 14px; }
.footer a:hover { color: #ffd9b0; }
.footer .f-desc { font-size: 13.5px; line-height: 1.9; }
.footer .f-contact div { padding: 4px 0; font-size: 14px; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 22px; font-size: 12.5px; color: rgba(255,255,255,.45); flex-wrap: wrap; gap: 8px; }
.footer-bottom a { color: rgba(255,255,255,.55); display: inline; }

/* ---------- 子页横幅 ---------- */
.page-banner {
  background: linear-gradient(110deg, #0b2545 0%, #1f4e8f 100%);
  color: #fff; padding: 64px 0;
}
.page-banner h1 { font-size: 36px; font-weight: 800; }
.page-banner .crumb { margin-top: 10px; font-size: 13.5px; color: rgba(255,255,255,.7); }
.page-banner .crumb a { color: #ffd9b0; }

/* ---------- 政策页 ---------- */
.policy-tools { display: flex; gap: 14px; margin-bottom: 26px; flex-wrap: wrap; align-items: center; }
.policy-tools input {
  flex: 1; min-width: 240px; padding: 12px 16px; border: 1px solid var(--line);
  border-radius: 10px; font-size: 15px; outline: none; transition: border .2s;
}
.policy-tools input:focus { border-color: var(--blue); }
.policy-tools .upd { font-size: 13px; color: var(--gray); }
.policy-full { list-style: none; }
.policy-full li {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 18px 22px; margin-bottom: 14px; transition: all .2s;
}
.policy-full li:hover { box-shadow: var(--shadow); border-color: #cfe0f6; }
.policy-full .pf-top { display: flex; justify-content: space-between; gap: 18px; align-items: baseline; }
.policy-full .pf-title { font-size: 16px; font-weight: 600; color: var(--navy); }
.policy-full .pf-title a { color: inherit; }
.policy-full .pf-title a:hover { color: var(--blue); }
.policy-full .pf-date { flex: 0 0 auto; font-size: 13px; color: var(--blue); font-variant-numeric: tabular-nums; }
.policy-full .pf-sum { font-size: 13.5px; color: var(--gray); margin-top: 8px; }
.pf-src { font-size: 12.5px; color: #9aa9b8; margin-top: 8px; }

/* ---------- 联系页 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; }
.contact-card h3 { color: var(--navy); font-size: 19px; margin-bottom: 18px; }
.contact-line { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.contact-line:last-child { border-bottom: none; }
.contact-line .k { flex: 0 0 84px; color: var(--gray); }
.contact-line .v { color: var(--ink); font-weight: 500; }

/* ---------- 工作台页 ---------- */
.work-hero { padding: 90px 0; text-align: center; }
.work-hero h1 { font-size: 34px; color: var(--navy); font-weight: 800; }
.work-hero p { color: var(--gray); margin: 16px auto 30px; max-width: 560px; }
.work-cards { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; margin-top: 10px; }
.work-card {
  width: 320px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; text-align: left; transition: all .2s;
}
.work-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.work-card h3 { color: var(--navy); font-size: 18px; margin-bottom: 8px; }
.work-card p { font-size: 13.5px; color: var(--gray); margin-bottom: 18px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .policy-home, .about-grid, .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .topbar .tb-left { display: none; }
  .topbar .wrap { justify-content: center; }
  .nav-toggle { display: block; }
  .nav-menu {
    position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: stretch;
    padding: 12px 20px 20px; border-bottom: 1px solid var(--line);
    display: none; box-shadow: 0 18px 30px rgba(11,37,69,.1);
  }
  .nav-menu.open { display: flex; }
  .nav-menu a { padding: 12px 10px; font-size: 16px; }
  .nav-menu a.nav-cta { margin-left: 0; text-align: center; margin-top: 6px; }
  .hero .wrap { padding-top: 60px; padding-bottom: 64px; }
  .hero h1 { font-size: 30px; }
  .hero-stats { gap: 26px; }
  .section { padding: 56px 0; }
  .sec-head h2 { font-size: 26px; }
  .svc-grid, .adv-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 34px 26px; }
  .footer-grid { grid-template-columns: 1fr; }
  .policy-list .p-date { flex-basis: 80px; }
}
