/* ========================================
   星汇国际物流 - 主样式表
   色调：深蓝 #0a2e5c + 橙色 #f5762a
   风格：商务简约、沉稳大气
   ======================================== */

/* ===== CSS 变量 ===== */
:root {
    --primary: #0a2e5c;
    --primary-light: #1a4a8a;
    --primary-dark: #061d3a;
    --accent: #f5762a;
    --accent-light: #ff9a57;
    --accent-dark: #d45e1a;
    --text-dark: #1a1a2e;
    --text-body: #444;
    --text-muted: #777;
    --bg-light: #f5f7fa;
    --bg-white: #ffffff;
    --border-color: #e8ecf0;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --radius: 8px;
    --radius-lg: 16px;
    --transition: transform 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease;
}

/* ===== 全局重置 ===== */
* { 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-body);
    line-height: 1.7;
    background: var(--bg-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent); }

img { max-width: 100%; height: auto; }

h1, h2, h3, h4, h5, h6 {
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.3;
}

/* ===== 通用组件 ===== */

/* 橙色按钮 */
.btn-accent {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 10px 28px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}
.btn-accent:hover {
    background: var(--accent-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(245, 118, 42, 0.4);
}

.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 10px 28px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}
.btn-outline-primary:hover {
    background: var(--primary);
    color: #fff;
}

/* 区域标题 */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}
.section-title h2 {
    font-size: 2rem;
    color: var(--primary);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}
.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}
.section-title p {
    color: var(--text-muted);
    margin-top: 12px;
    font-size: 1.05rem;
}
.section-title .en-title {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 5px;
    font-weight: 400;
}

/* 区域间距 */
.section-padding {
    padding: 80px 0;
    contain: layout style;
}
.section-gray {
    background: var(--bg-light);
}

/* 卡片通用 */
.card-custom {
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    overflow: hidden;
    contain: content;
}
.card-custom:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

/* ===== 顶部信息栏 ===== */
.top-bar {
    background: var(--primary);
    color: #fff;
    padding: 8px 0;
    font-size: 0.85rem;
}
.top-bar a {
    color: rgba(255,255,255,0.85);
}
.top-bar a:hover {
    color: var(--accent);
}

/* ===== 主导航栏 ===== */
.main-navbar {
    background: var(--primary-dark);
    padding: 12px 0;
    transition: var(--transition);
    z-index: 1050;
    contain: layout style;
}
.main-navbar.scrolled {
    background: rgba(10, 46, 92, 0.97);
    padding: 8px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}
.brand-icon {
    font-size: 1.8rem;
    color: var(--accent);
    margin-right: 8px;
}
.brand-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
}
.brand-sub {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.75);
    display: block;
    margin-top: -3px;
}
.brand-logo {
    height: 65px;
    width: auto;
    max-width: 260px;
    object-fit: contain;
}
.navbar-nav .nav-link {
    color: rgba(255,255,255,0.85);
    font-weight: 500;
    padding: 8px 16px;
    font-size: 0.95rem;
    transition: var(--transition);
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--accent);
}
.nav-cta {
    font-size: 0.9rem;
    padding: 8px 20px;
}
.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius);
    padding: 10px 0;
}
.dropdown-item {
    padding: 8px 20px;
    font-size: 0.9rem;
    transition: var(--transition);
}
.dropdown-item:hover {
    background: var(--bg-light);
    color: var(--accent);
}

/* ===== Hero 轮播区 ===== */
.hero-section {
    position: relative;
    height: 600px;
    overflow: hidden;
    will-change: transform;
    transform: translateZ(0);
}
.hero-section .carousel-item {
    height: 600px;
}
.hero-section .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    will-change: opacity;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10,46,92,0.85) 0%, rgba(10,46,92,0.4) 100%);
    z-index: 2;
    will-change: transform;
    transform: translateZ(0);
}
.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    text-align: center;
    color: #fff;
    width: 90%;
    max-width: 800px;
}
.hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    color: #fff;
}
.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}
.hero-content .hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}
.hero-content .hero-stat-item {
    text-align: center;
}
.hero-content .hero-stat-num {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
}
.hero-content .hero-stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ===== 服务卡片区 ===== */
.service-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 35px 25px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent);
    transform: scaleX(0);
    transition: var(--transition);
}
.service-card:hover::before {
    transform: scaleX(1);
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}
.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: #fff;
}
.service-card h5 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    color: var(--primary);
}
.service-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ===== 数据统计区 ===== */
.stats-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 60px 0;
    color: #fff;
    contain: layout style;
}
.stat-item {
    text-align: center;
    padding: 20px;
}
.stat-num {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}
.stat-label {
    font-size: 1rem;
    margin-top: 8px;
    opacity: 0.9;
}

