/* ============================================================
   Beijing Fuxin — Global Styles
   Brand: purple #601986, accent orange #eb6100
   ============================================================ */

:root {
    --color-primary:    #601986;
    --color-primary-15: rgba(96,25,134,0.15);
    --color-primary-08: rgba(96,25,134,0.08);
    --color-accent:     #eb6100;
    --color-dark:       #1a1a2e;
    --color-text:       #333333;
    --color-muted:      #666666;
    --color-bg-light:   #f8f5fc;
    --color-white:      #ffffff;
    --font-body:        'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading:     'Montserrat', sans-serif;
    --container:        1200px;
    --radius:           8px;
    --shadow:           0 4px 20px rgba(0,0,0,0.08);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    color: var(--color-text);
    line-height: 1.7;
    background: #fff;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ── Container ── */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Section spacing ── */
.section { padding: 80px 0; }
.section--light { background: var(--color-bg-light); }
.section--dark  { background: var(--color-dark); color: #fff; }

/* ── Section header ── */
.section-label {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 12px;
}
.section-title {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 800;
    color: var(--color-dark);
    line-height: 1.2;
    margin-bottom: 16px;
}
.section-desc {
    font-size: 16px;
    color: var(--color-muted);
    max-width: 640px;
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 104px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.logo-mark {
    width: 90px;
    height: 90px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}
.logo-mark img { width: 90px; height: 90px; object-fit: contain; display: block; }
.logo-text { 
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1.1;
}
.logo-sub {
    font-size: 10px;
    font-weight: 500;
    color: var(--color-muted);
    letter-spacing: 0.5px;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav-list a {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: var(--color-text);
    padding: 8px 14px;
    border-radius: var(--radius);
    transition: color 0.2s, background 0.2s;
}
.nav-list a:hover,
.nav-list a.active {
    color: var(--color-primary);
    background: var(--color-primary-08);
}
.nav-cta {
    background: var(--color-primary) !important;
    color: #fff !important;
    border-radius: 6px;
    padding: 10px 20px !important;
}
.nav-cta:hover { background: #4e1370 !important; }

/* hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
    background: none;
    border: none;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all 0.3s;
}

/* ============================================================
   HERO BANNER
   ============================================================ */
.hero {
    position: relative;
    min-height: 580px;
    display: flex;
    align-items: center;
    background: var(--color-dark);
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #2d0a4e 50%, #1a1a2e 100%);
}
.hero-bg img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 100%;
    color: #fff;
    padding: 80px 0;
}
.hero-label {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 16px;
}
.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 50px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
}
.hero-desc {
    font-size: 17px;
    opacity: 0.85;
    margin-bottom: 36px;
    line-height: 1.7;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    padding: 13px 28px;
    border-radius: 6px;
    transition: all 0.25s;
    cursor: pointer;
    border: none;
}
.btn-primary {
    background: var(--color-accent);
    color: #fff;
}
.btn-primary:hover { background: #d05600; }
.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.1); }

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
    background: var(--color-primary);
    padding: 40px 0;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.stat-card {
    text-align: center;
    color: #fff;
}
.stat-value {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 800;
    line-height: 1;
    color: #fff;
}
.stat-unit {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-accent);
}
.stat-label {
    font-size: 13px;
    opacity: 0.85;
    margin-top: 6px;
}

/* ============================================================
   SUBSIDIARY NOTICE BANNER  (首页重要说明条)
   ============================================================ */
.subsidiary-notice {
    background: linear-gradient(90deg, var(--color-primary) 0%, #4e1370 100%);
    padding: 20px 0;
    color: #fff;
}
.subsidiary-notice-inner {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    flex-wrap: nowrap;
}
.subsidiary-notice-icon {
    width: 28px;
    height: 28px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}
.subsidiary-notice-icon svg { width: 14px; height: 14px; stroke: #fff; fill: none; }
.subsidiary-notice-text {
    font-size: 15px;
    line-height: 1.5;
    flex: 1;
}
.subsidiary-notice-text strong { color: var(--color-accent); }

/* ============================================================
   SERVICES GRID
   ============================================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin-top: 48px;
}
.service-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.25s, box-shadow 0.25s;
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(96,25,134,0.15);
}
.service-card-img {
    height: 200px;
    background: var(--color-primary-08);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}
.service-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.service-card-img .placeholder-icon {
    width: 64px;
    height: 64px;
    opacity: 0.3;
}
.service-card-img .placeholder-icon svg {
    width: 64px;
    height: 64px;
    stroke: var(--color-primary);
    fill: none;
}
.service-card-body { padding: 24px; }
.service-card-title {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 10px;
}
.service-card-desc {
    font-size: 14px;
    color: var(--color-muted);
    line-height: 1.65;
}
.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-size: 13px;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--color-primary);
}
.service-card-link svg { width: 14px; height: 14px; stroke: currentColor; fill: none; }

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 48px;
}
.why-item {
    display: flex;
    gap: 16px;
}
.why-num {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 800;
    color: var(--color-primary-15);
    line-height: 1;
    flex-shrink: 0;
    min-width: 52px;
}
.why-body h3 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 6px;
}
.why-body p { font-size: 14px; color: var(--color-muted); line-height: 1.65; }

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.about-media {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--color-primary-08);
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
}
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-media .placeholder-text {
    color: var(--color-primary);
    opacity: 0.4;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
}
.feature-list { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.feature-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.feature-list li svg {
    width: 18px;
    height: 18px;
    stroke: var(--color-primary);
    fill: none;
    flex-shrink: 0;
    margin-top: 2px;
}
.feature-list li span { font-size: 14px; color: var(--color-text); }

/* ============================================================
   SUBSIDIARY SECTION (About page)
   ============================================================ */
.subsidiary-section {
    background: var(--color-bg-light);
    border-left: 4px solid var(--color-primary);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 40px 48px;
    margin-top: 48px;
}
.subsidiary-section h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 12px;
}
.subsidiary-section p { font-size: 15px; color: var(--color-text); line-height: 1.75; margin-bottom: 12px; }
.subsidiary-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--color-primary);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    margin-right: 8px;
    margin-top: 8px;
}

