/* 누수탐정 홈케어 — water.hero-online.co.kr
   색은 명함에서 가져왔습니다: 남색(머리 띠) + 노랑(«누수보험처리 전문 업체» 글씨).
   역할로 나눕니다 — 노랑은 «누르는 것»(전화)과 «찾은 자리» 표시에만, 하늘색은 물·남색 바탕 위 작은 강조,
   빨강은 그림 속 «새는 곳» 한 군데에만. 인라인 style 은 CSP 에 막히니 전부 여기에. */

:root {
  --navy: #13284a;
  --navy-2: #1b3761;
  --navy-3: #0b1a33;
  --ink: #0e1a2e;
  --text: #344055;
  --muted: #647089;
  --line: #e1e6ee;
  --soft: #f2f5f9;
  --soft-2: #e8eef6;
  --gold: #f5c443;
  --gold-2: #ebb429;
  --gold-soft: #fff6d9;
  --blue: #1d5fc2;
  --sky: #6cc0f0;
  --red: #d8453b;
  --green: #1c946a;
  --radius: 16px;
  --wrap: 1180px;
  --gut: clamp(16px, 4vw, 40px);
  --sec: clamp(72px, 9vw, 120px);
  --top-h: 72px;
  --mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Consolas, "Liberation Mono", monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--top-h) + 12px); }

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-wrap: break-word;
}
@media (min-width: 900px) { body { font-size: 18px; } }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4 { color: var(--ink); font-weight: 800; letter-spacing: -0.03em; line-height: 1.28; }
h2 { font-size: clamp(27px, 3.6vw, 40px); }
h3 { font-size: clamp(19px, 2vw, 22px); letter-spacing: -0.02em; }
b, strong { font-weight: 700; color: var(--ink); }
.nb { white-space: nowrap; }
.mono { font-family: var(--mono); letter-spacing: 0; font-variant-numeric: tabular-nums; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 99; background: #fff; color: var(--ink); padding: 10px 14px; border-radius: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic {
  width: 1.15em; height: 1.15em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.ic-fill { fill: currentColor; stroke: none; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.wrap-mid { max-width: 900px; }

.sec { padding: var(--sec) 0; }
.sec-soft { background: var(--soft); }
.sec-navy { background: var(--navy); color: #c9d4e6; }
.sec-navy h2, .sec-navy h3, .sec-navy b { color: #fff; }

.head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 52px); }
.head p { margin-top: 14px; color: var(--muted); font-size: 1.04em; }
.sec-navy .head p { color: #b3c1d8; }
.head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; max-width: none; }
.head-row > div { max-width: 720px; }

.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--blue); }
.more .ic { transition: transform .2s; }
.more:hover .ic { transform: translateX(3px); }
.sec-navy .more { color: var(--sky); }

