/* ========================================================
   上海万斯供应链管理有限公司 (WFS Supply Chain)
   日本总公司 DIGISHIP (FREIGHTMAN) 纯正官方设计风格样式表
   色彩体系：科技远洋蓝 (#0071e3) + 商务深蓝/炭黑 (#080808) + 纯白与暖米白
   构图手法：真实自然光摄影 + 标志性斜切角 (Polygon Clip-path) + 杂志级宽裕呼吸感
   ======================================================== */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&family=Noto+Serif+JP:wght@600;700&display=swap');

:root {
    --bg-page: #f9f8f4;
    --bg-white: #ffffff;
    --bg-warm-card: #f3f0e8;
    --bg-dark: #1b1a19;
    --text-primary: #080808;
    --text-body: #222120;
    --text-muted: #66645f;
    --text-light: #949087;
    
    /* 主品牌配色 (蓝色系：科技远洋蓝与高亮交互色) */
    --brand-yellow: #0071e3;
    --brand-yellow-hover: #005bb5;
    --brand-navy: #152A4A;
    --brand-navy-light: #1E3A66;
    
    --border-color: #e5e2d8;
    --border-light: #ece9df;
    
    --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
    --font-sans-ja: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
    --font-serif: "Noto Serif JP", "Songti SC", SimSun, serif;
    --container-max: 1180px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-y: scroll;
    scrollbar-gutter: stable;
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: var(--bg-page);
    color: var(--text-body);
    font-family: var(--font-sans);
    line-height: 1.7;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html[lang="ja"] body {
    font-family: var(--font-sans-ja);
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.25s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ================= 头部 Header ================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: #ffffff;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.04);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-img {
    height: 38px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
}

.logo-divider {
    width: 1px;
    height: 24px;
    background-color: var(--border-color);
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.25;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.logo-sub {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
    white-space: nowrap;
}

.nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 26px;
}

.nav-list a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-body);
    position: relative;
    padding: 6px 0;
    white-space: nowrap;
}

.nav-list a:hover {
    color: var(--brand-navy);
}

.nav-list a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--brand-yellow);
    transition: width 0.25s ease;
}

.nav-list a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.lang-switch {
    display: inline-flex;
    align-items: center;
    background: #eeebe1;
    padding: 3px 4px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    gap: 2px;
}

.lang-btn {
    width: auto;
    min-width: 32px;
    padding: 0 9px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 12px;
    color: var(--text-muted);
    transition: all 0.2s ease;
    white-space: nowrap;
    letter-spacing: 0.2px;
}

