@import url('theme-ship.css');

/* 全局样式 */
:root {
    --primary-color: #146eb4;
    --primary-dark: #0d5a94;
    --secondary-color: #136eb4;
    --accent-gold: #ff9900;
    --text-color: #575757;
    --text-light: #959595;
    --bg-light: #f7f7f7;
    --bg-dark: #121622;
    --border-color: #e2e2e2;
    --font-heading: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* 首屏根据 html[lang] 直接决定中英文显隐，避免切页闪烁 */
html[lang="en"] .zh,
html[lang="en"] .title-zh,
html[lang="en"] .subtitle-zh,
html[lang="en"] .nav-label-zh {
    display: none !important;
}

html[lang="zh"] .en,
html[lang="zh"] .title-en,
html[lang="zh"] .subtitle-en,
html[lang="zh"] .nav-label-en {
    display: none !important;
}

html[lang="en"] .en,
html[lang="en"] .title-en,
html[lang="en"] .subtitle-en,
html[lang="en"] .nav-label-en {
    display: revert !important;
}

html[lang="zh"] .zh,
html[lang="zh"] .title-zh,
html[lang="zh"] .subtitle-zh,
html[lang="zh"] .nav-label-zh {
    display: revert !important;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background: #fff;
    line-height: 1.6;
}

html[lang="en"] {
    --font-heading: 'Raleway', sans-serif;
    --font-body: 'Raleway', sans-serif;
}

html[lang="en"] body {
    font-family: 'Raleway', sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255,255,255,0.98);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar.scrolled .nav-container {
    height: 60px;
}

.navbar.scrolled .logo-icon {
    width: 36px;
    height: 36px;
}

.navbar.scrolled .logo-zh {
    font-size: 16px;
}

.navbar.scrolled .logo-en {
    font-size: 10px;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    transition: height 0.3s ease;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-color);
}

/* 避免刷新时先显示默认 SVG 再切换自定义 logo */
html.logo-pending:not(.logo-ready) .logo-icon {
    visibility: hidden;
}

html.logo-ready .logo-icon {
    visibility: visible;
}

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: all 0.3s ease;
}

.logo-icon:not(.has-custom-logo) .logo-svg,
.logo-icon:not(.has-custom-logo) > svg {
    display: block;
    width: 32px;
    height: 32px;
    stroke: var(--primary-color);
}

.logo-icon.has-custom-logo svg,
.logo-icon.has-custom-logo .logo-svg {
    display: none !important;
}

.logo-icon img.logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: transparent;
}

.logo-text {
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.logo-zh {
    font-size: 18px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.logo-en {
    font-size: 11px;
    color: var(--text-light);
    transition: all 0.3s ease;
}

/* 默认显示中文Logo，隐藏英文Logo */
.logo-en {
    display: none;
}

html[lang="en"] .logo-zh {
    display: none;
}

html[lang="en"] .logo-en {
    display: block;
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    padding: 8px 0;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lang-toggle {
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    background: transparent;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-color);
    transition: var(--transition);
}

.lang-toggle:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    align-items: center;
    justify-content: center;
}

/* 移动端底部导航栏 */
.mobile-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1002;
    padding-bottom: env(safe-area-inset-bottom);
    visibility: hidden;
}

body.lang-ready .mobile-nav {
    visibility: visible;
}

.mobile-nav-list {
    display: flex;
    justify-content: space-around;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    height: 60px;
}

.mobile-nav-item {
    flex: 1;
    text-align: center;
}

.mobile-nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #64748b;
    padding: 6px 0;
    transition: color 0.2s;
}

.mobile-nav-link.active {
    color: #006994;
}

.mobile-nav-link svg,
.mobile-nav-link .mobile-nav-icon svg {
    width: 20px;
    height: 20px;
    margin-bottom: 2px;
}

.mobile-nav-link span:not(.mobile-nav-icon):not(.nav-label-zh):not(.nav-label-en),
.mobile-nav-link .nav-label-zh {
    font-size: 10px;
    font-weight: 500;
}