/* ---------- 단추 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 24px; border-radius: 12px;
  font-weight: 800; font-size: 17px; letter-spacing: -0.02em; line-height: 1.2;
  text-decoration: none; transition: background .15s, border-color .15s, transform .15s;
  border: 2px solid transparent; cursor: pointer;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn .ic { width: 20px; height: 20px; }
.btn-gold { background: var(--gold); color: var(--navy-3); }
.btn-gold:hover { background: var(--gold-2); }
.btn-line { border-color: rgba(255,255,255,.4); color: #fff; }
.btn-line:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--navy); }
.btn-sub { font-weight: 600; opacity: .8; font-size: .92em; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- 머리 ---------- */
.top {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy); color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.top.is-stuck { box-shadow: 0 6px 24px rgba(5, 14, 30, .28); }
.top-in { display: flex; align-items: center; gap: 20px; height: var(--top-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; flex: none; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 36px; height: 36px; }
.brand-t { font-size: 19px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.brand-t b { color: #fff; font-weight: 800; }
.mk-lens { fill: none; stroke: #fff; stroke-width: 3.4; }
.mk-handle { stroke: var(--gold); stroke-width: 5; stroke-linecap: round; }
.mk-drop { fill: var(--sky); }

.nav { margin-left: auto; }
.nav ul { display: flex; gap: 4px; }
.nav ul a {
  display: flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 10px;
  color: #d5deec; font-weight: 600; font-size: 16px;
}
.nav ul a:hover { color: #fff; background: rgba(255,255,255,.07); text-decoration: none; }
.nav ul a[aria-current="page"] { color: #fff; box-shadow: inset 0 -3px 0 var(--gold); border-radius: 0; }
.nav .nav-call { display: none; }

.top-call {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
  border-radius: 10px; background: var(--gold); color: var(--navy-3); font-weight: 800; flex: none;
}
.top-call:hover { background: var(--gold-2); text-decoration: none; }
.top-call .ic { width: 18px; height: 18px; }

.menu-btn {
  display: none; width: 48px; height: 48px; margin-right: -8px; padding: 0; border: 0; border-radius: 10px;
  background: transparent; color: #fff; cursor: pointer; align-items: center; justify-content: center;
}
.menu-btn .ic { width: 26px; height: 26px; }
.menu-btn .ic-x { display: none; }
.menu-btn[aria-expanded="true"] .ic-x { display: block; }
.menu-btn[aria-expanded="true"] .ic-menu { display: none; }

@media (max-width: 1020px) {
  .nav ul a { padding: 0 10px; font-size: 15px; }
}
@media (max-width: 900px) {
  :root { --top-h: 64px; }
  .menu-btn { display: inline-flex; }
  .top-call { margin-left: auto; padding: 0 12px; }
  .top-call span { display: none; }
  .nav {
    position: absolute; left: 0; right: 0; top: var(--top-h);
    background: var(--navy-3); padding: 14px var(--gut) 22px;
    border-bottom: 1px solid rgba(255,255,255,.1);
    display: none;
  }
  .nav.is-open { display: block; }
  .nav ul { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .nav ul a {
    min-height: 52px; padding: 0 16px; border: 1px solid rgba(255,255,255,.14); border-radius: 12px;
    color: #fff; font-size: 16px;
  }
  .nav ul a[aria-current="page"] { box-shadow: none; border-color: var(--gold); color: var(--gold); border-radius: 12px; }
  .nav .nav-call { display: flex; margin-top: 12px; width: 100%; }
}

/* ---------- 첫 화면 (홈) ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 480px at 85% 10%, rgba(108,192,240,.14), transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, #102243 100%);
  color: #c9d4e6;
  padding: clamp(40px, 6vw, 84px) 0 clamp(120px, 12vw, 150px);
}
.hero-in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero-where { display: inline-flex; align-items: center; gap: 8px; color: var(--sky); font-weight: 700; font-size: 15px; }
.hero-where .ic { width: 17px; height: 17px; }
.hero h1 { color: #fff; margin-top: 18px; }
.h1-k { display: block; font-size: clamp(17px, 1.9vw, 21px); font-weight: 700; color: #c9d4e6; letter-spacing: -0.02em; margin-bottom: 10px; }
.h1-big { display: block; font-size: clamp(40px, 6.6vw, 76px); line-height: 1.12; letter-spacing: -0.045em; }
.h1-big em { font-style: normal; color: var(--gold); }
.hero-sub { margin-top: 22px; font-size: clamp(17px, 1.6vw, 20px); max-width: 560px; color: #cfd9e8; }
.hero .btns { margin-top: 30px; }
.hero-facts { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 15px; color: #b9c6dc; }
.hero-facts li { display: inline-flex; align-items: center; gap: 7px; }
.hero-facts .ic { color: var(--gold); width: 17px; height: 17px; }

.hero-photo { position: relative; justify-self: end; width: 100%; max-width: 440px; }
.hero-photo picture, .hero-photo img { border-radius: 22px; }
.hero-photo img { width: 100%; box-shadow: 0 30px 60px rgba(3, 10, 24, .45); }
.hero-mark {
  position: absolute; left: 45%; top: 40.5%; width: 34%; height: auto; transform: translate(-50%, -50%);
  pointer-events: none;
}
.hero-mark circle, .hero-mark path { fill: none; stroke: var(--gold); stroke-width: 2.2; }
.hero-mark .dash { stroke-dasharray: 5 7; opacity: .9; }
.hero-photo figcaption {
  position: absolute; left: 14px; right: 14px; bottom: 14px;
  background: rgba(8, 18, 36, .78); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  color: #e3eaf5; font-size: 14px; line-height: 1.5; padding: 10px 14px; border-radius: 12px;
}
.hero-photo figcaption b { color: var(--gold); }

@media (max-width: 860px) {
  .hero-in { grid-template-columns: 1fr; }
  .hero-photo { justify-self: stretch; max-width: none; }
  .hero-mark { left: 45%; top: 47%; width: 26%; }
}

/* ---------- 세 가지 약속 (영수증) ---------- */
.promise-wrap { position: relative; z-index: 2; margin-top: calc(-1 * clamp(84px, 9vw, 104px)); }
.promise {
  background: #fff; border-radius: 22px; box-shadow: 0 24px 60px rgba(13, 29, 56, .16);
  display: grid; grid-template-columns: repeat(3, 1fr);
}
.promise li { padding: clamp(24px, 3vw, 36px); position: relative; }
.promise li + li::before {
  content: ""; position: absolute; left: 0; top: 28px; bottom: 28px; border-left: 2px dashed var(--line);
}
.promise .pk { font-size: 15px; font-weight: 700; color: var(--muted); }
.promise .pv { display: block; margin-top: 6px; font-size: clamp(34px, 4.2vw, 50px); font-weight: 800; color: var(--ink); letter-spacing: -0.05em; line-height: 1.1; }
.promise .pv small { font-size: .5em; letter-spacing: -0.02em; font-weight: 700; color: var(--muted); margin-left: 4px; }
.promise p { margin-top: 10px; font-size: 16px; line-height: 1.6; }
.promise .hl { box-shadow: inset 0 -.32em 0 var(--gold-soft); }
.promise-foot { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; align-items: center; margin-top: 18px; color: var(--muted); font-size: 15px; }
@media (max-width: 760px) {
  .promise { grid-template-columns: 1fr; }
  .promise li + li::before { left: 24px; right: 24px; top: 0; bottom: auto; border-left: 0; border-top: 2px dashed var(--line); }
}

/* ---------- 이런 연락 ---------- */
.calls { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.calls .head { position: sticky; top: calc(var(--top-h) + 32px); margin-bottom: 0; }
.call-list { display: grid; gap: 14px; }
.call {
  display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; align-items: start;
  padding: 20px 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
}
.call .q { grid-column: 2; font-size: clamp(18px, 1.8vw, 20px); font-weight: 800; color: var(--ink); letter-spacing: -0.03em; line-height: 1.4; }
.call .q::before { content: "“"; color: var(--gold-2); margin-right: 2px; }
.call .q::after { content: "”"; color: var(--gold-2); margin-left: 2px; }
.call .ico { grid-row: 1 / span 2; width: 44px; height: 44px; border-radius: 12px; background: var(--soft-2); color: var(--navy-2); display: grid; place-items: center; }
.call .ico .ic { width: 22px; height: 22px; }
.call .a { grid-column: 2; color: var(--text); font-size: 16px; line-height: 1.65; }
.call .a a { font-weight: 600; }
@media (max-width: 860px) {
  .calls { grid-template-columns: 1fr; }
  .calls .head { position: static; }
  .call { padding: 18px; gap: 4px 14px; }
  .call .ico { width: 38px; height: 38px; }
}

/* ---------- 떨어지는 곳 ≠ 새는 곳 ---------- */
.flip { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.flip .lead { font-size: clamp(17px, 1.6vw, 19px); margin-top: 18px; color: #c9d4e6; }
.flip .lead + .lead { margin-top: 14px; }
.flip-case { margin-top: 26px; padding: 18px 20px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); font-size: 16px; }
.flip-case b { color: var(--gold); }
.flip-case a { color: var(--sky); font-weight: 600; }
.bld { width: 100%; max-width: 520px; justify-self: center; }
.bld .wall { fill: #1d3a66; stroke: #36598c; stroke-width: 2; }
.bld .slab { fill: #2b4f82; }
.bld .room { fill: #16305a; }
.bld .lbl { fill: #b9c8df; font-size: 15px; font-weight: 700; }
.bld .lbl-s { fill: #8ea3c4; font-size: 13px; font-weight: 600; }
.bld .path { fill: none; stroke: var(--sky); stroke-width: 3; stroke-dasharray: 3 8; stroke-linecap: round; }
.bld .stain { fill: rgba(108,192,240,.28); stroke: var(--sky); stroke-width: 1.5; }
.bld .src { fill: none; stroke: var(--gold); stroke-width: 2.6; }
.bld .src-dot { fill: var(--red); }
.bld .fix { fill: var(--gold); font-size: 14px; font-weight: 800; }
.bld .toilet { fill: #d9e2ef; }
@media (max-width: 860px) { .flip { grid-template-columns: 1fr; } }

/* ---------- 찾는 순서 (사진) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 26px); counter-reset: st; }
.step { counter-increment: st; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; }
.step figure { position: relative; }
.step img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.step figure::after {
  content: counter(st); position: absolute; left: 14px; top: 14px;
  width: 38px; height: 38px; border-radius: 50%; background: var(--gold); color: var(--navy-3);
  display: grid; place-items: center; font-weight: 800; font-size: 17px; font-family: var(--mono);
}
.step-b { padding: 20px 22px 24px; }
.step h3 { font-size: 20px; }
.step p { margin-top: 8px; font-size: 16px; line-height: 1.65; }
.step .where { display: block; margin-top: 12px; font-size: 13px; color: var(--muted); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .step { display: grid; grid-template-columns: 116px 1fr; }
  .step img { height: 100%; aspect-ratio: auto; min-height: 116px; }
  .step figure::after { width: 30px; height: 30px; font-size: 14px; left: 8px; top: 8px; }
  .step-b { padding: 14px 16px 16px; }
  .step h3 { font-size: 18px; }
  .step p { font-size: 15px; }
}

/* ---------- 현장 기록 (사건 파일) ---------- */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.case {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  display: flex; flex-direction: column; overflow: hidden;
}
.case-h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 14px 20px; background: var(--soft); border-bottom: 1px dashed #cfd8e5; }
.case-no { font-family: var(--mono); font-size: 13px; color: var(--muted); letter-spacing: 0; }
.case-kind { font-size: 13px; font-weight: 700; color: var(--navy-2); }
.case-b { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; }
.case h3 { font-size: 19px; line-height: 1.35; }
.case-sub { margin-top: 2px; font-size: 14px; color: var(--muted); }
.case dl { margin-top: 14px; display: grid; grid-template-columns: 44px 1fr; gap: 8px 12px; font-size: 15px; line-height: 1.55; }
.case dt { color: var(--muted); font-weight: 600; font-size: 13px; padding-top: 2px; }
.case dd { color: var(--text); }
.case dd.cause { color: var(--ink); font-weight: 700; }
.case-tags { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.tag { display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border-radius: 99px; background: var(--soft-2); color: var(--navy-2); font-size: 13px; font-weight: 700; }
.tag-gold { background: var(--gold-soft); color: #7a5a00; }
.case-link { margin-top: auto; padding-top: 16px; font-size: 15px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.case-link .ic { width: 15px; height: 15px; }
.case-stamp {
  position: absolute; right: 16px; top: 46px; transform: rotate(-8deg);
  border: 2px solid rgba(28,148,106,.55); color: rgba(28,148,106,.8); border-radius: 8px;
  padding: 1px 8px; font-size: 13px; font-weight: 800; letter-spacing: .1em;
}
@media (max-width: 1000px) { .cases { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .cases { grid-template-columns: 1fr; } }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.filters button {
  min-height: 44px; padding: 0 16px; border-radius: 99px; border: 1px solid var(--line); background: #fff;
  font: inherit; font-size: 15px; font-weight: 700; color: var(--ink); cursor: pointer;
}
.filters button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.filters .n { font-family: var(--mono); font-weight: 600; opacity: .7; margin-left: 4px; font-size: 13px; }
.case[hidden] { display: none !important; }
.cases-count { color: var(--muted); font-size: 15px; margin-bottom: 14px; }

/* ---------- 후기 ---------- */
.reviews { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.review { grid-column: span 2; background: #fff; border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); display: flex; flex-direction: column; }
.review:nth-child(1), .review:nth-child(2) { grid-column: span 3; }
.review .stars { display: flex; gap: 2px; color: var(--gold-2); }
.review .stars .ic { width: 17px; height: 17px; }
.review blockquote { margin-top: 12px; font-size: 16px; line-height: 1.75; color: var(--ink); }
.review:nth-child(1) blockquote, .review:nth-child(2) blockquote { font-size: 17px; }
.review .who { margin-top: auto; padding-top: 16px; font-size: 14px; color: var(--muted); }
.review .who b { color: var(--text); font-weight: 700; }
.src-note { margin-top: 18px; font-size: 14px; color: var(--muted); }
@media (max-width: 900px) { .reviews { grid-template-columns: 1fr 1fr; } .review, .review:nth-child(1), .review:nth-child(2) { grid-column: span 1; } .review:nth-child(1) { grid-column: span 2; } }
@media (max-width: 600px) { .reviews { grid-template-columns: 1fr; } .review:nth-child(1) { grid-column: span 1; } }

/* ---------- 바가지 없는 이유 ---------- */
.honest { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.honest-list { display: grid; gap: 22px; margin-top: 30px; }
.honest-list li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; }
.honest-list .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--navy); color: var(--gold); display: grid; place-items: center; }
.honest-list .ico .ic { width: 22px; height: 22px; }
.honest-list h3 { font-size: 19px; }
.honest-list p { margin-top: 4px; font-size: 16px; }
.honest figure img { border-radius: var(--radius); width: 100%; }
.honest figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }
.big-num { margin-top: 26px; padding: 22px 24px; border-radius: var(--radius); background: var(--navy); color: #c9d4e6; display: flex; align-items: center; gap: 18px; }
.big-num b { color: var(--gold); font-size: clamp(34px, 4vw, 46px); letter-spacing: -0.04em; line-height: 1; flex: none; }
.big-num span { font-size: 16px; line-height: 1.55; }
@media (max-width: 860px) { .honest { grid-template-columns: 1fr; } }

/* ---------- 보험 (홈 요약 · 보험 쪽) ---------- */
.docs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.doc { padding: 22px; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); }
.doc .ic { width: 28px; height: 28px; color: var(--gold); }
.doc h3 { margin-top: 12px; font-size: 18px; }
.doc p { margin-top: 6px; font-size: 15px; line-height: 1.6; }
.sec-soft .doc, .page .doc { background: #fff; border-color: var(--line); }
.sec-soft .doc p, .page .doc p { color: var(--text); }
.sec-soft .doc .ic, .page .doc .ic { color: var(--navy-2); }
@media (max-width: 900px) { .docs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .docs { grid-template-columns: 1fr; } }

.flow { display: grid; gap: 0; counter-reset: fl; }
.flow li { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding-bottom: 28px; counter-increment: fl; }
.flow li::before {
  content: counter(fl); width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: #fff; border: 2px solid var(--navy); color: var(--navy);
  font-weight: 800; font-family: var(--mono); position: relative; z-index: 1;
}
.flow li::after { content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; border-left: 2px dashed #c6d1e1; }
.flow li:last-child::after { display: none; }
.flow li.us::before { background: var(--gold); border-color: var(--gold); color: var(--navy-3); }
.flow .who { display: inline-block; font-size: 13px; font-weight: 800; color: var(--muted); letter-spacing: .02em; }
.flow li.us .who { color: #8a6500; }
.flow h3 { font-size: 20px; margin-top: 2px; }
.flow p { margin-top: 6px; font-size: 16px; }

.insure-home { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .insure-home { grid-template-columns: 1fr; } }

/* ---------- 지역 ---------- */
.place-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.place-chips a, .place-chips span {
  display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 99px;
  background: #fff; border: 1px solid var(--line); color: var(--ink); font-size: 15px; font-weight: 600;
}
.place-chips a:hover { border-color: var(--navy); text-decoration: none; }
.place-chips .home { background: var(--gold); border-color: var(--gold); color: var(--navy-3); font-weight: 800; }

.area-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.area-cell { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.area-cell h3 { font-size: 18px; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.area-cell h3 .n { font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.area-cell ul { margin-top: 8px; display: grid; gap: 4px; font-size: 15px; line-height: 1.5; }
.area-cell li a { color: var(--text); }
.area-cell li a:hover { color: var(--blue); }
.area-cell .date { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-right: 6px; letter-spacing: 0; }
.area-cell.is-home { border-color: var(--gold); box-shadow: inset 0 3px 0 var(--gold); }
.area-plain { display: flex; flex-wrap: wrap; gap: 6px 4px; margin-top: 16px; }
.area-plain span { display: inline-flex; min-height: 34px; align-items: center; padding: 0 12px; border-radius: 8px; background: var(--soft); font-size: 15px; color: var(--text); }

/* ---------- 자주 묻는 질문 ---------- */
.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 60px; padding: 16px 22px; font-weight: 800; color: var(--ink); font-size: 18px; letter-spacing: -0.02em; line-height: 1.45;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 12px; height: 12px; border-right: 2.5px solid var(--navy-2); border-bottom: 2.5px solid var(--navy-2);
  transform: rotate(45deg) translate(-3px, -3px); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }
.faq details[open] { border-color: #c7d3e4; }
.faq .ans { padding: 0 22px 20px; font-size: 16.5px; line-height: 1.75; }
.faq .ans p + p { margin-top: 8px; }
.faq-group + .faq-group { margin-top: 44px; }
.faq-group h2 { font-size: clamp(22px, 2.6vw, 28px); margin-bottom: 16px; }
.faq-foot { margin-top: 22px; }

/* ---------- 마지막 행동 요청 ---------- */
.final { background: var(--navy); color: #c9d4e6; padding: clamp(64px, 8vw, 100px) 0; position: relative; overflow: hidden; }
.final::before {
  content: ""; position: absolute; right: -90px; top: -150px; width: 340px; height: 340px; border-radius: 50%;
  border: 2px dashed rgba(245,196,67,.22);
}
.final::after {
  content: ""; position: absolute; right: 60px; top: -30px; width: 120px; height: 120px; border-radius: 50%;
  border: 2px solid rgba(245,196,67,.3);
}
.final-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.2fr) auto; gap: 28px 48px; align-items: end; }
.final h2 { color: #fff; }
.final p { margin-top: 14px; font-size: 18px; max-width: 620px; }
.final .small { font-size: 15px; color: #9fb0cb; margin-top: 10px; }
.final .btns { justify-content: flex-end; }
@media (max-width: 860px) { .final-in { grid-template-columns: 1fr; } .final .btns { justify-content: flex-start; } }

/* ---------- 속 페이지 머리 ---------- */
.ph { background: var(--navy); color: #c9d4e6; padding: clamp(40px, 6vw, 76px) 0 clamp(44px, 6vw, 72px); position: relative; overflow: hidden; }
.ph::after {
  content: ""; position: absolute; right: -60px; bottom: -160px; width: 360px; height: 360px; border-radius: 50%;
  border: 2px dashed rgba(108,192,240,.22);
}
.crumb { display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: #93a6c4; }
.crumb a { color: #b9c8df; }
.crumb li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.ph h1 { color: #fff; margin-top: 14px; font-size: clamp(34px, 5vw, 56px); letter-spacing: -0.045em; line-height: 1.15; }
.ph p { margin-top: 16px; font-size: clamp(17px, 1.6vw, 20px); max-width: 720px; color: #cfd9e8; }
.ph .btns { margin-top: 26px; }

.page { padding: clamp(56px, 7vw, 96px) 0; }
.page + .page { padding-top: 0; }
.prose { max-width: 760px; }
.prose h2 { margin-top: 56px; font-size: clamp(24px, 3vw, 32px); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 28px; }
.prose p { margin-top: 14px; }
.prose ul.dots { margin-top: 14px; display: grid; gap: 8px; }
.prose ul.dots li { position: relative; padding-left: 18px; }
.prose ul.dots li::before { content: ""; position: absolute; left: 2px; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--navy-2); }
.note { margin-top: 20px; padding: 16px 20px; border-radius: 12px; background: var(--gold-soft); color: #5e4700; font-size: 16px; }
.note b { color: #4a3800; }

/* 비용 쪽 */
.price-cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pc { border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); background: #fff; }
.pc .when { font-size: 15px; font-weight: 700; color: var(--muted); }
.pc .what { display: block; margin-top: 8px; font-size: clamp(28px, 3vw, 36px); font-weight: 800; color: var(--ink); letter-spacing: -0.045em; line-height: 1.15; }
.pc p { margin-top: 10px; font-size: 16px; }
.pc.gold { background: var(--gold-soft); border-color: #f1dc9a; }
@media (max-width: 860px) { .price-cases { grid-template-columns: 1fr; } }

.ptable { width: 100%; border-collapse: collapse; font-size: 16px; }
.ptable th, .ptable td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.ptable thead th { font-size: 14px; color: var(--muted); font-weight: 700; background: var(--soft); border-bottom: 0; }
.ptable thead th:first-child { border-radius: 10px 0 0 10px; }
.ptable thead th:last-child { border-radius: 0 10px 10px 0; }
.ptable td.won { font-weight: 800; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ptable tbody th { color: var(--ink); font-weight: 800; }
.table-note { margin-top: 12px; font-size: 14px; color: var(--muted); }
@media (max-width: 560px) {
  .ptable, .ptable tbody, .ptable tr, .ptable th, .ptable td { display: block; }
  .ptable thead { display: none; }
  .ptable tr { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .ptable th, .ptable td { padding: 2px 0; border: 0; }
  .ptable td.won { font-size: 20px; }
}

.factors { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; margin-top: 20px; }
.factors li { background: var(--soft); border-radius: 12px; padding: 16px 18px; font-size: 16px; }
.factors b { display: block; }

/* 탐지 쪽 */
.method { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(22px, 4vw, 56px); align-items: center; padding: clamp(28px, 4vw, 44px) 0; border-top: 1px solid var(--line); }
.method:first-child { border-top: 0; padding-top: 0; }
.method img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.method .num { font-family: var(--mono); color: var(--muted); font-size: 14px; }
.method h2 { font-size: clamp(24px, 2.8vw, 32px); margin-top: 6px; }
.method p { margin-top: 12px; }
.method .ex { margin-top: 16px; padding: 14px 16px; border-left: 3px solid var(--gold); background: var(--soft); border-radius: 0 10px 10px 0; font-size: 15.5px; }
.method:nth-child(even) figure { order: 2; }
@media (max-width: 800px) { .method { grid-template-columns: 1fr; } .method:nth-child(even) figure { order: 0; } }

.gear { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gear-g { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.gear-g h3 { font-size: 19px; display: flex; align-items: center; gap: 10px; }
.gear-g h3 .ic { color: var(--navy-2); }
.gear-g p { margin-top: 8px; font-size: 15.5px; }
.gear-g ul { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.gear-g li { font-family: var(--mono); font-size: 13.5px; background: var(--soft); border-radius: 8px; padding: 4px 10px; letter-spacing: 0; color: var(--ink); }
@media (max-width: 900px) { .gear { grid-template-columns: 1fr; } }

.jobs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.job { border: 1px solid var(--line); border-radius: 14px; padding: 20px; background: #fff; }
.job h3 { font-size: 18px; }
.job p { margin-top: 6px; font-size: 15.5px; }
.job a { font-size: 15px; font-weight: 600; display: inline-block; margin-top: 8px; }
@media (max-width: 900px) { .jobs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .jobs { grid-template-columns: 1fr; } }

.ba { margin-top: 8px; }
.ba img { border-radius: var(--radius); width: 100%; }
.ba figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; } }

/* ---------- 꼬리 ---------- */
.foot { background: var(--navy-3); color: #9fb0cb; padding: 56px 0 30px; font-size: 15px; }
.foot a { color: #d7e0ee; }
.foot-in { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.foot .brand { margin-bottom: 14px; }
.foot-line { color: #fff; font-weight: 800; font-size: 20px; letter-spacing: -0.03em; }
.foot-tel { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 22px; font-weight: 800; color: var(--gold) !important; font-variant-numeric: tabular-nums; }
.foot-tel .ic { width: 20px; height: 20px; }
.foot h2 { font-size: 14px; color: #7d90b0; font-weight: 700; letter-spacing: .02em; margin-bottom: 10px; }
.foot ul { display: grid; gap: 2px; }
.foot ul a { display: inline-flex; align-items: center; min-height: 36px; gap: 6px; }
.foot ul .ic { width: 15px; height: 15px; }
.foot-legal { margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08); font-size: 13.5px; line-height: 1.8; color: #7f91ae; }
.foot-legal p + p { margin-top: 4px; }
@media (max-width: 860px) { .foot-in { grid-template-columns: 1fr 1fr; } .foot-in > div:first-child { grid-column: 1 / -1; } }

/* ---------- 휴대폰 하단 고정 ---------- */
.dock { display: none; }
@media (max-width: 640px) {
  body { padding-bottom: 72px; }
  .dock {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: grid; grid-template-columns: 1.25fr 1fr; gap: 8px;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    background: rgba(11, 26, 51, .96); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    border-top: 1px solid rgba(255,255,255,.1);
  }
  .dock a { min-height: 52px; border-radius: 12px; display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 800; font-size: 16px; text-decoration: none; }
  .dock .ic { width: 20px; height: 20px; }
  .dock-call { background: var(--gold); color: var(--navy-3); }
  .dock-sms { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.2); }
}

/* ---------- 404 ---------- */
.nf { padding: clamp(72px, 10vw, 140px) 0; }
.nf h1 { font-size: clamp(30px, 4vw, 44px); }
.nf p { margin-top: 14px; }
.nf .btns { margin-top: 28px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

@media print {
  .top, .dock, .final, .foot-in { display: none; }
  body { padding: 0; }
}

.review-solo { align-self: center; padding: clamp(26px, 3vw, 40px); background: var(--soft); border: 0; }
.review-solo blockquote { font-size: clamp(19px, 2vw, 23px); line-height: 1.6; font-weight: 600; letter-spacing: -0.02em; }
.review-solo .stars .ic { fill: currentColor; stroke: none; }

.two h2 { font-size: clamp(24px, 2.6vw, 30px); }
.two h2 + p, .two h2 + .table-note { margin-top: 10px; }
.two .flow { margin-top: 24px; }
.two > div > p { margin-top: 14px; }
.docs-2 { grid-template-columns: 1fr 1fr; margin-top: 18px; }
@media (max-width: 480px) { .docs.docs-2 { grid-template-columns: 1fr 1fr; gap: 10px; } .docs-2 .doc { padding: 16px; } .docs-2 .doc h3 { font-size: 16px; } .docs-2 .doc p { font-size: 14px; } }
h2.mt { margin-top: 44px; }
.dots-list { margin-top: 16px; display: grid; gap: 12px; }
.dots-list li { position: relative; padding-left: 20px; font-size: 16.5px; }
.dots-list li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-2); }
.ptable { margin-top: 18px; }
.case.is-target { border-color: var(--gold-2); box-shadow: 0 0 0 3px var(--gold-soft); }

/* 휴대폰에서는 홈의 현장·후기를 세 개씩만 — 나머지는 «전부 보기» 로 */
@media (max-width: 640px) {
  .p-home .cases .case:nth-child(n+4) { display: none; }
  .p-home .reviews .review:nth-child(n+4) { display: none; }
}
.honest .review-solo { grid-column: auto; }
.sec-soft .factors li { background: #fff; border: 1px solid var(--line); }
.case h2 { font-size: 20px; line-height: 1.35; letter-spacing: -0.02em; }
.area-page h2 { margin-top: 64px; font-size: clamp(24px, 3vw, 32px); }
.area-page h2:first-child { margin-top: 0; }
.area-page h2 + p { margin-top: 8px; color: var(--muted); }
.area-page .area-grid { margin-top: 22px; }

/* 휴대폰에서 누르는 것은 전부 44px 이상 (2026-09-30 검토) */
.more, .case-link, .job a { min-height: 44px; display: inline-flex; align-items: center; }
.case-link { padding-top: 12px; margin-top: auto; }
.brand { min-height: 44px; }
.place-chips a, .place-chips span { min-height: 44px; }
.foot ul a { min-height: 44px; }
.foot-tel { min-height: 44px; }
.area-cell li a { display: inline-flex; align-items: center; min-height: 36px; }
.more-cases { display: flex; justify-content: center; margin-top: 26px; }
.more-cases[hidden] { display: none !important; }
