/* ============================================================
   CheckNow Footer — 四列
   品牌 / 服务项目 / 联系我们 / 快速链接 + 版权栏
   ============================================================ */

/* ─── 主容器 ──────────────────────────── */
.checknow-footer-main {
    background: var(--cn-surface-dark);
    padding: 72px 0 0;
    font-size: 16px;
    color: #E2E8F0;
    border-top: 4px solid var(--cn-accent);
    width: 100%;
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.checknow-footer-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 48px;
    display: grid;
    grid-template-columns: 1.45fr 1fr 1.25fr 1fr;
    gap: clamp(56px, 6vw, 96px);
}

/* ─── 各列通用 ─────────────────────── */
.checknow-footer-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.checknow-footer-col h4 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--cn-accent);
    margin: 0;
    padding-bottom: 10px;
    position: relative;
}

.checknow-footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background: var(--cn-accent);
    border-radius: 1px;
}

.checknow-footer-col ul {
    list-style: none !important;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checknow-footer-col li {
    font-size: 16px;
    line-height: 1.6;
}

.checknow-footer-col a {
    color: #E2E8F0;
    text-decoration: none;
    transition: color 0.25s;
}

.checknow-footer-col a:hover {
    color: var(--cn-accent);
}

/* ─── 品牌列 ─────────────────────── */
.checknow-footer-brand {
    max-width: 320px;
}

.checknow-footer-logo-link {
    display: block;
    margin-bottom: 4px;
}

.checknow-footer-brand .checknow-footer-logo-img {
    max-height: 130px;
    width: auto;
    height: auto;
    filter: brightness(0) invert(1);
}
/* 页脚专用浅色 Logo：跳过反转滤镜 */
.checknow-footer-logo--custom {
    filter: none !important;
}

.checknow-footer-brand h3 {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
    background: linear-gradient(to right, var(--cn-accent), var(--cn-accent-light));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.checknow-footer-tagline {
    font-size: 15px;
    font-weight: 600;
    color: var(--cn-accent);
    letter-spacing: 0.06em;
    margin: 0;
    opacity: 0.85;
}

.checknow-footer-desc {
    margin: 0;
    font-size: 16px;
    line-height: 1.75;
    color: #E2E8F0;
}

/* ─── 服务列 + 快速链接列 ──────────── */
.checknow-footer-services li a,
.checknow-footer-quick li a {
    display: inline-flex;
    align-items: center;
    padding: 2px 0;
    transition: color 0.25s, padding-left 0.25s;
}

.checknow-footer-services li a:hover,
.checknow-footer-quick li a:hover {
    padding-left: 4px;
}

/* ─── 联系列 ─────────────────────── */
.checknow-footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.checknow-footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #E2E8F0;
    font-size: 16px;
    line-height: 1.5;
}

.checknow-footer-contact-list .contact-icon {
    color: var(--cn-accent);
    margin-top: 2px;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

.checknow-footer-contact-list .contact-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--cn-accent);
    margin-bottom: 1px;
    opacity: 0.8;
}

.checknow-footer-contact-list a {
    color: #E2E8F0;
}

.checknow-footer-contact-list a:hover {
    color: var(--cn-accent);
}

/* ─── 分隔线 ─────────────────────── */
.checknow-footer-divider {
    max-width: 1440px;
    margin: 48px auto 24px;
    padding: 0 48px;
}

.checknow-footer-divider hr {
    border: none;
    height: 1px;
    background: rgba(255,255,255,0.08);
}

/* ─── 版权栏 ─────────────────────── */
.checknow-footer-bottom {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 48px 28px;
    font-size: 14px;
    color: #E2E8F0;
}

.checknow-footer-bottom p {
    margin: 0;
}

/* ─── 响应式 ───────────────────────────── */
@media (max-width: 1024px) {
    .checknow-footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 48px 64px;
    }
}

@media (max-width: 640px) {
    .checknow-footer-inner {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 0 24px;
    }
    .checknow-footer-main {
        padding: 52px 0 0;
    }
    .checknow-footer-brand {
        max-width: none;
    }
    .checknow-footer-divider {
        padding: 0 24px;
        margin: 36px auto 20px;
    }
    .checknow-footer-bottom {
        padding: 0 24px 24px;
    }
}