.lang-btn.active {
    background-color: #ffffff;
    color: var(--text-primary);
    font-weight: 700;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.header-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 44px;
    padding: 0 18px;
    background-color: var(--brand-yellow);
    color: #ffffff;
    font-weight: 700;
    font-size: 13.5px;
    border-radius: 4px;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.header-cta-btn:hover {
    background-color: #080808;
    color: #ffffff;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 32px;
    height: 32px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.mobile-menu-btn span {
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    transition: 0.3s;
}

/* ================= Hero 轮播 / 暖光摄影首屏 ================= */
.hero {
    margin-top: 80px;
    position: relative;
    min-height: 580px;
    background-color: #181614; /* 温润炭褐暖底，摒除生冷蓝调 */
    display: flex;
    align-items: center;
    clip-path: polygon(0 0, 100% 0, 100% 92%, 0% 100%);
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0;
    z-index: 0;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

/* HERO三图主视觉焦点精准居中 */
.hero-slide.slide-sea,
.hero-slide:nth-child(1) {
    background-position: center center;
}

.hero-slide.slide-air,
.hero-slide:nth-child(2) {
    background-position: center 65%;
}

.hero-slide.slide-port,
.hero-slide:nth-child(3) {
    background-position: center 80%;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(6, 18, 38, 0.82) 0%, rgba(6, 18, 38, 0.48) 50%, rgba(6, 18, 38, 0.12) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 2;
    padding-top: 50px;
    padding-bottom: 80px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 113, 227, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    padding: 7px 20px;
    border-radius: 20px;
    margin-bottom: 24px;
    letter-spacing: 0.8px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 14px rgba(0, 113, 227, 0.35);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.hero-title {
    font-size: 42px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.35;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 16.5px;
    color: #f1f5f9;
    max-width: 620px;
    margin-bottom: 36px;
    line-height: 1.9;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.hero-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.btn-hero-primary {
    background-color: var(--brand-yellow);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 4px;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.btn-hero-primary:hover {
    background-color: #ffffff;
    color: #080808;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.5);
    font-size: 15px;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 4px;
    transition: all 0.25s ease;
    backdrop-filter: blur(4px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-hero-secondary:hover {
    background: #ffffff;
    color: var(--text-primary);
    border-color: #ffffff;
}

.hero-pagination {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 36px;
}

.hero-page-dot {
    width: 32px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    padding: 0;
    outline: none;
}

.hero-page-dot:hover {
    background: rgba(255, 255, 255, 0.75);
}

.hero-page-dot.active {
    width: 48px;
    background-color: var(--brand-yellow);
    box-shadow: 0 0 12px rgba(0, 113, 227, 0.5);
}

/* ================= 杂志级板块设计通用 ================= */
.section {
    padding: 95px 0;
}

.section-editorial-header {
    text-align: center;
    margin-bottom: 55px;
    position: relative;
}

.section-number {
    font-size: 76px;
    font-weight: 900;
    color: #eae5d7;
    line-height: 1;
    margin-bottom: -32px;
    letter-spacing: 2px;
    font-family: var(--font-serif);
    user-select: none;
}

.section-en-label {
    display: inline-block;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--brand-navy);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
    background: #eee8d8;
    padding: 3px 14px;
    border-radius: 12px;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.35;
    letter-spacing: 0.5px;
}

.section-subtitle {
    margin-top: 10px;
    font-size: 15.5px;
    color: var(--text-muted);
}

/* DIGISHIP 标志性胶囊箭头按键 */
.c-morebtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 190px;
    padding: 12px 34px;
    background: var(--text-body);
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    border-radius: 40px;
    transition: all 0.3s ease;
    margin-top: 28px;
    border: none;
    cursor: pointer;
}

.c-morebtn::after {
    content: "→";
    font-weight: 700;
    transition: transform 0.25s ease;
}

.c-morebtn:hover {
    background: var(--brand-yellow);
    color: #080808;
}

.c-morebtn:hover::after {
    transform: translateX(4px);
}

/* ================= 01. 关于我们 (上下两组卡片严格垂直对齐) ================= */
.about-split-wrap {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    align-items: stretch;
    gap: 28px;
}

.about-split-text {
    width: 100%;
    background: #ffffff;
    padding: 38px 40px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.about-card-tag {
    font-size: 13px;
    font-weight: 700;
    color: #1e6091;
    display: block;
    margin-bottom: 10px;
}

.about-split-text h3 {
    font-size: 25px;
    color: var(--text-primary);
    line-height: 1.4;
    margin-bottom: 18px;
}

.about-split-text p {
    font-size: 14.5px;
    color: var(--text-body);
    margin-bottom: 16px;
    line-height: 2.0;
}

/* 公司发展历程 Timeline 卡片 (替换原图片位置) */
.about-timeline-card {
    width: 100%;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.timeline-card-header {
    background: linear-gradient(135deg, #1c1a17 0%, #2a2520 100%);
    padding: 18px 24px;
    position: relative;
    border-bottom: 3px solid var(--brand-yellow);
}

.timeline-card-header::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 140px;
    height: 100%;
    background: radial-gradient(circle at 90% 50%, rgba(0, 113, 227, 0.18) 0%, transparent 70%);
    pointer-events: none;
}

.timeline-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    color: var(--brand-yellow);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.timeline-title {
    font-size: 19px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.timeline-list {
    padding: 22px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    background: #ffffff;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    position: relative;
}

.timeline-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    width: 60px;
}

.timeline-year {
    font-size: 13.5px;
    font-weight: 800;
    color: var(--text-primary);
    background: #f5f2e9;
    padding: 3px 9px;
    border-radius: 12px;
    letter-spacing: 0.5px;
    border: 1px solid #e2ddcf;
    white-space: nowrap;
}

.timeline-item.highlight .timeline-year {
    background: var(--brand-yellow);
    color: #ffffff;
    border-color: #005bb5;
    box-shadow: 0 2px 8px rgba(0, 113, 227, 0.35);
}

.timeline-content {
    flex: 1;
}

.timeline-content strong {
    display: block;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.35;
    margin-bottom: 3px;
}

.timeline-content p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.55;
    margin: 0;
}

/* 优雅的向下连接箭头 ↓ */
.timeline-connector {
    display: flex;
    align-items: center;
    padding-left: 24px;
    height: 18px;
    line-height: 1;
}

.timeline-connector span {
    display: inline-block;
    color: var(--brand-yellow);
    font-size: 13px;
    font-weight: 700;
    transform: translateY(-2px);
}

/* 两地协同徽标条 (与上方主卡片上下严格 1:1 垂直对齐) */
.synergy-strip {
    margin-top: 28px;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 28px;
    align-items: stretch;
}

.synergy-box {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--brand-navy);
    padding: 22px 26px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.synergy-box.jp {
    border-left-color: var(--brand-yellow);
}

.synergy-box strong {
    display: block;
    font-size: 15px;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.synergy-box p {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ================= 02. 核心业务 (4大板块高雅杂志风) ================= */
.services-section {
    background-color: #f3efe6;
}

.services-quad-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-quad-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.service-quad-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.09);
    border-color: #005bb5;
}

.service-quad-img {
    height: 190px;
    position: relative;
    overflow: hidden;
    background: #1c1a17;
}

.service-quad-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    clip-path: polygon(0 0, 100% 3%, 100% 97%, 0 100%);
    transition: transform 0.5s ease;
}

.service-quad-card:hover .service-quad-img img {
    transform: scale(1.08);
}

.service-quad-body {
    padding: 24px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-quad-tag {
    font-size: 11px;
    font-weight: 800;
    color: #1e6091;
    letter-spacing: 1px;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.service-quad-body h3 {
    font-size: 19px;
    color: var(--text-primary);
    margin-bottom: 6px;
    font-weight: 700;
}

.service-quad-sub {
    font-size: 12.5px;
    font-weight: 700;
    color: #0071e3;
    margin-bottom: 12px;
    line-height: 1.4;
}

.service-quad-body p {
    font-size: 13.5px;
    color: var(--text-body);
    line-height: 1.8;
    flex: 1;
}

/* ================= 03. EC物流系统跳转入口 (独立高亮纯粹模块) ================= */
.connect-banner {
    background: linear-gradient(135deg, #151311 0%, #25201a 60%, #171c26 100%);
    color: #ffffff;
    padding: 75px 0;
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 3%, 100% 0, 100% 97%, 0 100%);
    border-top: 1px solid rgba(0, 113, 227, 0.2);
    border-bottom: 1px solid rgba(0, 113, 227, 0.2);
}

.connect-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 113, 227, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.connect-container {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.connect-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 113, 227, 0.15);
    border: 1px solid rgba(0, 113, 227, 0.35);
    color: var(--brand-yellow);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 18px;
}

.connect-content h2 {
    font-size: 36px;
    line-height: 1.3;
    margin-bottom: 16px;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.connect-content h2 span {
    color: var(--brand-yellow);
}

.connect-content p {
    font-size: 16px;
    color: #e2e8f0;
    line-height: 1.9;
    max-width: 620px;
    margin-bottom: 32px;
}

.connect-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-ec-system {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background-color: var(--brand-yellow);
    color: #ffffff;
    padding: 16px 36px;
    border-radius: 6px;
    font-weight: 800;
    font-size: 16px;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 24px rgba(0, 113, 227, 0.3);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-ec-system:hover {
    background-color: #ffffff;
    color: #080808;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(255, 255, 255, 0.4);
}

.connect-url-note {
    font-size: 13.5px;
    color: #94a3b8;
    font-family: monospace;
}

.connect-visual-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 32px 28px;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    position: relative;
    border-left: 4px solid var(--brand-yellow);
}

.connect-visual-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: #4ade80;
    margin-bottom: 12px;
    font-weight: 700;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 10px #4ade80;
}

.connect-visual-card h4 {
    font-size: 20px;
    color: #ffffff;
    margin-bottom: 8px;
}

.connect-visual-card p {
    font-size: 13.5px;
    color: #cbd5e1;
    line-height: 1.7;
    margin-bottom: 20px;
}

.connect-visual-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--brand-yellow);
}

/* ================= 04. 资讯与博客 (News & Blog 4大分类) ================= */
.blog-section {
    padding: 95px 0;
    background-color: var(--bg-page);
}

.blog-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 45px;
    flex-wrap: wrap;
}

.blog-tab-btn {
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 10px 22px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-body);
    cursor: pointer;
    transition: all 0.25s ease;
}

.blog-tab-btn:hover {
    border-color: #2a2520;
    color: var(--text-primary);
}

.blog-tab-btn.active {
    background: #1c1a17;
    color: var(--brand-yellow);
    border-color: #1c1a17;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.blog-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
    border-color: #005bb5;
}

.blog-card-img {
    height: 175px;
    position: relative;
    overflow: hidden;
    background: #1c1a17;
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-img img {
    transform: scale(1.08);
}

.blog-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(18, 16, 14, 0.85);
    color: var(--brand-yellow);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(0, 113, 227, 0.3);
}

.blog-card-body {
    padding: 22px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-date {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 8px;
    font-weight: 500;
}

.blog-card-title {
    font-size: 16.5px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.45;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-desc {
    font-size: 13px;
    color: var(--text-body);
    line-height: 1.7;
    margin-bottom: 18px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-read-more {
    font-size: 13px;
    font-weight: 700;
    color: #1e6091;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s ease;
}

.blog-card:hover .blog-read-more {
    gap: 10px;
    color: #0071e3;
}

/* ================= 资讯中心智能分页器 (每页8篇) ================= */
.blog-pagination {
    margin-top: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.blog-pagination:empty {
    display: none;
    margin: 0;
}

.blog-page-btn {
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.25s ease;
    user-select: none;
}

.blog-page-btn:hover:not(:disabled):not(.active) {
    background: #fdfbf7;
    border-color: #2a2520;
    color: #0c1e33;
    transform: translateY(-1px);
}

.blog-page-btn.active {
    background: #1c1a17;
    color: var(--brand-yellow);
    border-color: #1c1a17;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    cursor: default;
}

.blog-page-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    background: #f8fafc;
    border-color: var(--border-color);
}

.blog-page-btn.prev-next {
    padding: 0 16px;
    font-size: 13.5px;
}

/* 博客详情模态框 */
.blog-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(5px);
}

.blog-modal.active {
    display: flex;
}

.blog-modal-content {
    background: #ffffff;
    max-width: 720px;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
}

.blog-modal-header {
    background: #1c1a17;
    padding: 24px 30px;
    color: #ffffff;
    position: relative;
    border-bottom: 3px solid var(--brand-yellow);
}

.blog-modal-header .blog-badge {
    position: static;
    margin-bottom: 8px;
    display: inline-block;
}

.blog-modal-header h3 {
    font-size: 20px;
    line-height: 1.4;
    color: #ffffff;
}

.blog-modal-header .modal-date {
    font-size: 13px;
    color: #cbd5e1;
    margin-top: 6px;
}

.blog-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 26px;
    color: #ffffff;
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
}

.blog-modal-body {
    padding: 30px;
    overflow-y: auto;
    font-size: 15px;
    line-height: 1.9;
    color: var(--text-body);
}

.blog-modal-body p {
    margin-bottom: 14px;
}

.blog-modal-body ol, .blog-modal-body ul {
    padding-left: 24px;
    margin-bottom: 16px;
}

.blog-modal-body li {
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 6px;
}

.blog-modal-body h4 {
    font-size: 18px;
    color: var(--text-primary);
    margin: 20px 0 10px;
    font-weight: 700;
}

.blog-modal-body blockquote {
    border-left: 4px solid var(--brand-yellow);
    padding-left: 14px;
    margin-bottom: 16px;
    color: #4b5563;
    font-style: italic;
}

.blog-modal-body img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 14px 0;
    display: block;
}

.blog-modal-body .ql-align-center {
    text-align: center;
}

.blog-modal-body .ql-align-right {
    text-align: right;
}

.blog-modal-body img.ql-align-center {
    margin-left: auto;
    margin-right: auto;
}

.blog-modal-body img.ql-align-right {
    margin-left: auto;
    margin-right: 0;
}

/* 弹窗文章超链接：品牌醒目蓝 + 下划线 + 悬浮可点击 */
.blog-modal-body a {
    color: #0071e3 !important;
    text-decoration: underline !important;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.2s ease;
}

.blog-modal-body a:hover {
    color: #005bb5 !important;
    text-decoration: underline !important;
}

/* ================= 04. 会社概要与团队活力 (DIGISHIP p-top__sec06) ================= */
.company-editorial-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
}

.company-editorial-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
}

.company-card-img {
    height: 240px;
    overflow: hidden;
}

.company-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 斜切微倾斜 */
    clip-path: polygon(0 0, 100% 3%, 100% 97%, 0 100%);
    transition: transform 0.5s ease;
}

