/* =====================================================
   奇商网络官网 - 页脚样式（SMACSS + BEM）
   创建时间：2026-06-05
   目标：仅保留版权信息，HTML语义化
   ===================================================== */

/* =====================================================
   Layout - 页脚布局层（l- 前缀）
   ===================================================== */

.l-footer {
    background: #41bb58;
    padding: 1rem 0 1rem;
    text-align: center;
}

/* =====================================================
   Module - 版权信息容器
   ===================================================== */

.footer__copyright {
    max-width: 75rem;
    margin: 0 auto;
    padding: 0 1rem;
}

.footer__copyright p {
    color: #000000;
    font-size: 1rem;
    line-height: 1.8;
    margin: 0;
}

.footer__copyright a {
    color: #000000;
    text-decoration: none;
}

.footer__copyright a:hover {
    color: #fff;
}

/* =====================================================
   Module - 返回顶部按钮
   ===================================================== */

.back-top {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    width: 3.125rem;
    height: 3.125rem;
    background: #41bb58;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s;
    z-index: 999;
    text-decoration: none;
}

.back-top.show {
    opacity: 1;
    visibility: visible;
    display: flex;
}

.back-top:hover {
    background: #36a34a;
    transform: translateY(-0.3125rem);
}

.back-top::before {
    content: '';
    width: 0.9375rem;
    height: 0.9375rem;
    border: 1px solid #fff;
    border-bottom: none;
    border-right: none;
    transform: rotate(45deg);
    margin-top: 0.5rem;
}

/* =====================================================
   State - 响应式布局
   ===================================================== */

@media screen and (max-width: 1199px) {
    .footer__container {
        padding: 0 2rem;
    }
    
    .footer__grid {
        gap: 1.875rem;
    }
}

@media screen and (max-width: 992px) {
    .l-footer {
        padding: 3rem 0 1rem 0;
    }
    
    .footer__grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .footer__section {
        padding: 0;
        text-align: left;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 1rem;
        margin-bottom: 1rem;
    }
    
    .footer__section:last-child {
        border-bottom: none;
    }
    
    .footer__title {
        cursor: pointer;
    }
    
    .footer__title em {
        margin-bottom: 0;
        font-size: 0.875rem;
        line-height: 1.2;
    }
}

@media screen and (max-width: 768px) {
    .l-footer {
        padding: 2rem 0 3rem 0;
    }
    
    .footer__container {
        padding: 0 1rem;
    }
    
    .back-top {
        right: 0.9375rem;
        bottom: 0.9375rem;
        width: 2.8125rem;
        height: 2.8125rem;
    }
}

/* =====================================================
   兼容旧样式（过渡期保留）
   ===================================================== */

/* 页脚容器 */
.footer,
.l-footer {
    position: relative;
    z-index: 5;
    background-color: rgba(50, 205, 50, 0.3);
}

.footer_m,
.footer__grid {
    overflow: hidden;
    margin-top: 1rem;
}

/* 页脚分区 */
.right_column,
.footer__section {
    margin-bottom: 0;
}

/* 页脚标题 */
.fot_title,
.footer__title {
    position: relative;
    display: block;
    margin-bottom: 1rem;
}

.fot_title em,
.footer__title em {
    display: block;
    color: #000000;
    font-size: 1.125rem;
    text-transform: uppercase;
    line-height: 1.8;
    font-style: normal;
}

/* 页脚列表 */
.block_content ul,
.footer__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.block_content ul li,
.footer__list li {
    margin-bottom: 1rem;
    color: #000000;
}

.block_content ul li a,
.footer__list a {
    color: #000000;
    text-decoration: none;
    font-size: 1rem;
}

.block_content ul li a:hover,
.footer__list a:hover {
    color: #41bb58;
}

/* 清除浮动 */
.clearfix::after {
    content: " ";
    display: table;
    clear: both;
}
