/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", sans-serif;
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 40px;
}

.logo span {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #16baaa;
}

/* 汉堡菜单按钮样式 */
.menu-toggle {
    display: none;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: #333;
    position: relative;
    transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: #333;
    left: 0;
    transition: all 0.3s ease;
}

.hamburger::before {
    top: -6px;
}

.hamburger::after {
    bottom: -6px;
}

/* 汉堡菜单激活状态 */
.menu-toggle.active .hamburger {
    background: transparent;
}

.menu-toggle.active .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.menu-toggle.active .hamburger::after {
    transform: rotate(-45deg);
    bottom: 0;
}

/* 主横幅样式 */
.hero {
    margin-top: 70px;
    height: 600px;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
                url('https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?w=1600&auto=format') center/cover;
    display: flex;
    align-items: center;
    color: white;
}

.hero-content {
    width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 24px;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.2s;
    opacity: 0;
    animation-fill-mode: forwards;
}

/* 服务优势 */
.advantages {
    padding: 80px 0;
    background: #f8f9fa;
}

.section-container {
    width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.advantage-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.advantage-card:hover {
    transform: translateY(-10px);
    border-bottom: 3px solid #16baaa;
}

.advantage-icon {
    font-size: 40px;
    color: #16baaa;
    margin-bottom: 20px;
}

/* 全球仓储网络 */
.network {
    padding: 80px 0;
}

/* 全球仓储网络地图样式 */
.warehouse-map {
    margin-top: 40px;
    height: 500px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

/* 仓储点标记样式 */
.warehouse-point {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #16baaa;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(22, 186, 170, 0.3);
    animation: pulse 2s infinite;
}

/* 仓储点动画 */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(22, 186, 170, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(22, 186, 170, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(22, 186, 170, 0);
    }
}

.warehouse-map {
    margin-top: 40px;
    height: 500px;
    border-radius: 10px;
    overflow: hidden;
}

/* 服务流程 */
.process {
    padding: 80px 0;
    background: #f8f9fa;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    position: relative;
}

.process-step {
    text-align: center;
    width: 200px;
    z-index: 1;
}

.step-number {
    width: 60px;
    height: 60px;
    background: #16baaa;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 20px;
}

/* 联系我们 */
.contact {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.section-title p {
    color: #666;
    margin-top: 10px;
}

.contact-wrapper {
    display: flex;
    gap: 40px;
    margin-top: 50px;
}

/* 左侧联系信息样式 */
.contact-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.info-header i {
    font-size: 24px;
    color: #16baaa;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(22, 186, 170, 0.1);
    border-radius: 8px;
}

.info-header h3 {
    color: #333;
    font-size: 18px;
    margin: 0;
}

.info-content p {
    color: #666;
    margin: 8px 0;
    font-size: 14px;
}

/* 右侧二维码样式 */
.contact-qr {
    width: 360px;
}

.qr-wrapper {
    display: flex;
    gap: 20px;
}

.qr-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.qr-card:hover {
    transform: translateY(-5px);
}

.qr-image {
    width: 150px;
    height: 150px;
    margin: 0 auto 15px;
}

.qr-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.qr-card p {
    color: #333;
    font-size: 16px;
    font-weight: 500;
    margin: 0 0 5px;
}

.qr-card span {
    color: #666;
    font-size: 12px;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .contact-wrapper {
        flex-direction: column;
    }
    
    .contact-qr {
        width: 100%;
    }
    
    .qr-wrapper {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .qr-wrapper {
        flex-direction: column;
        align-items: center;
    }
    
    .qr-card {
        width: 100%;
        max-width: 280px;
    }
}

/* 页脚 */
footer {
    padding: 40px 0;
    background: #1a1a1a;
    color: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: #16baaa;
}

.footer-section p {
    margin-bottom: 10px;
    color: #999;
}

/* 动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .section-container {
        width: 100%;
        padding: 0 20px;
    }
}

/* 修改所有使用原主题色的地方 */
.nav-links a:hover {
    color: #16baaa;
}

/* 添加一些悬停效果 */
.nav-links a:hover {
    color: #16baaa;
    transition: color 0.3s ease;
}

.cta-button {
    background: #16baaa;
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background: #107f73;  /* 稍深的色调用于悬停效果 */
}

/* 可能需要的其他颜色变体 */
:root {
    --primary-color: #16baaa;
    --primary-dark: #107f73;
    --primary-light: #1cd5c4;
    --primary-bg: rgba(22, 186, 170, 0.1);
}

/* 服务优势图标背景 */
.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    opacity: 0.1;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* 固定悬浮按钮样式 */
.float-buttons {
    position: fixed;
    right: 20px;
    bottom: 50px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.float-button {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
}

.float-button i {
    font-size: 20px;
    color: #16baaa;
}

.float-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* 工具提示 */
.tooltip {
    position: absolute;
    right: 60px;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.float-button:hover .tooltip {
    opacity: 1;
    visibility: visible;
}

/* 客服面板样式 */
.service-panel {
    position: absolute;
    right: 60px;
    bottom: 0;
    width: 300px;
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateX(20px);
    transition: all 0.3s ease;
}

.customer-service:hover .service-panel {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.service-panel h3 {
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.service-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid #f0f0f0;
}

.service-item:last-child {
    border-bottom: none;
}

.service-item i {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    color: #16baaa;
}

.service-item span {
    flex: 1;
    color: #333;
    font-size: 14px;
}

.service-item a {
    color: #16baaa;
    text-decoration: none;
}

.service-item img {
    width: 100px;
    height: 100px;
    display: none;
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    padding: 5px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.service-item:hover img {
    display: block;
}

/* 返回顶部按钮初始隐藏 */
.back-to-top {
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

/* 当页面滚动时显示返回顶部按钮 */
.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 在线聊天按钮样式 */
.chat-button {
    background: #16baaa;
    color: white;
    border: none;
    padding: 20px 30px;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-width: 80px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(22, 186, 170, 0.2);
}

.service-item .chat-button:hover {
    background: #128e82;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(22, 186, 170, 0.3);
}

/* 聊天窗口基础样式 */
.chat-window {
    position: fixed;
    right: 20px;
    bottom: 100px;
    width: 300px;
    height: 400px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    z-index: 1001;
    display: none;
    flex-direction: column;
    overflow: hidden;
}

/* 聊天窗口头部 */
.chat-header {
    background: #16baaa;
    padding: 12px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.chat-header h3 {
    margin: 0;
    color: white;
    font-size: 14px;
    font-weight: 500;
}

.close-chat {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.close-chat:hover {
    opacity: 1;
}

/* 聊天消息区域样式 */
.chat-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    background: white;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

/* 消息样式 */
.message {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

.message-content {
    padding: 10px;
    border-radius: 8px;
    max-width: 80%;
    word-break: break-word;
}

.message.user .message-content {
    background: #16baaa;
    color: white;
    margin-left: auto;
}

.message.service .message-content {
    background: #f5f5f5; /* 客服消息背景色 */
    color: #333;
}

/* 图片消息特殊处理 */
.message-content:has(img) {
    background: transparent !important;
    padding: 0;
}

/* 聊天输入区域样式 */
.chat-input {
    display: flex;
    gap: 8px;
    padding: 10px;
    background: white !important;
    border-top: 1px solid #eee;
}

/* 文本域样式 */
.chat-input input {
    flex: 1;
    min-height: 40px;
    max-height: 120px;
    padding: 8px 12px;
    background-color: white !important;
    color: #000000 !important; /* 默认文字颜色为白色 */
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    outline: none;
    font-size: 14px;
    line-height: 1.5;
    resize: none;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

/* 文本域在输入状态下的文字颜色 */
.chat-input textarea:not(:placeholder-shown) {
    color: #333 !important; /* 有输入内容时文字为黑色 */
}

/* 文本域占位符颜色 */
.chat-input textarea::placeholder {
    color: #fff !important;
    opacity: 1;
}

/* 隐藏文本域滚动条 */
.chat-input textarea::-webkit-scrollbar {
    display: none;
}

/* 发送按钮样式 */
.chat-input button {
    height: 40px;
    padding: 0 15px;
    background: #16baaa;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s;
    white-space: nowrap;
}

.chat-input button:hover {
    background: #128e82;
}

/* 工具栏样式 */
.chat-toolbar {
    padding: 8px 10px;
    border-top: 1px solid #eee;
    background: white;
    display: flex;
    align-items: center;
    position: relative;
}

.toolbar-btn {
    background: none;
    border: none;
    padding: 6px 10px;
    cursor: pointer;
    color: #666;
    font-size: 16px;
    transition: color 0.3s;
}

.toolbar-btn:hover {
    color: #16baaa;
}

/* 表情包样式优化 */
.emoji-panel {
    display: none;
    position: absolute;
    bottom: 100%;
    left: 0;
    width: 100%;
    max-height: 200px;
    background: white;
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.emoji-container {
    padding: 12px;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.emoji-item {
    width: 30px;
    height: 30px;
    cursor: pointer;
    transition: transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.emoji-item:hover {
    transform: scale(1.2);
}

.emoji-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* 消息中的表情样式 */
.message-content img.emoji {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin: 0 2px;
}

/* 显示表情面板的状态 */
.emoji-panel.active {
    display: block;
}

.message-time {
    font-size: 12px;
    color: #999;
    margin-top: 4px;
    clear: both;
}

/* 移动端适配 */
@media screen and (max-width: 767px) {
    .chat-window {
        width: 280px;
        right: 10px;
        bottom: 80px;
    }
    
    .chat-input textarea {
        min-height: 50px;
        max-height: 100px;
    }
    
    .chat-input button {
        height: 50px;
    }
}

/* 超小屏幕适配 */
@media screen and (max-width: 320px) {
    .chat-window {
        width: 260px;
        right: 5px;
    }
}

/* 响应式设计 */
/* 平板设备 (768px 到 1024px) */
@media screen and (max-width: 1024px) {
    .nav-container {
        padding: 0 20px;
    }

    .nav-links {
        gap: 20px;
    }

    /* 主横幅响应式 */
    .hero {
        height: 500px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    /* 服务优势响应式 */
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 0 20px;
    }

    /* 联系我们响应式 */
    .contact-wrapper {
        flex-direction: column;
        padding: 0 20px;
    }

    .contact-qr {
        width: 100%;
        margin-top: 30px;
    }

    /* 客服面板响应式 */
    .service-panel {
        width: 280px;
        right: 50px;
    }

    /* 聊天窗口响应式 */
    .chat-window {
        width: 320px;
        right: 10px;
        bottom: 80px;
    }
}

/* 手机设备 (小于 768px) */
@media screen and (max-width: 767px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: auto;
        background: white;
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        display: none; /* 初始状态隐藏 */
        z-index: 999;
    }

    /* 激活状态显示菜单 */
    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 15px 0;
        border-bottom: 1px solid #eee;
        width: 100%;
        text-align: center;
        color: #333;
        font-size: 16px;
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

    /* 汉堡按钮激活状态 */
    .menu-toggle.active .hamburger {
        background: transparent;
    }

    .menu-toggle.active .hamburger::before {
        transform: rotate(45deg);
        top: 0;
    }

    .menu-toggle.active .hamburger::after {
        transform: rotate(-45deg);
        bottom: 0;
    }

    .logo span {
        font-size: 16px;
    }

    /* 主横幅响应式 */
    .hero {
        height: 400px;
    }

    .hero-content {
        padding: 0 20px;
    }

    .hero-content h1 {
        font-size: 24px;
    }

    .hero-content p {
        font-size: 14px;
    }

    /* 服务优势响应式 */
    .advantages-grid {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }

    .advantage-card {
        padding: 20px;
    }

    /* 仓储网络响应式 */
    .warehouse-map {
        height: 300px;
        margin: 20px 15px;
    }

    /* 服务流程响应式 */
    .process-steps {
        flex-direction: column;
        padding: 0 15px;
    }

    .process-step {
        width: 100%;
        margin-bottom: 30px;
    }

    /* 联系我们响应式 */
    .contact-info {
        padding: 0 15px;
    }

    .info-card {
        padding: 15px;
    }

    .qr-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    /* 页脚响应式 */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px 15px;
    }

    /* 客服面板响应式 */
    .service-panel {
        width: 250px;
        right: 45px;
    }

    /* 聊天窗口响应式 */
    .chat-window {
        width: 100%;
        height: 100%;
        right: 0;
        bottom: 0;
        border-radius: 0;
    }

    /* 浮动按钮响应式 */
    .float-buttons {
        right: 10px;
        bottom: 20px;
    }

    .float-button {
        width: 40px;
        height: 40px;
    }

    .float-button i {
        font-size: 16px;
    }
}

/* 超小屏幕设备 (小于 375px) */
@media screen and (max-width: 374px) {
    .hero-content h1 {
        font-size: 20px;
    }

    .section-title h2 {
        font-size: 20px;
    }

    .info-card {
        padding: 12px;
    }

    .service-panel {
        width: 220px;
        right: 40px;
    }

    .float-buttons {
        right: 5px;
        bottom: 15px;
    }
}

/* 适配刘海屏 */
@supports (padding: max(0px)) {
    .chat-window {
        padding-bottom: max(15px, env(safe-area-inset-bottom));
    }

    .float-buttons {
        bottom: max(20px, env(safe-area-inset-bottom));
    }
}

/* 调整图片大小 */
.chat-image {
    max-width: 250px;
    max-height: 250px;
    border-radius: 8px;
    object-fit: contain;
    margin: 5px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* 联系我们部分样式 */
.contact-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-header {
    text-align: center;
    margin-bottom: 50px;
}

.contact-header h2 {
    font-size: 32px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.contact-header p {
    font-size: 16px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: start;
}

.contact-item {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 250px; /* 统一最小高度 */
    justify-content: flex-start; /* 从顶部开始布局 */
}

.contact-item:hover {
    transform: translateY(-5px);
}

.contact-item i {
    font-size: 36px;
    color: #16baaa;
    margin-bottom: 20px;
}

.contact-item h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 500;
}

.contact-item .button-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center; /* 垂直居中 */
    margin: 15px 0;
}

.contact-item .chat-button {
    background: #16baaa;
    color: white;
    border: none;
    padding: 20px 30px;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
    width: fit-content; /* 按钮宽度适应内容 */
    margin: 0 auto; /* 水平居中 */
}

.contact-item p {
    color: #666;
    line-height: 1.6;
    margin: 8px 0;
}

.contact-item p:last-child {
    margin-top: auto; /* 推到底部 */
}

/* 移动端适配 */
@media screen and (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-section {
        padding: 40px 0;
    }
    
    .contact-item {
        padding: 30px 20px;
    }
    
    .contact-header h2 {
        font-size: 28px;
    }
}

/* 平板适配 */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}