/* ===== Footer =====
   โทนเดียวกับ Our Branches (our-branch.css): น้ำตาลเข้ม + เหลือง #FFC600 + Bebas Neue
   ชั้นบน = แถบ CTA / กลาง = แบรนด์ · สาขา · ลิงก์ · แอป / ล่าง = copyright
   class ขึ้นต้น wtf- กันชนกับ component อื่น */

.wtf {
    --wtf-gold: #FFC600;
    --wtf-text: rgba(255, 255, 255, .88);
    --wtf-muted: rgba(255, 255, 255, .58);
    --wtf-line: rgba(255, 255, 255, .1);

    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: linear-gradient(180deg, #1c130b 0%, #0e0905 100%);
    color: var(--wtf-text);
    font-family: 'Prompt', sans-serif;
    font-size: 15px;
    line-height: 1.6;
}

/* เส้นทองบางด้านบน + แสงฟุ้ง */
.wtf::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--wtf-gold) 30%, var(--wtf-gold) 70%, transparent);
    opacity: .85;
}

.wtf-glow {
    position: absolute;
    z-index: -1;
    top: -220px;
    left: 50%;
    width: min(1100px, 120%);
    height: 440px;
    transform: translateX(-50%);
    background: radial-gradient(closest-side, rgba(255, 198, 0, .13), transparent);
    pointer-events: none;
}

.wtf a {
    color: inherit;
    text-decoration: none;
    transition: color .2s ease, opacity .2s ease, transform .2s ease, background-color .2s ease, border-color .2s ease;
}

.wtf a:focus-visible {
    outline: 2px solid var(--wtf-gold);
    outline-offset: 3px;
    border-radius: 4px;
}

.wtf ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.wtf p {
    margin: 0;
}

/* ---------- CTA ---------- */
.wtf-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px 40px;
    flex-wrap: wrap;
    padding-top: clamp(44px, 5vw, 64px);
    padding-bottom: clamp(32px, 4vw, 44px);
    border-bottom: 1px solid var(--wtf-line);
}

.wtf-cta-kicker {
    font-family: 'Daughter', cursive;
    font-style: italic;
    font-size: clamp(22px, 2.2vw, 30px);
    line-height: 1;
    color: rgba(255, 255, 255, .8);
}

.wtf-cta-title {
    margin: 6px 0 0;
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    font-size: clamp(38px, 4.6vw, 60px);
    letter-spacing: 1.5px;
    line-height: 1;
    color: var(--wtf-gold);
}

.wtf-cta-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.wtf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 26px;
    border-radius: 999px;
    border: 1.5px solid var(--wtf-gold);
    font-weight: 500;
    font-size: 14px;
    letter-spacing: .8px;
    text-transform: uppercase;
    white-space: nowrap;
}

.wtf .wtf-btn-primary {
    background: var(--wtf-gold);
    color: #1a1208;
}

.wtf .wtf-btn-primary:hover {
    background: #ffd84d;
    border-color: #ffd84d;
    transform: translateY(-2px);
}

.wtf .wtf-btn-ghost {
    color: var(--wtf-gold);
}

.wtf .wtf-btn-ghost:hover {
    background: rgba(255, 198, 0, .12);
    transform: translateY(-2px);
}

/* ---------- grid หลัก ---------- */
.wtf-grid {
    display: grid;
    grid-template-columns: 1.1fr 1.7fr .9fr 1fr;
    gap: 40px clamp(28px, 3vw, 48px);
    padding: clamp(40px, 5vw, 60px) 0 clamp(40px, 5vw, 56px);
}

.wtf-heading {
    margin: 0 0 18px;
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    font-size: 24px;
    letter-spacing: 1.5px;
    line-height: 1;
    color: var(--wtf-gold);
}

.wtf-label {
    margin-bottom: 12px !important;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--wtf-muted);
}

/* ---------- แบรนด์ ---------- */
.wtf-logo {
    display: inline-block;
    margin-bottom: 24px;
}

.wtf-logo img {
    display: block;
    width: 144px;
    height: auto;
}

.wtf-social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.wtf-social a {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
    border: 1px solid var(--wtf-line);
}

.wtf-social a:hover {
    background: rgba(255, 198, 0, .14);
    border-color: rgba(255, 198, 0, .5);
    transform: translateY(-2px);
}

.wtf-social img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.wtf-lang {
    display: inline-flex;
    margin-top: 24px;
    padding: 3px;
    border-radius: 999px;
    border: 1px solid var(--wtf-line);
    background: rgba(255, 255, 255, .04);
}

.wtf-lang a {
    min-width: 54px;
    padding: 6px 14px;
    border-radius: 999px;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    color: var(--wtf-muted);
}

