/* ========================================
   Branch Coming Soon — 준비중 페이지 스타일
   파일: /Barog/comingsoon/coming_soon.css
   (HTML: /Barog/comingsoon/coming_soon.html 에서 @css 로 불러옴)
======================================== */

.branchComingSoon {
    position: relative;
    min-height: calc(100vh - 120px);   /* 구형 브라우저 fallback */
    min-height: calc(100svh - 120px);  /* 모바일 주소창 접힘/펼침에도 고정 — 스크롤 시 지도 흔들림 방지 */
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F8F6F2;
    overflow: hidden;
    padding: 64px 24px 80px;
    box-sizing: border-box;
}

/* 배경 그라디언트 */
.branchComingSoon::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 55% at 50% 38%,
            rgba(175, 148, 100, 0.06) 0%,
            transparent 70%);
    pointer-events: none;
}

/* 미세 텍스처 격자 */
.branchComingSoon::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0,0,0,0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.015) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
}

.branchComingSoon__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 460px;
    text-align: center;
}


/* ── 로고 ── */
.branchComingSoon__logo {
    margin-bottom: 48px;
    animation: bcFadeDown 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.branchComingSoon__logo a {
    display: inline-block;
}

.branchComingSoon__logo img {
    height: 30px;
    width: auto;
}


/* ── 지도 영역 ── */
.branchComingSoon__mapWrap {
    position: relative;
    width: 230px;
    margin: 0 auto 50px;
    animation: bcScaleIn 1s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}

/* 전국 팔도 지도 (인라인 SVG) */
.branchComingSoon__mapSvg {
    display: block;
    width: 100%;
    height: auto;
}
.branchComingSoon__mapSvg path {
    fill: #DDD9D1;
    stroke: #8E8881;
    stroke-width: 1.1;
    vector-effect: non-scaling-stroke;
    stroke-linejoin: round;
}
.branchComingSoon__mapSvg polyline {
    fill: none;
    stroke: #8E8881;
    stroke-width: 1.1;
    vector-effect: non-scaling-stroke;
}

/* 기존 지점 (작은 점 + 라벨) */
.bcDot {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #6B6460;
    transform: translate(-50%, -50%);
}
.bcDot b {
    position: absolute;
    left: 9px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 9px;
    font-weight: 500;
    color: #6B6460;
    white-space: nowrap;
}

/* 오픈 예정 핀 (지도 위 절대배치) */
.bcSoon {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
/* 파동 링 */
.bcSoonRing {
    position: absolute;
    left: 60%;
    top: 35%;
    width: 10px;
    height: 10px;
    margin: -5px 0 0 -5px;
    border-radius: 50%;
    border: 1.5px solid #9C7C4A;
    opacity: 0;
    animation: bcPing 2.6s ease-out infinite;
}
.bcSoonRing--b { animation-delay: 0.85s; }
.bcSoonRing--c { animation-delay: 1.7s; }
/* 중앙 점 */
.bcSoonCore {
    position: absolute;
    left: 60%;
    top: 35.5%;
    width: 10px;
    height: 10px;
    margin: -4.5px 0 0 -4.5px;
    border-radius: 50%;
    background: #9C7C4A;
    box-shadow: 0 0 5px rgba(156, 124, 74, 0.55);
    animation: bcPulse 2.6s ease-in-out infinite;
}
/* 라벨 */
.bcSoonLabel {
    position: absolute;
    left: 60%;
    top: calc(38% + 9px);
    transform: translateX(-50%);
    font-size: 8px;
    font-weight: 600;
    color: #9C7C4A;
    letter-spacing: 0.06em;
    white-space: nowrap;
}


/* ── 본문 텍스트 ── */
.branchComingSoon__body {
    animation: bcFadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
}

.bcEyebrow {
    display: block;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.38em;
    color: #9C7C4A;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.bcHeadline {
    font-size: 27px;
    font-weight: 300;
    color: #1A1815;
    letter-spacing: 0.2em;
    margin: 0 0 18px;
    line-height: 1.5;
}

.bcDesc {
    font-size: 13px;
    color: #999390;
    letter-spacing: 0.04em;
    line-height: 2;
    margin: 0 0 40px;
}

/* 구분선 장식 */
.bcDivider {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    margin-bottom: 36px;
}

.bcDivider::before,
.bcDivider::after {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: #D5D0C8;
}

.bcDivider span {
    font-size: 9px;
    letter-spacing: 0.3em;
    color: #C0BBB3;
    text-transform: uppercase;
}

/* 뒤로가기 버튼 */
.bcBackBtn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #A09A94;
    text-decoration: none;
    letter-spacing: 0.08em;
    padding-bottom: 2px;
    border-bottom: 1px solid #D5D0C8;
    transition: color 0.28s ease, border-color 0.28s ease;
}

.bcBackBtn:hover {
    color: #1A1815;
    border-color: #999;
}


/* ── 애니메이션 ── */
@keyframes bcFadeDown {
    from { opacity: 0; transform: translateY(-14px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes bcFadeUp {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes bcScaleIn {
    from { opacity: 0; transform: scale(0.94); }
    to   { opacity: 1; transform: scale(1); }
}

@keyframes bcPing {
    0%   { transform: scale(1); opacity: 0.85; }
    90%  { opacity: 0; }
    100% { transform: scale(6); opacity: 0; }
}

@keyframes bcPulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.65; }
}


/* ── 반응형 ── */
@media (max-width: 480px) {
    .branchComingSoon {
        padding: 50px 20px 70px;
        /* 카톡/네이버 인앱 브라우저는 스크롤 시 웹뷰 자체가 리사이즈되어 vh/svh가 전부 변동됨.
           모바일에서는 화면 높이 연동을 끊고 콘텐츠 높이 그대로 사용 → 지도/텍스트 출렁임 방지 */
        min-height: 0;
    }

    .branchComingSoon__mapWrap {
        width: 188px;
    }

    .bcHeadline {
        font-size: 22px;
    }

    .bcDesc {
        font-size: 12.5px;
    }
}
