/* =========================================
   页脚 Footer 样式
   ========================================= */

.cen-footer {
    background-color: #1c1c1c;
    color: #b3b3b3;
    font-size: 14px;
    overflow: hidden;
    position: relative;
}

.cen-footer__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 64px 24px 32px;
}

/* ---------- 中部：三栏内容 ---------- */
.cen-footer__main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 32px;
}

/* Logo 栏（与其他栏顶部水平对齐） */
.cen-footer__logo {
    text-align: left;
}

.cen-footer__logo img {
    height: 44px;
    width: auto;
    display: block;
    margin: 0 0 28px;
}

.cen-footer__subscribe {
    display: flex;
    align-items: center;
    gap: 0;
}

.cen-footer__subscribe-input {
    width: 200px;
    max-width: 100%;
    height: 44px;
    padding: 0 16px;
    border: 1px solid #3a3a3a;
    border-right: none;
    border-radius: 22px 0 0 22px;
    background: transparent;
    color: #e5e5e5;
    font-size: 13px;
    outline: none;
}

.cen-footer__subscribe-input::placeholder {
    color: #7a7a7a;
}

.cen-footer__subscribe-input:focus {
    border-color: #f08519;
}

.cen-footer__subscribe-btn {
    height: 44px;
    padding: 0 24px;
    border: none;
    border-radius: 0 22px 22px 0;
    background: #f08519;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.cen-footer__subscribe-btn:hover {
    background: #d97711;
}

/* ---------- 中部：品牌社媒 + Quick Links + 联系方式 ---------- */
.cen-footer__col-title {
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 20px;
}

/* 品牌栏 */
.cen-footer__brand {
    flex: 0 0 auto;
}

.cen-footer__brand .cen-footer__col-title {
    margin-bottom: 24px;
}

.cen-footer__social {
    display: flex;
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.cen-footer__social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #2b2b2b;
    color: #b3b3b3;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.cen-footer__social a:hover {
    background: #f08519;
    color: #fff;
}

.cen-footer__social svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* Quick Links 双列 */
.cen-footer__links {
    flex: 0 0 auto;
    width: 280px;
}

.cen-footer__menu {
    display: grid;
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    gap: 14px 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.cen-footer__menu a {
    color: #b3b3b3;
    text-decoration: none;
    transition: color 0.2s ease;
}

.cen-footer__menu a:hover {
    color: #f08519;
}

/* 联系方式 */
.cen-footer__contact {
    flex: 0 0 auto;
    max-width: 400px;
}

.cen-footer__contact p {
    margin: 0 0 14px;
    line-height: 1.7;
    white-space: pre-line;
}

.cen-footer__contact a {
    color: #b3b3b3;
    text-decoration: none;
}

.cen-footer__contact a:hover {
    color: #f08519;
}

/* 订阅区（位于联系方式栏最下方） */
.cen-footer__contact .cen-footer__subscribe {
    margin-top: 20px;
}

/* ---------- 底部版权 ---------- */
.cen-footer__bottom {
    border-top: 1px solid #2e2e2e;
    margin-top: 48px;
    padding-top: 24px;
    text-align: center;
    font-size: 13px;
    color: #8c8c8c;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
    .cen-footer__main {
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .cen-footer__main {
        flex-direction: column;
        align-items: flex-start;
    }

    .cen-footer__links {
        min-width: 0;
        width: 100%;
    }

    .cen-footer__subscribe-input {
        width: 200px;
    }
}
