/* /contact/ 전용(body.contact-page). 헤더·푸터는 공통 스타일을 그대로 사용한다. */
.contact-page { --ct-deep: #0B4A52; --ct-teal: #0E7C86; --ct-tint: #EEF6F6; --ct-line: #D3E3E4; }
.contact-page main { font-size: 1.0625rem; line-height: 1.8; }
.ct-wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; }
.ct-narrow { max-width: 860px; }
.contact-page .ct-sec { padding: 96px 0; }
.ct-tint { background: var(--ct-tint); }
.ct-sec h2 { font-size: clamp(1.5rem, 3.2vw, 2rem); line-height: 1.35; margin: 0 0 14px; color: var(--charcoal); }
.ct-intro { margin: 0 0 32px; max-width: 760px; color: #3d4247; }
.ct-note { margin: 28px 0 0; max-width: 900px; font-size: .95rem; color: var(--muted); line-height: 1.75; }
.ct-sec h3 { margin: 0; font-size: 1.1rem; line-height: 1.4; }
.ct-sec p { margin: 0; }
.contact-page .sx-ico { color: var(--ct-teal); }

/* Hero */
.contact-page .ct-hero { background: var(--ct-deep); color: #fff; padding: 72px 0; }
.ct-hero-grid { display: grid; grid-template-columns: 54fr 46fr; gap: 56px; align-items: center; }
.ct-eyebrow { margin: 0 0 14px; font-size: .95rem; font-weight: 700; color: #9FD6DB; letter-spacing: .02em; }
.ct-hero h1 { margin: 0 0 18px; font-size: clamp(2.4rem, 5vw, 3.75rem); line-height: 1.15; color: #fff; }
.ct-lead { margin: 0 0 30px; font-size: 1.2rem; line-height: 1.7; color: rgba(255,255,255,.92); max-width: 30em; }
.ct-sub { margin: 18px 0 0; font-size: .95rem; color: rgba(255,255,255,.78); }
.ct-hero-img { border-radius: 10px; overflow: hidden; background: #0a3d44; aspect-ratio: 4 / 3.4; }
.ct-hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 62%; }
.ct-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.ct-cta-center { justify-content: center; }
.ct-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 12px 26px; border-radius: 6px; font-weight: 700; font-size: 1.05rem; line-height: 1.2; border: 2px solid transparent; }
.ct-btn .sx-ico { width: 22px; height: 22px; color: currentColor; }
.ct-btn-main { background: #fff; color: var(--ct-deep); }
.ct-btn-main:hover, .ct-btn-main:focus-visible { background: #DDF0F1; }
.ct-btn-sub { background: transparent; color: #fff; border-color: rgba(255,255,255,.85); }
.ct-btn-sub:hover, .ct-btn-sub:focus-visible { background: rgba(255,255,255,.14); }
.ct-btn-dark { background: var(--ct-teal); color: #fff; margin-top: 8px; }
.ct-btn-dark:hover, .ct-btn-dark:focus-visible { background: var(--ct-deep); }
.contact-page :focus-visible { outline: 3px solid #F2B84B; outline-offset: 2px; }

/* 상담 전 확인 카드(6열 그리드: 3+2 균형) */
.ct-checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.ct-card { grid-column: span 2; background: #fff; border-radius: 10px; padding: 26px 24px; display: flex; flex-direction: column; gap: 8px; }
.ct-card:nth-child(n+4) { grid-column: span 3; }
.ct-card .sx-ico { width: 32px; height: 32px; }
.ct-card p { color: #3d4247; font-size: 1.0625rem; line-height: 1.7; }

/* 현장 사진 */
.ct-photos { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.ct-photos figure { margin: 0; }
.ct-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; background: var(--ct-tint); }
.ct-photos figcaption { padding-top: 12px; display: flex; flex-direction: column; gap: 2px; }
.ct-photos figcaption b { font-size: 1.05rem; }
.ct-photos figcaption span { color: #3d4247; font-size: 1.0625rem; line-height: 1.65; }

/* 공용 배관 절차 */
.ct-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.ct-steps li { position: relative; background: #fff; border-radius: 10px; padding: 24px 22px; display: flex; flex-direction: column; gap: 8px; }
.ct-steps li:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: -15px; width: 10px; height: 10px; border-top: 3px solid var(--ct-teal); border-right: 3px solid var(--ct-teal); transform: translateY(-50%) rotate(45deg); }
.ct-n { width: 36px; height: 36px; border-radius: 50%; background: var(--ct-teal); color: #fff; font-weight: 800; display: grid; place-items: center; }
.ct-steps p { color: #3d4247; font-size: 1.0625rem; line-height: 1.7; }

/* 안전 안내 */
.ct-safety { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.ct-safety li { display: flex; gap: 16px; align-items: flex-start; background: var(--ct-tint); border-left: 5px solid var(--ct-teal); border-radius: 8px; padding: 22px 24px; }
.ct-safety .sx-ico { width: 30px; height: 30px; margin-top: 2px; }
.ct-safety p { color: #3d4247; font-size: 1.0625rem; line-height: 1.7; margin-top: 2px; }

/* 상담 방법 */
.ct-ways { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.ct-way { background: #fff; border-radius: 10px; padding: 32px 30px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.ct-way .sx-ico { width: 36px; height: 36px; }
.ct-way h3 { font-size: 1.3rem; }
.ct-way ul { margin: 0 0 8px; padding-left: 1.2em; color: #3d4247; }
.ct-way li { margin: 0 0 4px; }

/* FAQ */
.ct-q { border-top: 1px solid var(--ct-line); padding: 6px 0; }
.ct-q:last-of-type { border-bottom: 1px solid var(--ct-line); }
.ct-q summary { list-style: none; cursor: pointer; padding: 18px 40px 18px 0; position: relative; min-height: 44px; }
.ct-q summary::-webkit-details-marker { display: none; }
.ct-q summary h3 { font-size: 1.1rem; font-weight: 700; line-height: 1.5; margin: 0; }
.ct-q summary::after { content: '+'; position: absolute; right: 4px; top: 14px; font-size: 1.6rem; line-height: 1; color: var(--ct-teal); }
.ct-q[open] summary::after { content: '−'; }
.ct-q p { padding: 0 8px 20px 0; color: #3d4247; line-height: 1.85; }

/* 하단 CTA */
.contact-page .ct-final { background: var(--ct-deep); color: #fff; padding: 88px 0; text-align: center; }
.ct-final h2 { color: #fff; font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 0 0 28px; line-height: 1.45; }

@media (max-width: 1024px) {
  .ct-hero-grid { gap: 32px; }
  .ct-steps { grid-template-columns: repeat(2, 1fr); }
  .ct-steps li:nth-child(2)::after { display: none; }
}
@media (max-width: 800px) {
  .contact-page .ct-sec { padding: 64px 0; }
  .contact-page .ct-hero { padding: 32px 0 40px; }
  .ct-hero-grid { grid-template-columns: 1fr; gap: 22px; }
  .ct-hero h1 { font-size: 2.2rem; margin-bottom: 12px; }
  .ct-lead { font-size: 1.05rem; margin-bottom: 20px; }
  .ct-hero-img { aspect-ratio: 16 / 10; }
  .ct-cta { gap: 10px; flex-wrap: nowrap; }
  .ct-cta .ct-btn { flex: 1 1 0; padding: 12px 8px; min-height: 54px; font-size: 1rem; }
  .contact-page main { font-size: 1rem; }
  .ct-checks { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .ct-card, .ct-card:nth-child(n+4) { grid-column: span 1; padding: 18px 14px; }
  .ct-card:last-child { grid-column: span 2; }
  .ct-card h3 { font-size: 1rem; }
  .ct-card p, .ct-steps p, .ct-safety p, .ct-photos figcaption span { font-size: 1rem; }
  .ct-note { font-size: 1rem; }
  .ct-photos { grid-template-columns: 1fr; gap: 22px; }
  .ct-safety, .ct-ways { grid-template-columns: 1fr; }
  .ct-steps { grid-template-columns: 1fr; gap: 26px; }
  .ct-steps li:not(:last-child)::after { top: auto; right: auto; left: 40px; bottom: -17px; transform: rotate(135deg); display: block !important; }
  .contact-page .ct-final { padding: 64px 0; }
  .ct-wrap { padding: 0 18px; }
}
@media (max-width: 380px) { .ct-btn .sx-ico { display: none; } .ct-hero h1 { font-size: 2rem; } }
