.styled-footer {
    background-color: #002366;
    color: #fff;
    font-family: "Microsoft YaHei", sans-serif;
}

.footer-inner {
    max-width: 1500px;
    margin: 0 auto;
    padding: 30px 20px;
    display: flex;
    justify-content: space-between;
    box-sizing: border-box;
}

/* 左侧内容 */
.footer-left {
    flex: 0 0 46%;
}

/* 二维码与热线 */
.qrcode-hotline {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

.qrcode {
    width: 120px;
    height: 120px;
    margin-right: 30px;
}

.qrcode img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hotline h3 {
    color: #b89573;
    font-size: 38px;
    margin: 0 0 10px 0;
    font-weight: 500;
}

.hotline p {
    font-size: 32px;
    color: #b89573;
    margin: 0;
    font-weight: bold;
    letter-spacing: 0.5px;
}

/* 服务分类样式优化 */
.service-categories {
    padding-right: 20px;
}

.category {
    margin-bottom: 30px; /* 分类间距加大 */
}

/* 为标题添加下划线样式（修复不显示问题） */
.category-heading {
    color: #fff;
    font-size: 21px; /* 标题稍大 */
    margin: 0 0 15px 0; /* 标题与内容间距 */
    font-weight: 500;
    padding-left: 2px;
    /* 改用border实现下划线，兼容性更好 */
    border-bottom: 2px solid #b89573;
    display: inline-block; /* 仅包裹文字宽度 */
    padding-bottom: 2px; /* 调整文字与下划线间距 */
}

.category-items {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 35px; /* 项目间距优化 */
}

/* 为二级链接添加·符号（放大加粗） */
.category-items a {
    color: #b89573;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s ease; /* 仅保留颜色过渡 */
    position: relative;
    padding: 2px 0 2px 20px; /* 增加左侧空间适配更大符号 */
    line-height: 1.5; /* 垂直居中 */
}

/* 添加·符号伪元素（放大加粗） */
.category-items a::before {
    content: "●"; /* 改用实心圆点，更粗 */
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%); /* 垂直居中 */
    color: #b89573; /* 符号颜色（与标题同色） */
    font-size: 10px; /* 调整圆点大小 */
    font-weight: bold;
    line-height: 1;
}

/* 悬停效果优化 - 仅保留文字变色，移除下划线 */
.category-items a:hover {
    color: #b89573;
}

/* 右侧区域 */
.footer-right {
    flex: 0 0 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.map {
    width: 100%;
    margin-bottom: 22px;
}

.map img {
    width: 100%;
    height: auto;
    display: block;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icon {
    position: relative;
    width: 42px;
    height: 42px;
    cursor: pointer;
    transition: transform 0.2s;
}

.social-icon:hover {
    transform: translateY(-3px);
}

.social-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0.9);
}

.social-icon:hover img {
    filter: brightness(1.2);
}

.social-icon .qrcode {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 120px;
    padding: 5px;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    margin-bottom: 10px;
}

.social-icon:hover .qrcode {
    opacity: 1;
    visibility: visible;
}

/* 底部版权 */
.footer-bottom {
    background-color: #b89573;
    padding: 18px 20px;
    text-align: center;
}

.footer-bottom p {
    color: #333;
    font-size: 12px;
    margin: 6px 0;
    line-height: 1.6;
}

/* 响应式调整 */
@media (max-width: 1024px) {
    .footer-inner {
        flex-direction: column;
    }
    
    .footer-left, .footer-right {
        flex: none;
        width: 100%;
    }
    
    .footer-right {
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .qrcode-hotline {
        flex-direction: column;
        text-align: center;
    }
    
    .qrcode {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .category-items {
        gap: 10px 20px;
    }
}