/* =============================================
   Footer #5 — Dark Split (Hero Brand + Detail Box)
   대상: 건축공사 (xn--z69apjv81cxfm.geongi.net) ys_no=5
   ※ footer3(다크 좌우 정보+로고) / footer4(흰 중앙적층)와 차별화
   좌: 큰 브랜드 hero / 우: 시안 액센트 박스 + 정보 적층
   ============================================= */

.f5x-root {
    width: 100%;
    background: linear-gradient(180deg, #1E232E 0%, #161A24 100%);
    color: #C5C9D2;
    margin: 0;
    padding: 0;
    /* font-family 강제 지정 없음 — 사이트 본문 폰트 상속 */
}
.f5x-root *,
.f5x-root *::before,
.f5x-root *::after { box-sizing: border-box; }

.f5x-wrap {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 64px 20px 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* ===== 좌측: Hero (큰 로고 + 사이트명) ===== */
.f5x-hero { text-align: left; }
.f5x-hero a { display: inline-block; }
.f5x-hero img {
    max-width: 300px;
    width: 100%;
    height: auto;
    display: block;
}
.f5x-hero-name {
    margin: 22px 0 6px;
    font-family: 'NanumSquare', 'NanumBarunGothic', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: -0.015em;
    line-height: 1.25;
}
.f5x-hero-sub {
    margin: 0;
    font-family: 'NanumBarunGothic', sans-serif;
    font-size: 13.5px;
    color: #8A95A8;
    letter-spacing: 0.015em;
    line-height: 1.5;
}

/* ===== 우측: 디테일 영역 (전화 강조 박스 + 정보) ===== */
.f5x-detail {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

/* 전화 강조 박스 (시안 사이드 액센트) */
.f5x-call {
    padding: 22px 24px;
    background: rgba(23, 187, 225, 0.07);
    border-left: 3px solid #17BBE1;
    border-radius: 0 8px 8px 0;
    position: relative;
    transition: background 0.2s;
}
.f5x-call:hover { background: rgba(23, 187, 225, 0.13); }
.f5x-call-lbl {
    display: block;
    font-family: 'NanumBarunGothic', sans-serif;
    font-size: 11px;
    letter-spacing: 0.3em;
    color: #17BBE1;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 6px;
}
.f5x-call-num {
    display: block;
    font-family: 'Roboto Slab', serif;
    font-size: 30px;
    font-weight: 700;
    color: #FFFFFF;
    text-decoration: none;
    letter-spacing: 0.005em;
    line-height: 1;
}
.f5x-call-num:hover { color: #FFFFFF; }
.f5x-call-ext {
    display: inline-block;
    margin-top: 6px;
    font-family: 'NanumBarunGothic', sans-serif;
    font-size: 12.5px;
    color: #98A1B4;
    letter-spacing: 0.02em;
}

/* 정보 ul */
.f5x-info {
    list-style: none;
    margin: 0;
    padding: 0;
    font-family: 'NanumBarunGothic', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
    font-size: 13.5px;
    line-height: 1.9;
}
.f5x-info li {
    display: flex;
    align-items: baseline;
    gap: 14px;
    padding: 3px 0;
}
.f5x-info .f5x-info-key {
    color: #6E7585;
    flex: 0 0 92px;
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: 0.01em;
}
.f5x-info .f5x-info-val {
    color: #DFE3EA;
    font-weight: 500;
    flex: 1;
    min-width: 0;
    word-break: keep-all;
}

/* ===== 하단 카피라이트 영역 ===== */
.f5x-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: #0F1218;
}
.f5x-bottom-inner {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.f5x-policies a {
    font-family: 'NanumBarunGothic', sans-serif;
    color: #C5C9D2;
    text-decoration: none;
    font-size: 13px;
    margin-right: 18px;
    font-weight: 500;
    transition: color 0.2s;
}
.f5x-policies a:last-child { margin-right: 0; }
.f5x-policies a:hover { color: #17BBE1; }
.f5x-copy {
    font-family: 'NanumBarunGothic', sans-serif;
    color: #6E7585;
    font-size: 12.5px;
    letter-spacing: 0.02em;
}
.f5x-copy strong { color: #C5C9D2; font-weight: 700; }

/* ===== 모바일 ===== */
@media all and (max-width: 820px) {
    .f5x-wrap {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 44px 20px 26px;
        text-align: center;
    }
    .f5x-hero { text-align: center; }
    .f5x-hero img { max-width: 240px; margin: 0 auto; }
    .f5x-hero-name { font-size: 22px; }
    .f5x-call {
        text-align: center;
        border-left: 0;
        border-top: 3px solid #17BBE1;
        border-radius: 0 0 8px 8px;
        padding: 20px;
    }
    .f5x-call-num { font-size: 26px; }
    .f5x-info li {
        flex-direction: column;
        align-items: center;
        gap: 2px;
        padding: 4px 0;
    }
    .f5x-info .f5x-info-key { flex: none; }
    .f5x-bottom-inner {
        flex-direction: column;
        text-align: center;
        padding: 16px 18px;
    }
    .f5x-policies a { margin: 0 8px; font-size: 12.5px; }
}

@media all and (max-width: 480px) {
    .f5x-hero img { max-width: 200px; }
    .f5x-hero-name { font-size: 19px; }
    .f5x-call-num { font-size: 23px; }
    .f5x-info { font-size: 12.5px; }
}
