/* 원페이지 홈페이지 제작 — 한 장 사이트. 휴대폰 먼저, 흰 바탕 + 로고 블루, 보조색은 노랑 하나(영수증 머리·번호에만) */
:root {
  --ink: #15202b;
  --text: #3d4a57;
  --muted: #5b6773;
  --line: #e5e9ee;
  --tint: #f6f8fa;
  --white: #fff;
  --blue: #0b99da;
  --blue-d: #0876a8;
  --blue-dd: #06618d;
  --blue-soft: #e8f5fc;
  --yellow: #ffd24a;
  --yellow-soft: #fff6d6;
  --sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --hd: 60px;
  --r: 14px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hd) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--white); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.7; word-break: keep-all; overflow-wrap: break-word; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue-d); }
h1, h2, h3 { color: var(--ink); line-height: 1.3; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

/* 단추 */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border-radius: 10px; border: 1px solid #cdd5dd; background: #fff; color: var(--ink); font: inherit; font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s; }
.btn:hover { border-color: var(--blue-d); }
.btn--main { background: var(--blue-d); border-color: var(--blue-d); color: #fff; }
.btn--main:hover { background: var(--blue-dd); border-color: var(--blue-dd); }
.btn--text { border-color: transparent; background: transparent; color: var(--blue-d); padding: 0 8px; }
.btn--text:hover { border-color: transparent; text-decoration: underline; }

/* 글 목록·확인 표시 */
.bul { margin-top: 14px; display: grid; gap: 8px; }
.bul li { position: relative; padding-left: 20px; }
.bul li::before { content: ""; position: absolute; left: 4px; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--blue-d); }
.narrow { max-width: 760px; }

/* 머리 */
.hd { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(6px); }
.hd__in { max-width: 1140px; margin: 0 auto; padding: 0 16px; height: var(--hd); display: flex; align-items: center; gap: 20px; }
.logo { display: flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); flex: none; }
.logo { gap: 12px; }
.logo__img { display: block; width: auto; height: 36px; }
.logo__sub { padding-left: 12px; border-left: 1px solid var(--line); font-size: 14px; font-weight: 700; color: var(--muted); line-height: 1.2; white-space: nowrap; }
@media (max-width: 380px) { .logo__img { height: 32px; } .logo__sub { font-size: 13px; padding-left: 10px; } }
.nav { display: none; gap: 4px; margin-left: auto; }
.nav a { padding: 8px 12px; border-radius: 8px; color: var(--text); text-decoration: none; font-size: 15px; font-weight: 600; }
.nav a:hover, .nav a.is-active { color: var(--blue-d); background: var(--blue-soft); }
.hd__cta { margin-left: auto; padding: 8px 14px; border-radius: 8px; background: var(--blue-d); color: #fff; font-weight: 700; font-size: 14px; text-decoration: none; }
.hd__cta:hover { background: var(--blue-dd); }
@media (min-width: 900px) { .nav { display: flex; } .hd__cta { margin-left: 8px; } }

/* 첫 화면 */
.hero { padding: 36px 0 44px; background: linear-gradient(180deg, var(--blue-soft) 0, #fff 78%); }
.hero__grid { display: grid; gap: 32px; }
.kicker { display: inline-block; font-weight: 700; font-size: 14px; color: var(--blue-dd); background: #fff; border: 1px solid #cfe7f4; padding: 4px 12px; border-radius: 99px; }
.hero h1 { font-size: 34px; font-weight: 800; margin: 14px 0 12px; }
.hero__lead { font-size: 17px; color: var(--text); }
.acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hero__art { position: relative; height: 380px; max-width: 420px; width: 100%; margin: 0 auto; }
.phone { display: block; background: #fff; border: 6px solid var(--ink); border-radius: 26px; overflow: hidden; box-shadow: 0 18px 40px -18px rgba(21,32,43,.45); }
.phone img { width: 100%; aspect-ratio: 5 / 8; object-fit: cover; object-position: top; }
.hero__art .phone { position: absolute; width: 44%; }
.phone--c { left: 28%; top: 0; z-index: 2; }
.phone--l { left: 0; top: 52px; transform: rotate(-5deg); }
.phone--r { right: 0; top: 52px; transform: rotate(5deg); }
@media (min-width: 900px) {
  .hero { padding: 64px 0 72px; }
  .hero__grid { grid-template-columns: 1.05fr 1fr; align-items: center; gap: 48px; }
  .hero h1 { font-size: 48px; }
  .hero__lead { font-size: 18px; }
  .hero__art { height: 500px; max-width: 520px; }
  .phone--l, .phone--r { top: 70px; }
}

/* 구역 공통 */
.sec { padding: 56px 0; }
.sec--tint { background: var(--tint); }
.head { max-width: 720px; margin-bottom: 28px; }
.eyebrow { font-size: 14px; font-weight: 700; color: var(--blue-d); margin-bottom: 6px; }
.sec h2 { font-size: 26px; font-weight: 800; }
.lead { margin-top: 10px; font-size: 16px; }
@media (min-width: 900px) { .sec { padding: 88px 0; } .sec h2 { font-size: 34px; } .lead { font-size: 17px; } }

/* 업종별 예시 — 글 없는 JS 환경에서는 묶음이 세로로 다 보이고, JS 가 있으면 탭 */
.tabbar { display: flex; gap: 8px; overflow-x: auto; padding: 2px 16px 12px; margin: 0 -16px 8px; scrollbar-width: none; }
.tabbar::-webkit-scrollbar { display: none; }
.tabbar button { flex: none; min-height: 42px; padding: 0 16px; border-radius: 99px; border: 1px solid #cdd5dd; background: #fff; color: var(--text); font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.tabbar button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.grp + .grp { margin-top: 32px; }
.grp__t { font-size: 19px; font-weight: 800; margin-bottom: 12px; }
.is-tabbed .grp__t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.is-tabbed .grp + .grp { margin-top: 0; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: 62%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 16px 14px; margin: 0 -16px; scrollbar-width: thin; }
.rail li { scroll-snap-align: start; }
.card { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 10px 10px 14px; color: var(--text); text-decoration: none; cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .15s; }
.card:hover { border-color: var(--blue-d); box-shadow: 0 10px 24px -14px rgba(8,118,168,.5); transform: translateY(-2px); }
.card__shot { display: block; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: var(--tint); margin-bottom: 10px; }
.card__shot img { width: 100%; aspect-ratio: 5 / 8; object-fit: cover; object-position: top; }
.card b { color: var(--ink); font-size: 16px; font-weight: 800; padding: 0 2px; }
.card span:last-child { font-size: 14px; color: var(--muted); line-height: 1.45; padding: 2px 2px 0; }
.card b::after { content: " ↗"; color: var(--blue-d); font-weight: 700; }
.more { margin-top: 20px; font-weight: 700; }
.tabs { margin-top: 8px; }
@media (min-width: 640px) { .rail { grid-auto-columns: 34%; } }
@media (min-width: 900px) {
  .rail { grid-auto-flow: row; grid-template-columns: repeat(6, 1fr); overflow: visible; padding: 4px 0 0; margin: 0; }
  .tabbar { margin: 0 0 12px; padding: 2px 0 8px; }
}

/* 기능 — 글과 그림을 지그재그로 */
.feat { display: grid; gap: 28px; align-items: center; }
.feat__art { margin: 0; }
.browser { display: block; border: 1px solid #d5dce3; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 16px 36px -22px rgba(21,32,43,.45); }
.browser::before { content: ""; display: block; height: 22px; border-bottom: 1px solid var(--line); background-color: var(--tint); background-image: radial-gradient(circle, #cdd5dd 3.5px, transparent 4px), radial-gradient(circle, #cdd5dd 3.5px, transparent 4px), radial-gradient(circle, #cdd5dd 3.5px, transparent 4px); background-size: 12px 12px; background-repeat: no-repeat; background-position: 8px 50%, 22px 50%, 36px 50%; }
/* 한 장 구성 — 휴대폰 틀 안 다섯 구역(글자로 그린 그림) */
.zones { max-width: 280px; margin: 0 auto; background: #fff; border: 6px solid var(--ink); border-radius: 28px; padding: 14px 10px; display: grid; gap: 8px; box-shadow: 0 18px 40px -18px rgba(21,32,43,.45); }
.zones__z { border-radius: 10px; background: var(--tint); border: 1px solid var(--line); padding: 10px 12px; display: flex; flex-direction: column; line-height: 1.35; }
.zones__z b { color: var(--ink); font-size: 15px; font-weight: 800; }
.zones__z span { font-size: 13px; color: var(--muted); }
.zones__z--intro { background: var(--blue-soft); border-color: #cfe7f4; padding: 18px 12px; }
.zones__z--photo { padding: 22px 12px; background: repeating-linear-gradient(135deg, #eef2f5 0 10px, #f6f8fa 10px 20px); }
.zones__z--map { background: linear-gradient(90deg, #e3e8ee 1px, transparent 1px) 0 0 / 22px 22px, linear-gradient(#e3e8ee 1px, transparent 1px) 0 0 / 22px 22px, #f8fafb; }
.zones__z--call span { display: flex; gap: 6px; margin-top: 6px; }
.zones__z--call i { font-style: normal; flex: 1; text-align: center; background: var(--blue-d); color: #fff; font-weight: 700; border-radius: 6px; padding: 5px 0; font-size: 12px; }
@media (min-width: 900px) {
  .feat { grid-template-columns: 5fr 6fr; gap: 64px; }
  .feat--flip .feat__text { order: 2; }
  .zones { max-width: 300px; }
}

/* 비용 — 영수증 카드 */
.price { display: grid; gap: 32px; }
.receipt { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 14px 14px 0 0; max-width: 460px; width: 100%; box-shadow: 0 16px 36px -24px rgba(21,32,43,.4); margin-bottom: 12px; }
.receipt::after { content: ""; position: absolute; left: -1px; right: -1px; bottom: -12px; height: 12px; background: linear-gradient(-45deg, transparent 8px, #fff 0) 0 0 / 16px 12px repeat-x, linear-gradient(45deg, transparent 8px, #fff 0) 0 0 / 16px 12px repeat-x; }
.receipt__top { display: flex; justify-content: space-between; align-items: baseline; background: var(--yellow); color: var(--ink); padding: 14px 20px; border-radius: 14px 14px 0 0; }
.receipt__top b { font-size: 18px; font-weight: 800; }
.receipt__top span { font-size: 14px; font-weight: 700; }
.receipt__list { padding: 8px 20px; }
.receipt__list li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed #d5dce3; }
.receipt__list i { font-style: normal; font-weight: 700; color: var(--blue-d); flex: none; }
.receipt__list i::before { content: "✓ "; }
.receipt__sum { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 20px 4px; }
.receipt__sum span { font-weight: 700; color: var(--ink); }
.receipt__sum b { font-size: 30px; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }
.receipt__note { padding: 4px 20px 22px; font-size: 14px; color: var(--muted); }
@media (min-width: 900px) { .price { grid-template-columns: 6fr 5fr; align-items: center; gap: 64px; } .receipt { justify-self: end; } }

/* 진행 */
.steps { display: grid; gap: 12px; counter-reset: st; }
.steps li { position: relative; counter-increment: st; padding: 16px 16px 16px 64px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.steps li::before { content: counter(st); position: absolute; left: 16px; top: 16px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-d); color: #fff; font-weight: 800; }
.steps b { color: var(--ink); font-size: 17px; font-weight: 800; }
.steps p { font-size: 15px; margin-top: 2px; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .steps li { padding: 64px 18px 20px; }
  .steps li::before { left: 18px; top: 18px; }
  .steps li:not(:last-child)::after { content: "→"; position: absolute; right: -14px; top: 22px; color: var(--muted); font-weight: 700; z-index: 1; }
}

/* 자주 묻는 질문 */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; max-width: 820px; }
.faq details + details { margin-top: 10px; }
.faq summary { cursor: pointer; padding: 16px 48px 16px 18px; font-weight: 700; color: var(--ink); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--blue-d); font-weight: 600; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 18px 18px; }

/* 상담 */
.sec--last { padding-bottom: 72px; }
.msg { max-width: 560px; border: 1px solid var(--line); border-radius: 14px; padding: 18px; background: var(--tint); }
.msg__text { margin: 0 0 14px; padding: 14px 16px; background: #fff; border: 1px dashed #c3ccd5; border-radius: 10px; font: inherit; font-size: 16px; line-height: 1.9; color: var(--ink); white-space: pre-wrap; }
.msg__acts { display: flex; flex-wrap: wrap; gap: 10px; }
.msg__done { margin-top: 10px; font-size: 14px; font-weight: 700; color: var(--blue-dd); }
.contact > .acts { margin-top: 18px; }

/* 바닥 */
.ft { border-top: 1px solid var(--line); padding: 28px 0 96px; font-size: 14px; color: var(--muted); }
.ft__in p + p { margin-top: 4px; }
.ft__brand { font-weight: 700; color: var(--ink); }
.ft__brand a { color: inherit; text-decoration: none; }
.ft__links { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 10px !important; }
.ft__links a { color: var(--muted); }
@media (min-width: 900px) { .ft { padding-bottom: 36px; } }

/* 휴대폰 아래 고정 띠 — 바닥글이 보이면 숨김 */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; display: grid; grid-template-columns: 2fr 1fr; gap: 8px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); border-top: 1px solid var(--line); transition: transform .2s; }
.dock.is-hidden { transform: translateY(110%); }
@media (min-width: 900px) { .dock { display: none; } }
