/* =========================================================
   하단 푸터 (모든 페이지) - 짙은 차콜 + 골드 포인트
   - common.css 의 예전 #footer 규칙을 덮어쓴다
   ========================================================= */
#footer.ft {
    position: relative;
    padding: 0;
    background: #1d1c1a;
    font-size: 14px;
    line-height: 1.6;
    color: #a9a59a;
    word-break: keep-all;
}
#footer.ft:before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, #8c7619 0%, #c9b05a 50%, #8c7619 100%); }
#footer.ft * { box-sizing: border-box; }
#footer.ft svg { display: block; }
#footer.ft a { color: inherit; text-decoration: none; }

/* ---------- 로고 · 메뉴 · 패밀리 사이트 ---------- */
#footer.ft .ft_top { display: flex; align-items: center; gap: 40px; margin: 0; padding: 40px 0 34px; border-bottom: 1px solid rgba(255,255,255,.08); }
#footer.ft .ft_top:after { display: none; }
#footer.ft .ft_logo { flex: 0 0 auto; display: block; opacity: .9; transition: opacity .2s ease; }
#footer.ft .ft_logo:hover { opacity: 1; }
#footer.ft .ft_logo img { display: block; width: auto; height: 26px; }
#footer.ft .ft_menu { flex: 1 1 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 0; }
#footer.ft .ft_menu a { position: relative; padding: 0 18px; font-size: 14px; color: #c9c5ba; transition: color .2s ease; }
#footer.ft .ft_menu a + a:before { content: ""; position: absolute; left: 0; top: 50%; width: 1px; height: 11px; margin-top: -5px; background: rgba(255,255,255,.15); }
#footer.ft .ft_menu a:first-child { padding-left: 0; }
#footer.ft .ft_menu a:hover { color: #fff; }
#footer.ft .ft_menu a.is_strong { font-weight: 600; color: #d8bf63; }
#footer.ft .ft_menu a.is_strong:hover { color: #ecd47a; }