.company-editorial-card:hover .company-card-img img {
    transform: scale(1.04);
}

.company-card-body {
    padding: 30px;
}

.company-card-body h3 {
    font-size: 22px;
    color: var(--text-primary);
    margin-bottom: 14px;
}

.company-card-body p {
    font-size: 15px;
    color: var(--text-body);
    line-height: 2.0;
}

/* ================= 05. 底部 3 大转化卡片 (DIGISHIP 标志性 Sub-Footer) ================= */
.footer-sub {
    padding: 80px 0 0;
    position: relative;
    /* 采用总公司暖调纹理背景 (已做轻量化 WebP 优化) */
    background: url('assets/opt/bg_contact.webp') no-repeat center center / cover;
}

.footer-sub-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    background: var(--brand-yellow);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
}

.footer-sub-card {
    padding: 44px 34px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
    border-right: 1px solid rgba(0, 0, 0, 0.08);
}

.footer-sub-card:last-child {
    border-right: none;
}

.footer-sub-card:hover {
    background: rgba(0, 0, 0, 0.04);
}

.footer-sub-card.card-dark {
    background: #1b1a19;
    color: #ffffff;
}

.footer-sub-card.card-dark:hover {
    background: #11100f;
}

.sub-card-title {
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.35;
    color: #ffffff;
}

