@charset "utf-8";
/******************************************************************
    구해줘 부산 방충망 — 메인 신규 섹션
    신뢰 요소 / 견적문의 유도 배너 / 공통 버튼
    시공분야 슬라이더는 skin/latest/bcm_service_slider/ 에 있다.
    컬러 토큰은 brand.css 에 정의되어 있다.
******************************************************************/

/* ---------- 공통 버튼 ---------- */

.bcm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 20px;
    /* 브리프 9장: 터치 영역 최소 44px */
    min-height: 44px;
    border-radius: 0;
    font-family: "Noto Sans KR", sans-serif;
    font-weight: 700;
    font-size: 15px;
    text-align: center;
    transition: background .3s, color .3s, border-color .3s;
}
.bcm-btn-tel {
    background: var(--brand-orange);
    color: #fff;
}
.bcm-btn-tel:hover { background: var(--cta-orange); color: #fff; }

/* 견적문의 남기기 — 남색 배너 위에 놓이므로 흰 테두리로 형태를 드러낸다 */
.bcm-btn-quote {
    border: 1px solid #fff;
    background: transparent;
    color: #fff;
}
.bcm-btn-quote:hover { background: #fff; color: var(--navy); }

.bcm-btn-line {
    border: 1px solid var(--navy);
    color: var(--navy);
    background: #fff;
}
.bcm-btn-line:hover { background: var(--navy); color: #fff; }

.bcm-btn-lg {
    padding: 18px 36px;
    min-height: 56px;
    font-size: 17px;
}

/* 강조 배경 밴드 */
.bcm-accent-band { background: var(--accent-bg); }


/* ---------- 긴급 설득 바 (히어로 바로 아래) ---------- */

/* 히어로 + 긴급 설득 바가 첫 화면(100vh)을 '정확히' 채우도록 두 높이를 상보적으로 고정한다.
   (높이가 어긋나면 아래 섹션 배경이 얇게 비친다)
   단, 아이콘 4개 + 전화 CTA 가 한 줄에 확실히 들어가는 폭(≈1400px)에서만 고정한다.
   그보다 좁으면 콘텐츠가 2줄로 줄바꿈되는데, 높이를 104px 로 고정하면 넘친 CTA 가
   아래 섹션(후기)을 덮어 겹침이 생긴다 → 아래 중간 폭 구간에서 auto 높이로 흘려보낸다. */
@media screen and (min-width: 1400px) {
    #gw-theme-main-visual { height: calc(100vh - 104px); }
    .bcm-urgency-bar { height: 104px; padding: 0; }
    .bcm-urgency-bar > .gw-sec-container { height: 100%; }
}

/* 중간 폭(태블릿~좁은 데스크탑): 한 줄에 안 들어가므로 가운데 정렬 + auto 높이.
   높이를 고정하지 않아 2줄로 늘어나도 밴드가 함께 커져 겹침이 없다. */
@media screen and (min-width: 769px) and (max-width: 1399px) {
    .bcm-urgency-bar > .gw-sec-container { justify-content: center; row-gap: 16px; }
    .bcm-urgency-list { justify-content: center; }
}

/* "전화해도 되나?"를 즉시 판단하게 하는 얇은 밴드. gw-sec(170px) 대신 좁은 여백을 쓴다. */
.bcm-urgency-bar {
    padding: 26px 0;
    background: var(--navy);
    color: #fff;
}
.bcm-urgency-bar > .gw-sec-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px 40px;
}
.bcm-urgency-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 28px;
}
.bcm-urgency-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: "Noto Sans KR", sans-serif;
    font-weight: 700;
    font-size: 17px;
    white-space: nowrap;
}
.bcm-urgency-item > i {
    color: var(--brand-orange);
    font-size: 22px;
    line-height: 1;
}
.bcm-urgency-cta {
    display: inline-flex;
    align-items: center;
    gap: 16px;
}
.bcm-urgency-msg {
    color: rgba(255, 255, 255, .85);
    font-size: 15px;
    white-space: nowrap;
}
/* 남색 배경 위 전화 버튼 — 포인트 컬러 */
.bcm-urgency-cta .bcm-btn-tel { background: var(--brand-orange); }
.bcm-urgency-cta .bcm-btn-tel:hover { background: var(--cta-orange); }
.bcm-urgency-bar a:focus-visible { outline-color: #fff; }


/* ---------- 신뢰 요소 ---------- */

/* 카드 3개씩. 마지막 줄에 2개만 남으면 가운데 정렬되도록 grid 대신 flex 를 쓴다. */
.bcm-trust-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    max-width: 1080px;
    margin: 0 auto;
}
.bcm-trust-item {
    display: flex;
    flex-direction: column;
    /* 3열 */
    flex: 0 0 calc((100% - 48px) / 3);
    padding: 32px 24px 40px;
    border: 1px solid #eee;
    background: #fff;
    text-align: center;
    transition: border-color .3s, box-shadow .3s, background .3s, transform .3s;
}
.bcm-trust-item:hover {
    border-color: var(--brand-orange);
    background: var(--accent-bg);
    box-shadow: 0 14px 34px rgba(46, 49, 99, .1);
    transform: translateY(-4px);
}

