/* 기술자료·상담 페이지 전용 스타일 (c6.css 다음에 읽힘) */

/* 상세페이지는 메뉴가 흰 배경으로 고정이므로 본문을 메뉴 높이만큼 내린다 */
#main { padding-top: 76px; }

/* 공용 스크립트가 맨 위에서 solid 클래스를 떼어내므로, 상세페이지에서는 id 선택자로 흰 배경을 고정한다 */
#header { background: #fff; color: var(--ink); box-shadow: 0 1px 0 var(--line); }
#header .nav a:hover { color: var(--teal); text-decoration: none; }
#header .nav a[aria-current="page"] { color: var(--teal); }

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* 서브 히어로 */
.sub-hero { background: #0b1a2b; color: #fff; padding: 64px 0 56px; }
.crumb { font-size: 14px; color: #93a7b6; }
.crumb a { color: #93a7b6; }
.crumb a:hover { color: #fff; }
.crumb span { margin: 0 6px; }
.sub-hero h1 { margin-top: 14px; font-size: 44px; line-height: 1.25; font-weight: 800; letter-spacing: -.025em; }
.sub-lead { margin-top: 18px; max-width: 760px; font-size: 18px; color: #cddde3; }
.sub-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.sub-jump a { padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .28); font-size: 14px; font-weight: 600; color: #e3f0f0; }
.sub-jump a:hover { background: rgba(10, 165, 160, .22); border-color: var(--teal); }

/* 도입 절차 */
.step-list { display: grid; gap: 16px; }
.step-list li { display: grid; grid-template-columns: 56px 1fr 340px; gap: 24px; align-items: start; padding: 26px 28px; border-radius: 18px; border: 1px solid var(--line); background: #fff; }
.step-no { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--teal-soft); color: var(--teal); font-weight: 800; font-size: 15px; }
.step-main h3 { font-size: 20px; font-weight: 800; }
.step-main p { margin-top: 8px; font-size: 15px; color: var(--ink-2); }
.step-need { padding: 16px 18px; border-radius: 14px; background: var(--soft); font-size: 14px; color: var(--ink-2); line-height: 1.7; }
.step-need b { display: block; margin-bottom: 4px; font-size: 13px; color: var(--teal-dark); }

/* 설치 전 준비 */
.prep-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.prep-card { padding: 26px 24px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.prep-card h3 { font-size: 18px; font-weight: 800; }
.prep-card h3::before { content: ""; display: block; width: 26px; height: 3px; border-radius: 2px; background: var(--teal); margin-bottom: 12px; }
.prep-card p { margin-top: 8px; font-size: 15px; color: var(--ink-2); }

/* 상담 준비 항목 도우미 */
.helper-wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.helper-copy p { margin-top: 16px; font-size: 17px; color: var(--ink-2); }
.helper-copy .small { font-size: 14px; color: var(--sub); }
.helper-card { padding: 32px; border-radius: 24px; background: var(--soft); border: 1px solid var(--line); }
.helper-inputs { display: grid; gap: 14px; }
.helper-inputs label { display: grid; gap: 6px; font-size: 14px; font-weight: 700; }
.helper-inputs select { height: 52px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--line); background: #fff; font-size: 16px; }
.helper-result { margin: 22px 0; padding: 24px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.helper-title { font-size: 18px; font-weight: 800; }
.helper-result ul { margin-top: 14px; display: grid; gap: 10px; }
.helper-result li { position: relative; padding-left: 26px; font-size: 15px; color: var(--ink-2); }
.helper-result li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 11px; height: 6px; border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg); }
.helper-tip { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); }

/* 이상 상황 표 */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.fs-table { width: 100%; border-collapse: collapse; background: #fff; font-size: 15px; }
.fs-table th, .fs-table td { text-align: left; vertical-align: top; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.fs-table thead th { font-size: 13px; font-weight: 700; color: var(--sub); background: #fff; border-bottom: 2px solid var(--ink); }
.fs-table tbody th { width: 20%; font-weight: 800; color: var(--ink); }
.fs-table tbody td { color: var(--ink-2); }
.fs-table tbody td:last-child { width: 30%; font-size: 14px; color: var(--sub); }
.note-line { margin-top: 18px; }

/* 안전 한계 */
.limit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.limit-card { padding: 30px 32px; border-radius: 20px; border: 1px solid var(--line); background: #fff; }
.limit-card h3 { font-size: 20px; font-weight: 800; }
.limit-card .check-list { margin-top: 18px; }
.limit-card .check-list li { background: var(--soft); box-shadow: none; font-size: 15px; }

/* 질문 목록: 회색 배경 위에 놓이므로 흰 카드로 바꿔 구분한다 */
#faq .faq details { background: #fff; border: 1px solid var(--line); }
#faq .faq summary::after { background: var(--soft); }
#faq .faq details[open] summary::after { background: var(--teal); }

/* 자료 요청 */
.docs-box { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; padding: 44px 48px; border-radius: 24px; background: var(--soft); border: 1px solid var(--line); }
.docs-box h2 { font-size: 30px; line-height: 1.35; font-weight: 800; letter-spacing: -.02em; }
.docs-box > div > p { margin-top: 14px; font-size: 16px; color: var(--ink-2); }
.docs-list { margin-top: 20px; display: grid; gap: 8px; }
.docs-list li { position: relative; padding-left: 20px; font-size: 15px; color: var(--ink-2); }
.docs-list li::before { content: ""; position: absolute; left: 0; top: 11px; width: 8px; height: 2px; background: var(--teal); }
.docs-contact { padding: 28px 30px; border-radius: 18px; background: #0b1a2b; color: #cddde3; text-align: center; }
.docs-label { font-size: 14px; color: #93a7b6; }
.docs-tel { display: block; margin-top: 8px; font-size: 30px; font-weight: 800; color: #fff; letter-spacing: .01em; }
.docs-mail { display: block; margin-top: 10px; font-size: 16px; font-weight: 600; color: #7fe0da; }
.docs-contact .small { margin-top: 12px; color: #93a7b6; }

/* 태블릿 */
@media (max-width: 1080px) {
  .step-list li { grid-template-columns: 48px 1fr; }
  .step-need { grid-column: 2; }
  .prep-grid { grid-template-columns: 1fr 1fr; }
}

/* 좁은 화면 */
@media (max-width: 900px) {
  .helper-wrap, .limit-grid, .docs-box { grid-template-columns: 1fr; }
  .docs-box { padding: 32px 28px; gap: 28px; }
  .helper-inputs { grid-template-columns: 1fr; }
}

/* 휴대폰 */
@media (max-width: 600px) {
  #main { padding-top: 64px; }
  .sub-hero { padding: 40px 0 36px; }
  .sub-hero h1 { font-size: 30px; }
  .sub-lead { font-size: 16px; }
  .sub-jump { gap: 6px; margin-top: 24px; }
  .sub-jump a { padding: 8px 12px; font-size: 13px; }
  .helper-copy h2 br, .docs-box h2 br { display: none; }
  .step-list li { grid-template-columns: 40px 1fr; gap: 14px; padding: 22px 18px; }
  .step-no { width: 36px; height: 36px; font-size: 13px; }
  .step-main h3 { font-size: 18px; }
  .prep-grid { grid-template-columns: 1fr; }
  /* 좁은 화면에서는 표를 옆으로 미는 대신 카드로 쌓는다 */
  .fs-table, .fs-table tbody, .fs-table tr, .fs-table th, .fs-table td { display: block; width: auto; }
  .fs-table thead { display: none; }
  .fs-table tr { margin-bottom: 12px; padding: 20px 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
  .fs-table th, .fs-table td { padding: 0; border: 0; }
  .fs-table tbody th { width: auto; font-size: 17px; }
  .fs-table tbody td { margin-top: 10px; font-size: 15px; }
  .fs-table tbody td:last-child { width: auto; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 13px; }
  .fs-table tbody td:last-child::before { content: "알림·기록 "; font-weight: 700; color: var(--teal-dark); }
  .helper-card { padding: 22px 18px; }
  .limit-card { padding: 24px 20px; }
  .docs-tel { font-size: 26px; }
}
