/* ===== Footer — ธีม maroon #4b0708 / ทอง #b78a3f ===== */
footer {
    width: 100%;
    background-color: #4b0708;
    margin-top: 48px;
    color: #fffc;
}

/* ---- แถวลิงก์หลัก (แบรนด์ / วิสัยทัศน์+พันธกิจ / บริการ / เมนูลัด) ---- */
footer .footer-main {
    display: grid;
    grid-template-columns: 1.3fr 1.6fr 1fr 1fr;
    gap: 32px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 48px 24px 32px;
}

footer .footer-col h2 {
    color: #fff;
    font-size: 1.05rem;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid #b78a3f;
    display: inline-block;
}

footer .footer-col h2.footer-h2-gap {
    margin-top: 24px;
}

footer .footer-col p {
    color: #ffffffbf;
    font-size: 14px;
    line-height: 1.75;
}

/* แบรนด์ + โลโก้ + โซเชียล */
footer .footer-brand .footer-logo {
    width: 190px;
    height: auto;
    margin-bottom: 14px;
}

footer .footer-brand .footer-tagline {
    max-width: 320px;
}

footer .footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

footer .footer-social a {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    background: #ffffff14;
    border-radius: 50%;
    transition: background .15s ease, transform .15s ease;
}

footer .footer-social a:hover {
    background: #b78a3f;
    transform: translateY(-3px);
}

footer .footer-social img {
    width: 24px;
    height: 24px;
}

/* ลิงก์รายการ (บริการ / เมนูลัด / บริการเพิ่มเติม) */
footer .footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

footer .footer-links a {
    color: #ffffffcc;
    font-size: 14px;
    text-decoration: none;
    width: fit-content;
    transition: color .15s ease, padding-left .15s ease;
}

footer .footer-links a:hover {
    color: #e1b56e;
    padding-left: 5px;
}

/* ---- แถวแผนที่ + ข้อมูลติดต่อ + พันธมิตร ---- */
footer .footer-contact-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 8px 24px 40px;
    align-items: start;
}

footer .footer-contact-row iframe {
    width: 100%;
    height: 340px;
    border: 0;
    border-radius: 14px;
    display: block;
}

footer .footer-contact-info .contact {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

footer .footer-contact-info .contact img {
    flex-shrink: 0;
}

footer .footer-contact-info .contact p {
    margin: 0;
    color: #ffffffcc;
    font-size: 14px;
    line-height: 1.5;
}

footer .footer-contact-info .contact a {
    color: #ffffffcc;
    text-decoration: none;
    margin-right: 10px;
}

footer .footer-contact-info .contact a:hover {
    color: #e1b56e;
}

footer .footer-partners-title {
    color: #fff;
    font-size: .95rem;
    margin: 24px 0 12px;
}

footer .partners {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: center;
}

footer .partners img {
    width: 100%;
}

footer .partners .light {
    filter: brightness(0) invert(1);
}

/* ---- แถบลิขสิทธิ์ ---- */
footer .footer-copyright {
    border-top: 1px solid #ffffff1f;
    text-align: center;
    padding: 20px 24px;
    font-size: 13px;
    color: #ffffff99;
}

/* ---- Responsive ---- */
@media only screen and (max-width: 1000px) {
    footer .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 28px 24px;
    }
    footer .footer-contact-row {
        grid-template-columns: 1fr;
    }
    footer .footer-contact-row iframe {
        height: 300px;
    }
}

@media only screen and (max-width: 600px) {
    footer .footer-main {
        grid-template-columns: 1fr;
        padding: 36px 20px 24px;
    }
    footer .footer-brand {
        text-align: center;
        align-items: center;
        display: flex;
        flex-direction: column;
    }
    footer .footer-social {
        justify-content: center;
    }
    footer .partners {
        grid-template-columns: 1fr 1fr;
    }
}
