/* ============================================
   笛林国际 DILIN LOGISTICS — 深海蓝 + 橙色
   中英双语静态官网 公共样式
   ============================================ */

:root {
  --blue-900: #062844;
  --blue-800: #0A3D62;
  --blue-700: #0E4A7B;
  --blue-600: #145DA0;
  --blue-100: #E3EDF6;
  --blue-50:  #F2F7FB;
  --orange:   #F07300;
  --orange-d: #D86600;
  --text-1:   #1C2B36;
  --text-2:   #55677A;
  --text-3:   #8598A8;
  --line:     #DCE6EE;
  --white:    #FFFFFF;
  --radius:   10px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text-1);
  background: var(--white);
  line-height: 1.7;
  font-size: 15px;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---------- 语言切换：默认中文 ---------- */
body.lang-zh .en { display: none !important; }
body.lang-en .zh { display: none !important; }

.container { width: 90%; max-width: 1180px; margin: 0 auto; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 8px rgba(6,40,68,.06);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 9px;
  background: var(--blue-800);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 20px;
  position: relative;
}
.brand-mark::after {
  content: ""; position: absolute; bottom: 8px; left: 9px;
  width: 26px; height: 3px; border-radius: 2px; background: var(--orange);
}
.brand-logo { flex: none; display: flex; align-items: center; }
.brand-logo img { height: 46px; width: auto; display: block; }
.footer-brand .brand-logo img { height: 40px; }
.brand-name { line-height: 1.25; }
.brand-name .zh, .brand-name .en { display: block; }
.brand-name strong { font-size: 19px; color: var(--blue-800); letter-spacing: 1px; }
.brand-name span { font-size: 11px; color: var(--text-3); letter-spacing: .5px; }

.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  padding: 8px 16px; border-radius: 8px;
  font-size: 15px; color: var(--text-1); font-weight: 500;
  transition: all .2s;
}
.main-nav a:hover { color: var(--blue-600); background: var(--blue-50); }
.main-nav a.active { color: var(--blue-700); background: var(--blue-100); }