/* ===== 产品卡片 ===== */
.product-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.product-card-img {
    height: 200px;
    overflow: hidden;
    position: relative;
}
.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.product-card:hover .product-card-img img {
    transform: scale(1.08);
}
.product-card-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--accent);
    color: #fff;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}
.product-card-body {
    padding: 25px;
}
.product-card-body h5 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: var(--primary);
}
.product-card-body p {
    font-size: 0.9rem;
    color: var(--text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-card-footer {
    padding: 0 25px 25px;
}
.product-card-link {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
}
.product-card-link:hover {
    color: var(--accent-dark);
}
/* 整张卡片可点击 */
.product-card-link-wrapper {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}
.product-card-link-wrapper:hover .product-card {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.product-card-link-wrapper:hover .product-card-link {
    color: var(--accent-dark);
}

/* ===== 仓库卡片 ===== */
.warehouse-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}
.warehouse-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.warehouse-card-img {
    height: 220px;
    overflow: hidden;
}
.warehouse-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.warehouse-card:hover .warehouse-card-img img {
    transform: scale(1.05);
}
.warehouse-card-body {
    padding: 25px;
}
.warehouse-card-body h5 {
    font-size: 1.15rem;
    color: var(--primary);
    margin-bottom: 10px;
}
.warehouse-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 12px;
    font-size: 0.85rem;
    color: var(--text-muted);
}
.warehouse-meta i {
    color: var(--accent);
    margin-right: 5px;
}

/* ===== 案例卡片 ===== */
.case-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}
.case-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.case-card-img {
    height: 200px;
    overflow: hidden;
    position: relative;
}
.case-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.case-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: #fff;
}
.case-card-overlay .badge {
    background: var(--accent);
}
.case-card-body {
    padding: 25px;
}
.case-card-body h5 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 10px;
}
.case-card-body p {
    font-size: 0.9rem;
    color: var(--text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===== 页面 Banner ===== */
.page-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 80px 0 60px;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
    contain: layout style;
}
.page-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
}
.page-banner h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: #fff;
}
.page-banner p {
    font-size: 1.1rem;
    opacity: 0.85;
}
.breadcrumb {
    justify-content: center;
}
.breadcrumb-item a {
    color: rgba(255,255,255,0.7);
}
.breadcrumb-item.active {
    color: var(--accent);
}
.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.5);
}

/* ===== 产品详情页 ===== */
.product-detail-hero {
    padding: 40px 0;
    background: var(--bg-light);
}
.product-detail-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.product-detail-img img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}
.product-detail-info h1 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 10px;
}
.product-detail-info .subtitle {
    color: var(--accent);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

/* 产品详情 Tab */
.product-tabs .nav-link {
    color: var(--text-body);
    font-weight: 600;
    border: none;
    padding: 12px 24px;
    border-radius: 0;
    border-bottom: 3px solid transparent;
}
.product-tabs .nav-link.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
    background: transparent;
}
.product-tabs .nav-link:hover {
    color: var(--accent);
}
.tab-content {
    padding: 30px 0;
}
.tab-content ul {
    list-style: none;
    padding: 0;
}
.tab-content ul li {
    padding: 8px 0 8px 28px;
    position: relative;
    border-bottom: 1px dashed var(--border-color);
}
.tab-content ul li:last-child {
    border-bottom: none;
}
.tab-content ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

/* 流程步骤 */
.process-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    justify-content: center;
}
.process-step {
    text-align: center;
    padding: 20px 15px;
    flex: 1;
    min-width: 120px;
    position: relative;
}
.process-step:not(:last-child)::after {
    content: '→';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--accent);
}
.process-step-num {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0 auto 10px;
}
.process-step-label {
    font-size: 0.85rem;
    color: var(--text-body);
    font-weight: 500;
}

/* ===== 关于我们 ===== */
.about-feature {
    text-align: center;
    padding: 30px 20px;
}
.about-feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 2rem;
    color: var(--primary);
    transition: var(--transition);
}
.about-feature:hover .about-feature-icon {
    background: var(--accent);
    color: #fff;
}
.about-feature h5 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--primary);
}

/* 时间线 */
.timeline {
    position: relative;
    padding-left: 40px;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--accent);
}
.timeline-item {
    position: relative;
    margin-bottom: 30px;
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: -32px;
    top: 5px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent);
    border: 3px solid #fff;
    box-shadow: 0 0 0 3px var(--accent);
}
.timeline-year {
    font-weight: 700;
    color: var(--accent);
    font-size: 1.1rem;
}
.timeline-text {
    margin-top: 5px;
}

