/* =====================================================================
 * 견적문의 (/support/quote) — 상단 다크 안내 배너 + 아래 폼 카드 (세로 1열).
 *   톤은 플랫폼 페이지(.plat-hero / 카드)와 맞춘다. 색은 테마 토큰(--main-color*) 사용.
 * ===================================================================== */
.qt { display: flex; flex-direction: column; gap: clamp(1.6rem, 3vw, 2.4rem);
	max-width: 1200px; margin: 0 auto; padding: 4rem 0 5rem; }   /* 상하 여백은 일반페이지 .page_content(4rem) 와 맞춤 */

/* ----- 상단 안내 배너 — [제목 | 연락처] / [진행 단계 4칸] ----- */
.qt-intro { position: relative; overflow: hidden; color: #fff; border-radius: 28px;
	display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem 3rem; align-items: end;
	padding: clamp(2.2rem, 4vw, 3.2rem) clamp(1.6rem, 4vw, 3.2rem);
	background:
		radial-gradient(80% 120% at 100% 0%, rgba(56,120,255,.32), transparent 60%),
		linear-gradient(158deg, #0f1a33 0%, #0a1020 100%); }
.qt-intro::after { content: ''; position: absolute; right: -6%; top: -60%; width: 34%; aspect-ratio: 1; border-radius: 50%; pointer-events: none; opacity: .6;
	background: radial-gradient(circle at 40% 40%, rgba(90,150,255,.5), rgba(40,90,220,.18) 45%, rgba(10,25,70,0) 72%); }
.qt-intro > * { position: relative; z-index: 1; }
.qt-eyebrow { color: #9fc0ff; font-weight: 600; font-size: 1rem; letter-spacing: .02em; margin: 0 0 .7rem; }
.qt-tit { color: #fff; font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.3; margin: 0 0 .8rem; word-break: keep-all; }
.qt-lead { color: rgba(255,255,255,.7); font-size: 1rem; line-height: 1.75; margin: 0; word-break: keep-all; }
.qt-lead strong { color: #fff; }

/* 진행 단계 — 가로 4칸, 화살표로 연결 */
.qt-steps { grid-column: 1 / -1; list-style: none; margin: 0; padding: 1.8rem 0 0; border-top: 1px solid rgba(255,255,255,.14);
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.qt-steps li { position: relative; display: grid; grid-template-columns: 2.4rem 1fr; column-gap: .8rem; align-items: center; }
.qt-steps li:not(:last-child)::after { content: 'chevron_right'; font-family: 'Material Symbols Outlined'; position: absolute; right: -.2rem; top: 50%;
	transform: translateY(-50%); font-size: 20px; line-height: 1; color: rgba(255,255,255,.3); }
.qt-steps em { grid-row: span 2; display: inline-flex; align-items: center; justify-content: center; width: 2.4rem; height: 2.4rem; border-radius: 50%;
	font-style: normal; font-size: .78rem; font-weight: 800; color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22); }
.qt-steps li:first-child em { background: var(--main-color-dark); border-color: var(--main-color-dark); }
.qt-steps b { color: #fff; font-size: 1rem; font-weight: 700; line-height: 1.4; }
.qt-steps span { color: rgba(255,255,255,.55); font-size: .85rem; line-height: 1.5; word-break: keep-all; }

/* 연락처 — 배너 우측 */
.qt-contact { margin: 0; padding: 0; display: flex; flex-direction: column; gap: .6rem; min-width: 260px; }
.qt-contact > div { display: flex; align-items: center; justify-content: space-between; gap: 1.6rem; }
.qt-contact dt { display: flex; align-items: center; gap: .45rem; color: rgba(255,255,255,.55); font-size: .88rem; }
.qt-contact dt .material-symbols-outlined { font-size: 18px; color: #9fc0ff; }
.qt-contact dd { margin: 0; color: #fff; font-size: .95rem; font-weight: 700; }
.qt-contact dd a { color: #fff; font-size: inherit; text-decoration: none; }
.qt-contact dd a:hover { color: #9fc0ff; }
/* ----- 폼 카드 ----- */
.qt-form { background: #fff; border: 1px solid #e9edf3; border-radius: 24px; box-shadow: 0 18px 44px rgba(20,30,60,.06);
	padding: clamp(1.6rem, 3.5vw, 2.8rem); }
.qt-sec { margin: 0; padding: 0 0 2rem; border: 0; min-width: 0; }
.qt-sec + .qt-sec { padding-top: 2rem; border-top: 1px dashed #dfe5ee; }
.qt-sec-tit { display: flex; line-height: 1.4; align-items: baseline; gap: .55rem; width: 100%; padding: 0; margin: 0 0 1.2rem;
	color: #12141c; font-size: 1.2rem; font-weight: 800; letter-spacing: -.02em; }
.qt-sec-tit em { font-style: normal; color: var(--main-color-dark); font-size: .9rem; font-weight: 800; font-feature-settings: "tnum"; }
.qt-sec-tit small { margin-left: .2rem; color: #98a1b2; font-size: .82rem; font-weight: 500; }
.qt-req { color: #e03b3b; font-weight: 700; }

/* 관심 솔루션 칩 (체크박스) */
.qt-chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7rem; }
.qt-chip { position: relative; display: flex; align-items: center; gap: .55rem; min-height: 54px; padding: .7rem 1rem; cursor: pointer;
	border: 1px solid #dfe4ec; border-radius: 14px; background: #fff; color: #3d4452; font-size: .95rem; font-weight: 600; word-break: keep-all;
	transition: border-color .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease; }
.qt-chip input { position: absolute; opacity: 0; pointer-events: none; }
.qt-chip .material-symbols-outlined { font-size: 22px; color: #98a1b2; transition: color .2s ease; }
.qt-chip:hover { border-color: #b9c9e8; }
.qt-chip:has(input:checked) { border-color: var(--main-color-dark); background: #f1f7ff; color: var(--main-color-dark); box-shadow: 0 0 0 1px var(--main-color-dark) inset; }
.qt-chip:has(input:checked) .material-symbols-outlined { color: var(--main-color-dark); }
.qt-chip:has(input:focus-visible) { outline: 2px solid var(--main-color-dark); outline-offset: 2px; }
/* 선택 체크 표시 */
.qt-chip::after { content: 'check'; font-family: 'Material Symbols Outlined'; margin-left: auto; font-size: 18px; line-height: 1; color: var(--main-color-dark); opacity: 0; transition: opacity .2s ease; }
.qt-chip:has(input:checked)::after { opacity: 1; }

/* 문의 유형 세그먼트 (라디오) */
.qt-seg { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: .3rem; border-radius: 14px; background: #f4f6fa; gap: .3rem; }
.qt-seg label { position: relative; cursor: pointer; }
.qt-seg input { position: absolute; opacity: 0; pointer-events: none; }
.qt-seg span { display: flex; align-items: center; justify-content: center; height: 46px; padding: 0 .5rem; border-radius: 10px;
	color: #5b6474; font-size: .93rem; font-weight: 600; text-align: center; word-break: keep-all; transition: background .2s ease, color .2s ease, box-shadow .2s ease; }
.qt-seg label:hover span { color: #1a1f36; }
.qt-seg input:checked + span { background: #fff; color: var(--main-color-dark); font-weight: 800; box-shadow: 0 4px 14px rgba(20,30,60,.08); }
.qt-seg input:focus-visible + span { outline: 2px solid var(--main-color-dark); outline-offset: 1px; }

/* 입력 그리드 */
.qt-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem 1.1rem; }
.qt-field { display: flex; flex-direction: column; gap: .5rem; min-width: 0; }
.qt-full { grid-column: 1 / -1; }
.qt-field > label, .qt-label { color: #1a1f36; font-size: .93rem; font-weight: 700; }
.qt-label small { margin-left: .3rem; color: #98a1b2; font-size: .8rem; font-weight: 500; }
.qt-field input[type="text"], .qt-field input[type="tel"], .qt-field input[type="email"], .qt-field select { width: 100%; border-radius: 10px; }
.qt-field textarea { width: 100%; min-height: 200px; padding: .9rem 1rem; resize: vertical; box-sizing: border-box;
	border: 1px solid #d4d9e0; border-radius: 10px; background: #fff; color: #333; font-size: .93rem; line-height: 1.7; font-family: inherit;
	transition: border-color .15s ease, box-shadow .15s ease; }
.qt-field textarea::placeholder { color: #aab0b8; }
.qt-field textarea:focus { outline: none; border-color: var(--main-color, #4f7bff); box-shadow: 0 0 0 3px rgba(79,123,255,.15); }
.qt-count { margin: -.1rem 0 0; text-align: right; color: #98a1b2; font-size: .8rem; }

/* 검증 오류 */
.qt .is-err input, .qt .is-err textarea, .qt .is-err select,
.qt input.is-err, .qt textarea.is-err { border-color: #e03b3b !important; box-shadow: 0 0 0 3px rgba(224,59,59,.12) !important; }
.qt-chips.is-err .qt-chip, .qt-seg.is-err { border-color: #e03b3b; }
.qt-err-msg { margin: 0; color: #e03b3b; font-size: .8rem; font-weight: 600; }

/* 첨부파일 드롭존 */
.qt-file { position: relative; display: flex; align-items: center; gap: .7rem; min-height: 64px; padding: .8rem 1.1rem; cursor: pointer;
	border: 1.5px dashed #c8d3e6; border-radius: 12px; background: #f8fafd; color: #5b6474; transition: border-color .2s ease, background .2s ease; }
.qt-file:hover, .qt-file.is-drag { border-color: var(--main-color-dark); background: #f1f7ff; }
.qt-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.qt-file > .material-symbols-outlined { font-size: 26px; color: var(--main-color-dark); }
.qt-file-nm { flex: 1; min-width: 0; font-size: .9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qt-file.has-file .qt-file-nm { color: #1a1f36; font-weight: 600; }
.qt-file-clear { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; padding: 0;
	border: 0; border-radius: 50%; background: #e6ebf3; cursor: pointer; }
.qt-file-clear .material-symbols-outlined { font-size: 18px; color: #5b6474; }
.qt-file-clear:hover { background: #d7deea; }
.qt-file-clear[hidden] { display: none; }   /* display:inline-flex 가 hidden 속성을 이기므로 명시 */

/* 개인정보 동의 */
.qt-agree { margin: 0 0 2rem; padding: 1.2rem 1.3rem; border-radius: 14px; background: #f5f7fb; }
.qt-agree.is-err { box-shadow: 0 0 0 1px #e03b3b inset; }
.qt-agree-chk { display: flex; align-items: center; gap: .6rem; cursor: pointer; color: #1a1f36; font-size: .95rem; font-weight: 600; }
.qt-agree-chk input { width: 20px; height: 20px; flex: 0 0 auto; accent-color: var(--main-color-dark); cursor: pointer; }
.qt-agree-chk b { color: var(--main-color-dark); }
.qt-agree-detail { margin: .8rem 0 0 1.85rem; }
.qt-agree-detail summary { display: inline-flex; color: #8a93a6; font-size: .85rem; text-decoration: underline; cursor: pointer; list-style: none; }
.qt-agree-detail summary::-webkit-details-marker { display: none; }
.qt-agree-detail table { width: 100%; margin: .8rem 0 .5rem; border-collapse: collapse; background: #fff; font-size: .85rem; }
.qt-agree-detail th, .qt-agree-detail td { padding: .6rem .8rem; border: 1px solid #e3e8f0; text-align: left; color: #5b6474; font-size: .85rem; line-height: 1.5; }
.qt-agree-detail th { width: 6.5rem; background: #f8fafc; color: #3d4452; font-weight: 700; white-space: nowrap; }
.qt-agree-detail p { margin: 0; color: #8a93a6; font-size: .8rem; }

.qt-actions { display: flex; justify-content: center; }
.qt-submit { min-width: 240px; border-radius: 999px !important; }

/* ----- 반응형 ----- */
@media (max-width: 1100px) {
	.qt-chips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	.qt-intro { grid-template-columns: 1fr; align-items: start; }
	.qt-contact { min-width: 0; }
	.qt-contact > div { justify-content: flex-start; }
	.qt-contact dt { width: 6.5rem; flex: 0 0 auto; }
	.qt-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem 1rem; }
	.qt-steps li::after { display: none; }
}
@media (max-width: 560px) {
	.qt-form { border-radius: 18px; }
	.qt-grid { grid-template-columns: 1fr; }
	.qt-seg { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.qt-chips { grid-template-columns: 1fr; }
	.qt-steps { grid-template-columns: 1fr; }
	.qt-submit { width: 100%; }
}