/* ============================================================
   SHIPMENT FLOW
   ============================================================ */
.flow-track {
    display: flex;
    align-items: center;
    gap: 0;
    margin-top: 40px;
    overflow-x: auto;
    padding-bottom: 8px;
}
.flow-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    min-width: 110px;
    padding: 20px 12px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    flex-shrink: 0;
}
.flow-node--hl { background: var(--color-primary); color: #fff; }
.flow-node--hl .flow-icon svg { stroke: #fff; }
.flow-icon svg { width: 28px; height: 28px; stroke: var(--color-primary); fill: none; }
.flow-text { font-size: 12px; font-weight: 600; font-family: var(--font-heading); }
.flow-arrow {
    flex-shrink: 0;
    width: 24px;
    height: 2px;
    background: var(--color-primary-15);
    position: relative;
}
.flow-arrow::after {
    content: '';
    position: absolute;
    right: -1px;
    top: -4px;
    border: 5px solid transparent;
    border-left-color: var(--color-primary-15);
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
    background: linear-gradient(135deg, var(--color-primary) 0%, #3d0d55 100%);
    padding: 72px 0;
    text-align: center;
    color: #fff;
}
.cta-band h2 {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 14px;
}
.cta-band p { font-size: 17px; opacity: 0.85; margin-bottom: 36px; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 48px;
    margin-top: 48px;
}
.contact-info-card {
    background: var(--color-primary);
    border-radius: var(--radius);
    padding: 36px;
    color: #fff;
}
.contact-info-card h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 24px;
}
.contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    align-items: flex-start;
}
.contact-item svg {
    width: 20px;
    height: 20px;
    stroke: var(--color-accent);
    fill: none;
    flex-shrink: 0;
    margin-top: 2px;
}
.contact-item p { font-size: 14px; opacity: 0.9; line-height: 1.6; }
.contact-item strong { display: block; font-size: 13px; opacity: 0.6; margin-bottom: 2px; }

.offices-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.office-card {
    background: #fff;
    border: 1px solid rgba(96,25,134,0.1);
    border-radius: var(--radius);
    padding: 20px;
    transition: box-shadow 0.2s;
}
.office-card:hover { box-shadow: 0 6px 20px rgba(96,25,134,0.1); }
.office-card h4 {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 8px;
}
.office-card p { font-size: 13px; color: var(--color-muted); line-height: 1.6; }

/* ============================================================
   PAGE INNER BANNER
   ============================================================ */
.page-banner {
    background: linear-gradient(135deg, var(--color-dark) 0%, #2d0a4e 100%);
    padding: 64px 0;
    color: #fff;
}
.page-banner-label {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 10px;
}
.page-banner h1 {
    font-family: var(--font-heading);
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 14px;
}
.page-banner p { font-size: 16px; opacity: 0.8; max-width: 560px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: var(--color-dark);
    color: rgba(255,255,255,0.7);
    padding: 60px 0 28px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .logo-text { color: #fff; }
.footer-brand .logo-sub { color: rgba(255,255,255,0.5); }
.footer-brand p {
    margin-top: 16px;
    font-size: 13px;
    line-height: 1.7;
    max-width: 280px;
}
.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul a {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    transition: color 0.2s;
}
.footer-col ul a:hover { color: #fff; }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    font-size: 13px;
    flex-wrap: wrap;
    gap: 8px;
}
.footer-subsidiary-note {
    font-size: 12px;
    color: var(--color-accent);
    margin-top: 8px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .about-row { grid-template-columns: 1fr; gap: 36px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .section { padding: 56px 0; }
    .section-title { font-size: 26px; }
    .services-grid { grid-template-columns: repeat(2,1fr); }
    .why-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2,1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .offices-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .cta-band h2 { font-size: 26px; }
    .nav-list { display: none; }
    .nav-toggle { display: flex; }
    .nav-list.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: #fff;
        padding: 24px;
        gap: 4px;
        box-shadow: 0 8px 30px rgba(0,0,0,0.12);
        z-index: 998;
    }
    .nav-list.open a { padding: 12px 16px; }
    .subsidiary-section { padding: 28px 24px; }
    .flow-node { min-width: 90px; padding: 14px 8px; }
    .hero { min-height: 420px; }
}

/* ============================================================
   PLACEHOLDER IMAGE STYLE
   ============================================================ */
.img-placeholder {
    background: linear-gradient(135deg, var(--color-primary-08) 0%, var(--color-primary-15) 100%);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 600;
    opacity: 0.7;
}
.img-placeholder svg { width: 40px; height: 40px; stroke: currentColor; fill: none; }
