/* ===========================================================
 * Renewal footer — 전체 흰 배경, 섹션은 border로만 구분
 * =========================================================== */

.rl-footer {
    margin-top: 0;
    background: #fff;
    color: #1a1a1a;
    border-top: 1px solid #ececec;
}
/* 마우스 클릭 시 focus outline 제거, 키보드 Tab 이동 시에만 노출 */
.rl-footer a:focus,
.rl-footer button:focus { outline: none; }
.rl-footer a:focus-visible,
.rl-footer button:focus-visible {
    outline: 2px solid #1a1a1a;
    outline-offset: 2px;
}

/* ───── 상단 4컬럼 (구분은 하단 border) ───── */
.rl-footer__top {
    border-bottom: 1px solid #ececec;
}
.rl-footer__top-inner {
    max-width: none;
    margin: 0;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 48px;
}

/* 컬럼 사이 vertical border (gap 중앙에 1px line) */
.rl-footer__col {
    position: relative;
    padding:20px 0px;
}
.rl-footer__col:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: -24px;            /* gap 48px의 절반 → 중앙에 위치 */
    width: 1px;
    background: #ececec;
}

.rl-footer__heading {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin: 0 0 10px;
    color: #1a1a1a;
}
.rl-footer__col ul li {
    margin: 0 0 10px;
}
.rl-footer__col ul li a {
    font-size: 13px;
    color: #555;
    transition: color 0.2s;
}
.rl-footer__col ul li a:hover { color: #b8956a; }

/* CS 컬럼 */
.rl-footer__phone {
    font-family: 'futura-pt', 'Pretendard', sans-serif;
    font-size: 28px;
    font-weight: 500;
    letter-spacing: 0.02em;
    margin: 0 0 12px;
}
.rl-footer__txt {
    font-size: 12px;
    color: #777;
    line-height: 1.7;
    margin: 0 0 18px;
}
.rl-footer__cs-btns {
    display: flex;
    gap: 8px;
}
.rl-footer__cs-btns a {
    flex: 1;
    display: inline-block;
    text-align: center;
    font-size: 12px;
    border: 1px solid #1a1a1a;
    padding: 9px 14px;
    border-radius: 999px;
    color: #1a1a1a;
    transition: background 0.2s, color 0.2s;
}
.rl-footer__cs-btns a:hover { background: #1a1a1a; color: #fff; }

/* ───── 하단 법인 정보 (흰 배경, 상단 border 없음 — top 영역의 border-bottom으로 이미 구분) ───── */
.rl-footer__bottom {
    background: transparent;
    color: #888;
    padding: 24px 0 32px;
}
.rl-footer__bottom-inner {
    max-width: none;
    margin: 0;
    padding: 0 40px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

/* 약관/개인정보처리방침 먼저 노출(논픽션 톤) */
.rl-footer__links {
    flex-basis: 100%;
    font-size: 12px;
    margin: 0 0 12px;
    color: #1a1a1a;
}
.rl-footer__links a {
    color: #1a1a1a;
}
.rl-footer__links a:hover { color: #b8956a; }
.rl-footer__links span {
    color: #ccc;
    margin: 0 8px;
}

.rl-footer__corp {
    font-size: 12px;
    line-height: 1.8;
    color: #888;
    margin: 0;
}
.rl-footer__copy {
    flex-basis: 100%;
    font-family: 'futura-pt', sans-serif;
    font-size: 11px;
    letter-spacing: 0.08em;
    color: #b8b8b8;
    margin: 8px 0 0;
}

/* ───── Mobile ───── */
@media (max-width: 1024px) {
    .rl-footer__top { padding: 60px 0 48px; }
    .rl-footer__top-inner { grid-template-columns: 1fr 1fr; gap: 36px; padding: 0 20px; }
    /* 1024 이하에서는 컬럼이 stacking → vertical border 숨김 */
    .rl-footer__col::after { display: none; }
}
@media (max-width: 600px) {
    .rl-footer__top-inner { grid-template-columns: 1fr; gap: 32px; }
    .rl-footer__bottom-inner { padding: 0 20px; flex-direction: column; align-items: flex-start; }
    .rl-footer__corp { font-size: 11px; }
}
