@charset "utf-8";
/* =========================================================
   견적 및 문의요청 페이지 (inquiry.html) 전용 스타일
   - 기본 폼 스타일(.form-group, .btn-send 등)은 common.css 에 있고,
     여기서는 이 페이지의 배치·꾸밈만 다룹니다.
     (카탈로그 요청 팝업도 같은 폼 클래스를 쓰므로 common.css 는 건드리지 않음)
   ========================================================= */

.inq-wrap { max-width: 880px; margin: 40px auto 90px; padding: 0 40px; }

/* 문의 내용 아래 안내 */
.inq-tips-box { margin-top: 12px; padding: 16px 20px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 4px; }
.inq-tips-title { font-size: 14px; font-weight: 700; color: #334155; margin-bottom: 8px; }
.inq-tips { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 20px; font-size: 14px; color: #64748b; line-height: 1.6; }
.inq-tips li { position: relative; padding-left: 12px; }
.inq-tips li::before { content: ""; position: absolute; left: 0; top: 9px; width: 4px; height: 4px; background: var(--main-color); }

/* 폼 */
.inq-form-box { padding: 36px 40px 40px; }
.inq-required-note { text-align: right; font-size: 14px; color: #64748b; margin-bottom: 10px; }

.inq-section { border: 0; padding: 0; margin: 0 0 30px; min-width: 0; }
.inq-section legend { display: flex; align-items: center; gap: 10px; width: 100%; padding: 0 0 12px; margin-bottom: 24px; border-bottom: 1px solid #e2e8f0; font-size: 19px; font-weight: 800; color: #0f172a; }
.inq-step { display: inline-block; font-size: 13px; font-weight: 800; color: #ffffff; background: var(--main-color); border-radius: 4px; padding: 3px 8px; letter-spacing: 0.5px; line-height: 1.4; }

/* common.css 는 text/email 칸만 꾸미므로 전화번호(tel) 칸도 같은 모양으로 */
.inquiry-form input[type="tel"] { width: 100%; padding: 12px 15px; border: 1px solid #cbd5e1; border-radius: 4px; font-size: 16px; font-family: inherit; transition: border-color 0.3s, box-shadow 0.3s; }
.inquiry-form input::placeholder, .inquiry-form textarea::placeholder { color: #94a3b8; }

/* 입력을 마친 뒤 형식이 틀린 칸만 빨간 테두리 (지원 브라우저에서만) */
.inquiry-form input:user-invalid, .inquiry-form textarea:user-invalid { border-color: #e11d48; }

/* 첨부파일 버튼 */
.inquiry-form .file-input { font-size: 14px; }
.inquiry-form .file-input::file-selector-button { margin-right: 12px; padding: 8px 16px; border: 1px solid #cbd5e1; border-radius: 4px; background: #ffffff; color: #334155; font-family: inherit; font-size: 14px; font-weight: 700; cursor: pointer; transition: border-color 0.2s, color 0.2s; }
.inquiry-form .file-input::file-selector-button:hover { border-color: var(--main-color); color: var(--main-color); }

.inquiry-form .form-submit { margin-top: 10px; padding-top: 30px; border-top: 1px solid #e2e8f0; }
.inquiry-form .btn-send { min-width: 240px; }

@media screen and (max-width: 900px) {
    .inq-wrap { margin: 32px auto 60px; padding: 0 16px; }
    .inq-tips { grid-template-columns: 1fr; }
    .inq-form-box { padding: 26px 20px 30px; }
    .inquiry-form .form-group.row { flex-direction: column; gap: 25px; }
    .inq-section legend { font-size: 17px; }
    .inquiry-form .btn-send { width: 100%; min-width: 0; }
}

/* 상단 배너: 직접 만든 밝은 도면 배경(images/inquiry_bg.svg)
   - 높이(200px)에 맞춰 원본 크기로 가운데 정렬, 다른 배너의 어두운 덮개는 쓰지 않음
   - 바탕이 밝으므로 제목은 남색 글씨 */
.inq-visual { background-color: #edf2f9; background-size: auto 100%; background-position: center; background-repeat: no-repeat; border-bottom: 1px solid #dbe4ef; }
.inq-visual::before { display: none; }
.inq-visual h1 { color: #0f2b52; text-shadow: none; }
.inq-visual p { color: #475569; text-shadow: none; }
