/* Shared K-TECH footer */
.ktech-site-footer,
.ktech-site-footer * {
    box-sizing: border-box;
    font-family: "Sarabun", sans-serif;
}
.ktech-site-footer .fa {
    font-family: FontAwesome;
}
.ktech-site-footer {
    color: #fff;
    padding: 54px 0 44px;
    background: linear-gradient(125deg, #052448 0%, #07366d 100%);
    border-top: 4px solid var(--ktech-red, #df1723);
}
.ktech-footer-grid {
    width: min(1240px, calc(100% - 48px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(250px, 1.5fr) repeat(3, minmax(150px, 1fr));
    gap: clamp(24px, 4vw, 58px);
}
.ktech-footer-brand img {
    display: block;
    width: 76px;
    height: 76px;
    object-fit: contain;
    margin-bottom: 18px;
}
.ktech-footer-brand p,
.ktech-footer-news p {
    max-width: 360px;
    margin: 0;
    color: rgba(255,255,255,.76);
    font-size: 15px;
    line-height: 1.85;
}
.ktech-footer-title {
    position: relative;
    margin: 4px 0 22px;
    padding: 0 0 12px;
    color: #fff;
    font-size: 19px;
    line-height: 1.3;
    font-weight: 800;
}
.ktech-footer-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 42px;
    height: 3px;
    border-radius: 999px;
    background: var(--ktech-red, #df1723);
}
.ktech-footer-links,
.ktech-footer-contact {
    display: grid;
    gap: 13px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.ktech-footer-links a,
.ktech-footer-contact a,
.ktech-footer-map {
    display: inline-flex;
    color: rgba(255,255,255,.8);
    font-size: 15px;
    line-height: 1.65;
    text-decoration: none;
    transition: color .18s ease, transform .18s ease;
}
.ktech-footer-links a:hover,
.ktech-footer-contact a:hover,
.ktech-footer-map:hover {
    color: #fff;
    transform: translateX(3px);
}
.ktech-footer-contact li {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    align-items: start;
    gap: 11px;
    color: rgba(255,255,255,.8);
    font-size: 15px;
    line-height: 1.65;
}
.ktech-footer-contact i {
    padding-top: 4px;
    color: #ff6973;
    text-align: center;
}
.ktech-footer-map {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 17px;
    color: #fff;
    font-weight: 700;
}
.ktech-footer-social {
    display: flex;
    gap: 9px;
    margin-top: 20px;
}
.ktech-footer-social a {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 50%;
    color: #fff;
    font-size: 15px;
    text-decoration: none;
    transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.ktech-footer-social a:hover {
    background: var(--ktech-red, #df1723);
    border-color: var(--ktech-red, #df1723);
    transform: translateY(-2px);
}
.ktech-footer-social svg {
    width: 15px;
    height: 15px;
    fill: currentColor;
}
.ktech-footer-bottom {
    padding: 15px 24px;
    background: rgba(0,0,0,.18);
    border-top: 1px solid rgba(255,255,255,.1);
    color: rgba(255,255,255,.72);
}
.ktech-footer-bottom-inner {
    width: min(1240px, 100%);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    font-size: 13px;
}
.ktech-footer-bottom-inner a { color: rgba(255,255,255,.78); text-decoration: underline; text-underline-offset: 3px; }
.ktech-footer-bottom-inner a:hover { color: #fff; }
.ktech-footer-visitors { display:inline-flex; align-items:center; gap:14px; color:rgba(255,255,255,.54); font-size:11px; font-weight:400; white-space:nowrap; }
.ktech-footer-visitors span { display:inline-flex; align-items:center; gap:5px; }
.ktech-footer-visitors i { color:rgba(255,255,255,.46); font-size:10px; }
.ktech-footer-visitors strong { color:rgba(255,255,255,.72); font-weight:500; }
@media (max-width: 650px) {
    .ktech-hero .ktech-slide-cta {
        min-height: 32px;
        gap: 6px;
        padding: 5px 11px;
        border-width: 1px;
        font-size: 11px;
    }
}
@media (max-width: 900px) {
    .ktech-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
    .ktech-site-footer { padding: 38px 0 32px; }
    .ktech-footer-grid { width: min(calc(100% - 36px), 440px); grid-template-columns: 1fr; gap: 30px; }
    .ktech-footer-bottom-inner { flex-direction: column; align-items: flex-start; }
    .ktech-footer-visitors { flex-wrap:wrap; white-space:normal; gap:5px 12px; }
}