#footer.ft .ft_family { position: relative; flex: 0 0 auto; width: 230px; }
#footer.ft .ft_family_btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 44px;
    padding: 0 16px 0 18px;
    border: 1px solid rgba(255,255,255,.16);
    background: rgba(255,255,255,.03);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .12em;
    color: #d6d2c6;
    cursor: pointer;
    transition: border-color .2s ease, color .2s ease, background .2s ease;
}
#footer.ft .ft_family_btn svg { width: 16px; height: 16px; transition: transform .25s ease; }
#footer.ft .ft_family_btn:hover,
#footer.ft .ft_family.is_open .ft_family_btn { border-color: #b39b3d; color: #fff; background: rgba(158,134,33,.12); }
#footer.ft .ft_family.is_open .ft_family_btn svg { transform: rotate(180deg); }
#footer.ft .ft_family_list {
    position: absolute;
    left: 0;
    right: 0;
    bottom: calc(100% + 6px);
    z-index: 20;
    max-height: 340px;
    margin: 0;
    padding: 8px 0;
    overflow-y: auto;
    list-style: none;
    border: 1px solid rgba(255,255,255,.12);
    background: #282724;
    box-shadow: 0 -12px 30px rgba(0,0,0,.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
#footer.ft .ft_family.is_open .ft_family_list { opacity: 1; visibility: visible; transform: none; }
#footer.ft .ft_family_list a { display: block; padding: 7px 18px; font-size: 13px; color: #bdb9ad; transition: color .15s ease, background .15s ease; }
#footer.ft .ft_family_list a:hover { background: rgba(158,134,33,.16); color: #fff; }

/* ---------- 골프장별 정보 ---------- */
#footer.ft .ft_clubs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; margin: 0; padding: 34px 0 30px; list-style: none; }
#footer.ft .ft_club { padding: 0 22px; border-left: 1px solid rgba(255,255,255,.07); }
#footer.ft .ft_club:first-child { padding-left: 0; border-left: 0; }
#footer.ft .ft_club_head { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: default; }
#footer.ft .ft_club_head strong { display: block; font-size: 15px; font-weight: 600; color: #fff; }
#footer.ft .ft_club_head .ft_tel,
#footer.ft .ft_club_arrow { display: none; }
#footer.ft .ft_club_call { display: inline-block; margin-top: 4px; font-size: 18px; font-weight: 600; letter-spacing: .01em; color: #d8bf63; font-variant-numeric: tabular-nums; transition: color .2s ease; }
#footer.ft .ft_club_call:hover { color: #ecd47a; }
#footer.ft .ft_club_info { margin: 14px 0 0; font-size: 12px; line-height: 1.6; }
#footer.ft .ft_club_info dt { margin-top: 6px; font-size: 11px; color: #6f6b62; }
#footer.ft .ft_club_info dt:first-child { margin-top: 0; }
#footer.ft .ft_club_info dd { margin: 0; color: #a9a59a; }

/* ---------- 저작권 ---------- */
#footer.ft .ft_bottom { padding: 20px 0 26px; border-top: 1px solid rgba(255,255,255,.08); }
#footer.ft .copyright { margin: 0; font-size: 12px; letter-spacing: .04em; color: #77736a; }

/* ---------- 반응형 ---------- */
@media (max-width: 1200px) {
    #footer.ft .ft_top { flex-wrap: wrap; gap: 20px 32px; }
    #footer.ft .ft_menu { order: 3; flex: 1 1 100%; }
    #footer.ft .ft_family { margin-left: auto; }
    #footer.ft .ft_clubs { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 26px; }
    #footer.ft .ft_club:nth-child(3n+1) { padding-left: 0; border-left: 0; }
}
@media (max-width: 768px) {
    #footer.ft { font-size: 13px; }
    #footer.ft .ft_top { gap: 16px; padding: 28px 0 22px; }
    #footer.ft .ft_logo img { height: 22px; }
    #footer.ft .ft_family { flex: 1 1 100%; width: auto; order: 2; margin: 0; }
    #footer.ft .ft_family_btn { height: 42px; }
    #footer.ft .ft_family_list { bottom: auto; top: calc(100% + 6px); max-height: 260px; box-shadow: 0 12px 30px rgba(0,0,0,.35); transform: translateY(-6px); }
    #footer.ft .ft_menu { order: 3; gap: 8px 0; }
    #footer.ft .ft_menu a { padding: 0 10px; font-size: 12px; }

    /* 골프장 정보: 눌러서 펼치기 */
    #footer.ft .ft_clubs { display: block; padding: 10px 0 14px; }
    #footer.ft .ft_club,
    #footer.ft .ft_club:first-child,
    #footer.ft .ft_club:nth-child(3n+1) { padding: 0; border-left: 0; border-bottom: 1px solid rgba(255,255,255,.07); }
    #footer.ft .ft_club_head { display: flex; align-items: center; gap: 10px; padding: 14px 0; cursor: pointer; }
    #footer.ft .ft_club_head strong { flex: 1 1 auto; font-size: 14px; }
    #footer.ft .ft_club_head .ft_tel { display: block; font-size: 13px; font-weight: 600; color: #d8bf63; }
    #footer.ft .ft_club_arrow { display: block; width: 16px; height: 16px; color: #77736a; transition: transform .25s ease; }
    #footer.ft .ft_club.is_open .ft_club_arrow { transform: rotate(180deg); }
    #footer.ft .ft_club_call,
    #footer.ft .ft_club_info { display: none; }
    #footer.ft .ft_club.is_open .ft_club_call { display: inline-block; margin: 0 0 6px; font-size: 15px; }
    #footer.ft .ft_club.is_open .ft_club_call:before { content: "전화걸기 "; font-size: 11px; font-weight: 400; color: #77736a; }
    #footer.ft .ft_club.is_open .ft_club_info { display: block; margin: 0 0 14px; }
    #footer.ft .ft_bottom { padding: 16px 0 22px; border-top: 0; }
    #footer.ft .copyright { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
    #footer.ft *, #footer.ft *:before { transition: none !important; }
}

/* 누런 기운 빼기: 금색 포인트 → 흰색 · 회색, 배경 · 글자색도 중립 회색으로 */
#footer.ft { background: #1f2022; color: #a3a5a8; }
#footer.ft:before { height: 1px; background: rgba(255,255,255,.1); }
#footer.ft .ft_menu a { color: #c4c6c9; }
#footer.ft .ft_menu a.is_strong { color: #fff; }
#footer.ft .ft_menu a.is_strong:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
#footer.ft .ft_family_btn { color: #d0d2d5; }
#footer.ft .ft_family_btn:hover,
#footer.ft .ft_family.is_open .ft_family_btn { border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.06); color: #fff; }
#footer.ft .ft_family_list { background: #2a2b2e; }
#footer.ft .ft_family_list a { color: #b8babd; }
#footer.ft .ft_family_list a:hover { background: rgba(255,255,255,.08); color: #fff; }
#footer.ft .ft_club_call,
#footer.ft .ft_club_head .ft_tel { color: #fff; }
#footer.ft .ft_club_call:hover { color: #dfe0e2; }
#footer.ft .ft_club_info dt { color: #6c6e72; }
#footer.ft .ft_club_info dd { color: #a3a5a8; }
#footer.ft .copyright { color: #72747a; }
#footer.ft .ft_club_arrow { color: #72747a; }

/* 개인정보처리방침도 다른 메뉴와 같게 */
#footer.ft .ft_menu a.is_strong { font-weight: inherit; color: #c4c6c9; }
#footer.ft .ft_menu a.is_strong:hover { color: #fff; text-decoration: none; }

/* 대표번호 조금 작게 */
#footer.ft .ft_club_call { font-size: 15px; }
@media (max-width: 768px) {
    #footer.ft .ft_club_head .ft_tel { font-size: 12px; }
    #footer.ft .ft_club.is_open .ft_club_call { font-size: 14px; }
}
