/* Site footer (template-parts/footer-lw.php)
   Layout อ้างอิง garrettleather.com — สีโทนเทาของแบรนด์ แต่เข้มกว่า header ให้ตัดกับเนื้อหา */

.lw-footer {
    --lw-footer-bg: #3f4043;
    --lw-footer-text: rgba(255, 255, 255, .72);
    --lw-footer-line: rgba(255, 255, 255, .18);
    background-color: var(--lw-footer-bg);
    color: var(--lw-footer-text);
    font-size: 15px;
    line-height: 1.65;
}

.lw-footer__inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 64px 20px 32px;
}

.lw-footer a {
    color: var(--lw-footer-text);
    text-decoration: none;
    transition: color .2s ease;
}

.lw-footer a:hover,
.lw-footer a:focus-visible {
    color: #fff;
}

/* แถวบน: โลโก้ */
.lw-footer__top {
    margin-bottom: 56px;
}

.lw-footer__logo img {
    display: block;
    width: auto;
    height: 56px;
}

/* 4 คอลัมน์ */
.lw-footer__cols {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr 1fr;
    gap: 40px 32px;
}

.lw-footer__col {
    padding-top: 28px;
    border-top: 1px solid var(--lw-footer-line);
}

.lw-footer__title {
    margin: 0 0 14px;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: 2.4px;
    text-transform: uppercase;
}

.lw-footer__title--sub {
    margin-top: 32px;
    padding-top: 28px;
    border-top: 1px solid var(--lw-footer-line);
}

.lw-footer__text {
    margin: 0;
}

.lw-footer__text strong {
    color: #fff;
    font-weight: 600;
}

.lw-footer__dash {
    display: block;
    width: 14px;
    height: 1px;
    margin: 18px 0;
    background-color: var(--lw-footer-text);
}

.lw-footer__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.lw-footer__list li {
    margin: 0 0 6px;
}

/* Social */
.lw-footer__social {
    display: flex;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.lw-footer__social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--lw-footer-line);
    border-radius: 50%;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.lw-footer__social a:hover,
.lw-footer__social a:focus-visible {
    background-color: #fff;
    border-color: #fff;
    color: var(--lw-footer-bg);
}

.lw-footer__social svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* แถวล่าง: copyright */
.lw-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 24px;
    margin-top: 56px;
    padding-top: 24px;
    border-top: 1px solid var(--lw-footer-line);
    font-size: 13px;
}

.lw-footer__bottom p {
    margin: 0;
}

/* Tablet */
@media (max-width: 1024px) {
    .lw-footer__cols {
        grid-template-columns: 1fr 1fr;
    }
}

/* Mobile: ติดต่อ + Company เต็มแถว, Services/Products คู่กัน */
@media (max-width: 767px) {
    .lw-footer__inner {
        padding-top: 48px;
    }

    .lw-footer__top {
        margin-bottom: 40px;
    }

    .lw-footer__logo img {
        height: 44px;
    }

    .lw-footer__cols {
        gap: 36px 20px;
    }

    .lw-footer__col:first-child,
    .lw-footer__col:last-child {
        grid-column: 1 / -1;
    }

    .lw-footer__list li {
        margin-bottom: 8px;
    }

    .lw-footer__bottom {
        flex-direction: column;
        margin-top: 40px;
    }
}