/* 移动端侧边栏 */
.mobile-sidebar {
    display: none;
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: #fff;
    z-index: 1005;
    transition: right 0.3s ease;
    box-shadow: -4px 0 20px rgba(0,0,0,0.15);
    overflow-y: auto;
}

.mobile-sidebar.open {
    right: 0;
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.sidebar-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.sidebar-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: #64748b;
}

.sidebar-nav {
    padding: 10px 0;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    color: #1e293b;
    text-decoration: none;
    font-size: 16px;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.2s;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    background: #f8fafc;
    color: #006994;
}

.sidebar-nav a svg {
    width: 20px;
    height: 20px;
    color: #64748b;
}

.sidebar-nav a.active svg {
    color: #006994;
}

.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1004;
}

.sidebar-overlay.show {
    display: block;
}

/* Hero区域 */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 100px 20px 40px;
    background: linear-gradient(135deg, #1a1d24 0%, #2d1a10 50%, #1a1d24 100%);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('/images/local/unsplash-1569263979104.jpg') center/cover;
    opacity: 0.2;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
}

.hero-title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    opacity: 0.9;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-stats {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 60px;
    margin-top: 80px;
    padding: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.stat-item {
    text-align: center;
    color: #fff;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
}

.stat-number span {
    font-size: 24px;
}

.stat-label {
    font-size: 14px;
    opacity: 0.8;
    margin-top: 8px;
}

/* 按钮 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 16px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,105,148,0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.5);
    color: #fff;
}

.btn-outline:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.btn-block {
    width: 100%;
}

/* 服务区域 */
.services-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 18px;
    color: var(--text-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-bottom: 24px;
}

.service-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-desc {
    color: var(--text-light);
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
}

.service-features li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-features li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
    flex-shrink: 0;
}

/* 核心服务介绍响应式 */
@media (max-width: 768px) {
    .core-services-intro .intro-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .core-services-intro .intro-text h2 {
        font-size: 24px;
    }
    
    .core-services-intro .intro-highlights {
        justify-content: center;
    }
}