.footer-sub-card.card-dark .sub-card-title {
    color: #ffffff;
}

.sub-card-desc {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 22px;
    color: rgba(255, 255, 255, 0.9);
}

.footer-sub-card.card-dark .sub-card-desc {
    color: #cbd5e1;
}

.sub-card-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 14px;
    color: #ffffff;
}

.footer-sub-card.card-dark .sub-card-action {
    color: #38bdf8;
}

/* ================= 06. 联系我们 ================= */
.contact-section {
    padding: 90px 0;
    background-color: var(--bg-page);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 50px;
}

.contact-info-panel {
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    padding: 38px;
}

.contact-info-panel h3 {
    font-size: 23px;
    color: var(--text-primary);
    margin-bottom: 14px;
}

.contact-info-panel p {
    font-size: 14.5px;
    color: var(--text-muted);
    line-height: 1.9;
    margin-bottom: 24px;
}

.contact-detail-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    border-top: 1px solid var(--border-light);
    padding-top: 22px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-item span {
    font-size: 12px;
    font-weight: 700;
    color: var(--brand-navy);
    text-transform: uppercase;
}

.contact-item strong {
    font-size: 15px;
    color: var(--text-primary);
}

.contact-form-panel {
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    padding: 38px;
}

.form-group {
    margin-bottom: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 18px;
}

