/* 공용 푸터 (2026 리디자인, 국문). 값은 디자인 캔버스(1440 기준, 좌우 64px) 그대로.
   영문 푸터(Footer.en.cshtml)는 예전 마크업이라 여기 규칙이 닿지 않는다. */

.ft { background: #1c2025; color: #aab3bd; font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif; font-size: 14px; letter-spacing: -0.02em; line-height: normal; text-align: left; }
.ft *, .ft *::before, .ft *::after { box-sizing: border-box; }
.ft a { color: inherit; text-decoration: none; }
.ft a:hover { color: #fff; }
.ft a:focus-visible, .ft summary:focus-visible { outline: 2px solid #6db7ea; outline-offset: 3px; }
.ft svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.ft .ft-wrap { box-sizing: content-box; max-width: 1440px; margin: 0 auto; padding: 52px 64px 44px; display: flex; flex-direction: column; gap: 30px; }
.ft-top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,.12); }
.ft-logo { width: 190px; height: 43px; display: block; }
.ft-links { display: flex; align-items: center; gap: 32px; }
.ft a.ft-strong { color: #fff; font-weight: 500; }

.ft-family { position: relative; width: 200px; }
.ft-family summary { list-style: none; display: flex; align-items: center; justify-content: space-between; height: 44px; padding: 0 16px; border: 1px solid rgba(255,255,255,.25); font-family: 'Pretendard Variable', Pretendard, sans-serif; letter-spacing: 0; cursor: pointer; }
.ft-family summary::-webkit-details-marker { display: none; }
.ft-family[open] summary svg { transform: rotate(180deg); }
.ft-family ul { position: absolute; left: 0; right: 0; bottom: 100%; margin: 0 0 -1px; padding: 8px 0; list-style: none; background: #262c33; border: 1px solid rgba(255,255,255,.25); z-index: 10; }
.ft-family li a { display: block; padding: 8px 16px; }

.ft-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.ft-info { font-style: normal; display: flex; flex-direction: column; gap: 8px; line-height: 1.6; }
.ft-line { display: flex; flex-wrap: wrap; column-gap: 24px; }
.ft-copy { font-family: 'Pretendard Variable', Pretendard, sans-serif; font-size: 13px; letter-spacing: .02em; white-space: nowrap; }

@media (max-width: 900px) {
    .ft-wrap { padding: 44px 32px 40px; }
    .ft-top { flex-direction: column; align-items: flex-start; gap: 24px; }
    .ft-links { flex-wrap: wrap; gap: 16px 24px; }
    .ft-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
    .ft-wrap { padding: 40px 20px 36px; }
    .ft-line { flex-direction: column; }
    .ft-copy { white-space: normal; }
}

/* ── 오른쪽 아래 따라다니는 버튼 (문의하기 · TOP) ─────────── */
.fl-dock { position: fixed; right: 24px; bottom: 24px; z-index: 900; display: flex; flex-direction: column; gap: 8px; font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif; letter-spacing: -0.02em; }
.fl-btn { width: 72px; height: 72px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 0; border: 0; font-size: 13px; font-weight: 500; line-height: 1; cursor: pointer; text-decoration: none; box-shadow: 0 6px 18px rgba(14, 22, 32, .18); transition: background .2s, opacity .25s ease, transform .25s ease, visibility .25s; }
.fl-btn svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
a.fl-btn--inquiry, a.fl-btn--inquiry:hover { color: #fff; }
.fl-btn--inquiry { background: #006dbb; }
.fl-btn--inquiry:hover { background: #005a9b; }
.fl-btn--top { height: 56px; background: #1c2025; color: #fff; font-family: 'Pretendard Variable', Pretendard, sans-serif; font-size: 12px; font-weight: 600; letter-spacing: .06em; }
.fl-btn--top svg { width: 18px; height: 18px; stroke-width: 2; }
.fl-btn--top:hover { background: #33393f; }
.fl-btn--top:not(.is-shown) { opacity: 0; visibility: hidden; transform: translateY(8px); }
.fl-btn:focus-visible { outline: 2px solid #6db7ea; outline-offset: 3px; }
/* 내려 읽는 동안 본문을 가리지 않게 오른쪽으로 비켜 둔다 (/js/floating.js). 키보드로 닿으면 다시 나온다 */
.fl-dock { transition: transform .3s ease, opacity .3s ease; }
.fl-dock.is-tucked { transform: translateX(calc(100% + 32px)); opacity: 0; pointer-events: none; }
.fl-dock.is-tucked:focus-within { transform: none; opacity: 1; pointer-events: auto; }

@media (max-width: 480px) {
    .fl-dock { right: 16px; bottom: 16px; gap: 6px; }
    .fl-btn { width: 56px; height: 56px; font-size: 11px; gap: 4px; }
    .fl-btn svg { width: 20px; height: 20px; }
    .fl-btn--top { height: 48px; }
}
@media (prefers-reduced-motion: reduce) {
    .fl-btn, .fl-dock { transition: none; }
}
