:root {
  --paper: #ffffff;
  --mist: #eef2f5;
  --ink: #0f2238;
  --ink-soft: #4a5a6c;
  --line: #c9d3dd;
  --call: #0b7f47;
  --call-press: #075e34;
  --todo: #ffe27a;
  --err: #b3261e;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: "IBM Plex Sans KR", "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  word-break: keep-all;
  overflow-wrap: break-word;
  padding-bottom: 72px;
}

h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 3px solid #f5a300; outline-offset: 2px; }
.num { font-variant-numeric: tabular-nums; letter-spacing: 0.01em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

mark.todo { background: var(--todo); color: #3d3000; padding: 0 6px; font-weight: 500; font-size: 0.88em; }
.draft-ribbon { background: var(--todo); color: #3d3000; text-align: center; font-size: 0.85rem; padding: 6px 12px; }

section { padding: 72px 0; scroll-margin-top: 72px; }
section h2 { font-size: clamp(1.55rem, 3.2vw, 2.1rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.3; }
.section-lead { color: var(--ink-soft); margin-top: 10px; max-width: 34em; }
.band { background: var(--mist); }

/* 전화 버튼: 초록은 전화 걸기에만 쓴다 */
.btn-call {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--call); color: #fff; text-decoration: none;
  font-weight: 700; font-size: 1.05rem; padding: 14px 22px; border-radius: 6px;
}
.btn-call:hover { background: var(--call-press); }
.btn-call mark.todo { font-size: 0.8em; }
.btn-line {
  display: inline-flex; align-items: center; justify-content: center;
  border: 2px solid var(--ink); color: var(--ink); background: var(--paper); text-decoration: none;
  font-weight: 700; font-size: 1.05rem; padding: 12px 22px; border-radius: 6px;
}
.btn-line:hover { background: var(--ink); color: #fff; }

/* 헤더 */
.site-head { position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: 2px solid var(--ink); }
.head-row { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 12px; }
.brand { text-decoration: none; display: flex; align-items: baseline; gap: 10px; }
.brand strong { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.02em; }
.brand .badge { font-size: 0.8rem; font-weight: 600; border: 1.5px solid var(--ink); padding: 1px 8px; border-radius: 3px; }
.head-phone { text-decoration: none; display: flex; align-items: center; gap: 10px; background: var(--call); color: #fff; padding: 8px 14px; border-radius: 6px; }
.head-phone:hover { background: var(--call-press); }
.head-phone-label { font-size: 0.85rem; font-weight: 500; }
.head-phone .num { font-size: 1.15rem; font-weight: 700; }

/* 첫 화면 */
.hero { padding: 56px 0 72px; }
.hero-grid { display: grid; gap: 36px; }
.hero h1 { font-size: clamp(2rem, 5.2vw, 3.4rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.22; }
.hero-lead { margin-top: 22px; font-size: 1.12rem; max-width: 30em; }
.hero-facts { margin-top: 26px; border-top: 2px solid var(--ink); max-width: 34em; }
.hero-facts li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 0.98rem; }

.call-card { background: var(--ink); color: #fff; padding: 28px 24px 24px; border-radius: 4px; align-self: start; }
.call-card-label { font-size: 0.95rem; font-weight: 500; opacity: 0.8; }
.call-card-num { display: block; text-decoration: none; font-size: clamp(2.1rem, 8vw, 3.1rem); font-weight: 700; line-height: 1.15; margin-top: 2px; }
.call-card-num mark.todo { font-size: 0.5em; vertical-align: middle; }
.call-card-hours { font-size: 0.95rem; margin-top: 6px; opacity: 0.85; }
.call-card .btn-call { width: 100%; margin-top: 18px; font-size: 1.15rem; padding: 16px; }
.call-card-ask { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.25); font-size: 0.98rem; }
.call-card-ask ol { margin-top: 8px; counter-reset: ask; }
.call-card-ask li { counter-increment: ask; padding-left: 1.7em; position: relative; }
.call-card-ask li::before { content: counter(ask) "."; position: absolute; left: 0; font-weight: 700; }

.quick-form { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.25); }
.quick-form > label:first-child { display: block; font-weight: 600; margin-bottom: 8px; }
.quick-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.quick-row input { min-width: 0; font: inherit; padding: 12px; border: 0; border-radius: 4px; color: var(--ink); background: #fff; }
.quick-row button { font: inherit; font-weight: 700; border: 2px solid #fff; background: transparent; color: #fff; padding: 0 16px; border-radius: 4px; cursor: pointer; }
.quick-row button:hover { background: #fff; color: var(--ink); }
.quick-form .consent { color: rgba(255, 255, 255, 0.88); }
.quick-form .form-note.is-err { color: #ffb4ab; }

.consent { display: flex; gap: 8px; align-items: flex-start; font-size: 0.88rem; margin-top: 10px; line-height: 1.5; }
.consent input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-note { font-size: 0.95rem; font-weight: 600; margin-top: 10px; min-height: 1.5em; }
.form-note.is-err { color: var(--err); }
.req { font-size: 0.78rem; font-weight: 600; color: var(--err); margin-left: 4px; }
button:disabled { opacity: 0.6; cursor: default; }

/* 이런 일로 전화 주십니다 */
.cases { margin-top: 32px; border-top: 2px solid var(--ink); }
.cases li { display: grid; gap: 8px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.cases h3 { font-size: 1.18rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.4; }
.cases p { color: var(--ink-soft); }
.case-link { justify-self: start; font-weight: 700; text-underline-offset: 4px; }

/* 연락 띠 */
.call-strip { background: var(--ink); color: #fff; padding: 22px 0; }
.strip-row { display: grid; gap: 14px; align-items: center; }
.strip-row p { font-weight: 600; font-size: 1.05rem; }
.strip-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.call-strip .btn-line { border-color: #fff; color: #fff; background: transparent; }
.call-strip .btn-line:hover { background: #fff; color: var(--ink); }

/* 진행 순서 */
.steps { margin-top: 36px; counter-reset: step; display: grid; gap: 0; }
.steps li { counter-increment: step; position: relative; padding: 0 0 30px 62px; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 42px; height: 42px; border: 2px solid var(--ink); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.1rem; background: var(--paper);
}
.steps li::after { content: ""; position: absolute; left: 20px; top: 42px; bottom: 0; width: 2px; background: var(--ink); }
.steps li:last-child { padding-bottom: 0; }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 1.15rem; font-weight: 700; padding-top: 6px; }
.steps p { color: var(--ink-soft); margin-top: 4px; }

/* 확인하실 수 있는 것 */
.cert { margin-top: 32px; background: var(--paper); border: 2px solid var(--ink); }
.cert dl > div { display: grid; gap: 2px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.cert dl > div:last-child { border-bottom: 0; }
.cert dt { font-weight: 700; font-size: 0.95rem; }
.cert dd { color: var(--ink); }

/* 자주 묻는 질문 */
.faq { margin-top: 28px; border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.08rem; padding: 18px 36px 18px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 14px; font-size: 1.5rem; font-weight: 400; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 0 20px; color: var(--ink-soft); max-width: 40em; }

/* 문의 */
.contact { background: var(--mist); }
.contact-grid { display: grid; gap: 36px; }
.reach { margin-top: 24px; border-top: 2px solid var(--ink); }
.reach > div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.reach dt { font-size: 0.9rem; font-weight: 600; color: var(--ink-soft); }
.reach-num { font-size: clamp(2rem, 7vw, 2.8rem); font-weight: 700; text-decoration: none; line-height: 1.2; }
.reach-num mark.todo { font-size: 0.5em; vertical-align: middle; }
.btn-call-lg { margin-top: 22px; font-size: 1.15rem; padding: 16px 30px; }

.lead-form { background: var(--paper); border: 2px solid var(--ink); padding: 26px 22px; }
.lead-form h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; }
.lead-form-lead { color: var(--ink-soft); margin-top: 4px; font-size: 0.95rem; }
.field { margin-top: 16px; display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 0.95rem; }
.field input, .field select, .field textarea {
  font: inherit; width: 100%; padding: 12px; border: 1px solid #8795a5; border-radius: 4px; background: #fff; color: var(--ink);
}
.field textarea { min-height: 96px; resize: vertical; }
.field input[aria-invalid="true"] { border-color: var(--err); border-width: 2px; }
.field-pair { display: grid; gap: 0 14px; }
.lead-form .consent { margin-top: 18px; }
.lead-form button {
  font: inherit; font-weight: 700; font-size: 1.08rem; width: 100%; margin-top: 16px;
  padding: 15px; border: 0; border-radius: 6px; background: var(--ink); color: #fff; cursor: pointer;
}
.lead-form button:hover:not(:disabled) { background: #1c3a5c; }

/* 푸터 */
.site-foot { background: var(--ink); color: #c5d0dc; padding: 36px 0 44px; font-size: 0.9rem; }
.site-foot p { margin-top: 6px; }
.site-foot .foot-brand { color: #fff; margin: 0 0 12px; }
.site-foot .foot-brand strong { font-size: 1.1rem; margin-right: 8px; }

/* 모바일 하단 고정 바 */
.bottom-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: flex; gap: 6px;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  background: var(--paper); border-top: 2px solid var(--ink);
}
.bottom-bar a { padding: 12px 6px; font-size: 1rem; flex: 1 1 0; white-space: nowrap; }
.bottom-bar .btn-call { flex: 1.5 1 0; }

@media (max-width: 480px) {
  .head-phone-label { display: none; }
}

@media (min-width: 720px) {
  .cases li { grid-template-columns: 96px 1.1fr 1.3fr auto; gap: 24px; align-items: center; }
  .strip-row { grid-template-columns: 1fr auto; }
  .cert dl > div { grid-template-columns: 180px 1fr; gap: 20px; }
  .field-pair { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(4, 1fr); gap: 28px; }
  .steps li { padding: 62px 0 0; }
  .steps li::after { left: 42px; right: -28px; top: 20px; bottom: auto; width: auto; height: 2px; }
}

@media (min-width: 960px) {
  body { padding-bottom: 0; }
  .bottom-bar { display: none; }
  .hero { padding: 80px 0 96px; }
  .hero-grid { grid-template-columns: 1.2fr 0.8fr; gap: 64px; align-items: start; }
  .contact-grid { grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: start; }
  .faq-wrap { display: grid; grid-template-columns: 0.6fr 1.4fr; gap: 48px; }
  .faq { margin-top: 0; }
  section { padding: 96px 0; }
}

/* ---- 벤치마킹 반영 (2026-11) ---- */
.promises { margin-top: 24px; display: grid; gap: 8px; }
.promises li { position: relative; padding-left: 30px; font-weight: 600; font-size: 1.05rem; }
.promises li::before {
  content: ""; position: absolute; left: 2px; top: 0.42em; width: 14px; height: 8px;
  border-left: 3px solid var(--call); border-bottom: 3px solid var(--call); transform: rotate(-45deg);
}
.hero-services { margin-top: 30px; border-top: 2px solid var(--ink); display: grid; grid-template-columns: repeat(3, 1fr); max-width: 34em; }
.hero-services li { border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.hero-services li:nth-child(3n) { border-right: 0; }
.hero-services a { display: flex; flex-direction: column; gap: 6px; padding: 14px 10px; text-decoration: none; font-weight: 600; font-size: 0.95rem; height: 100%; }
.hero-services a:hover { background: var(--mist); }
.ico { width: 34px; height: 34px; flex: none; }

.alt-row { display: flex; gap: 8px; margin-top: 8px; }
.btn-alt { flex: 1; text-align: center; text-decoration: none; font-weight: 600; font-size: 0.95rem; padding: 10px 8px; border: 1px solid rgba(255, 255, 255, 0.55); border-radius: 6px; color: #fff; }
a.btn-alt:hover { background: #fff; color: var(--ink); }
.btn-alt.is-off { opacity: 0.75; border-style: dashed; }
.btn-alt mark.todo { display: block; margin-top: 2px; font-size: 0.75em; }
.reassure { font-size: 0.85rem; margin-top: 8px; opacity: 0.85; }
.lead-form .reassure { color: var(--ink-soft); opacity: 1; }

.case-who { font-size: 0.82rem; font-weight: 700; border: 1.5px solid var(--ink); border-radius: 3px; padding: 1px 8px; justify-self: start; white-space: nowrap; }

.svc { margin-top: 32px; display: grid; gap: 0; border-top: 2px solid var(--ink); }
.svc > li { padding: 26px 0; border-bottom: 1px solid var(--line); display: grid; gap: 12px; align-content: start; }
.svc-head { display: flex; gap: 14px; align-items: center; }
.svc-head .ico { width: 44px; height: 44px; }
.svc-head h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; }
.svc-who { font-size: 0.88rem; color: var(--ink-soft); }
.svc-desc { color: var(--ink); }
.svc-items { display: flex; flex-wrap: wrap; gap: 6px; }
.svc-items li { font-size: 0.85rem; background: var(--mist); padding: 3px 9px; border-radius: 3px; }
.svc-price { border-left: 4px solid var(--ink); padding-left: 14px; }
.svc-price strong { font-size: 1.3rem; font-weight: 700; display: block; }
.svc-price p { font-size: 0.85rem; color: var(--ink-soft); }
.svc-link { font-weight: 700; text-underline-offset: 4px; justify-self: start; }

.who-does { margin-top: 32px; display: grid; gap: 0; }
.who { border: 2px solid var(--ink); padding: 16px 18px; display: grid; gap: 2px; background: var(--paper); }
.who strong { font-size: 1.15rem; }
.who span { font-size: 0.92rem; color: var(--ink-soft); }
.who-us { background: var(--ink); color: #fff; }
.who-us span { color: #c5d0dc; }
.who-arrow { font-size: 0.85rem; font-weight: 700; padding: 8px 0 8px 22px; position: relative; }
.who-arrow::before { content: ""; position: absolute; left: 8px; top: 0; bottom: 0; width: 2px; background: var(--ink); }
.who-arrow::after { content: ""; position: absolute; left: 4px; bottom: 0; width: 8px; height: 8px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); }
.who-does + .cert { margin-top: 28px; }

.reach-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; align-items: center; }
.reach-actions .btn-call-lg { margin-top: 0; }

.kinds { border: 0; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.kinds legend { font-weight: 600; font-size: 0.95rem; padding: 0; margin-bottom: 8px; }
.opt { font-size: 0.78rem; font-weight: 500; color: var(--ink-soft); margin-left: 4px; }
.kinds label { cursor: pointer; }
.kinds input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.kinds span { display: block; border: 1.5px solid #8795a5; border-radius: 4px; padding: 9px 12px; font-size: 0.95rem; font-weight: 500; }
.kinds input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.kinds input:focus-visible + span { outline: 3px solid #f5a300; outline-offset: 2px; }
.more-fields { margin-top: 16px; border-top: 1px solid var(--line); }
.more-fields summary { cursor: pointer; padding: 12px 0; font-weight: 600; font-size: 0.95rem; text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 719px) {
  .cases li { grid-template-columns: 1fr; }
}
@media (min-width: 720px) {
  .svc { grid-template-columns: 1fr 1fr; column-gap: 40px; }
  .who-does { grid-template-columns: 1fr auto 1.2fr auto 1fr; align-items: stretch; }
  .who-arrow { padding: 0 34px 0 14px; display: flex; align-items: center; }
  .who-arrow::before { left: 0; right: 10px; top: auto; bottom: 22%; width: auto; height: 2px; }
  .who-arrow::after { left: auto; right: 10px; bottom: calc(22% - 3px); transform: rotate(-45deg); }
}
@media (min-width: 960px) {
  .svc { grid-template-columns: 1fr 1fr 1fr; }
}

.notice-bar { background: var(--ink); color: #fff; text-align: center; font-size: 0.95rem; padding: 10px 16px; }
.call-card-reply { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.25); font-size: 0.98rem; }
.quick-form select { width: 100%; margin-top: 8px; padding: 10px; font: inherit; border: 1px solid var(--line); background: #fff; color: var(--ink); }

/* 사진 */
figure { margin: 0; }
figure img, .svc-photo { display: block; width: 100%; height: auto; object-fit: cover; background: var(--mist); }
figcaption { margin-top: 10px; padding-left: 12px; border-left: 2px solid var(--ink); font-size: 0.9rem; color: var(--ink-soft); }
.hero-photo img { aspect-ratio: 16 / 9; }
.svc > li { gap: 16px; }
.svc-photo { aspect-ratio: 3 / 2; }
.svc-body { display: grid; gap: 12px; align-content: start; }
.steps-row { display: grid; gap: 36px; }
.steps-row .steps { margin-top: 36px; }
.steps-photo img { aspect-ratio: 4 / 3; }
@media (min-width: 720px) {
  .steps-row { grid-template-columns: 1fr 0.9fr; gap: 56px; align-items: start; }
  .steps-photo { margin-top: 36px; position: sticky; top: 96px; }
}
@media (min-width: 960px) {
  .hero-grid > .hero-say { grid-column: 1; grid-row: 1; }
  .hero-grid > .call-card { grid-column: 2; grid-row: 1 / span 2; }
  .hero-grid > .hero-photo { grid-column: 1; grid-row: 2; }
  .svc { grid-template-columns: 1fr 1fr; column-gap: 56px; }
  .svc > li { grid-template-columns: 210px 1fr; gap: 24px; align-items: start; padding: 30px 0; }
  .svc-photo { aspect-ratio: 4 / 5; height: 100%; max-height: 300px; }
}

/* 전화번호는 어떤 폭에서도 한 줄로 */
.num, .head-phone, .call-card-num, .reach-num { white-space: nowrap; }
.call-card-num { font-size: clamp(1.8rem, 9.4vw, 2.6rem); }
.reach-num { font-size: clamp(1.8rem, 9.4vw, 2.8rem); }
@media (max-width: 400px) {
  .head-row { gap: 8px; }
  .brand { gap: 6px; }
  .brand strong { font-size: 1.12rem; }
  .brand .badge { font-size: 0.7rem; padding: 0 5px; }
  .head-phone { padding: 8px 10px; }
  .head-phone .num { font-size: 1rem; }
}