/* ===== 联系我们 ===== */
.contact-info-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}
.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.contact-info-icon {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.5rem;
    color: #fff;
}
.contact-form {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
}
.contact-form .form-control,
.contact-form .form-select {
    border: 2px solid var(--border-color);
    padding: 12px 16px;
    border-radius: var(--radius);
    transition: var(--transition);
}
.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(245,118,42,0.15);
}

/* ===== CTA 区域 ===== */
.cta-section {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    padding: 60px 0;
    color: #fff;
    text-align: center;
    contain: layout style;
}
.cta-section h2 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 15px;
}
.cta-section p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 25px;
}
.cta-buttons {
    display: inline-flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}
.cta-section .btn-light {
    background: #fff;
    color: var(--accent);
    font-weight: 700;
    padding: 14px 40px;
    border-radius: 50px;
    min-width: 180px;
    text-align: center;
}
.cta-section .btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.cta-section .btn-outline-light {
    border: 2px solid rgba(255,255,255,0.8);
    color: #fff;
    font-weight: 600;
    padding: 14px 40px;
    border-radius: 50px;
    min-width: 180px;
    text-align: center;
}
.cta-section .btn-outline-light:hover {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

/* ===== 浮动按钮 ===== */
.float-contact {
    position: fixed;
    right: 20px;
    bottom: 100px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.float-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.3rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: var(--transition);
}
.float-btn-main {
    background: var(--accent);
}
.float-btn-wechat {
    background: #07c160;
    border: none;
    cursor: pointer;
}
.float-btn-wechat:hover {
    background: #06ad56;
    color: #fff;
}
.float-btn-phone {
    background: var(--primary);
}
.float-btn:hover {
    transform: scale(1.1);
    color: #fff;
}

/* ===== 返回顶部 ===== */
.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 40px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    border: none;
    font-size: 1.2rem;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: var(--transition);
}
.back-to-top:hover {
    background: var(--accent);
}
.back-to-top.show {
    display: flex;
}

/* ===== 筛选标签 ===== */
.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 40px;
}
.filter-tab {
    padding: 8px 24px;
    border-radius: 50px;
    background: var(--bg-light);
    color: var(--text-body);
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}
.filter-tab:hover,
.filter-tab.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* ===== 新闻卡片 ===== */
.news-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}
.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.news-card-img {
    height: 180px;
    overflow: hidden;
}
.news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.news-card-body {
    padding: 20px;
}
.news-card-date {
    font-size: 0.8rem;
    color: var(--accent);
    margin-bottom: 8px;
}
.news-card-body h5 {
    font-size: 1.05rem;
    color: var(--primary);
    margin-bottom: 8px;
}

