/* ============ 货代公司官网样式（简约大气） ============ */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  color: #333; background: #fff; font-size: 15px; line-height: 1.7;
}
a { text-decoration: none; color: inherit; transition: color .2s; }
img { max-width: 100%; border: 0; display: block; }
ul { list-style: none; }
.container { width: 1200px; max-width: 94%; margin: 0 auto; }
:root { --blue: #0e4d92; --blue2: #1a73c8; --dark: #10233c; --gray: #f5f7fa; }

/* 顶部信息条 */
.topbar { background: var(--dark); color: #cdd8e6; font-size: 13px; padding: 7px 0; }
.topbar .container { display: flex; justify-content: space-between; }
.topbar-right { color: #fff; }

/* 导航栏 */
.site-header { background: #fff; box-shadow: 0 2px 12px rgba(16,35,60,.08); position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: flex; align-items: center; font-size: 22px; font-weight: 700; color: var(--dark); letter-spacing: 1px; }
.logo-mark { color: var(--blue2); font-size: 26px; margin-right: 8px; }
.main-nav { display: flex; gap: 42px; }
.main-nav a { font-size: 16px; color: #333; padding: 26px 2px; position: relative; }
.main-nav a:hover, .main-nav a.on { color: var(--blue2); }
.main-nav a.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: 18px; height: 3px; background: var(--blue2); border-radius: 2px; }

/* 大图轮播 */
.banner { position: relative; height: 520px; overflow: hidden; background: var(--dark); }
.banner-item { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity .9s ease; }
.banner-item.on { opacity: 1; }
.banner-text { height: 100%; display: flex; flex-direction: column; justify-content: center; }
.banner-text h2 { color: #fff; font-size: 44px; letter-spacing: 3px; text-shadow: 0 2px 14px rgba(0,0,0,.45); }
.banner-text p { color: #dfe9f5; font-size: 18px; margin-top: 14px; letter-spacing: 6px; text-shadow: 0 2px 10px rgba(0,0,0,.4); }
.banner-dots { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; z-index: 5; }
.banner-dots span { display: inline-block; width: 30px; height: 4px; margin: 0 5px; background: rgba(255,255,255,.45); border-radius: 2px; cursor: pointer; transition: background .3s; }
.banner-dots span.on { background: #fff; }
.banner-prev, .banner-next { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; line-height: 44px; text-align: center; color: #fff; font-size: 30px; background: rgba(0,0,0,.25); border-radius: 50%; cursor: pointer; z-index: 5; user-select: none; }
.banner-prev { left: 24px; } .banner-next { right: 24px; }
.banner-prev:hover, .banner-next:hover { background: rgba(0,0,0,.5); }

/* 通用区块 */
.sec { padding: 70px 0; }
.sec.gray { background: var(--gray); }
.sec-head { text-align: center; margin-bottom: 44px; }
.sec-head h2 { font-size: 30px; color: var(--dark); letter-spacing: 2px; }
.sec-head p { color: #98a6b8; font-size: 14px; letter-spacing: 4px; text-transform: uppercase; margin-top: 6px; }
.sec-head .line { width: 46px; height: 3px; background: var(--blue2); margin: 14px auto 0; border-radius: 2px; }
.btn { display: inline-block; background: var(--blue2); color: #fff; padding: 10px 30px; border-radius: 3px; font-size: 15px; border: 1px solid var(--blue2); cursor: pointer; }
.btn:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn-line { background: transparent; color: var(--blue2); }
.btn-line:hover { background: var(--blue2); color: #fff; }

/* 服务图片走马灯 */
.marquee { overflow: hidden; position: relative; }
.marquee-track { display: flex; gap: 24px; width: max-content; animation: marquee 30s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.svc-card { width: 330px; flex-shrink: 0; background: #fff; border-radius: 6px; overflow: hidden; box-shadow: 0 3px 16px rgba(16,35,60,.10); display: block; }
.svc-card:hover { box-shadow: 0 8px 26px rgba(14,77,146,.22); }
.svc-img { height: 210px; overflow: hidden; }
.svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.svc-card:hover .svc-img img { transform: scale(1.06); }
.svc-card h3 { font-size: 18px; color: var(--dark); padding: 16px 18px 4px; }
.svc-card p { font-size: 13px; color: #8291a5; padding: 0 18px 18px; }
.marquee-mask { position: absolute; top: 0; bottom: 0; width: 60px; z-index: 2; pointer-events: none; }
.marquee-mask.l { left: 0; background: linear-gradient(90deg, #fff, transparent); }
.marquee-mask.r { right: 0; background: linear-gradient(-90deg, #fff, transparent); }

/* 服务网格（服务项目页） */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.svc-grid .svc-card { width: auto; }

/* 关于我们 */
.about-flex { display: flex; gap: 50px; align-items: center; }
.about-flex .txt { flex: 1; }
.about-flex .img { flex: 1; }
.about-flex h3 { font-size: 24px; color: var(--dark); margin-bottom: 16px; }
.about-flex p { color: #5b6b80; text-align: justify; }

/* 首页新闻 */
.news-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.news-item { background: #fff; border-radius: 6px; padding: 24px 26px; box-shadow: 0 2px 12px rgba(16,35,60,.08); display: flex; gap: 18px; }
.news-item:hover { box-shadow: 0 6px 22px rgba(14,77,146,.16); }
.news-date { background: var(--gray); border-radius: 6px; width: 72px; text-align: center; padding: 10px 0; flex-shrink: 0; }
.news-date b { display: block; font-size: 26px; color: var(--blue2); }
.news-date span { font-size: 12px; color: #98a6b8; }
.news-item h3 { font-size: 17px; color: var(--dark); margin-bottom: 6px; }
.news-item p { font-size: 13px; color: #8291a5; }

/* 内页横幅 */
.page-banner { height: 240px; background: linear-gradient(120deg, #10233c 0%, #14497f 55%, #1a73c8 100%); display: flex; align-items: center; }
.page-banner h2 { color: #fff; font-size: 32px; letter-spacing: 3px; }
.page-banner p { color: #b9cde4; letter-spacing: 5px; font-size: 13px; }

/* 列表页（新闻中心：整体居中） */
.news-list-wrap { max-width: 1000px; margin: 0 auto; }
.news-list { background: #fff; }
.news-list li { border-bottom: 1px dashed #e3e9f0; padding: 20px 6px; display: flex; justify-content: space-between; gap: 20px; }
.news-list a { font-size: 16px; color: #333; }
.news-list a:hover { color: var(--blue2); }
.news-list .date { color: #9aa8ba; font-size: 13px; flex-shrink: 0; }
/* 详情页 */
.detail-wrap { margin: 40px auto 70px; max-width: 1000px; }
.crumb { color: #98a6b8; font-size: 13px; margin-bottom: 26px; }
.crumb a { color: var(--blue2); }
.detail-title { font-size: 26px; color: var(--dark); text-align: center; line-height: 1.4; }
.detail-meta { text-align: center; color: #9aa8ba; font-size: 13px; padding: 14px 0 22px; border-bottom: 1px solid #eef2f7; margin-bottom: 26px; }
.detail-content { font-size: 15.5px; color: #444; }
.detail-content img { margin: 12px auto; }
.detail-content p { margin-bottom: 14px; }
.detail-img { margin-bottom: 24px; border-radius: 6px; overflow: hidden; }
.detail-back { margin-top: 40px; text-align: center; }
.empty { text-align: center; color: #9aa8ba; padding: 60px 0; }

/* 招聘 */
.job-item { border: 1px solid #e8edf3; border-radius: 6px; margin-bottom: 18px; padding: 22px 26px; }
.job-item h3 { font-size: 18px; color: var(--dark); display: inline-block; margin-right: 18px; }
.job-item .meta { color: #8291a5; font-size: 13px; }
.job-detail { margin-top: 16px; border-top: 1px dashed #e3e9f0; padding-top: 14px; font-size: 14px; color: #5b6b80; }
.job-detail h5 { color: var(--dark); margin: 8px 0 4px; }

/* 联系我们 */
.contact-flex { display: flex; gap: 50px; margin: 40px auto 80px; }
.contact-info { flex: 1; }
.contact-info h3 { font-size: 20px; color: var(--dark); margin-bottom: 14px; }
.contact-info p { color: #5b6b80; margin-bottom: 8px; }
.contact-form { flex: 1; background: var(--gray); border-radius: 8px; padding: 30px; }
.contact-form h3 { font-size: 20px; color: var(--dark); margin-bottom: 16px; }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid #dde5ee; border-radius: 4px; padding: 10px 12px; margin-bottom: 12px; font-size: 14px; font-family: inherit; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--blue2); }

/* 页脚 */
.site-footer { background: var(--dark); color: #93a5bd; margin-top: 0; }
/* 三栏作为整体在页面居中，栏内文字仍保持左对齐 */
.footer-cols { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 36px 64px; padding: 46px 0 36px; }
.footer-cols .fcol { flex: 0 1 auto; text-align: left; }
.footer-cols .fcol:nth-child(1) { max-width: 440px; }
.footer-cols .fcol:nth-child(3) { max-width: 360px; }
.fcol h4 { color: #fff; font-size: 17px; margin-bottom: 12px; }
.fcol p { font-size: 13px; line-height: 1.9; }
.fcol a:hover { color: #fff; }
.footer-bar { border-top: 1px solid rgba(255,255,255,.08); padding: 14px 0; text-align: center; font-size: 12.5px; }

/* 分页 */
.pager { text-align: center; margin-top: 30px; }
.pager a, .pager span { display: inline-block; min-width: 34px; padding: 6px 10px; margin: 0 4px; border: 1px solid #dde5ee; border-radius: 3px; font-size: 13px; color: #5b6b80; }
.pager span.on, .pager a:hover { background: var(--blue2); border-color: var(--blue2); color: #fff; }

/* 响应式 */
@media (max-width: 900px) {
  .main-nav { gap: 18px; } .main-nav a { font-size: 14px; padding: 24px 0; }
  .banner { height: 320px; } .banner-text h2 { font-size: 28px; }
  .svc-grid, .news-grid, .about-flex, .contact-flex { grid-template-columns: 1fr; display: grid; }
  .about-flex { display: block; } .about-flex .img { margin-bottom: 20px; }
  .news-list-wrap { max-width: 100%; }
}