.bcm-trust-title {
    margin-bottom: 28px;
    color: #888;
    font-size: 17px;
    transition: color .3s;
}
.bcm-trust-item:hover .bcm-trust-title { color: var(--cta-orange); }

.bcm-trust-ico {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .4s cubic-bezier(0.19, 1, 0.22, 1);
}
/* 원본이 1:1 정사각(300x300)이므로 그대로 1:1 로 표시한다 */
.bcm-trust-ico > img {
    width: 130px;
    height: 130px;
    object-fit: contain;
}
.bcm-trust-item:hover .bcm-trust-ico { transform: translateY(-6px); }

/* ---------- 견적문의 유도 배너 ---------- */

#bcm-main-quote {
    background: var(--navy);
    color: #fff;
}
.bcm-quote-title {
    margin-bottom: 16px;
    color: #fff;
    font-size: var(--main-title02);
    line-height: 1.4;
}
.bcm-quote-text {
    margin-bottom: 40px;
    color: rgba(255, 255, 255, .8);
    font-size: var(--main-text01);
    line-height: 1.6;
}
.bcm-quote-btns {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
}
/* 어두운 배경 위 포커스 링 */
#bcm-main-quote a:focus-visible { outline-color: #fff; }

/* ---------- 오시는길 ---------- */
/* main.css 의 좌우 2단(display:flex;height:100vh) 구조를 상단 헤더 + 하단 지도로 바꾼다 */

#gw-theme02-main-location {
    display: block;
    height: auto;
}
/* 후기 카드 라운드 제거 (main.css border-radius:16px 덮어씀) + 상하 여백 추가 */
#gw-theme02-main-partners .gw-review-card { border-radius: 0; margin: 12px; }
/* 슬라이더 상하 패딩(좌우 -12px 오프셋은 main.css .gw-review-slider{margin:0 -12px} 로 이미 처리) */
#gw-theme02-main-partners .gw-review-slider.slick-slider { padding: 24px 0; }

/* 후기 슬라이더 카드: 클릭 시 상세 페이지로 이동 */
#gw-theme02-main-partners .gw-review-card-link { display: block; color: inherit; text-decoration: none; }
/* 그림자는 아주 옅게. 기본값은 main.css 의 `0 10px 30px rgba(0,0,0,.04)` 인데
   카드 경계는 border 로 충분히 잡히므로 그림자는 최소한만 남긴다. */
#gw-theme02-main-partners .gw-review-card {
    box-shadow: 0 2px 8px rgba(0, 0, 0, .02);
    transition: box-shadow .25s ease;
}
/* hover 그림자는 아래로 길게 빼지 않는다. slick-list 의 overflow:hidden 때문에
   카드 아래로 많이 번지면 잘려서 하드컷이 보인다. (아래 .slick-list 여백 참고) */
#gw-theme02-main-partners .gw-review-card:hover { box-shadow: 0 4px 12px rgba(0, 0, 0, .05); }

/* 슬라이더(slick-list)의 overflow:hidden 이 카드 아래 그림자를 잘라내므로,
   세로 여백을 줘 그림자가 보이게 한다(가로 slidesToShow 폭에는 영향 없음). */
#gw-theme02-main-partners .gw-review-slider .slick-list {
    padding-top: 6px;
    padding-bottom: 42px;
    margin-bottom: 0;   /* 음수 마진을 쓰면 아래 섹션 배경이 그림자를 덮어 하드컷이 생김 → 0 */
}

/* 후기 전체 보기 버튼: 너비 고정(좌우 패딩 합 40+40=20+60 유지) →
   hover 시 텍스트만 왼쪽으로 살짝 밀리고 오른쪽에 화살표가 나타난다. */
#gw-theme02-main-partners .gw-main-btn01:hover { padding: 20px 60px 20px 20px; }

/* 데스크탑: 양옆 카드의 '가위로 자른' 하드컷 가장자리만 부드럽게 그라데이션 페이드.
   잘리는 요소(slick-list)에 좁은(25px) 마스크를 걸어 위치/간격은 그대로 두고 컷 라인만 완화. */