.form-row .form-group {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.form-group label::after {
    content: " *";
    color: #ef4444;
    font-weight: 700;
}

.form-control {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    background: #faf9f6;
    transition: all 0.25s ease;
    box-sizing: border-box;
}

.form-control.input-error {
    border-color: #ef4444 !important;
    background-color: #fff1f2 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15) !important;
}

select.form-control {
    cursor: pointer;
    background-color: #faf9f6;
}

.form-control:focus {
    outline: none;
    border-color: var(--brand-navy);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(21, 42, 74, 0.08);
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background: #1c1a17;
    color: var(--brand-yellow);
    font-weight: 700;
    font-size: 15.5px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.25s ease;
    letter-spacing: 0.5px;
}

.btn-submit:hover {
    background: var(--brand-yellow);
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(0, 113, 227, 0.35);
}

/* ================= 页脚 Footer ================= */
.footer {
    background: #11100f;
    color: #ffffff;
    padding: 60px 0 25px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo-img {
    height: 32px;
    width: auto;
    margin-bottom: 14px;
    display: block;
}

.footer-brand h4 {
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 10px;
}

.footer-brand p {
    font-size: 13.5px;
    color: #949087;
    line-height: 1.8;
}

.footer-links-wrap {
    display: flex;
    gap: 60px;
}

.footer-col h5 {
    font-size: 14px;
    color: #ffffff;
    margin-bottom: 14px;
    font-weight: 600;
}

.footer-col ul li {
    margin-bottom: 9px;
}

.footer-col ul a {
    font-size: 13.5px;
    color: #949087;
}

.footer-col ul a:hover {
    color: var(--brand-yellow);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 25px;
    font-size: 12.5px;
    color: #73706a;
}

.footer-bottom a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* ================= 响应式适配 (中大屏平板 ≤ 1080px) ================= */
@media (max-width: 1080px) {
    .services-quad-grid,
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* ================= 移动端适配 (≤ 768px) ================= */
@media (max-width: 768px) {
    .header {
        height: 64px;
    }

    .hero {
        margin-top: 64px;
        min-height: 480px;
        background-position: center center;
    }

    .hero-overlay {
        background: linear-gradient(180deg, rgba(6, 18, 38, 0.85) 0%, rgba(6, 18, 38, 0.65) 60%, rgba(6, 18, 38, 0.35) 100%);
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .about-split-wrap {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .about-split-text,
    .about-timeline-card {
        width: 100%;
    }

    .synergy-strip {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .services-quad-grid,
    .blog-grid,
    .connect-container,
    .company-editorial-grid,
    .footer-sub-grid,
    .contact-layout,
    .footer-top,
    .footer-bottom,
    .form-row {
        grid-template-columns: 1fr;
        flex-direction: column;
        gap: 20px;
    }

    .logo-img {
        height: 26px;
    }

    .header-cta-btn {
        display: none;
    }

    .nav {
        display: none;
    }

    .nav.mobile-active {
        display: block;
        position: absolute;
        top: 64px;
        left: 0;
        width: 100%;
        background: #ffffff;
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
        padding: 16px 24px 24px;
        border-bottom: 1px solid var(--border-color);
        z-index: 999;
    }

    .nav.mobile-active .nav-list {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .footer-sub-card {
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    }

    .blog-pagination {
        margin-top: 32px;
        gap: 6px;
    }

    .blog-page-btn {
        min-width: 38px;
        height: 38px;
        padding: 0 10px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 0 14px;
    }
    .header-actions {
        gap: 10px;
    }
}

@media (max-width: 360px) {
    .header-container {
        padding: 0 10px;
    }
    .logo-img {
        height: 24px !important;
        width: auto;
    }
    .header-actions {
        gap: 8px;
    }
    .lang-btn {
        padding: 0 6px;
        font-size: 11px;
    }
}

/* ==========================================================================
   资讯详情弹窗：船务单证与资料附件下载区 (Article Attachments Download Box)
   ========================================================================== */
.article-attachments-box {
    margin-top: 36px;
    padding: 22px 24px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.attachments-box-header {
    margin-bottom: 16px;
    border-bottom: 1px dashed #e2e8f0;
    padding-bottom: 12px;
}

.attachments-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    color: #0c1e33;
}

.attachments-icon {
    font-size: 18px;
}

.attachments-count {
    background: rgba(0, 113, 227, 0.1);
    color: #0071e3;
    font-size: 12px;
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 12px;
    margin-left: auto;
}

.attachments-sub {
    font-size: 12.5px;
    color: #64748b;
    margin-top: 4px;
}

.attachments-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.attachment-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 16px;
    transition: all 0.2s ease;
}

.attachment-item:hover {
    border-color: #0071e3;
    box-shadow: 0 4px 14px rgba(0, 113, 227, 0.08);
    transform: translateY(-1px);
}

.attachment-file-info {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    flex: 1;
}

.attachment-type-badge {
    padding: 4px 8px;
    border-radius: 5px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    flex-shrink: 0;
    text-transform: uppercase;
}

.badge-pdf   { background: #fee2e2; color: #dc2626; border: 1px solid #fecaca; }
.badge-excel { background: #dcfce7; color: #16a34a; border: 1px solid #bbf7d0; }
.badge-word  { background: #e0f2fe; color: #0284c7; border: 1px solid #bae6fd; }
.badge-zip   { background: #fef3c7; color: #d97706; border: 1px solid #fde68a; }
.badge-other { background: #f1f5f9; color: #475569; border: 1px solid #e2e8f0; }

.attachment-text {
    min-width: 0;
    flex: 1;
}

.attachment-name {
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.attachment-size {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 3px;
}

.blog-modal-body a.btn-download-attachment,
.btn-download-attachment,
.btn-download-attachment span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #0071e3;
    color: #ffffff !important;
    text-decoration: none !important;
    white-space: nowrap;
}

.blog-modal-body a.btn-download-attachment,
.btn-download-attachment {
    padding: 8px 18px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    flex-shrink: 0;
    transition: all 0.2s;
    box-shadow: 0 2px 6px rgba(0, 113, 227, 0.2);
}

.blog-modal-body a.btn-download-attachment:hover,
.btn-download-attachment:hover,
.btn-download-attachment:hover span {
    background: #005bb5;
    box-shadow: 0 4px 10px rgba(0, 113, 227, 0.3);
    color: #ffffff !important;
    text-decoration: none !important;
}

@media (max-width: 576px) {
    .article-attachments-box {
        padding: 16px;
    }
    .attachment-item {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    .btn-download-attachment {
        justify-content: center;
        width: 100%;
    }
}