.wtf-lang a:hover {
    color: #fff;
}

.wtf .wtf-lang a.is-active {
    background: var(--wtf-gold);
    color: #1a1208;
}

/* ---------- สาขา ---------- */
.wtf-branch-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 28px;
}

.wtf-branch {
    padding-left: 14px;
    border-left: 2px solid rgba(255, 198, 0, .35);
}

.wtf-branch-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 20px;
    letter-spacing: 1.2px;
    line-height: 1.1;
    color: #fff;
}

.wtf-branch-addr {
    display: block;
    margin-top: 4px;
    font-size: 13.5px;
    color: var(--wtf-muted) !important;
}

.wtf-branch-addr:hover {
    color: #fff !important;
    text-decoration: underline !important;
}

.wtf-branch-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 12px;
    margin-top: 4px;
    font-size: 13px;
    color: var(--wtf-muted);
}

.wtf-branch-meta a {
    color: var(--wtf-gold) !important;
    font-weight: 500;
}

.wtf-branch-meta a:hover {
    opacity: .8;
}

/* ---------- ลิงก์ ---------- */
.wtf-links {
    display: grid;
    gap: 9px;
}

/* label จาก lang เป็นตัวพิมพ์ใหญ่บ้างเล็กบ้าง (ORDER ONLINE / About Us) — ทำให้เป็น Sentence case เหมือนกัน */
.wtf-links a {
    display: inline-block;
    font-size: 14px;
    text-transform: lowercase;
    color: var(--wtf-text);
}

.wtf-links a::first-letter {
    text-transform: uppercase;
}

.wtf-links a:hover {
    color: var(--wtf-gold);
    transform: translateX(3px);
}

/* ---------- แอป ---------- */
.wtf-app-text {
    margin-bottom: 16px !important;
    font-size: 14px;
    color: var(--wtf-muted);
}

.wtf-app-buttons {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.wtf-app-buttons img {
    display: block;
    height: 44px;
    width: auto;
    border-radius: 8px;
}

.wtf-app-buttons a:hover {
    transform: translateY(-2px);
    opacity: .9;
}

/* ---------- copyright ---------- */
.wtf-bottom {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--wtf-line);
    background: rgba(0, 0, 0, .25);
}

.wtf-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px 24px;
    flex-wrap: wrap;
    padding-top: 18px;
    padding-bottom: calc(18px + env(safe-area-inset-bottom));
    font-size: 12.5px;
    color: var(--wtf-muted);
}

.wtf-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 20px;
}

.wtf-legal a:hover {
    color: #fff;
}

/* ตัวหนังสือใหญ่จาง ๆ ด้านล่าง */
.wtf-watermark {
    position: absolute;
    z-index: -1;
    left: 50%;
    bottom: 34px;
    transform: translateX(-50%);
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(110px, 18vw, 260px);
    line-height: .8;
    letter-spacing: 6px;
    white-space: nowrap;
    color: rgba(255, 198, 0, .035);
    pointer-events: none;
    user-select: none;
}

/* ---------- responsive ---------- */
@media (max-width: 1199.98px) {
    .wtf-grid {
        grid-template-columns: 1fr 1.6fr 1fr;
    }

    .wtf-app {
        grid-column: 1 / -1;
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 12px 24px;
        padding-top: 28px;
        border-top: 1px solid var(--wtf-line);
    }

    .wtf-app .wtf-heading,
    .wtf-app-text {
        margin-bottom: 0 !important;
    }

    .wtf-app-buttons {
        flex-direction: row;
    }
}

@media (max-width: 991.98px) {
    .wtf-grid {
        grid-template-columns: 1fr 1fr;
    }

    .wtf-locations {
        grid-column: 1 / -1;
        order: -1;
    }

    .wtf-branch-list {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .wtf {
        font-size: 14px;
    }

    .wtf .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .wtf-cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .wtf-cta-actions {
        width: 100%;
    }

    .wtf-btn {
        flex: 1;
        padding: 0 16px;
    }

    .wtf-branch-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px 16px;
    }

    .wtf-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px 16px;
    }

    .wtf-explore,
    .wtf-brand {
        grid-column: 1 / -1;
    }

    .wtf-brand {
        order: 2;
        padding-top: 28px;
        border-top: 1px solid var(--wtf-line);
    }

    .wtf-app {
        order: 3;
        flex-direction: column;
        align-items: flex-start;
    }

    .wtf-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .wtf-watermark {
        bottom: 70px;
    }
}

@media (max-width: 380px) {
    .wtf-branch-list {
        grid-template-columns: 1fr;
    }

    .wtf-app-buttons {
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wtf a {
        transition: none;
    }

    .wtf a:hover {
        transform: none !important;
    }
}