@media screen and (min-width: 1025px) {
    #gw-theme02-main-partners .gw-review-slider .slick-list {
        -webkit-mask-image: linear-gradient(to right, transparent 0, #000 25px, #000 calc(100% - 25px), transparent 100%);
        mask-image: linear-gradient(to right, transparent 0, #000 25px, #000 calc(100% - 25px), transparent 100%);
    }
}

/* 태블릿·모바일(세로 배치): 상단 여백은 넓히고, '후기 전체 보기' 버튼과 슬라이더 사이의
   과한 간격(버튼 margin-bottom 60px + 슬라이더 상단 패딩)을 줄인다. */
@media screen and (max-width: 1024px) {
    #gw-theme02-main-partners { padding-top: 90px; }
    /* .gw-mb-60(margin-bottom:60px) 유틸리티를 이 위치에서만 해제 */
    #gw-theme02-main-partners .gw-right .gw-main-btn01 { margin-bottom: 0 !important; }
    #gw-theme02-main-partners .gw-review-container { margin-top: 26px; }
    #gw-theme02-main-partners .gw-review-slider.slick-slider { padding: 12px 0; }
    #gw-theme02-main-partners .gw-review-slider .slick-list { padding-bottom: 28px; }
}
@media screen and (max-width: 576px) {
    #gw-theme02-main-partners { padding-top: 64px; }
    #gw-theme02-main-partners .gw-right { margin-top: 22px; }
    #gw-theme02-main-partners .gw-review-container { margin-top: 22px; }
    #gw-theme02-main-partners .gw-review-slider.slick-slider { padding: 8px 0; }
    #gw-theme02-main-partners .gw-review-slider .slick-list { padding-bottom: 22px; }
}

#gw-theme02-main-location .bcm-loc-head {
    padding: 90px 20px 48px;
    background: #fff;
    text-align: center;
}
.bcm-loc-eyebrow {
    margin-bottom: 14px;
    color: var(--brand-orange);
    font-family: "Josefin Sans", sans-serif;
    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
}
.bcm-loc-title {
    margin-bottom: 24px;
    color: var(--navy);
    font-size: 44px;
    line-height: 1.2;
}
.bcm-loc-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 18px;
}
.bcm-loc-info > li {
    position: relative;
    padding: 4px 22px;
}
.bcm-loc-info > li:not(:last-child):after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    width: 1px;
    height: 14px;
    margin-top: -7px;
    background: #d5d5d5;
}
.bcm-loc-info .tel-link { color: #333; }
.bcm-loc-info .tel-link:hover { color: var(--cta-orange); }

.bcm-loc-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 32px;
    padding: 14px 30px;
    min-height: 48px;
    background: var(--navy);
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    transition: background .3s;
}
.bcm-loc-more:hover { background: var(--navy-dark); color: #fff; }

/* 지도는 상단 콘텐츠와 같은 컨테이너 폭(gw-sec-container) 안에 들어가 양옆 여백이 맞는다.
   본문 헤더 바로 아래 붙지 않도록 위쪽 여백을 준다. */
#gw-theme02-main-location > .gw-sec-container { padding-bottom: 90px; }
/* main.css 의 `#gw-theme02-main-location .gw-sec-container > div{height:100%}` 가
   특이도로 이겨 지도가 납작해지므로 같은 특이도(+뒤 로드)로 덮어쓴다. */
#gw-theme02-main-location .gw-sec-container > .bcm-loc-map {
    overflow: hidden;
    width: 100%;
    height: 380px;
    background: var(--gray-bg);
}
.bcm-loc-map > iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

@media screen and (max-width: 768px) {
    #gw-theme02-main-location .bcm-loc-head { padding: 60px 20px 40px; }
    #gw-theme02-main-location > .gw-sec-container { padding-bottom: 60px; }
    .bcm-loc-title { font-size: 30px; }
    .bcm-loc-info { flex-direction: column; gap: 6px; font-size: 16px; }
    .bcm-loc-info > li:not(:last-child):after { display: none; }
    #gw-theme02-main-location .gw-sec-container > .bcm-loc-map { height: 300px; }
}

/* ---------- 견적문의 폼 ---------- */

/* 창밖 풍경 사진 위에 어두운 오버레이를 얹어 흰 글씨가 읽히게 한다. */
#gw-theme02-main-inquiry {
    position: relative;
    background: url('../img/bcm-inquiry-bg.jpg') center / cover no-repeat;
}
#gw-theme02-main-inquiry:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .5);
}
#gw-theme02-main-inquiry > form {
    position: relative;
    z-index: 1;
}