/* ===== 合作伙伴 ===== */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}
.partner-card {
    background: #f8f9fa;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 25px 15px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: default;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.partner-card:hover {
    background: #fff;
    border-color: var(--accent);
    box-shadow: 0 4px 15px rgba(245, 118, 42, 0.1);
}
.partner-logo {
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}
.partner-logo img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}
.partner-text-logo {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 8px 16px;
    border: 2px solid;
    border-radius: 8px;
    background: #fff;
    display: inline-block;
    line-height: 1;
    font-family: 'Arial', 'Helvetica', sans-serif;
}
.partner-name {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
@media (max-width: 991px) {
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    .partner-card {
        padding: 18px 10px;
    }
    .partner-logo {
        height: 40px;
    }
    .partner-text-logo {
        font-size: 0.9rem;
        padding: 6px 12px;
    }
    .partner-name {
        font-size: 0.7rem;
    }
}
@media (max-width: 575px) {
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    .partner-card {
        padding: 15px 8px;
        border-radius: 8px;
    }
    .partner-logo {
        height: 35px;
        margin-bottom: 6px;
    }
    .partner-text-logo {
        font-size: 0.8rem;
        padding: 5px 10px;
        border-width: 1.5px;
    }
    .partner-name {
        font-size: 0.6rem;
        white-space: normal;
        line-height: 1.3;
    }
}

/* ===== 新闻详情页 ===== */
.news-detail-title {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
    line-height: 1.4;
}
.news-detail-meta {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}
.news-detail-meta span {
    margin-right: 20px;
}
.news-detail-meta i {
    color: var(--accent);
    margin-right: 5px;
}
.news-detail-img {
    margin-bottom: 25px;
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.news-detail-img img {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
}
.news-detail-summary {
    background: var(--bg-light);
    padding: 20px;
    border-radius: var(--radius);
    margin-bottom: 25px;
    font-style: italic;
    color: var(--text-body);
    border-left: 4px solid var(--accent);
}
.news-detail-content {
    font-size: 1rem;
    line-height: 2;
    color: var(--text-body);
}
.news-detail-content p {
    margin-bottom: 15px;
}
.news-detail-content img {
    max-width: 100%;
    border-radius: var(--radius);
    margin: 15px 0;
}
.news-nav {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}
.news-nav-link {
    display: block;
    padding: 15px;
    border-radius: var(--radius);
    transition: var(--transition);
    text-decoration: none;
}
.news-nav-link:hover {
    background: var(--bg-light);
}
.news-nav-label {
    display: block;
    font-size: 0.85rem;
    color: var(--accent);
    margin-bottom: 5px;
}
.news-nav-title {
    color: var(--text-body);
    font-size: 0.95rem;
}
.news-nav-next {
    text-align: right;
}

/* ===== 页脚 ===== */
.site-footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.8);
    contain: layout style;
}
.footer-main {
    padding: 60px 0 40px;
}
.footer-brand h4 {
    color: #fff;
    font-size: 1.3rem;
}
.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
}
.footer-social a {
    display: inline-flex;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: #fff;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    transition: var(--transition);
}
.footer-social a:hover {
    background: var(--accent);
}
.footer-title {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}
.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent);
}
.footer-links {
    list-style: none;
    padding: 0;
}
.footer-links li {
    margin-bottom: 10px;
}
.footer-links a {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    transition: var(--transition);
}
.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}
.footer-contact {
    list-style: none;
    padding: 0;
}
.footer-contact li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 18px;
    font-size: 0.9rem;
}
.footer-contact i {
    color: var(--accent);
    font-size: 1.1rem;
    margin-right: 12px;
    margin-top: 2px;
}
.footer-contact strong {
    color: #fff;
    display: block;
    margin-bottom: 2px;
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    font-size: 0.85rem;
}
.footer-bottom a {
    color: rgba(255,255,255,0.6);
}
.footer-bottom a:hover {
    color: var(--accent);
}