/* 新闻区域 */
.news-section {
    padding: 100px 0;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.news-card {
    background: var(--bg-light);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.news-image {
    height: 200px;
    background: linear-gradient(135deg, #e6f3f8, #d4ebf3);
    position: relative;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-category {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 14px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.news-content {
    padding: 24px;
    background: var(--bg-light);
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

.news-date {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 12px;
}

.news-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-color);
}

.news-excerpt {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
}

.section-footer {
    text-align: center;
    margin-top: 50px;
}

.section-footer .btn {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.section-footer .btn:hover {
    background: var(--primary-color);
    color: #fff;
}

/* 联系区域 */
.contact-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #2d1a10 100%);
    color: #fff;
}

.contact-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .contact-wrapper {
        display: block !important;
    }
}

.contact-info {
    width: 100%;
}

.contact-info .section-title {
    color: var(--text-color);
}

.contact-desc {
    opacity: 0.8;
    margin-bottom: 40px;
    line-height: 1.8;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-text .label {
    display: block;
    font-size: 14px;
    opacity: 0.7;
    margin-bottom: 4px;
}

.contact-text .value {
    font-size: 16px;
    font-weight: 500;
}

.contact-form-wrapper {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    position: sticky;
    top: 80px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
    color: #1e293b;
    font-size: 16px;
    transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #94a3b8;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: #fff;
}

/* 页脚 */
.footer {
    background: var(--bg-dark);
    color: rgba(255,255,255,0.8);
    padding: 40px 0;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.footer-name {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: #fff;
}

.footer-copyright {
    width: 100%;
    text-align: center;
    color: rgba(255,255,255,0.6);
    font-size: 14px;
}

/* 响应式 */
@media (max-width: 768px) {
    /* 容器 */
    .container {
        padding: 0 16px;
    }

    /* 导航栏 - 简化顶部 */
    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background: rgba(255,255,255,0.98);
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

    .nav-container {
        padding: 0 16px;
        height: 56px;
        position: relative;
    }

    .logo-icon {
        width: 36px;
        height: 36px;
        border-radius: 8px;
    }

    .logo-icon:not(.has-custom-logo) .logo-svg,
    .logo-icon:not(.has-custom-logo) > svg {
        width: 22px;
        height: 22px;
    }

    .logo-zh {
        font-size: 16px;
    }

    .logo-en {
        font-size: 10px;
    }

    /* 隐藏旧版顶部导航（不影响 ship-navigation） */
    .navbar .nav-menu {
        display: none !important;
    }

    /* 隐藏汉堡菜单按钮 */
    .mobile-menu-btn {
        display: none !important;
    }

    .nav-actions {
        gap: 10px;
    }

    .lang-toggle {
        padding: 6px 12px;
        font-size: 13px;
        border-radius: 16px;
        border: 1px solid #e2e8f0;
        background: #fff;
    }

    /* 显示底部导航 */
    .mobile-nav {
        display: block;
    }

    /* 显示侧边栏 */
    .mobile-sidebar {
        display: block;
    }

    /* 页面底部留出空间 */
    body {
        padding-bottom: 70px;
    }

    /* Hero区域 */
    .hero {
        min-height: calc(100vh - 70px);
        padding: 72px 16px 40px;
    }

    .hero-title {
        font-size: 28px;
        line-height: 1.3;
        margin-bottom: 16px;
    }

    .hero-subtitle {
        font-size: 14px;
        margin-bottom: 24px;
        padding: 0 10px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        width: 100%;
        padding: 0 20px;
    }

    .hero-buttons .btn {
        width: 100%;
        padding: 14px 24px;
    }

    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 16px;
        padding: 20px;
        margin: 40px 0 0;
        border-radius: 16px;
        width: 100%;
    }

    .stat-item {
        flex: 1 1 45%;
        min-width: 140px;
        padding: 10px;
    }

    .stat-number {
        font-size: 32px;
    }

    .stat-number span {
        font-size: 18px;
    }

    .stat-label {
        font-size: 12px;
        margin-top: 4px;
    }

    /* 按钮 */
    .btn {
        padding: 12px 24px;
        font-size: 15px;
        border-radius: 24px;
    }

    /* 服务区域 */
    .services-section {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 40px;
        padding: 0 4px;
    }

    .section-title {
        font-size: 26px;
        margin-bottom: 12px;
    }

    .section-desc {
        font-size: 15px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        padding: 24px;
        border-radius: 16px;
    }

    .service-icon {
        width: 50px;
        height: 50px;
        border-radius: 12px;
        margin-bottom: 16px;
    }

    .service-icon svg {
        width: 24px;
        height: 24px;
    }

    .service-title {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .service-desc {
        font-size: 14px;
        margin-bottom: 16px;
    }

    .service-features li {
        font-size: 14px;
        padding: 6px 0;
    }

    /* 新闻区域 */
    .news-section {
        padding: 60px 0;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .news-card {
        border-radius: 16px;
    }

    .news-image {
        height: 180px;
    }

    .news-category {
        padding: 5px 12px;
        font-size: 11px;
        top: 12px;
        left: 12px;
    }

    .news-content {
        padding: 16px;
    }

    .news-date {
        font-size: 12px;
        margin-bottom: 8px;
    }

    .news-title {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .news-excerpt {
        font-size: 13px;
    }

    .section-footer {
        margin-top: 30px;
    }

    .section-footer .btn {
        padding: 12px 28px;
    }

    /* 联系区域 */
    .contact-section {
        padding: 60px 16px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-info {
        padding-right: 0;
    }

    .contact-info .section-title {
        font-size: 24px;
    }

    .contact-desc {
        font-size: 14px;
        margin-bottom: 24px;
    }

    .contact-items {
        gap: 16px;
    }

    .contact-item {
        gap: 14px;
    }

    .contact-icon {
        width: 44px;
        height: 44px;
        border-radius: 10px;
    }

    .contact-icon svg {
        width: 20px;
        height: 20px;
    }

    .contact-text .label {
        font-size: 12px;
    }

    .contact-text .value {
        font-size: 14px;
    }

    .contact-form-wrapper {
        padding: 24px;
        border-radius: 16px;
    }

    .contact-form-wrapper h3 {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .contact-form {
        gap: 16px;
    }

    .form-group input,
    .form-group textarea {
        padding: 14px 16px;
        font-size: 15px;
        border-radius: 10px;
    }

    /* 页脚 */
    .footer {
        padding: 30px 16px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .footer-brand {
        justify-content: center;
    }

    .footer-logo {
        width: 36px;
        height: 36px;
        border-radius: 8px;
    }

    .footer-logo svg {
        width: 24px;
        height: 24px;
    }

    .footer-name {
        font-size: 16px;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px 24px;
    }

    .footer-links a {
        font-size: 14px;
    }

    .footer-copyright {
        font-size: 13px;
    }

    /* 页面头部 */
    .page-header {
        padding: 100px 16px 40px;
    }

    .page-title {
        font-size: 28px;
        margin-bottom: 12px;
    }

    .page-desc {
        font-size: 15px;
    }

    /* 特性网格 */
    .feature-card {
        padding: 24px !important;
        border-radius: 16px !important;
    }

    .feature-card > div:first-child {
        font-size: 36px !important;
        margin-bottom: 12px !important;
    }

    .feature-card h3 {
        font-size: 17px !important;
        margin-bottom: 6px !important;
    }

    .feature-card p {
        font-size: 13px !important;
    }
}

/* 小屏幕手机 */
@media (max-width: 375px) {
    .hero-title {
        font-size: 24px;
    }

    .hero-subtitle {
        font-size: 13px;
    }

    .stat-item {
        flex: 1 1 100%;
        min-width: auto;
    }

    .section-title {
        font-size: 22px;
    }

    .page-title {
        font-size: 24px;
    }

    .services-grid,
    .news-grid {
        gap: 16px;
    }

    .service-card,
    .news-card {
        border-radius: 12px;
    }

    .contact-form-wrapper {
        padding: 20px;
    }
}

/* 横屏手机优化 */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 80px 16px 40px;
    }

    .hero-stats {
        margin-top: 30px;
    }

    .stat-item {
        flex: 1 1 22%;
    }
}

/* 关于我们页面移动端优化 */
@media (max-width: 768px) {
    .about-intro {
        padding: 60px 0;
    }

    .about-intro-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .about-text h2 {
        font-size: 26px !important;
        margin-bottom: 16px !important;
    }

    .about-text p {
        font-size: 14px !important;
        line-height: 1.7 !important;
        margin-bottom: 16px !important;
    }

    .about-image {
        order: -1;
        border-radius: 16px !important;
    }

    .about-image img {
        height: 200px;
        object-fit: cover;
    }

    .values-section {
        padding: 60px 0;
    }

    .values-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .value-card {
        padding: 24px !important;
        border-radius: 16px !important;
    }

    .value-card > div:first-child {
        width: 60px !important;
        height: 60px !important;
        border-radius: 14px !important;
        margin-bottom: 16px !important;
    }

    .value-card > div:first-child svg {
        width: 28px !important;
        height: 28px !important;
    }

    .value-card h3 {
        font-size: 18px !important;
        margin-bottom: 8px !important;
    }

    .value-card p {
        font-size: 14px !important;
    }

    .history-section {
        padding: 60px 0;
    }

    .history-timeline {
        margin-top: 30px !important;
    }

    .timeline-item {
        padding-left: 40px !important;
        margin-bottom: 30px !important;
    }

    .timeline-item > div:nth-child(2) {
        font-size: 20px !important;
        margin-bottom: 6px !important;
    }

    .timeline-item > div:first-child {
        left: 6px !important;
        width: 14px !important;
        height: 14px !important;
    }

    .timeline-item p {
        font-size: 14px !important;
    }
}

/* 联系我们页面移动端优化 */
@media (max-width: 768px) {
    .contact-section {
        padding: 60px 0;
    }

    .branch-offices {
        margin-top: 30px !important;
    }

    .branch-offices h3 {
        font-size: 18px !important;
        margin-bottom: 16px !important;
    }

    .branch-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .branch-item {
        padding: 14px !important;
        border-radius: 10px !important;
    }

    .branch-item strong {
        font-size: 15px !important;
    }

    .branch-item p {
        font-size: 13px !important;
        margin-top: 6px !important;
    }

    .map-section div {
        height: 250px !important;
    }
}

/* 新闻页面移动端优化 */
@media (max-width: 768px) {
    .news-list-section {
        padding: 60px 0;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* 服务轮播图样式 */
.services-carousel-wrapper {
    position: relative;
    padding: 0 50px;
}

.services-carousel {
    overflow: hidden;
    border-radius: 20px;
}

.services-carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.services-carousel-track .service-card {
    min-width: calc(33.333% - 20px);
    margin: 0 10px;
    flex-shrink: 0;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fff;
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-btn:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: 0;
}

.carousel-next {
    right: 0;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.carousel-indicators .indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicators .indicator.active {
    width: 30px;
    border-radius: 5px;
    background: var(--primary-color);
}

/* 客户评价区域（非首页；首页见 theme-ship.css body.page-home） */
body:not(.page-home) .testimonials-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a1d24 0%, #2d1a10 50%, #1a1d24 100%);
    position: relative;
    overflow: hidden;
}

body:not(.page-home) .testimonials-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('/images/local/unsplash-1454165804606.jpg') center/cover;
    opacity: 0.1;
}

body:not(.page-home) .testimonials-section .section-header {
    position: relative;
    z-index: 1;
}

body:not(.page-home) .testimonials-section .section-title {
    color: #fff;
}

body:not(.page-home) .testimonials-section .section-desc {
    color: rgba(255,255,255,0.7);
}

body:not(.page-home) .testimonials-wrapper {
    position: relative;
    z-index: 1;
    overflow: hidden;
    margin: 0 -20px;
    padding: 0 20px;
}

body:not(.page-home) .testimonials-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 30px;
}

body:not(.page-home) .testimonial-card {
    min-width: calc(33.333% - 20px);
    flex-shrink: 0;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255,255,255,0.15);
}

body:not(.page-home) .testimonial-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

body:not(.page-home) .testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    overflow: hidden;
}

body:not(.page-home) .testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body:not(.page-home) .testimonial-info h4 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 4px;
}

body:not(.page-home) .testimonial-info p {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
}

body:not(.page-home) .testimonial-rating {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

body:not(.page-home) .testimonial-rating svg {
    width: 18px;
    height: 18px;
    fill: #fbbf24;
    stroke: #fbbf24;
}

body:not(.page-home) .testimonial-content {
    color: rgba(255,255,255,0.9);
    font-size: 16px;
    line-height: 1.8;
    font-style: italic;
}

body:not(.page-home) .testimonial-content::before {
    content: '"';
    font-size: 48px;
    color: var(--primary-color);
    line-height: 0;
    vertical-align: middle;
    margin-right: 8px;
}

body:not(.page-home) .testimonials-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    position: relative;
    z-index: 1;
}

body:not(.page-home) .testimonial-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

body:not(.page-home) .testimonial-nav-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

body:not(.page-home) .testimonial-dots {
    display: flex;
    gap: 8px;
}

body:not(.page-home) .testimonial-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

body:not(.page-home) .testimonial-dots .dot.active {
    width: 30px;
    border-radius: 5px;
    background: #fff;
}

/* 轮播图和评价区域移动端适配 */
@media (max-width: 1024px) {
    .services-carousel-track .service-card {
        min-width: calc(50% - 20px);
    }
    
    body:not(.page-home) .testimonial-card {
        min-width: calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    /* 核心服务区域优化 */
    .services-section {
        padding: 50px 0;
    }
    
    .services-section .section-header {
        margin-bottom: 30px;
        padding: 0;
    }
    
    .services-section .section-title {
        font-size: 24px;
        margin-bottom: 8px;
    }
    
    .services-section .section-desc {
        font-size: 14px;
        line-height: 1.5;
    }
    
    .services-carousel-wrapper {
        padding: 0 16px;
        position: relative;
        overflow: hidden;
    }
    
    .services-carousel {
        border-radius: 16px;
        overflow: hidden;
    }
    
    .services-carousel-track {
        gap: 0;
        display: flex;
    }
    
    .services-carousel-track .service-card {
        min-width: 100%;
        width: 100%;
        margin: 0;
        padding: 24px;
        border-radius: 16px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.08);
        flex-shrink: 0;
    }
    
    .services-carousel-track .service-card:hover {
        transform: none;
    }
    
    .services-carousel-track .service-icon {
        width: 56px;
        height: 56px;
        border-radius: 14px;
        margin-bottom: 16px;
    }
    
    .services-carousel-track .service-icon svg {
        width: 28px;
        height: 28px;
    }
    
    .services-carousel-track .service-title {
        font-size: 18px;
        font-weight: 700;
        margin-bottom: 10px;
        color: #1e293b;
    }
    
    .services-carousel-track .service-desc {
        font-size: 14px;
        margin-bottom: 16px;
        line-height: 1.6;
        color: #64748b;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .services-carousel-track .service-features {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .services-carousel-track .service-features li {
        font-size: 12px;
        padding: 6px 12px;
        background: linear-gradient(135deg, #f0f8fb 0%, #e6f3f8 100%);
        border-radius: 20px;
        color: #005882;
        font-weight: 500;
    }
    
    .services-carousel-track .service-features li::before {
        display: none;
    }
    
    .carousel-btn {
        display: none;
    }
    
    .carousel-indicators {
        margin-top: 24px;
        gap: 8px;
    }
    
    .carousel-indicators .indicator {
        width: 8px;
        height: 8px;
        transition: all 0.3s ease;
    }
    
    .carousel-indicators .indicator.active {
        width: 28px;
        background: var(--primary-color);
    }
    
    /* 客户评价区域优化（非首页） */
    body:not(.page-home) .testimonials-section {
        padding: 50px 0;
    }
    
    body:not(.page-home) .testimonials-section .section-header {
        margin-bottom: 30px;
        padding: 0;
    }
    
    body:not(.page-home) .testimonials-section .section-title {
        font-size: 24px;
        margin-bottom: 8px;
    }
    
    body:not(.page-home) .testimonials-section .section-desc {
        font-size: 14px;
        line-height: 1.5;
    }
    
    body:not(.page-home) .testimonials-wrapper {
        padding: 0 16px;
        position: relative;
        overflow: hidden;
    }
    
    body:not(.page-home) .testimonials-track {
        gap: 0;
        display: flex;
    }
    
    body:not(.page-home) .testimonial-card {
        min-width: 100%;
        width: 100%;
        padding: 24px;
        margin: 0;
        border-radius: 16px;
        background: rgba(255,255,255,0.08);
        border: 1px solid rgba(255,255,255,0.12);
        flex-shrink: 0;
    }
    
    body:not(.page-home) .testimonial-header {
        gap: 14px;
        margin-bottom: 14px;
    }
    
    body:not(.page-home) .testimonial-avatar {
        width: 52px;
        height: 52px;
        font-size: 20px;
        border: 2px solid rgba(255,255,255,0.2);
    }
    
    body:not(.page-home) .testimonial-info h4 {
        font-size: 16px;
        font-weight: 600;
        margin-bottom: 2px;
    }
    
    body:not(.page-home) .testimonial-info p {
        font-size: 13px;
        opacity: 0.7;
    }
    
    body:not(.page-home) .testimonial-rating {
        margin-bottom: 14px;
    }
    
    body:not(.page-home) .testimonial-rating svg {
        width: 16px;
        height: 16px;
    }
    
    body:not(.page-home) .testimonial-content {
        font-size: 14px;
        line-height: 1.7;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    body:not(.page-home) .testimonials-nav {
        margin-top: 24px;
        gap: 12px;
    }
    
    body:not(.page-home) .testimonial-nav-btn {
        width: 36px;
        height: 36px;
        background: rgba(255,255,255,0.1);
        border: 1px solid rgba(255,255,255,0.2);
    }
    
    body:not(.page-home) .testimonial-nav-btn:hover {
        background: rgba(255,255,255,0.2);
    }
    
    body:not(.page-home) .testimonial-dots .dot {
        width: 8px;
        height: 8px;
    }
    
    body:not(.page-home) .testimonial-dots .dot.active {
        width: 24px;
    }
}


/* ==================== 服务项目页面移动端优化 ==================== */
@media (max-width: 768px) {
    /* 页面头部优化 */
    .page-header {
        padding: 100px 16px 40px;
    }
    
    .page-title {
        font-size: 28px;
    }
    
    .page-desc {
        font-size: 15px;
    }
    
    /* 核心服务介绍区域优化 */
    .core-services-intro {
        padding: 40px 0 !important;
    }
    
    .core-services-intro .intro-content {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
    
    .core-services-intro .intro-text h2 {
        font-size: 22px !important;
        margin-bottom: 16px !important;
    }
    
    .core-services-intro .intro-text p {
        font-size: 15px !important;
        line-height: 1.7 !important;
        margin-bottom: 16px !important;
    }
    
    .core-services-intro .intro-image > div {
        padding: 24px !important;
        border-radius: 16px !important;
    }
    
    .core-services-intro .intro-image h3 {
        font-size: 18px !important;
        margin-bottom: 16px !important;
    }
    
    .core-services-intro .intro-image li {
        font-size: 14px !important;
        margin-bottom: 12px !important;
    }
    
    .core-services-intro .intro-image li svg {
        width: 18px !important;
        height: 18px !important;
        flex-shrink: 0;
    }
    
    /* 服务列表区域优化 */
    .services-section {
        padding: 40px 0 !important;
    }
    
    .services-section .section-header {
        margin-bottom: 24px !important;
    }
    
    .services-section .section-title {
        font-size: 22px !important;
    }
    
    .services-section .section-desc {
        font-size: 14px !important;
    }
    
    .services-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    
    .services-grid .service-card {
        padding: 20px !important;
        border-radius: 16px !important;
    }
    
    .services-grid .service-icon {
        width: 48px !important;
        height: 48px !important;
        border-radius: 12px !important;
        margin-bottom: 14px !important;
    }
    
    .services-grid .service-icon svg {
        width: 24px !important;
        height: 24px !important;
    }
    
    .services-grid .service-title {
        font-size: 17px !important;
        margin-bottom: 8px !important;
    }
    
    .services-grid .service-desc {
        font-size: 14px !important;
        line-height: 1.6 !important;
        margin-bottom: 14px !important;
    }
    
    .services-grid .service-features {
        gap: 6px !important;
    }
    
    .services-grid .service-features li {
        font-size: 12px !important;
        padding: 5px 10px !important;
    }
    
    /* 为什么选择我们区域优化 */
    .service-detail {
        padding: 50px 0 !important;
    }
    
    .service-detail .section-title {
        font-size: 22px !important;
    }
    
    .service-detail .features-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 12px !important;
        margin-top: 24px !important;
    }
    
    .service-detail .feature-card {
        padding: 24px 16px !important;
        border-radius: 16px !important;
    }
    
    .service-detail .feature-card > div:first-child {
        font-size: 36px !important;
        margin-bottom: 10px !important;
    }
    
    .service-detail .feature-card h3 {
        font-size: 15px !important;
        margin-bottom: 4px !important;
    }
    
    .service-detail .feature-card p {
        font-size: 12px !important;
    }
    
    /* CTA区域优化 */
    .services-cta {
        padding: 60px 16px !important;
    }
    
    .services-cta h2 {
        font-size: 24px !important;
        margin-bottom: 12px !important;
    }
    
    .services-cta p {
        font-size: 15px !important;
        margin-bottom: 24px !important;
    }
    
    .services-cta .btn {
        padding: 12px 28px !important;
        font-size: 15px !important;
    }
}

/* 超小屏幕（375px以下）额外优化 */
@media (max-width: 375px) {
    .service-detail .features-grid {
        grid-template-columns: 1fr !important;
    }
    
    .services-grid .service-features li {
        font-size: 11px !important;
        padding: 4px 8px !important;
    }
}

/* ========== 全站方角（覆盖所有圆角，含内联样式） ========== */
html *,
html *::before,
html *::after {
    border-radius: 0 !important;
}