/* 소제목은 포인트 컬러, 큰 제목은 흰색 */
#gw-theme02-main-inquiry .gw-sec-sub-title { color: var(--brand-orange); }
#gw-theme02-main-inquiry .gw-sec-title { color: #fff; }
#gw-theme02-main-inquiry .gw-check-list { color: rgba(255, 255, 255, .85); }
#gw-theme02-main-inquiry .gw-input-container .gw-input-title { color: var(--navy); }

.bcm-inquiry-lead {
    margin-top: -24px;
    margin-bottom: 50px;
    color: rgba(255, 255, 255, .8);
    font-size: var(--main-text01);
    line-height: 1.6;
}

/* 두 열을 위에서부터 정렬 */
#gw-theme02-main-inquiry .gw-input-container { align-items: flex-start; }

/* 요청사항처럼 라벨을 입력창 위로 뺀다.
   테마는 라벨을 절대배치 + line-height:55px 로 넣는데, select 와 높이가 어긋나 정렬이 깨진다. */
#gw-theme02-main-inquiry .gw-input-container .gw-input-item {
    display: flex;
    flex-direction: column;
    height: auto;
    padding: 0;
    border: 0;
    background: transparent;
}
#gw-theme02-main-inquiry .gw-input-container .gw-input-title {
    position: static;
    width: auto;
    margin-bottom: 8px;
    color: #fff;
    line-height: normal;
    text-align: left;
}
/* reset.css 의 input{all:unset} 이 box-sizing 까지 지워서(content-box)
   width:100% + 패딩·테두리가 더해져 칸이 컨테이너 밖으로 삐져나간다. */
#gw-theme02-main-inquiry .gw-input-container .gw-input,
#gw-theme02-main-inquiry .gw-textarea-item > textarea {
    box-sizing: border-box;
}

#gw-theme02-main-inquiry .gw-input-container .gw-input {
    width: 100%;
    height: 55px;
    padding: 0 16px;
    border: 1px solid #ddd;
    border-radius: 0;
    line-height: normal;
    background: #fff;
    color: var(--charcoal);
}

/* 시공 유형 select — 기본 화살표가 사라졌으므로 직접 그린다.
   select 은 텍스트 입력칸과 달리 세로 중앙이 자동으로 안 잡혀 위로 붙는다.
   높이(55px)에서 위아래 테두리(2px)를 뺀 값으로 line-height 를 준다. */
#gw-theme02-main-inquiry .gw-input-container select.gw-input {
    height: 55px;
    box-sizing: border-box;
    padding: 0 40px 0 16px;
    line-height: 53px;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%23222' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 12px 8px;
    appearance: none;
    -webkit-appearance: none;
}

/* 요청사항 */
#gw-theme02-main-inquiry .gw-textarea-item > textarea {
    width: 100%;
    padding: 16px;
    border-radius: 0;
    border: 1px solid #ddd;
    background: #fff;
}
.bcm-req {
    margin-left: 2px;
    color: var(--cta-orange);
}

/* 개인정보 동의 체크박스 — 라운드 제거(각진 사각형) */
#gw-theme02-main-inquiry input[type="checkbox"] + .check-label:before { border-radius: 0; }

/* 오른쪽 열 — 요청사항이 남는 높이를 채우고, 사진 올리기는 그 아래 가로로 */
#gw-theme02-main-inquiry .gw-input-container > ul:last-child {
    display: flex;
    flex-direction: column;
}
#gw-theme02-main-inquiry .gw-textarea-item {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    margin-top: 15px;
}
.bcm-textarea-title {
    margin-bottom: 8px;
    color: #fff;
    font-family: "Noto Sans KR", sans-serif;
    font-weight: 800;
}
/* 남는 높이를 채워 왼쪽 열과 아래 끝을 맞춘다 */
#gw-theme02-main-inquiry .gw-textarea-item > textarea {
    flex: 1 1 auto;
    height: auto;
    min-height: 160px;
    margin-top: 0;
    resize: vertical;
}

.bcm-file-list {
    display: flex;
    gap: 24px;
    margin-top: 15px;
}
.bcm-file-list > .bcm-file-row { flex: 1 1 50%; margin-top: 0; }

/* 개인정보 동의 옆 돋보기 아이콘 — main.css 에 정렬 규칙이 없어 왼쪽으로 쏠린다 */
#gw-theme02-main-inquiry .gw-search {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
}