/* ===== 响应式 ===== */
@media (max-width: 991.98px) {
    .hero-section,
    .hero-section .carousel-item {
        height: 500px;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
    .hero-content p {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    .hero-content .hero-stats {
        gap: 15px;
    }
    .hero-content .hero-stat-num {
        font-size: 1.6rem;
    }
    .hero-content .hero-stat-label {
        font-size: 0.8rem;
    }
    .section-padding {
        padding: 50px 0;
    }
    .section-title {
        margin-bottom: 30px;
    }
    .section-title h2 {
        font-size: 1.5rem;
    }
    .section-title p {
        font-size: 0.9rem;
    }
    .navbar-nav .nav-link {
        padding: 10px 0;
        font-size: 0.9rem;
    }
    .dropdown-menu {
        border: none;
        box-shadow: none;
        background: rgba(255,255,255,0.05);
    }
    .dropdown-item {
        color: rgba(255,255,255,0.8);
        font-size: 0.85rem;
    }
    .dropdown-item:hover {
        background: rgba(255,255,255,0.1);
        color: var(--accent);
    }
    .page-banner {
        padding: 50px 0 35px;
    }
    .page-banner h1 {
        font-size: 1.6rem;
    }
    .page-banner p {
        font-size: 0.9rem;
    }
    .process-step:not(:last-child)::after {
        display: none;
    }
    .nav-cta {
        display: none;
    }
    .brand-logo {
        height: 45px;
        max-width: 180px;
    }
    .service-card {
        padding: 25px 15px;
    }
    .service-icon {
        width: 55px;
        height: 55px;
        font-size: 1.5rem;
    }
    .footer-main {
        padding: 40px 0 30px;
    }
    .footer-title {
        font-size: 1rem;
        margin-bottom: 15px;
    }
    .footer-links a {
        font-size: 0.85rem;
    }
    .footer-contact li {
        font-size: 0.85rem;
    }
}

@media (max-width: 767.98px) {
    .hero-section,
    .hero-section .carousel-item {
        height: 420px;
    }
    .hero-content {
        padding: 0 15px;
    }
    .hero-content h1 {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }
    .hero-content p {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
    .hero-content .btn {
        padding: 8px 20px;
        font-size: 0.85rem;
    }
    .hero-content .hero-stats {
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 25px;
    }
    .hero-content .hero-stat-item {
        flex: 0 0 45%;
    }
    .hero-content .hero-stat-num {
        font-size: 1.4rem;
    }
    .hero-content .hero-stat-label {
        font-size: 0.75rem;
    }
    .section-padding {
        padding: 40px 0;
    }
    .section-title {
        margin-bottom: 25px;
    }
    .section-title h2 {
        font-size: 1.3rem;
    }
    .section-title p {
        font-size: 0.85rem;
    }
    .service-card {
        padding: 20px 12px;
        margin-bottom: 10px;
    }
    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        margin-bottom: 12px;
    }
    .service-card h5 {
        font-size: 1rem;
    }
    .service-card p {
        font-size: 0.8rem;
    }
    .stat-num {
        font-size: 1.8rem;
    }
    .stat-label {
        font-size: 0.8rem;
    }
    .product-card-img {
        height: 160px;
    }
    .product-card-body {
        padding: 15px;
    }
    .product-card-body h5 {
        font-size: 1rem;
    }
    .product-card-body p {
        font-size: 0.8rem;
        -webkit-line-clamp: 2;
    }
    .warehouse-card-img {
        height: 180px;
    }
    .warehouse-card-body {
        padding: 15px;
    }
    .case-card-img {
        height: 160px;
    }
    .case-card-body {
        padding: 15px;
    }
    .news-card-img {
        height: 150px;
    }
    .news-card-body {
        padding: 15px;
    }
    .news-card-body h5 {
        font-size: 0.95rem;
    }
    .contact-form {
        padding: 20px;
    }
    .contact-info-card {
        padding: 20px;
    }
    .contact-info-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    .process-steps {
        flex-direction: column;
    }
    .process-step:not(:last-child)::after {
        content: '↓';
        position: relative;
        display: block;
        right: auto;
        top: auto;
        transform: none;
        margin: 5px auto;
    }
    .footer-main {
        padding: 30px 0 20px;
    }
    .footer-brand {
        text-align: center;
        margin-bottom: 20px;
    }
    .footer-brand h4 {
        font-size: 1.1rem;
    }
    .footer-brand p {
        font-size: 0.8rem;
    }
    .footer-social {
        justify-content: center;
    }
    .footer-title {
        font-size: 0.95rem;
        margin-bottom: 12px;
    }
    .footer-links li {
        margin-bottom: 8px;
    }
    .footer-links a {
        font-size: 0.8rem;
    }
    .footer-contact li {
        font-size: 0.8rem;
        margin-bottom: 12px;
    }
    .footer-bottom {
        font-size: 0.75rem;
        padding: 15px 0;
    }
    .float-contact {
        right: 15px;
        bottom: 80px;
    }
    .float-btn {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    .back-to-top {
        right: 15px;
        bottom: 30px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    .about-feature {
        padding: 20px 10px;
    }
    .about-feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    .about-feature h5 {
        font-size: 0.95rem;
    }
    .timeline {
        padding-left: 30px;
    }
    .timeline-item {
        margin-bottom: 20px;
    }
    .filter-tabs {
        gap: 6px;
        margin-bottom: 25px;
    }
    .filter-tab {
        padding: 6px 14px;
        font-size: 0.8rem;
    }
    .cta-section {
        padding: 40px 0;
    }
    .cta-section h2 {
        font-size: 1.3rem;
    }
    .cta-section p {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        display: flex;
    }
    .cta-buttons .btn {
        min-width: 200px;
        padding: 12px 30px;
        font-size: 0.9rem;
    }
    .page-banner {
        padding: 40px 0 30px;
    }
    .page-banner h1 {
        font-size: 1.4rem;
    }
    .page-banner p {
        font-size: 0.85rem;
    }
    .breadcrumb {
        font-size: 0.8rem;
    }
    .news-detail-title {
        font-size: 1.4rem;
    }
    .news-detail-content {
        font-size: 0.9rem;
        line-height: 1.8;
    }
    .wechat-modal-content {
        padding: 20px;
    }
}

/* ===== 图片基础样式 ===== */
img {
    max-width: 100%;
    height: auto;
}

/* ===== Hero 文字动画（CSS only，GPU加速）===== */
@keyframes fadeInDown {
    from { opacity: 0; transform: translate3d(0, -15px, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translate3d(0, 15px, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}
.animate__fadeInDown { animation: fadeInDown 0.6s ease-out both; }
.animate__fadeInUp { animation: fadeInUp 0.6s ease-out both; }
.animate__delay-1s { animation-delay: 0.3s; }
