/* =========================================================
   상단 헤더 (PC) : 전화·협력업체등록 버튼을 이미지 → 텍스트 (로고는 원본 이미지 그대로 사용)
   - 메인·서브 공통 (사이트 layout.css 의 .header 배치 위에 덧씌움)
   - 흰 배경 상태(.scroll / .active) 에서는 초록색으로 바뀜
========================================================= */
.header .topWrap .leftWrap .logo { gap: 0 16px; }
.header .logoTxt {
    display: flex;
    align-items: center;
    gap: 0 7px;
    font-family: 'Pretendard', 'suiSB', 'NotoKrM', 'malgun gothic', sans-serif;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -0.05em;
    color: #fff;
    transition: color .8s;
}
.header .logoTxt em {
    font-style: normal;
    display: inline-flex;
    align-items: center;
    height: 24px;
    padding: 0 9px;
    margin-right: 3px;
    background: #fff;
    color: #003a1e;
    transition: background-color .8s, color .8s;
}
.header .logoTxt i {
    width: 1.5px;
    height: 15px;
    background: currentColor;
    opacity: .9;
}
.header .openBadge {
    display: inline-flex;
    align-items: center;
    height: 24px;
    padding: 0 9px;
    border: 1px solid rgba(255, 255, 255, .85);
    font-family: 'Pretendard', 'suiSB', 'NotoKrM', 'malgun gothic', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    transition: color .8s, border-color .8s;
}
.header .telBtn,
.header .cusBtn {
    display: inline-flex;
    align-items: center;
    gap: 0 9px;
    font-family: 'Pretendard', 'suiSB', 'NotoKrM', 'malgun gothic', sans-serif;
    color: #fff;
    transition: color .8s, border-color .8s, background-color .8s;
}
.header .telBtn { font-size: 21px; font-weight: 800; letter-spacing: 0; }
.header .telBtn svg,
.header .cusBtn svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linejoin: round;
    stroke-linecap: round;
}
.header .cusBtn {
    height: 35px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, .9);
    font-size: 15px;
    font-weight: 700;
}
.header .cusBtn:hover { background: rgba(255, 255, 255, .12); }
.header.scroll .logoTxt,
.header.active .logoTxt,
.header.scroll .telBtn,
.header.active .telBtn { color: #003a1e; }
.header.scroll .logoTxt em,
.header.active .logoTxt em { background: #003a1e; color: #fff; }
.header.scroll .openBadge,
.header.active .openBadge { color: #003a1e; border-color: #003a1e; }
.header.scroll .cusBtn,
.header.active .cusBtn { color: #fff; background: #003a1e; border-color: #003a1e; }


/* ===== 2뎁스 메뉴 (마우스 올리면 헤더가 내려오며 전체 하위메뉴 표시 · 2026-11-02) ===== */
.header.active { height: 230px; }
.header .topWrap .menu > li { min-width: 70px; }
.header .depth2 { padding-top: 12px; gap: 18px 0; opacity: 0; transition: opacity .4s; }
.header.active .depth2 { opacity: 1; }
.header .depth2 li a { font-family: 'Pretendard', 'suiB', sans-serif; font-weight: 500; font-size: 15px; color: #555; }
.header .depth2 li a:hover,
.header .depth2 li.on a { color: #003a1e; font-weight: 700; }

/* ===== 청약안내 메뉴 추가로 7개 — 글자 한 줄 고정·좁은 화면 간격 축소 (2026-11-18) ===== */
.header .menu>li>a { white-space: nowrap; }
@media (max-width: 1500px) { .header .topWrap .menu { gap: 0 22px; margin-right: 30px; } }
@media (max-width: 1400px) { .header .topWrap .menu { gap: 0 16px; margin-right: 20px; } .header .menu>li>a { font-size: 15px; } }



/* ===== 대메뉴 6개 묶음(사업개요·단지안내·세대안내·분양안내·홍보센터·관심고객등록) — 참고: GTX 회천 (2026-11-26)
   메뉴는 로고와 전화번호 사이 가운데, 마우스를 올리면 머리말이 내려오며 하위 메뉴 전체가 보인다
   ※ 사이트 최소 너비가 1500px 이라 그보다 좁은 화면도 1500px 배치 그대로 보인다 ===== */
.header .topWrap .leftWrap { flex: 0 0 auto; }
.header .topWrap .rightWrap { flex: 1 1 auto; }
.header .topWrap .menu { margin: 0 auto; gap: 0 clamp(32px, calc((100vw - 1380px) / 5), 85px); }
.header .topWrap .menu > li { min-width: 0; }
.header.active { height: 330px; }   /* 하위 메뉴가 가장 많은 사업개요(5개)까지 */
@media (max-width: 1560px) {
    .header .menu>li>a { font-size: 15px; }
    .header .depth2 li a { font-size: 14px; }
    .header .topWrap .leftWrap .logo { gap: 0 12px; }
    .header .telBtn { font-size: 18px; gap: 0 6px; }
    .header .topWrap .rightWrap .telBtn { margin-right: 16px; }
    .header .cusBtn { padding: 0 10px; font-size: 14px; gap: 0 6px; }
}


/* ===== 로고 옆 오픈 안내 : 그림(img_logo_icon_1203.png) → 글자 «12월 3일(목) 오후 1시 오픈» (2026-11-26)
   그림과 같은 모양(흰 바탕·초록 테두리·초록 글씨), 머리말이 흰색으로 바뀌어도 그대로 ===== */
.header .openBadge,
.header.scroll .openBadge,
.header.active .openBadge {
    height: 24px;
    padding: 0 11px;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #587d6c;
    font-family: 'Pretendard', 'suiB', 'NotoKrB', 'malgun gothic', sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.01em;
    color: #24543d;
    white-space: nowrap;
}