/* 사진 올리기 — 라벨 + 파일선택 버튼 + 파일명 */
.bcm-file-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 15px;
}
.bcm-file-label {
    flex: 0 0 auto;
    color: #fff;
    font-family: "Noto Sans KR", sans-serif;
    font-weight: 800;
}
.bcm-file-btn {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    /* 브리프 9장: 터치 영역 최소 44px */
    min-height: 44px;
    border: 1px solid #999;
    color: var(--charcoal);
    font-size: 15px;
    cursor: pointer;
    /* 호버 시 포인트 컬러가 가운데에서 차오른다 */
    background-color: #fff;
    background-image: linear-gradient(var(--brand-orange), var(--brand-orange));
    background-repeat: no-repeat;
    background-position: center;
    background-size: 0 100%;
    transition: background-size .4s ease, color .3s ease, border-color .3s ease;
}
.bcm-file-btn:hover {
    border-color: var(--brand-orange);
    color: #fff;
    background-size: 100% 100%;
}
.bcm-file-name {
    overflow: hidden;
    color: #555;
    font-size: 14px;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.bcm-file-name { color: rgba(255, 255, 255, .8); }
.bcm-file-name.placeholder { color: rgba(255, 255, 255, .55); }

/* 제출 버튼(견적문의 보내기) — 채움 애니메이션 없이, hover 시 배경만 포인트 주황으로
   자연스럽게 바뀌고 글자는 흰색. 메인 견적문의 섹션과 견적문의 페이지 공용. */
#gw-theme02-main-inquiry .gw-btn-container .gw-main-btn01 {
    min-width: 200px;
    padding: 15px 40px;
    border: 3px solid #fff;
    color: #000;
    background: #fff;
    transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}
#gw-theme02-main-inquiry .gw-btn-container .gw-main-btn01:hover {
    padding: 15px 40px;   /* hover 시 패딩 변화(밀림) 없음 */
    background: var(--brand-orange);
    border-color: var(--brand-orange);
    color: #fff;
}
/* 슬라이드 채움(:before)·화살표(:after) 등 기존 애니메이션 요소 제거 */
#gw-theme02-main-inquiry .gw-btn-container .gw-main-btn01:before,
#gw-theme02-main-inquiry .gw-btn-container .gw-main-btn01:after { display: none; }

/* 파일 입력 자체는 감추되 키보드 포커스는 살린다 */
.bcm-file-row input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}
.bcm-file-row input[type="file"]:focus-visible + .bcm-file-btn,
.bcm-file-btn:focus-visible {
    outline: 3px solid var(--focus-ring);
    outline-offset: 2px;
}

/* 시공 유형 select 를 다른 입력칸과 같은 모양으로 */
#gw-theme02-main-inquiry select.gw-input {
    width: 100%;
    cursor: pointer;
}

/* ---------- 반응형 ---------- */

@media screen and (max-width: 768px) {
    /* 2열 */
    .bcm-trust-item { flex: 0 0 calc((100% - 24px) / 2); padding: 24px 20px 32px; }
    .bcm-trust-ico > img { width: 100px; height: 100px; }
    .bcm-trust-title { margin-bottom: 20px; }

    .bcm-quote-btns { flex-direction: column; align-items: stretch; }

    /* 긴급 설득 바 — 세로 스택, 가운데 정렬 */
    .bcm-urgency-bar { padding: 24px 0; }
    .bcm-urgency-bar > .gw-sec-container { flex-direction: column; text-align: center; }
    .bcm-urgency-list { justify-content: center; gap: 12px 20px; }
    .bcm-urgency-item { font-size: 15px; }
    .bcm-urgency-cta { flex-direction: column; gap: 12px; width: 100%; }
    .bcm-urgency-cta .bcm-btn { width: 100%; max-width: 320px; }
}

@media screen and (max-width: 768px) {
    /* 사진 올리기 — 좁은 화면에서는 파일명이 다음 줄로 내려간다 */
    .bcm-file-row { flex-wrap: wrap; gap: 10px; }
    .bcm-file-name { flex: 1 1 100%; white-space: normal; }

    .bcm-inquiry-lead { margin-top: -12px; margin-bottom: 32px; font-size: 15px; }

    /* responsive.css 가 버튼을 width:50%, height:40px 로 눌러 글자가 넘친다 */
    #gw-theme02-main-inquiry .gw-btn-container .gw-main-btn01 {
        width: 100%;
        max-width: 280px;
        height: auto;
        padding: 14px 20px;
        line-height: 1.4;
    }
    #gw-theme02-main-inquiry .gw-btn-container .gw-main-btn01:hover { padding: 14px 20px; }
}

@media screen and (max-width: 576px) {
    .bcm-trust-list { gap: 16px; }
    .bcm-trust-item { flex: 0 0 100%; }
}
