/* 점검하자: 진한 파랑(신뢰) + 밝은 파랑 강조 하나 + 흰 종이·클립보드 */
/* fonts:start */
@font-face { font-family: Pretendard; font-weight: 400; font-display: swap; src: url("../fonts/pretendard-400.woff2?v=d1df106b") format("woff2"); }
@font-face { font-family: Pretendard; font-weight: 600; font-display: swap; src: url("../fonts/pretendard-600.woff2?v=0bc731e8") format("woff2"); }
@font-face { font-family: Pretendard; font-weight: 700; font-display: swap; src: url("../fonts/pretendard-700.woff2?v=8bfe7e75") format("woff2"); }
@font-face { font-family: Pretendard; font-weight: 800; font-display: swap; src: url("../fonts/pretendard-800.woff2?v=e153f616") format("woff2"); }
@font-face { font-family: Pretendard; font-weight: 900; font-display: swap; src: url("../fonts/pretendard-900.woff2?v=2f38d7b7") format("woff2"); }
/* fonts:end */
:root {
  --bg: #ffffff;
  --paper: #f3f7fb;
  --ink: #13304f;
  --navy: #13304f;
  --sub: #56677a;
  --line: #dbe4ee;
  --sky: #e8f1fb;
  --stk: #2f80ed;
  --stk-dark: #1f6fd8;
  --gutter: 20px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  background: var(--bg); color: var(--ink); line-height: 1.65;
  word-break: keep-all; overflow-wrap: anywhere; -webkit-font-smoothing: antialiased;
}
h1, h2 { text-wrap: balance; letter-spacing: -.03em; line-height: 1.25; }
p { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
.mo { display: none; }
section { padding: 96px 0; }
h2 { font-size: 38px; font-weight: 800; }

/* 시안에서 채울 자리 (오픈 때 지움) */
.tbd { display: inline-block; background: #fff1a8; color: #5a4a00; border: 1px dashed #c9a800; border-radius: 6px; padding: 0 8px; font-size: .8em; font-weight: 600; letter-spacing: 0; vertical-align: middle; }

/* 머리: 첫 화면과 이어지는 진한 파랑 */
.top { position: sticky; top: 0; z-index: 30; background: rgba(19,48,79,.97); color: #fff; }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 19px; letter-spacing: -.02em; }
.logo img { border-radius: 7px; box-shadow: 0 0 0 1.5px rgba(255,255,255,.35); }
.top-call { background: var(--stk); color: #fff; font-weight: 700; font-size: 15px; padding: 8px 16px; border-radius: 8px; opacity: 0; pointer-events: none; transition: opacity .2s; }
.top-call.is-on { opacity: 1; pointer-events: auto; }

/* 첫 화면 */
.hero { background-color: var(--navy); background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 96px 96px, 96px 96px, 24px 24px, 24px 24px; color: #fff; padding: 64px 0 96px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 400px; gap: 72px; align-items: center; }
.hero-area { font-weight: 700; color: #9fc2e6; font-size: 17px; margin-bottom: 16px; }
.hero h1 { font-size: 64px; font-weight: 900; }
.hero-lead { margin-top: 22px; font-size: 19px; color: #c9d8e8; }
.phone { display: inline-flex; flex-direction: column; margin-top: 36px; }
.phone-label { font-size: 15px; font-weight: 700; color: var(--sub); }
.hero .phone-label { color: #9fc2e6; }
.phone-num { font-size: 44px; font-weight: 900; letter-spacing: -.02em; line-height: 1.2; }
.phone-num .tbd { font-size: 22px; }
.hero-btns { display: flex; gap: 10px; margin-top: 18px; }
a.btn, .callbar a, .top-call, .phone { cursor: pointer; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 26px; border-radius: 10px; font-weight: 800; font-size: 17px; }
.btn-main { background: var(--stk); color: #fff; }
.btn-main:hover { background: var(--stk-dark); }
.btn-line { border: 1.5px solid var(--ink); background: #fff; color: var(--ink); }
.hero .btn-main { background: #fff; color: var(--navy); }
.hero .btn-main:hover { background: #e8f1fb; }
.hero .btn-line { background: transparent; border-color: rgba(255,255,255,.7); color: #fff; }

/* 클립보드 (기울이기는 이 섹션에서 이것 하나) */
.clip { position: relative; background: #8a6a48; border-radius: 16px; padding: 34px 18px 18px; transform: rotate(2deg); box-shadow: 0 30px 50px -20px rgba(0,0,0,.5); }
.clip-top { position: absolute; left: 50%; top: -14px; width: 120px; height: 38px; margin-left: -60px; border-radius: 8px; background: linear-gradient(#c9ced4, #8d949c); box-shadow: inset 0 -3px 0 rgba(0,0,0,.15); }
.clip-paper { background: #fff; color: var(--ink); border-radius: 4px; padding: 22px 22px 26px; }
.clip-title { font-weight: 800; font-size: 18px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); margin-bottom: 6px; }
.clip-paper li { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 16px; font-weight: 600; }
.clip-paper i { flex: none; width: 20px; height: 20px; border: 2px solid #9aabbd; border-radius: 4px; position: relative; }
.clip-paper i.on { border-color: var(--ink); background: var(--ink); }
.clip-paper i.on::after { content: ""; position: absolute; left: 5px; top: 1px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.clip-paper i.hit { border-color: var(--stk); background: var(--stk); border-radius: 50%; }
.clip-stk { position: absolute; right: -16px; top: 52%; background: var(--stk); color: #fff; font-weight: 800; font-size: 15px; letter-spacing: .1em; padding: 6px 14px; transform: rotate(-10deg); box-shadow: 0 4px 10px rgba(0,0,0,.25); }

/* 입주까지 일정 */
.road h2 { text-align: center; }
.road-sub { text-align: center; color: var(--sub); font-size: 18px; margin-top: 16px; }
.road-line { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 56px; position: relative; }
.road-line::before { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 11px; height: 3px; background: var(--line); }
.road-line li { position: relative; text-align: center; padding: 0 12px; }
.road-line .dot { display: block; width: 24px; height: 24px; margin: 0 auto 16px; border-radius: 50%; background: #fff; border: 3px solid #b6c6d8; position: relative; }
.road-line b { display: block; font-size: 20px; font-weight: 800; }
.road-line em { display: block; font-style: normal; color: var(--sub); font-size: 15px; margin-top: 4px; }
.road-line .now .dot { border-color: var(--stk); background: var(--stk); box-shadow: 0 0 0 8px rgba(47,128,237,.2); }
.road-line .now .dot::before, .road-line .now .dot::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 3px solid var(--stk); animation: ping 2.2s ease-out infinite; }
.road-line .now .dot::after { animation-delay: 1.1s; }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(2.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .road-line .now .dot::before, .road-line .now .dot::after { animation: none; opacity: 0; } }
.road-line .now b { color: var(--stk-dark); font-size: 24px; }
.road-tag { display: inline-block; margin-top: 12px; background: var(--navy); color: #fff; font-weight: 800; font-size: 14px; padding: 4px 12px; border-radius: 999px; }

.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 860px; margin: 64px auto 0; }
.vs-card { border: 1px solid var(--line); border-radius: 16px; padding: 22px 24px 24px; background: #fff; }
.vs-good { border: 2px solid var(--stk); background: #f5f9ff; }
.vs-ill { display: block; width: 100%; height: auto; margin: -8px 0 8px; }
.vs-k { font-size: 15px; font-weight: 700; color: var(--sub); }
.vs-good .vs-k { color: var(--stk-dark); }
.vs-v { font-size: 20px; font-weight: 800; margin-top: 2px; line-height: 1.45; }

/* 공간별 하자 */
.rooms { background: var(--paper); }
.rooms-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 64px; align-items: center; }
.rooms-text p { margin-top: 18px; font-size: 18px; color: var(--sub); }
.rooms-text p:first-of-type { margin-top: 26px; color: var(--ink); font-weight: 600; }
.plan2 { position: relative; background-color: #fff; background-image: linear-gradient(#eef3f8 1px, transparent 1px), linear-gradient(90deg, #eef3f8 1px, transparent 1px); background-size: 20px 20px; border-radius: 16px; padding: 22px; box-shadow: 0 20px 40px -28px rgba(19,48,79,.4); }
.plan2-in { position: relative; }
.plan2 svg { width: 100%; }
.p-wall path { fill: none; stroke: var(--ink); stroke-width: 9; stroke-linecap: square; }
.p-inner path { fill: none; stroke: var(--ink); stroke-width: 4; stroke-linecap: square; }
.p-thin path { fill: none; stroke: var(--ink); stroke-width: 3; }
.p-win path { fill: none; stroke: #fff; stroke-width: 4; }
.p-lbl { position: absolute; display: flex; flex-direction: column; gap: 2px; font-size: 14.5px; color: var(--sub); line-height: 1.45; pointer-events: none; }
.p-lbl b { color: var(--ink); font-size: 17px; font-weight: 800; margin-bottom: 3px; }
.p-lbl span::before { content: "· "; color: var(--stk); font-weight: 900; }
.p-lbl-row { flex-direction: row; align-items: baseline; gap: 10px; }
.p-lbl-row b { margin: 0; }
.plan-mo { display: none; }

/* 진행 */
.steps h2 { text-align: center; }
.step-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.step-list li { border: 1px solid var(--line); border-radius: 16px; padding: 22px 24px 28px; }
.step-ill { width: 120px; height: 80px; margin: 0 0 14px -8px; }
.step-ill rect, .step-ill path, .step-ill circle { fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.step-ill .f { fill: var(--stk); stroke: none; }
.step-ill .g { fill: var(--sky); stroke: #b6c6d8; }
.step-ill .d rect { fill: var(--sky); stroke: none; }
.step-n { display: block; font-size: 14px; font-weight: 800; color: var(--stk); letter-spacing: .04em; margin-bottom: 2px; }
.step-list h3 { font-size: 21px; font-weight: 800; }
.step-list p { color: var(--sub); margin-top: 4px; }

/* 문의 */
.contact { background: var(--sky); }
.contact-grid { display: grid; grid-template-columns: 1fr 420px; gap: 72px; align-items: center; }
.contact h2 { font-size: 44px; }
.contact-grid > div > p:first-of-type { margin-top: 20px; font-size: 18px; color: var(--sub); }
.price { margin-top: 24px; padding: 16px 0; border-top: 1px solid #cfdced; border-bottom: 1px solid #cfdced; }
.price-k { font-size: 14px; color: var(--sub); font-weight: 700; }
.price-v { font-size: 20px; font-weight: 800; margin-top: 4px; }
.msg { background: #fff; border-radius: 28px; padding: 26px 24px 28px; border: 1px solid #cfdced; box-shadow: 0 24px 40px -28px rgba(19,48,79,.4); }
.msg-k { font-size: 14px; font-weight: 700; color: var(--sub); text-align: center; }
.nw, .nw2 { white-space: nowrap; }
.bubble { margin: 18px 8px 0 auto; width: 88%; background: var(--stk); color: #fff; border-radius: 20px 20px 6px 20px; padding: 16px 18px; font-size: 17px; font-weight: 600; line-height: 1.7; }
.msg-note { margin-top: 16px; font-size: 14px; color: var(--sub); text-align: center; }

.foot { border-top: 1px solid var(--line); padding: 28px 0 36px; font-size: 14px; color: var(--sub); }
.foot b { color: var(--ink); }

.callbar { display: none; }

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr 340px; gap: 40px; }
  .hero h1 { font-size: 52px; }
  .rooms-grid, .contact-grid { gap: 40px; }
  .contact-grid { grid-template-columns: 1fr 360px; }
}

@media (max-width: 820px) {
  .mo { display: inline; }
  br:not(.mo):not(.keep) { display: none; }
  section { padding: 64px 0; }
  h2 { font-size: 29px; }
  .hero { padding: 36px 0 64px; }
  .hero-grid, .rooms-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 40px; }
  .clip { margin: 12px 14px 0; transform: rotate(1.5deg); }
  .clip-paper li { font-size: 15px; padding: 7px 0; }
  .hero h1 br { display: inline; }
  .hero-lead { font-size: 17px; }
  .phone-num { font-size: 36px; }
  .road h2, .road-sub, .steps h2 { text-align: left; }
  .road-sub { font-size: 17px; }
  .road-line { grid-template-columns: 1fr; margin-top: 32px; gap: 22px; }
  .road-line::before { left: 11px; right: auto; top: 12px; bottom: 12px; width: 3px; height: auto; }
  .road-line li { text-align: left; padding: 0 0 0 42px; }
  .road-line .dot { position: absolute; left: 0; top: 2px; margin: 0; }
  .road-line b, .road-line .now b { font-size: 19px; }
  .road-tag { margin-top: 8px; }
  .vs { grid-template-columns: 1fr; gap: 12px; margin-top: 36px; }
    .vs-v { font-size: 17px; }
  .rooms-text p { font-size: 17px; }
  .plan2 { padding: 10px; margin: 0 -6px; }
  .plan-pc { display: none; }
  .plan-mo { display: block; }
  .plan-mo .p-lbl { font-size: 13px; line-height: 1.4; }
  .plan-mo .p-lbl b { font-size: 15px; margin-bottom: 2px; }
  .step-list { grid-template-columns: 1fr; gap: 12px; margin-top: 28px; }
  .step-list li { display: grid; grid-template-columns: 1fr 66px; column-gap: 14px; padding: 18px 14px 18px 18px; align-items: start; }
  .step-ill { grid-column: 2; grid-row: 1 / 4; width: 66px; height: 44px; margin: 0; align-self: center; }
  .step-list .step-n, .step-list h3, .step-list p { grid-column: 1; }
  .contact h2 { font-size: 32px; }
  .hero-btns .btn { flex: 1; padding: 0 12px; }
  .msg { padding: 22px 18px 24px; }
  .bubble { width: 100%; margin-right: 0; font-size: 15.5px; padding: 14px 16px; }
  .top-call { display: none; }
  .callbar { display: grid; grid-template-columns: 2fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; transform: translateY(110%); transition: transform .25s ease; background: rgba(255,255,255,.97); border-top: 1px solid var(--line); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px; }
  .callbar.is-on { transform: none; }
  .callbar a { display: flex; align-items: center; justify-content: center; min-height: 50px; border-radius: 10px; font-weight: 800; font-size: 17px; }
  .callbar a:first-child { background: var(--stk); color: #fff; }
  .callbar a:last-child { border: 1.5px solid var(--ink); background: #fff; }
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
}

@media (max-width: 360px) {
  .bubble .nw { white-space: normal; }
  .hero h1 { font-size: 34px; }
  .phone-num { font-size: 31px; }
}