.lang-btn {
  margin-left: 10px;
  border: 1.5px solid var(--blue-600); color: var(--blue-700);
  background: #fff; border-radius: 20px;
  padding: 6px 18px; font-size: 14px; font-weight: 600;
  cursor: pointer; transition: all .2s; letter-spacing: 1px;
}
.lang-btn:hover { background: var(--blue-600); color: #fff; }

.nav-toggle { display: none; border: none; background: none; cursor: pointer; padding: 8px; }
.nav-toggle svg { width: 26px; height: 26px; stroke: var(--blue-800); }

/* ---------- Banner 轮播 ---------- */
.banner { position: relative; height: 480px; overflow: hidden; background: var(--blue-900); }
.banner-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease;
  background-size: cover; background-position: center;
}
.banner-slide.on { opacity: 1; }
.banner-slide::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(6,40,68,.78) 0%, rgba(10,61,98,.45) 55%, rgba(10,61,98,.15) 100%);
}
.banner-caption {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; justify-content: center;
  color: #fff; max-width: 640px;
}
.banner-caption .kicker {
  display: inline-flex; align-self: flex-start;
  background: var(--orange); color: #fff;
  font-size: 13px; font-weight: 600; letter-spacing: 2px;
  padding: 4px 14px; border-radius: 4px; margin-bottom: 18px;
}
.banner-caption h1 { font-size: 38px; line-height: 1.35; font-weight: 700; letter-spacing: 1px; }
.banner-caption p { margin-top: 14px; font-size: 17px; color: rgba(255,255,255,.88); }
.banner-cta {
  margin-top: 28px; display: flex; gap: 14px;
}
.banner-cta a {
  padding: 12px 30px; border-radius: 8px; font-size: 15px; font-weight: 600;
  transition: all .2s;
}
.banner-cta .primary { background: var(--orange); color: #fff; }
.banner-cta .primary:hover { background: var(--orange-d); }
.banner-cta .ghost { border: 1.5px solid rgba(255,255,255,.7); color: #fff; }
.banner-cta .ghost:hover { background: rgba(255,255,255,.15); }

.banner-dots {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 10px; z-index: 3;
}
.banner-dots button {
  width: 34px; height: 4px; border: none; border-radius: 2px;
  background: rgba(255,255,255,.4); cursor: pointer; transition: background .3s;
}
.banner-dots button.on { background: var(--orange); }

/* ---------- 通用区块 ---------- */
.section { padding: 72px 0; }
.section.alt { background: var(--blue-50); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 46px; }
.section-head .eyebrow {
  color: var(--orange); font-size: 13px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase;
}
.section-head h2 { font-size: 30px; color: var(--blue-800); margin: 8px 0 12px; font-weight: 700; }
.section-head p { color: var(--text-2); font-size: 15px; }

/* ---------- 首页简介 ---------- */
.about-quick { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.about-quick h3 { font-size: 24px; color: var(--blue-800); margin-bottom: 16px; font-weight: 700; }
.about-quick p { color: var(--text-2); margin-bottom: 12px; }
.about-points { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.about-points li {
  display: flex; gap: 8px; align-items: flex-start;
  color: var(--text-1); font-size: 14px;
}
.about-points li::before {
  content: ""; flex: none; width: 8px; height: 8px; border-radius: 2px;
  background: var(--orange); margin-top: 8px;
}
.about-photo { border-radius: var(--radius); overflow: hidden; box-shadow: 0 10px 30px rgba(6,40,68,.15); }
.about-photo img { width: 100%; height: 340px; object-fit: cover; }

/* ---------- 数据条 ---------- */
.stats-band { background: var(--blue-800); color: #fff; padding: 44px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-num { font-size: 40px; font-weight: 700; color: #fff; }
.stat-num em { font-style: normal; color: var(--orange); font-size: 26px; }
.stat-label { font-size: 14px; color: rgba(255,255,255,.75); margin-top: 4px; }

/* ---------- 业务宫格 ---------- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.service-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; transition: all .25s; display: block;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(6,40,68,.12);
  border-color: var(--blue-600);
}
.service-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--blue-100); color: var(--blue-700);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.service-icon svg { width: 28px; height: 28px; }
.service-card h4 { font-size: 17px; color: var(--blue-800); margin-bottom: 8px; font-weight: 600; }
.service-card p { font-size: 13.5px; color: var(--text-2); }
.service-card .tag {
  display: inline-block; margin-top: 10px;
  font-size: 11.5px; color: var(--orange); font-weight: 600; letter-spacing: .5px;
}
.service-card.feature {
  background: linear-gradient(160deg, var(--blue-800), var(--blue-600));
  border: none; color: #fff;
}
.service-card.feature h4 { color: #fff; }
.service-card.feature p { color: rgba(255,255,255,.82); }
.service-card.feature .service-icon { background: rgba(255,255,255,.16); color: #fff; }
.service-card.feature .tag { color: #FFC48A; }
.service-card.feature:hover { box-shadow: 0 14px 34px rgba(10,61,98,.35); }

/* ---------- 为什么选择 ---------- */
.why-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.why-item {
  background: #fff; border-radius: var(--radius); padding: 24px 18px;
  border-top: 3px solid var(--blue-600); box-shadow: 0 3px 14px rgba(6,40,68,.06);
}
.why-item .no {
  font-size: 26px; font-weight: 700; color: var(--blue-100);
  -webkit-text-stroke: 1px var(--blue-600); color: transparent;
}
.why-item h4 { font-size: 16px; color: var(--blue-800); margin: 10px 0 8px; font-weight: 600; }
.why-item p { font-size: 13px; color: var(--text-2); }

/* ---------- 承诺 ---------- */
.promise-band { background: var(--blue-900); color: #fff; }
.promise-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: center; }
.promise-slogan h3 { font-size: 30px; line-height: 1.5; font-weight: 700; }
.promise-slogan .en-slogan { font-size: 15px; color: var(--orange); letter-spacing: 1px; margin-top: 6px; font-weight: 600; }
.promise-list li {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 0; border-bottom: 1px dashed rgba(255,255,255,.18);
}
.promise-list li:last-child { border-bottom: none; }
.promise-list .p-icon {
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  background: var(--orange); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.promise-list h4 { font-size: 16px; font-weight: 600; }
.promise-list p { font-size: 13.5px; color: rgba(255,255,255,.72); }

/* ---------- 页面小横幅 ---------- */
.page-hero {
  background: linear-gradient(120deg, var(--blue-900), var(--blue-600));
  color: #fff; padding: 64px 0; position: relative; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; right: -60px; top: -60px;
  width: 260px; height: 260px; border-radius: 50%;
  background: rgba(240,115,0,.18);
}
.page-hero .crumbs { font-size: 13px; color: rgba(255,255,255,.65); margin-bottom: 10px; }
.page-hero .crumbs a:hover { color: #fff; }
.page-hero h1 { font-size: 32px; font-weight: 700; letter-spacing: 1px; }
.page-hero p { margin-top: 8px; color: rgba(255,255,255,.8); font-size: 15px; max-width: 640px; }

/* ---------- 业务详情页 ---------- */
.biz-block {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  align-items: center; padding: 46px 0;
  border-bottom: 1px solid var(--line);
}
.biz-block:last-child { border-bottom: none; }
.biz-block:nth-child(even) .biz-media { order: 2; }
.biz-media { border-radius: var(--radius); overflow: hidden; box-shadow: 0 8px 24px rgba(6,40,68,.12); }
.biz-media img { width: 100%; height: 300px; object-fit: cover; }
/* 图片拼贴：1/2/4 张自适应 */
.biz-media.collage { display: grid; gap: 8px; overflow: visible; box-shadow: none; }
.biz-media.collage img { border-radius: 8px; box-shadow: 0 6px 18px rgba(6,40,68,.12); }
.biz-media.collage.c2 { grid-template-columns: 1fr 1fr; }
.biz-media.collage.c2 img { height: 300px; }
.biz-media.collage.c3 { grid-template-columns: 1.15fr 1fr; }
.biz-media.collage.c3 img:nth-child(1) { grid-row: span 2; height: 300px; }
.biz-media.collage.c3 img:nth-child(2), .biz-media.collage.c3 img:nth-child(3) { height: 146px; }
.biz-media.collage.c4 { grid-template-columns: 1fr 1fr; }
.biz-media.collage.c4 img { height: 146px; }
/* 业务页锚点导航 */
.biz-anchor {
  background: #fff; border-bottom: 1px solid var(--line);
  padding: 12px 0; position: sticky; top: 72px; z-index: 90;
}
.biz-anchor .container { display: flex; gap: 8px; flex-wrap: wrap; }
.biz-anchor a {
  font-size: 13px; padding: 5px 14px; border-radius: 16px;
  border: 1px solid var(--line); color: var(--text-2); transition: all .2s;
}
.biz-anchor a:hover { border-color: var(--orange); color: var(--orange); }
.biz-anchor a.hot { background: var(--blue-800); border-color: var(--blue-800); color: #fff; }
.biz-body .eyebrow { color: var(--orange); font-size: 12.5px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
.biz-body h3 { font-size: 24px; color: var(--blue-800); margin: 6px 0 14px; font-weight: 700; }
.biz-body p { color: var(--text-2); margin-bottom: 14px; }
.biz-points { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; }
.biz-points li {
  font-size: 13.5px; color: var(--text-1);
  display: flex; gap: 8px; align-items: flex-start;
}
.biz-points li::before {
  content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%;
  background: var(--blue-600); margin-top: 8px;
}

/* ---------- 案例小卡 ---------- */
.case-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 28px; }
.case-card { border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); }
.case-card img { width: 100%; height: 170px; object-fit: cover; }
.case-card .case-txt { padding: 14px 16px; }
.case-card h5 { font-size: 14.5px; color: var(--blue-800); font-weight: 600; }
.case-card p { font-size: 12.5px; color: var(--text-2); margin-top: 4px; }

/* ---------- 专线页 ---------- */
.line-card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  overflow: hidden; display: grid; grid-template-columns: .85fr 1.15fr;
  margin-bottom: 34px; box-shadow: 0 6px 20px rgba(6,40,68,.07);
}
.line-card .line-media { position: relative; min-height: 280px; }
.line-card .line-media img { width: 100%; height: 100%; object-fit: cover; }
.line-card.hl { border: 2px solid var(--orange); }
.line-card .badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--blue-700); color: #fff;
  font-size: 12.5px; font-weight: 600; letter-spacing: 1px;
  padding: 4px 12px; border-radius: 4px;
}
.line-card.hl .badge { background: var(--orange); }
.line-body { padding: 30px 32px; }
.line-body h3 { font-size: 22px; color: var(--blue-800); font-weight: 700; }
.line-body .route { color: var(--orange); font-size: 13.5px; font-weight: 600; margin: 4px 0 14px; letter-spacing: .5px; }
.line-attrs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.line-attr {
  background: var(--blue-50); border-radius: 8px; padding: 12px 14px;
}
.line-attr b { display: block; font-size: 13.5px; color: var(--blue-700); margin-bottom: 3px; }
.line-attr span { font-size: 12.5px; color: var(--text-2); }

/* ---------- 关于页网络 ---------- */
.net-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.net-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; text-align: center; transition: all .25s;
}
.net-card:hover { border-color: var(--orange); transform: translateY(-4px); box-shadow: 0 10px 26px rgba(6,40,68,.1); }
.net-card .flag { font-size: 34px; line-height: 1; }
.net-card h4 { font-size: 18px; color: var(--blue-800); margin: 12px 0 6px; font-weight: 600; }
.net-card .tagline { font-size: 12.5px; color: var(--orange); font-weight: 600; }
.net-card p { font-size: 13px; color: var(--text-2); margin-top: 8px; }

.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value-card { background: #fff; border-radius: var(--radius); padding: 28px; border-left: 4px solid var(--orange); box-shadow: 0 3px 14px rgba(6,40,68,.06); }
.value-card h4 { color: var(--blue-800); font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.value-card p { font-size: 13.5px; color: var(--text-2); }

/* ---------- 联系页 ---------- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }
.contact-info-card {
  background: var(--blue-800); color: #fff; border-radius: 14px;
  padding: 36px 34px;
}
.contact-info-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 20px; }
.contact-info-card li { display: flex; gap: 14px; padding: 13px 0; border-bottom: 1px dashed rgba(255,255,255,.18); align-items: flex-start; }
.contact-info-card li:last-child { border: none; }
.contact-info-card .c-icon {
  flex: none; width: 38px; height: 38px; border-radius: 9px;
  background: rgba(255,255,255,.14); display: flex; align-items: center; justify-content: center;
}
.contact-info-card .c-icon svg { width: 19px; height: 19px; stroke: #fff; }
.contact-info-card b { display: block; font-size: 13px; color: rgba(255,255,255,.65); font-weight: 400; }
.contact-info-card span { font-size: 15px; font-weight: 500; word-break: break-all; }

.quote-form { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 34px; }
.quote-form h3 { font-size: 20px; color: var(--blue-800); font-weight: 700; margin-bottom: 6px; }
.quote-form .hint { font-size: 13px; color: var(--text-3); margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.quote-form label { display: block; font-size: 13px; color: var(--text-2); margin: 0 0 5px 2px; }
.quote-form input, .quote-form select, .quote-form textarea {
  width: 100%; padding: 11px 13px; margin-bottom: 16px;
  border: 1px solid var(--line); border-radius: 8px;
  font-size: 14px; font-family: inherit; color: var(--text-1);
  background: var(--blue-50); outline: none; transition: border .2s;
}
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { border-color: var(--blue-600); background: #fff; }
.quote-form textarea { min-height: 120px; resize: vertical; }
.btn-submit {
  width: 100%; padding: 13px; border: none; border-radius: 8px;
  background: var(--orange); color: #fff; font-size: 15px; font-weight: 600;
  cursor: pointer; transition: background .2s; letter-spacing: 2px;
}
.btn-submit:hover { background: var(--orange-d); }

/* ---------- CTA 横条 ---------- */
.cta-band { background: var(--orange); padding: 40px 0; }
.cta-band .container { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.cta-band h3 { color: #fff; font-size: 23px; font-weight: 700; }
.cta-band p { color: rgba(255,255,255,.85); font-size: 14px; margin-top: 4px; }
.cta-band a {
  background: #fff; color: var(--orange-d); font-weight: 700;
  padding: 12px 30px; border-radius: 8px; font-size: 15px; transition: all .2s;
}
.cta-band a:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.18); }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--blue-900); color: rgba(255,255,255,.78); padding: 54px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 38px; }
.footer-grid h4 { color: #fff; font-size: 15px; font-weight: 600; margin-bottom: 16px; }
.footer-grid p { font-size: 13.5px; line-height: 1.9; }
.footer-grid li { font-size: 13.5px; padding: 4px 0; }
.footer-grid a:hover { color: #fff; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand .brand-mark { background: rgba(255,255,255,.12); }
.footer-brand strong { color: #fff; font-size: 17px; letter-spacing: 1px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 18px 0; text-align: center; font-size: 12.5px; color: rgba(255,255,255,.5);
}

/* ---------- 移动端 ---------- */
/* 专线属性卡（业务页内嵌用） */
.biz-body .line-attrs { margin-top: 16px; }

@media (max-width: 960px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .about-quick, .promise-inner, .contact-wrap, .biz-block, .line-card { grid-template-columns: 1fr; }
  .biz-block:nth-child(even) .biz-media { order: 0; }
  .biz-anchor { top: 0; position: static; }
  .biz-media.collage.c2 img { height: 200px; }
  .biz-media.collage.c3 img:nth-child(1) { height: 260px; }
  .biz-media.collage.c3 img:nth-child(2), .biz-media.collage.c3 img:nth-child(3) { height: 126px; }
  .biz-media.collage.c4 img { height: 130px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .net-grid, .value-grid { grid-template-columns: 1fr; }
  .banner-caption h1 { font-size: 27px; }
  .banner { height: 420px; }

  .main-nav {
    position: fixed; top: 72px; left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: stretch;
    padding: 12px 6%; gap: 2px; border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(6,40,68,.12);
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 14px; }
  .nav-toggle { display: block; margin-left: auto; }
  .lang-btn { margin-left: 12px; }
}
@media (max-width: 560px) {
  .section { padding: 48px 0; }
  .form-row { grid-template-columns: 1fr; }
  .line-attrs, .biz-points { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr; }
  .brand-name span { display: none; }
}
