/* ─── FOOTER ─────────────────────────────────────────────────────────────────*/
.ch-footer {
    background: var(--color-bg-darker);
    border-top: 1px solid var(--color-border);
}

.ch-footer__main {
    padding: clamp(48px, 6vw, 72px) 0;
}

.ch-footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 48px;
}


/* COL 1: BRAND */
.ch-footer__brand {
    margin-bottom: 16px;
}

.ch-footer__brand img {
    height: 48px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.ch-footer__logo-text {
    font-family: var(--font-heading);
    font-size: 20px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.ch-footer__tagline {
    font-size: 13px;
    color: rgba(248,250,252,0.45);
    font-family: var(--font-body);
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 240px;
}

.ch-footer__social {
    display: flex;
    align-items: center;
    gap: 6px;
}

.ch-footer__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--border-radius);
    color: rgba(248,250,252,0.55);
    font-size: 13px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.ch-footer__social-link:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-button-text, #ffffff);
}


/* COLUMNS */
.ch-footer__col-title {
    font-family: var(--font-heading);
    font-size: 14px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--color-primary);
    display: inline-block;
}

.ch-footer__links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0;
    margin: 0;
}

.ch-footer__link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(248,250,252,0.55);
    font-family: var(--font-body);
    text-decoration: none;
    transition: color 0.2s, gap 0.2s;
}

.ch-footer__link i {
    font-size: 10px;
    color: var(--color-primary);
    transition: transform 0.2s;
}

.ch-footer__link:hover {
    color: rgba(248,250,252,0.9);
    gap: 12px;
}


/* CONTACT */
.ch-footer__contact {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 0;
    margin: 0;
}

.ch-footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: rgba(248,250,252,0.55);
    font-family: var(--font-body);
    line-height: 1.5;
}

.ch-footer__contact-item i {
    color: var(--color-primary);
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 2px;
}

.ch-footer__contact-item a {
    color: rgba(248,250,252,0.55);
    text-decoration: none;
    transition: color 0.2s;
}

.ch-footer__contact-item a:hover {
    color: var(--color-primary);
}


/* BOTTOM BAR */
.ch-footer__bottom {
    border-top: 1px solid var(--color-border);
    padding: 16px 0;
}

.ch-footer__bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.ch-footer__copy {
    font-size: 12px;
    color: rgba(248,250,252,0.35);
    font-family: var(--font-body);
    margin: 0;
}

.ch-footer__legal {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ch-footer__legal-link {
    font-size: 12px;
    color: rgba(248,250,252,0.35);
    font-family: var(--font-body);
    text-decoration: none;
    transition: color 0.2s;
}

.ch-footer__legal-link:hover {
    color: var(--color-primary);
}

.ch-footer__legal-divider {
    color: rgba(248,250,252,0.2);
    font-size: 12px;
}


/* ─── RESPONSIVE ─────────────────────────────────────────────────────────────*/
@media ( max-width: 1024px ) {
    .ch-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media ( max-width: 640px ) {
    .ch-footer__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .ch-footer__bottom-inner {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .ch-footer__brand img {
        height: 40px;
    }
}

.ch-footer__link--all {
    color: var(--color-primary) !important;
    font-weight: 700;
    margin-top: 4px;
}


/* FOOTER LIGHT */
.ch-footer--light {
    background: #ffffff;
    color: #1E293B;
    border-top: 1px solid #E2E8F0;
}
.ch-footer--light .ch-footer__col-title {
    color: #1E293B;
}
.ch-footer--light .ch-footer__logo-text {
    color: #1E293B;
}
.ch-footer--light .ch-footer__tagline {
    color: #64748B;
}
.ch-footer--light .ch-footer__social-link {
    background: #F1F5F9;
    border-color: #E2E8F0;
    color: #64748B;
}
.ch-footer--light .ch-footer__link {
    color: #64748B;
}
.ch-footer--light .ch-footer__link:hover {
    color: #1E293B;
}
.ch-footer--light .ch-footer__contact-item {
    color: #64748B;
}
.ch-footer--light .ch-footer__contact-item a {
    color: #64748B;
}
.ch-footer--light .ch-footer__contact-item a:hover {
    color: var(--color-primary);
}
.ch-footer--light .ch-footer__bottom {
    background: #F4F6F8;
    border-top: 1px solid #E2E8F0;
}
.ch-footer--light .ch-footer__copy {
    color: #94A3B8;
}
.ch-footer--light .ch-footer__legal-link {
    color: #94A3B8;
}
.ch-footer--light .ch-footer__legal-divider {
    color: #CBD5E1;
}
.ch-footer--light .ch-footer__brand img {
    filter: none;
    opacity: 1;
}