/**
 * KF Cooling Co. — Footer Styles
 *
 * @package KF_Cooling
 */

/* ── Footer ───────────────────────────────────────────── */
.kf-footer {
    background: var(--bg-dark);
    color: rgba(255, 255, 255, 0.85);
}

.kf-footer a {
    color: rgba(255, 255, 255, 0.75);
    transition: color var(--transition);
}

.kf-footer a:hover {
    color: #fff;
}

/* ── Footer Top ───────────────────────────────────────── */
.kf-footer__top {
    padding: 60px 0 40px;
}

.kf-footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: 40px;
}

/* ── Footer Responsive ────────────────────────────────── */
@media (max-width: 1024px) {
    .kf-footer__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

@media (max-width: 767px) {
    .kf-footer__grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .kf-footer__top {
        padding: 44px 0 32px;
    }
    .kf-footer__col {
        min-width: 0;
    }
    .kf-footer__bottom .kf-container {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    .kf-footer__copyright,
    .kf-footer__credit {
        font-size: 0.75rem;
    }
}

/* Touch-friendly footer links */
@media (hover: none) {
    .kf-footer__menu li a {
        padding: 8px 0;
    }
    .kf-footer__social-link {
        width: 44px;
        height: 44px;
    }
}

/* ── Brand Column ─────────────────────────────────────── */
.kf-footer__brand {
    margin-bottom: 16px;
}

.kf-footer__brand .custom-logo {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
}

.kf-footer__site-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
}

.kf-footer__about {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 20px;
}

/* ── Social Links ─────────────────────────────────────── */
.kf-footer__socials {
    display: flex;
    gap: 12px;
}

.kf-footer__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: rgba(255, 255, 255, 0.8);
    transition: all var(--transition);
}

.kf-footer__social-link:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

/* ── Footer Headings ──────────────────────────────────── */
.kf-footer__heading {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ── Footer Menu ──────────────────────────────────────── */
.kf-footer__menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.kf-footer__menu li {
    margin-bottom: 10px;
}

.kf-footer__menu li a {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: all var(--transition);
    display: inline-flex;
    align-items: center;
}

.kf-footer__menu li a::before {
    content: '';
    display: inline-block;
    width: 0;
    height: 1px;
    background: var(--primary);
    margin-right: 0;
    transition: all var(--transition);
}

.kf-footer__menu li a:hover {
    color: #fff;
    padding-left: 6px;
}

.kf-footer__menu li a:hover::before {
    width: 0;
    margin-right: 0;
}

/* ── Contact Items ────────────────────────────────────── */
.kf-footer__contact-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.kf-footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.9375rem;
}

.kf-footer__contact-item svg {
    flex-shrink: 0;
    margin-top: 3px;
    opacity: 0.6;
}

.kf-footer__contact-item a,
.kf-footer__contact-item span {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

.kf-footer__contact-item a:hover {
    color: #fff;
}

/* ── Copyright Bar ────────────────────────────────────── */
.kf-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
}

.kf-footer__copyright,
.kf-footer__credit {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.45);
    margin: 0;
}
