/* ===== Reset & Base ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body {
    font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
    font-size: 14px;
    color: #333;
    background: #f5f5f5;
    line-height: 1.6;
}
a { color: #333; text-decoration: none; transition: color .2s; }
a:hover { color: #1565c0; }
ul, ol { list-style: none; }
img { border: 0; vertical-align: middle; max-width: 100%; }
.wrap { width: 1200px; margin: 0 auto; }
.clearfix::after { content: ""; display: block; clear: both; }

/* ===== Header ===== */
.top-bar {
    background: #f8f8f8;
    border-bottom: 1px solid #e8e8e8;
    height: 36px;
    line-height: 36px;
    font-size: 12px;
    color: #666;
}
.top-bar .wrap { display: flex; justify-content: space-between; align-items: center; }
.top-bar a { margin: 0 6px; color: #666; }
.top-bar a:hover { color: #1565c0; }
.top-bar .tel { color: #d32f2f; font-weight: bold; font-size: 14px; }
.lang-switch { margin-left: 16px; }
.lang-switch a {
    display: inline-block; padding: 0 10px; height: 24px; line-height: 24px;
    border: 1px solid #d0d0d0; border-radius: 3px;
    font-size: 12px; color: #666; background: #fff;
    transition: all .2s;
}
.lang-switch a:hover { border-color: #1565c0; color: #1565c0; }
.lang-switch .lang-cn { border-radius: 3px 0 0 3px; border-right: none; }
.lang-switch .lang-en { border-radius: 0 3px 3px 0; }
.lang-switch a.active { background: #1565c0; color: #fff; border-color: #1565c0; }

.header {
    background: #fff;
    padding: 18px 0;
}
.header .wrap { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; }
.logo-icon {
    width: 56px; height: 56px;
    background: linear-gradient(135deg, #1565c0, #0d47a1);
    color: #fff;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 30px; font-weight: bold;
    margin-right: 12px;
    box-shadow: 0 2px 8px rgba(21,101,192,.3);
}
.logo-img {
    display: block;
    max-height: 56px;
    width: auto;
    max-width: 240px;
}
.logo-text .cn { font-size: 26px; color: #1565c0; font-weight: bold; letter-spacing: 2px; }
.logo-text .slogan { font-size: 12px; color: #ff6f00; margin-top: 2px; font-style: italic; }
.header-right .tel-line { font-size: 13px; color: #666; text-align: right; }
.header-right .tel-line strong { color: #1565c0; font-size: 22px; font-weight: bold; margin-left: 6px; }

/* ===== Navigation ===== */
.nav {
    background: #1565c0;
    height: 48px;
    line-height: 48px;
    box-shadow: 0 2px 6px rgba(0,0,0,.1);
}
.nav ul { display: flex; }
.nav ul li { flex: 1; text-align: center; }
.nav ul li a {
    color: #fff;
    font-size: 16px;
    display: block;
    transition: background .2s;
}
.nav ul li a:hover,
.nav ul li.active a {
    background: #0d47a1;
    color: #fff;
}

/* ===== Banner ===== */
.banner {
    position: relative;
    width: 100%;
    height: 380px;
    overflow: hidden;
    background: #e0e0e0;
}
.banner .slide {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0;
    transition: opacity 1s;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 40px; font-weight: bold;
    text-shadow: 2px 2px 6px rgba(0,0,0,.4);
}
.banner .slide.active { opacity: 1; }
.banner .slide.s1 { background: linear-gradient(135deg, #1976d2, #0d47a1); }
.banner .slide.s2 { background: linear-gradient(135deg, #00838f, #006064); }
.banner .slide.s3 { background: linear-gradient(135deg, #2e7d32, #1b5e20); }
.banner-dots {
    position: absolute; bottom: 16px; left: 0; right: 0;
    text-align: center;
}
.banner-dots span {
    display: inline-block; width: 12px; height: 12px;
    border-radius: 50%; background: rgba(255,255,255,.5);
    margin: 0 5px; cursor: pointer;
}
.banner-dots span.active { background: #fff; }
.banner-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 40px; height: 60px;
    background: rgba(0,0,0,.3); color: #fff;
    text-align: center; line-height: 60px;
    font-size: 24px; cursor: pointer;
    display: none;
}
.banner:hover .banner-arrow { display: block; }
.banner-arrow.prev { left: 10px; }
.banner-arrow.next { right: 10px; }
.banner .slide .inner { text-align: center; }
.banner .slide .inner small { display: block; font-size: 18px; font-weight: normal; margin-top: 12px; opacity: .9; }

/* ===== Main Two Column ===== */
.main-cols {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}
.col-left, .col-right {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 20px;
}
.col-left { flex: 0 0 380px; }
.col-right { flex: 1; }

.section-title {
    border-bottom: 2px solid #1565c0;
    padding-bottom: 8px;
    margin-bottom: 14px;
    display: flex; justify-content: space-between; align-items: center;
}
.section-title h3 {
    font-size: 18px; color: #1565c0; font-weight: bold;
    border-left: 4px solid #1565c0;
    padding-left: 10px;
}
.section-title .more { color: #999; font-size: 12px; }
.section-title .more:hover { color: #1565c0; }

/* Query Form */
.query-form { padding: 20px 0; }
.query-form label { font-size: 14px; color: #666; display: block; margin-bottom: 8px; }
.query-form textarea {
    width: 100%;
    height: 110px;
    padding: 10px;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    font-size: 13px;
    font-family: inherit;
    resize: vertical;
}
.query-form textarea:focus { outline: none; border-color: #1565c0; }
.query-form .btn-row {
    margin-top: 14px;
    display: flex; gap: 10px;
}
.btn {
    flex: 1;
    display: inline-block;
    padding: 10px 24px;
    background: #1565c0; color: #fff;
    border: none; border-radius: 4px;
    font-size: 15px; cursor: pointer;
    transition: background .2s;
    text-align: center;
}
.btn:hover { background: #0d47a1; color: #fff; }
.btn-secondary { background: #ff6f00; }
.btn-secondary:hover { background: #e65100; }
.query-tip { font-size: 12px; color: #999; margin-top: 8px; }

/* News Tabs */
.news-tabs { display: flex; border-bottom: 1px solid #e0e0e0; }
.news-tabs li {
    padding: 8px 18px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all .2s;
}
.news-tabs li.active {
    color: #1565c0;
    border-bottom-color: #1565c0;
    font-weight: bold;
}
.news-tabs li:hover { color: #1565c0; }
.news-list { padding-top: 12px; }
.news-list li {
    border-bottom: 1px dashed #e8e8e8;
    padding: 9px 0;
    display: flex; justify-content: space-between; align-items: center;
    font-size: 13px;
}
.news-list li::before { content: "> "; color: #1565c0; font-weight: bold; }
.news-list li a { color: #555; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-right: 12px; }
.news-list li a:hover { color: #1565c0; }
.news-list li .date { color: #999; font-size: 12px; }
.news-panel { display: none; }
.news-panel.active { display: block; }

/* ===== Product Services ===== */
.products-section {
    margin-top: 26px;
    background: transparent;
}
.products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}
.product-card {
    height: 200px;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    color: #fff;
    text-align: center;
    transition: transform .25s, box-shadow .25s;
    cursor: pointer;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(0,0,0,.15); }
.product-card .pc-icon {
    font-size: 56px;
    margin-top: 30px;
    text-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.product-card .pc-name { font-size: 18px; font-weight: bold; margin-top: 8px; }
.product-card .pc-desc {
    background: rgba(0,0,0,.55);
    padding: 10px 14px;
    font-size: 12px; line-height: 1.7;
    position: absolute; bottom: 0; left: 0; right: 0;
    text-align: left;
}
.product-card.c-blue   { background: linear-gradient(135deg,#1976d2,#0d47a1); }
.product-card.c-orange { background: linear-gradient(135deg,#ff8f00,#e65100); }
.product-card.c-green  { background: linear-gradient(135deg,#43a047,#1b5e20); }
.product-card.c-cyan   { background: linear-gradient(135deg,#0097a7,#006064); }
.product-card.c-purple { background: linear-gradient(135deg,#5e35b1,#311b92); }

.product-title-card {
    background: linear-gradient(135deg,#1565c0,#0d47a1);
    color: #fff;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
}
.product-title-card .p { font-size: 36px; font-weight: 100; opacity: .4; }
.product-title-card h4 { font-size: 18px; margin: 6px 0 4px; }
.product-title-card small { font-size: 11px; opacity: .7; letter-spacing: 3px; }

/* ===== Photo Gallery ===== */
.gallery-section { margin-top: 26px; }
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    background: #fff;
    padding: 16px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
}
.gallery-item {
    position: relative;
    height: 160px;
    background: #ddd;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
}
.gallery-item .thumb {
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform .4s;
}
.gallery-item:hover .thumb { transform: scale(1.06); }
.gallery-item .caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: rgba(0,0,0,.55);
    color: #fff;
    padding: 6px 10px;
    font-size: 12px;
    text-align: center;
}

/* ===== Partners ===== */
.partners-section { margin-top: 26px; }
.partners-list {
    background: #fff;
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    display: flex; justify-content: space-around; align-items: center;
    gap: 16px; flex-wrap: wrap;
}
.partners-list .partner {
    width: 130px; height: 60px;
    display: flex; align-items: center; justify-content: center;
    background: #f8f8f8;
    border-radius: 4px;
    border: 1px solid #eee;
    color: #555; font-weight: bold;
    transition: all .2s;
}
.partners-list .partner:hover { color: #1565c0; border-color: #1565c0; }

/* ===== Footer ===== */
.friend-links {
    margin-top: 30px;
    padding: 18px 0;
    background: #f8f8f8;
    border-top: 2px solid #1565c0;
    border-bottom: 1px solid #eee;
}
.friend-links .wrap { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.friend-links strong { color: #1565c0; font-size: 14px; margin-right: 8px; }
.friend-links a { color: #777; font-size: 13px; padding: 2px 8px; }
.friend-links a:hover { color: #1565c0; }

.footer {
    background: #1565c0;
    color: #c5d9f1;
    text-align: center;
    padding: 22px 0;
    font-size: 13px;
    line-height: 1.9;
}
.footer p { margin: 2px 0; }
.footer a { color: #c5d9f1; margin: 0 6px; }
.footer a:hover { color: #fff; }
.footer .copy {
    background: #0d47a1;
    color: #94b8e2;
    padding: 10px 0;
    text-align: center;
    font-size: 12px;
}

/* ===== Page Banner (small) ===== */
.page-banner {
    background: linear-gradient(135deg, #1565c0, #0d47a1);
    color: #fff;
    padding: 36px 0;
    text-align: center;
    margin-bottom: 24px;
}
.page-banner h1 { font-size: 30px; letter-spacing: 4px; }
.page-banner .crumb { font-size: 13px; margin-top: 8px; opacity: .85; }
.page-banner .crumb a { color: #c5d9f1; }

/* ===== Content Page ===== */
.content-page {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 30px;
    margin-bottom: 26px;
}
.content-page h2 {
    font-size: 22px; color: #1565c0;
    border-left: 4px solid #1565c0;
    padding-left: 12px; margin: 24px 0 12px;
}
.content-page h3 {
    font-size: 16px; color: #0d47a1;
    margin: 18px 0 8px;
}
.content-page p { line-height: 1.9; margin-bottom: 12px; color: #444; }
.content-page ul { padding-left: 24px; margin-bottom: 12px; }
.content-page ul li { list-style: disc; line-height: 1.9; color: #444; }

/* ===== Contact ===== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.contact-card {
    background: #f8fafd;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 18px;
}
.contact-card h4 { color: #1565c0; margin-bottom: 10px; font-size: 15px; }
.contact-card p { font-size: 13px; color: #555; line-height: 1.9; }
.contact-card strong { color: #d32f2f; font-size: 16px; }

/* Track / Query Page */
.track-wrap {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 30px;
    margin-bottom: 26px;
}
.track-wrap .desc { color: #555; margin-bottom: 14px; }
.track-wrap .desc strong { color: #1565c0; }
.track-input-row {
    display: flex; gap: 10px; margin-bottom: 18px;
}
.track-input-row input {
    flex: 1;
    padding: 12px;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    font-size: 14px;
}
.track-input-row input:focus { outline: none; border-color: #1565c0; }
.carrier-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 16px;
}
.carrier-card {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 12px;
    text-align: center;
    cursor: pointer;
    transition: all .2s;
    background: #fafafa;
}
.carrier-card:hover { border-color: #1565c0; background: #fff; color: #1565c0; }
.carrier-card .icon { font-size: 28px; }
.carrier-card .name { font-size: 12px; margin-top: 4px; }

/* Help */
.help-cat-list { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.help-cat {
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 16px;
    transition: all .2s;
    cursor: pointer;
}
.help-cat:hover { border-color: #1565c0; background: #fff; }
.help-cat h4 { color: #1565c0; font-size: 15px; margin-bottom: 8px; }
.help-cat ul li { font-size: 13px; color: #555; line-height: 1.9; }
.help-cat ul li::before { content: "· "; color: #1565c0; font-weight: bold; }

/* Services detail */
.services-detail { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.svc-item {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 18px;
    background: #fff;
    transition: all .25s;
}
.svc-item:hover { box-shadow: 0 4px 14px rgba(21,101,192,.12); border-color: #1565c0; }
.svc-item h4 { color: #1565c0; font-size: 16px; margin-bottom: 8px; }
.svc-item p { color: #555; font-size: 13px; line-height: 1.8; }

/* News list page */
.news-page-list { display: grid; gap: 12px; }
.news-row {
    background: #fafafa;
    border: 1px solid #eee;
    border-left: 4px solid #1565c0;
    border-radius: 4px;
    padding: 14px 18px;
    display: flex; justify-content: space-between; align-items: center;
    transition: all .2s;
}
.news-row:hover { background: #fff; transform: translateX(4px); }
.news-row .title { font-size: 14px; color: #333; }
.news-row:hover .title { color: #1565c0; }
.news-row .date { font-size: 12px; color: #999; }

/* Back to top */
.back-top {
    position: fixed; right: 20px; bottom: 30px;
    width: 44px; height: 44px;
    background: #1565c0; color: #fff;
    text-align: center; line-height: 44px;
    border-radius: 50%; cursor: pointer;
    display: none;
    box-shadow: 0 4px 12px rgba(0,0,0,.2);
}
.back-top.show { display: block; }
.back-top:hover { background: #0d47a1; color: #fff; }

/* Floating Sidebar */
.side-tool {
    position: fixed; right: 10px; top: 50%; transform: translateY(-50%);
    z-index: 99;
}
.side-tool a {
    display: block; width: 50px; height: 60px;
    background: #1565c0; color: #fff;
    text-align: center; line-height: 1.2;
    padding: 8px 0;
    font-size: 12px;
    border-bottom: 1px solid rgba(255,255,255,.15);
}
.side-tool a:hover { background: #0d47a1; color: #fff; }
.side-tool a .ic { display: block; font-size: 20px; margin-bottom: 4px; }

/* ===== Track Results ===== */
.track-result {
    margin-top: 20px;
    background: #fff;
    border: 1px solid #d6e9ff;
    border-radius: 6px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(21,101,192,.08);
    animation: fade-in .4s ease;
}
@keyframes fade-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.track-loading {
    text-align: center; padding: 40px;
    color: #1565c0; font-size: 14px;
}
.track-spinner {
    display: inline-block; width: 20px; height: 20px;
    border: 2px solid #e0e0e0; border-top-color: #1565c0;
    border-radius: 50%; animation: spin .8s linear infinite;
    vertical-align: middle; margin-right: 8px;
}
@keyframes spin { to { transform: rotate(360deg); } }
.track-error {
    background: #fff3f3; color: #d32f2f; padding: 16px;
    border: 1px solid #ffcdd2; border-radius: 4px; text-align: center;
}
.track-empty {
    text-align: center; padding: 30px; color: #999; font-size: 14px;
}
.track-notfound {
    background: #fff8e1; color: #e65100; padding: 18px;
    border: 1px solid #ffe0b2; border-radius: 4px;
    text-align: center; font-size: 14px;
}
.track-notfound .icon { font-size: 32px; margin-bottom: 8px; }
.track-card {
    background: #fff; border: 1px solid #e0e0e0; border-radius: 6px;
    margin-bottom: 20px; overflow: hidden;
    box-shadow: 0 1px 6px rgba(0, 0, 0, .06);
}
.track-card-empty { background: #fafafa; }
.track-card-header {
    background: #1565c0; color: #fff; padding: 14px 18px;
    display: flex; justify-content: space-between; align-items: center;
    font-size: 15px;
}
.track-card-empty .track-card-header { background: #78909c; }
.tch-billid { font-weight: bold; letter-spacing: 1px; }
.tch-status { font-size: 12px; padding: 2px 8px; border-radius: 3px; }
.tch-status.ok { background: #a5d6a7; color: #1b5e20; }
.tch-status.fail { background: #ffcdd2; color: #c62828; }
.track-card-body { padding: 14px; }
.track-summary {
    width: 100%; border-collapse: collapse; font-size: 14px;
}
.track-summary th {
    background: #f0f7ff; color: #1565c0; text-align: left;
    padding: 10px 14px; border-bottom: 1px solid #dceeff;
}
.track-summary td {
    padding: 10px 14px; border-bottom: 1px solid #f0f0f0; color: #444;
}
.track-follow {
    padding: 12px 18px; margin: 0 18px;
    background: #fff8e1; border-left: 3px solid #ff8f00;
    font-size: 13px; color: #555;
}
.track-no-detail { padding: 20px; text-align: center; color: #aaa; font-size: 14px; }
.track-timeline { padding: 0 18px 18px; }
.tt-title {
    font-size: 14px; color: #1565c0; border-left: 4px solid #1565c0;
    padding-left: 10px; margin: 14px 0;
}
.tt-item { display: flex; padding: 4px 0 10px; position: relative; }
.tt-dot {
    flex: 0 0 12px; width: 12px; height: 12px;
    border-radius: 50%; background: #1565c0;
    margin: 5px 10px 0 0; position: relative; z-index: 1;
}
.tt-item::before {
    content: ""; position: absolute; left: 5px; top: 22px; bottom: 0;
    width: 2px; background: #e0e0e0;
}
.tt-item:last-child::before { display: none; }
.tt-body { flex: 1; }
.tt-date { color: #1565c0; font-size: 12px; font-weight: bold; margin-right: 10px; }
.tt-location { font-size: 12px; color: #888; }
.tt-detail { color: #444; font-size: 13px; margin-top: 2px; }

/* Responsive */
@media (max-width: 1240px) {
    .wrap { width: 96%; }
}
@media (max-width: 900px) {
    .main-cols { flex-direction: column; }
    .col-left { flex: 1; }
    .products-grid { grid-template-columns: repeat(2,1fr); }
    .gallery-grid { grid-template-columns: repeat(2,1fr); }
}
