/* =========================================================
   테마: 고급 차콜 그레이 + 네온 포인트
   색을 바꾸고 싶으면 아래 :root 값만 수정하면 됩니다.
   ========================================================= */
:root {
  /* 배경 (그레이) */
  --bg: #1b1d21;          /* 페이지 기본 */
  --bg-alt: #212328;      /* 교차 섹션 */
  --bg-deep: #141518;     /* 상단바·푸터 */
  --card: #282b31;        /* 카드 */
  --card-2: #30333a;      /* 카드 hover / 입력칸 */
  --line: #3a3e46;        /* 테두리 */

  /* 글자 */
  --ink: #f1f3f6;         /* 본문 (밝은 화이트) */
  --ink-2: #b9bfc9;       /* 보조 설명 */
  --muted: #8b929d;

  /* 네온 */
  --neon: #00f0ff;        /* 네온 시안 — 제목 포인트·링크 */
  --neon-2: #39ff8f;      /* 네온 그린 — 체크 표시 */
  --neon-3: #ff3cac;      /* 네온 핑크 — 경고·강조 */
  --call: #d6ff1f;        /* 네온 라임 — 전화 버튼 */
  --call-dark: #c2ec00;
  --call-ink: #121417;    /* 라임 버튼 위 글자 */

  --radius: 14px;
  --shadow: 0 8px 28px rgba(0, 0, 0, .35);
  --glow: 0 0 18px rgba(0, 240, 255, .35);
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--bg); }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.7; font-size: 16px; word-break: keep-all; overflow-wrap: anywhere; }
img { max-width: 100%; height: auto; }
a { color: var(--neon); }
h1, h2, h3 { line-height: 1.3; letter-spacing: -.02em; color: #fff; }
::selection { background: var(--neon); color: #000; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 780px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 8px; top: 8px; z-index: 100; background: var(--card); color: var(--neon); padding: 8px 12px; }
:focus-visible { outline: 2px solid var(--neon); outline-offset: 2px; }

/* 버튼 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; padding: .7em 1.2em; border-radius: 999px; text-decoration: none; border: 2px solid transparent; cursor: pointer; font: inherit; font-weight: 800; transition: transform .1s, background .2s, box-shadow .2s; }
.btn:active { transform: translateY(1px); }
.btn-call { background: var(--call); color: var(--call-ink); box-shadow: 0 0 22px rgba(214, 255, 31, .35); }
.btn-call:hover { background: var(--call-dark); box-shadow: 0 0 30px rgba(214, 255, 31, .55); }
.btn-ghost { background: transparent; color: var(--neon); border-color: var(--neon); }
.btn-ghost:hover { background: rgba(0, 240, 255, .1); box-shadow: var(--glow); }
.btn-lg { padding: .9em 1.5em; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btns { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.4rem; }

/* 상단 */
.topbar { background: var(--bg-deep); color: var(--ink-2); font-size: .85rem; border-bottom: 1px solid #23262b; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 1rem; }
.topbar strong { color: var(--neon); text-shadow: 0 0 10px rgba(0,240,255,.5); }
.topbar-tel { color: var(--call); font-weight: 800; text-decoration: none; white-space: nowrap; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(27, 29, 33, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.logo { display: flex; align-items: center; gap: .5rem; text-decoration: none; color: #fff; font-weight: 800; font-size: 1.2rem; }
.logo-mark { display: inline-flex; }
.logo-mark .rocket { width: 40px; height: 40px; filter: drop-shadow(0 0 5px rgba(0,240,255,.55)); }
.logo-text { font-style: italic; letter-spacing: -.03em; }
/* 로고에 마우스를 올리면 로켓이 살짝 날아오름 */
.logo .rocket { transition: transform .3s cubic-bezier(.2,.8,.2,1.4); }
.logo:hover .rocket { transform: translate(3px, -3px); }
.rocket .flame { transform-box: fill-box; transform-origin: 50% 0; animation: flame .35s ease-in-out infinite alternate; }
@keyframes flame { from { transform: scaleY(.8); opacity: .85; } to { transform: scaleY(1.1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .rocket .flame { animation: none; } }
.site-nav { display: flex; align-items: center; gap: 1.2rem; }
.site-nav ul { display: flex; gap: .3rem; list-style: none; margin: 0; padding: 0; }
.site-nav ul a { display: block; padding: .5rem .8rem; color: var(--ink); text-decoration: none; font-weight: 600; border-radius: 8px; }
.site-nav ul a:hover, .site-nav ul a[aria-current] { color: var(--neon); background: rgba(0, 240, 255, .08); text-shadow: 0 0 8px rgba(0,240,255,.5); }
.nav-call { padding: .55em 1em; font-size: .95rem; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

/* 브레드크럼 */
.crumbs { background: var(--bg-alt); border-bottom: 1px solid var(--line); font-size: .85rem; }
.crumbs ol { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: .55rem 0; gap: .3rem; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: .3rem; color: var(--muted); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--neon); }

/* 히어로 */
.hero, .page-hero {
  color: var(--ink);
  background:
    radial-gradient(800px 360px at 85% 0%, rgba(0, 240, 255, .14), transparent 60%),
    radial-gradient(600px 300px at 0% 100%, rgba(214, 255, 31, .08), transparent 60%),
    linear-gradient(160deg, #2a2d33 0%, #1b1d21 70%);
  border-bottom: 1px solid var(--line);
}
.hero { padding: 3.5rem 0 3.8rem; }
.hero-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2.5rem; align-items: center; }
.hero-badge { display: inline-block; background: rgba(0, 240, 255, .08); border: 1px solid rgba(0, 240, 255, .45); color: var(--ink); padding: .3rem .9rem; border-radius: 999px; font-size: .9rem; margin: 0 0 1rem; }
.hero-badge strong { color: var(--neon); }
.hero h1 { font-size: clamp(2.3rem, 6vw, 3.6rem); margin: 0 0 1rem; color: #fff; text-shadow: 0 0 24px rgba(0, 240, 255, .45); }
.h1-sub { display: block; font-size: clamp(1.05rem, 2.6vw, 1.4rem); font-weight: 700; color: var(--neon); margin-top: .4rem; letter-spacing: 0; text-shadow: 0 0 12px rgba(0,240,255,.5); }
.hero-247 { margin: -.2rem 0 1.2rem; }
.hero-247 a { display: inline-flex; align-items: center; gap: .6rem; padding: .55rem 1.1rem; border: 2px solid var(--call); border-radius: 12px; background: rgba(214, 255, 31, .1); color: #fff; font-size: clamp(1.08rem, 2.8vw, 1.35rem); font-weight: 800; text-decoration: none; box-shadow: 0 0 22px rgba(214, 255, 31, .3), inset 0 0 14px rgba(214, 255, 31, .08); transition: background .2s, box-shadow .2s; }
.hero-247 a:hover { background: rgba(214, 255, 31, .18); box-shadow: 0 0 32px rgba(214, 255, 31, .5); }
.hero-247 strong { color: var(--call); text-shadow: 0 0 12px rgba(214, 255, 31, .7); }
.hero-247 .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--neon-2); box-shadow: 0 0 0 0 rgba(57, 255, 143, .7); animation: live 1.6s infinite; flex: none; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(57,255,143,.7); } 70% { box-shadow: 0 0 0 10px rgba(57,255,143,0); } 100% { box-shadow: 0 0 0 0 rgba(57,255,143,0); } }
@media (prefers-reduced-motion: reduce) { .hero-247 .dot { animation: none; } }
.lead { font-size: 1.12rem; color: var(--ink-2); margin: 0; }
.lead strong { color: var(--call); }
.checks { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: .4rem 1rem; color: var(--ink); }
.checks li::before { content: "✓"; color: var(--neon-2); font-weight: 800; margin-right: .45rem; text-shadow: 0 0 8px rgba(57,255,143,.7); }
.checks.light { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }
.hero-card { background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.04); }
.hero-card-title { font-weight: 800; font-size: 1.1rem; margin: 0 0 .8rem; color: var(--neon); }
.hero-card ul { list-style: none; padding: 0; margin: 0; }
.hero-card li { padding: .6rem 0 .6rem 1.8rem; border-bottom: 1px dashed var(--line); position: relative; }
.hero-card li:last-child { border-bottom: 0; }
.hero-card li::before { content: "!"; position: absolute; left: 0; top: .68rem; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: rgba(255, 60, 172, .15); color: var(--neon-3); font-weight: 800; font-size: .8rem; display: grid; place-items: center; }

.page-hero { padding: 2.8rem 0; }
.page-hero h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); margin: 0 0 .7rem; text-shadow: 0 0 20px rgba(0, 240, 255, .4); }
.page-hero h1 small { font-size: .55em; color: var(--neon); }
.page-hero p { color: var(--ink-2); margin: 0; max-width: 760px; font-size: 1.05rem; }
.eyebrow { font-size: .85rem; font-weight: 800; color: var(--neon); letter-spacing: .06em; margin: 0 0 .4rem; }
.eyebrow.light { color: var(--call); }
.eyebrow a { color: inherit; text-decoration: none; }

/* 섹션 */
.section { padding: 3.5rem 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid #26292e; border-bottom: 1px solid #26292e; }
.sec-head { margin-bottom: 1.8rem; }
.sec-head h2 { font-size: clamp(1.5rem, 3.6vw, 2rem); margin: 0 0 .5rem; }
.h2-note { display: inline-block; font-size: .5em; font-weight: 600; color: var(--ink-2); letter-spacing: 0; vertical-align: middle; margin-left: .3em; }
.sec-head p { color: var(--ink-2); margin: 0; max-width: 760px; }
.sec-head.row { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; }
.link-more { font-weight: 800; text-decoration: none; white-space: nowrap; color: var(--neon); }

.cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); transition: border-color .2s, box-shadow .2s, transform .2s; }
.card > a { display: block; height: 100%; padding: 1.4rem; color: inherit; text-decoration: none; border-radius: inherit; }
.card:hover { border-color: var(--neon); box-shadow: var(--glow); transform: translateY(-2px); }
.card h3 { margin: .2rem 0 .5rem; font-size: 1.15rem; }
.card p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.svc-cards { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.card-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: rgba(0, 240, 255, .08); border: 1px solid rgba(0, 240, 255, .3); margin-bottom: .5rem; }
.card-icon svg { width: 28px; height: 28px; fill: none; stroke: var(--neon); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 3px rgba(0,240,255,.6)); }
.more { display: inline-block; margin-top: .8rem; color: var(--call); font-weight: 800; font-size: .9rem; }
.points { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.points .card { padding: 1.4rem; border-top: 3px solid var(--neon); }
.points .card h3 { color: var(--neon); }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; position: relative; }
.step-no { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: transparent; border: 2px solid var(--call); color: var(--call); font-weight: 800; box-shadow: 0 0 12px rgba(214,255,31,.35); }
.steps h3 { font-size: 1.05rem; margin: .7rem 0 .4rem; }
.steps p { margin: 0; color: var(--ink-2); font-size: .92rem; }

.area-dir { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.area-group { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; }
.area-group h3 { margin: 0 0 .6rem; font-size: 1.05rem; }
.area-group h3 a { color: var(--neon); text-decoration: none; }
.area-group ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .25rem .7rem; font-size: .92rem; }
.area-group ul a { color: var(--ink-2); text-decoration: none; }
.area-group ul a:hover { color: var(--call); text-decoration: underline; }
.note { color: var(--muted); font-size: .9rem; margin-top: 1.2rem; }

.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips a { display: inline-block; padding: .45rem .9rem; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; font-size: .92rem; background: var(--card); }
.chips a:hover { border-color: var(--neon); color: var(--neon); box-shadow: var(--glow); }
.chips.big a { padding: .6rem 1.1rem; font-size: 1rem; }

.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; margin-bottom: .6rem; }
.faq details[open] { border-color: rgba(0,240,255,.5); }
.faq summary { cursor: pointer; padding: 1rem 1.2rem; font-weight: 700; list-style: none; position: relative; padding-right: 2.5rem; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; color: var(--neon); margin-right: .5rem; font-weight: 800; }
.faq summary::after { content: "+"; position: absolute; right: 1.2rem; top: .85rem; font-size: 1.3rem; color: var(--neon); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0; padding: 0 1.2rem 1.1rem; color: var(--ink-2); }

.cta-band { background: radial-gradient(700px 260px at 50% 0%, rgba(0,240,255,.12), transparent 70%), var(--bg-deep); color: var(--ink); padding: 3rem 0; text-align: center; border-top: 1px solid var(--line); }
.cta-band h2 { margin: 0 0 .6rem; font-size: clamp(1.4rem, 3.6vw, 1.9rem); text-shadow: 0 0 18px rgba(0,240,255,.35); }
.cta-band p { margin: 0 auto; max-width: 640px; color: var(--ink-2); }
.cta-band strong { color: var(--call); }
.cta-band .btns { justify-content: center; }

/* 본문 (서비스 상세·칼럼) */
.prose { font-size: 1.06rem; color: var(--ink); }
.prose h2 { font-size: 1.5rem; margin: 2.4rem 0 .8rem; padding-bottom: .4rem; border-bottom: 2px solid rgba(0,240,255,.35); color: var(--neon); }
.prose h3 { font-size: 1.22rem; margin: 1.8rem 0 .6rem; color: var(--call); }
.prose h4 { font-size: 1.05rem; margin: 1.4rem 0 .4rem; }
.prose p { margin: 0 0 1.1rem; }
.prose strong { color: #fff; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1.2rem; }
.prose li { margin: .3rem 0; }
.prose li::marker { color: var(--neon); }
.prose blockquote { margin: 1.4rem 0; padding: 1rem 1.2rem; background: var(--card); border-left: 4px solid var(--neon); border-radius: 0 10px 10px 0; color: var(--ink-2); }
.prose blockquote p { margin: 0; }
.prose figure { margin: 1.6rem 0; }
.prose figure img, .prose p img { border-radius: 12px; display: block; }
.prose figcaption { font-size: .88rem; color: var(--muted); text-align: center; margin-top: .5rem; }
.prose mark { background: rgba(214,255,31,.2); color: var(--call); padding: 0 .2em; border-radius: 3px; }
.prose code { background: var(--card-2); padding: .1em .35em; border-radius: 4px; font-size: .92em; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
.checklist { list-style: none; padding: 0 !important; }
.checklist li { padding-left: 1.7rem; position: relative; }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--neon-2); font-weight: 800; text-shadow: 0 0 8px rgba(57,255,143,.6); }
.callout { border-radius: var(--radius); padding: 1.2rem 1.4rem; margin: 2rem 0; }
.callout.warn { background: rgba(255, 60, 172, .07); border: 1px solid rgba(255, 60, 172, .45); }
.callout h3 { margin: 0 0 .5rem; color: var(--neon-3) !important; }
.callout ul { margin: 0; }

/* 칼럼 */
.post-cards { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.post-card > a { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.post-thumb { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; background: var(--card-2); }
.post-thumb-empty { display: grid; place-items: center; color: var(--neon); font-weight: 800; letter-spacing: .15em; background: radial-gradient(circle at 50% 50%, rgba(0,240,255,.15), transparent 70%), #222429; text-shadow: 0 0 12px rgba(0,240,255,.7); }
.post-body { padding: 1.1rem 1.2rem 1.3rem; }
.post-body h3 { font-size: 1.08rem; margin: 0 0 .4rem; }
.post-body time { display: block; font-size: .82rem; color: var(--muted); margin-top: .6rem; }
.empty { color: var(--ink-2); padding: 2rem 0; text-align: center; }
.pager { display: flex; justify-content: center; gap: .3rem; margin-top: 2rem; }
.pager a, .pager span { min-width: 40px; height: 40px; display: grid; place-items: center; border-radius: 8px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); background: var(--card); }
.pager span { background: var(--neon); color: #000; border-color: var(--neon); font-weight: 800; }

.post-head { padding: 2.6rem 0 1.4rem; border-bottom: 1px solid var(--line); margin-bottom: 2rem; }
.post-head h1 { font-size: clamp(1.7rem, 4.6vw, 2.4rem); margin: 0 0 .8rem; }
.post-meta { color: var(--muted); font-size: .9rem; margin: 0; }
.post-cover { margin: 0 0 2rem; }
.post-cover img { border-radius: var(--radius); width: 100%; }
.toc { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.3rem; margin-bottom: 2rem; }
.toc p { margin: 0 0 .4rem; font-weight: 800; color: var(--neon); }
.toc ol { margin: 0; padding-left: 1.2rem; }
.toc .lv3 { margin-left: 1rem; list-style: circle; }
.toc a { color: var(--ink); text-decoration: none; }
.toc a:hover { color: var(--neon); }
.tags { list-style: none; padding: 0; margin: 2rem 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.tags a { font-size: .88rem; color: var(--neon); background: rgba(0,240,255,.08); border: 1px solid rgba(0,240,255,.3); padding: .25rem .7rem; border-radius: 999px; text-decoration: none; }
.post-cta { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; background: var(--card); border: 1px solid rgba(214,255,31,.45); border-radius: var(--radius); padding: 1.2rem 1.4rem; margin: 2rem 0; }
.post-cta p { margin: 0; }
.post-cta strong { color: var(--call); }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 2rem 0 3rem; }
.post-nav a { display: block; border: 1px solid var(--line); background: var(--card); border-radius: 12px; padding: .9rem 1rem; text-decoration: none; color: var(--ink); font-weight: 600; }
.post-nav a:hover { border-color: var(--neon); }
.post-nav a span { display: block; font-size: .8rem; color: var(--neon); font-weight: 600; }
.post-nav .next { text-align: right; }
.preview-banner { background: var(--neon-3); color: #fff; text-align: center; padding: .5rem; font-weight: 800; }

/* 푸터 */
.site-footer { background: var(--bg-deep); color: var(--muted); padding: 3rem 0 6rem; font-size: .92rem; border-top: 1px solid var(--line); }
.site-footer a { color: var(--ink-2); text-decoration: none; }
.site-footer a:hover { color: var(--neon); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.foot-brand { color: #fff; font-weight: 800; font-size: 1.2rem; margin: 0 0 .5rem; }
.foot-tel { font-size: 1.4rem; font-weight: 800; color: var(--call) !important; text-shadow: 0 0 12px rgba(214,255,31,.4); }
.foot-title { color: var(--neon); font-weight: 800; margin: 0 0 .5rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: .2rem 0; }
.foot-areas { display: flex; flex-wrap: wrap; gap: .2rem .8rem; }
.foot-biz { border-top: 1px solid var(--line); margin-top: 2rem; padding-top: 1.2rem; font-size: .82rem; color: var(--muted); }
.foot-slogan { display: inline-block; margin-left: .4rem; font-size: .8rem; font-weight: 800; color: var(--call-ink); background: var(--call); padding: .1rem .55rem; border-radius: 999px; vertical-align: middle; }
.biz-info { display: flex; flex-wrap: wrap; gap: .2rem 0; margin-bottom: .5rem !important; }
.biz-info li { margin: 0 !important; }
.biz-info li + li::before { content: "|"; margin: 0 .6rem; color: var(--line); }

/* 하단 고정 상담바 */
.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; gap: 1px; background: var(--line); box-shadow: 0 -4px 24px rgba(0,0,0,.5); padding-bottom: env(safe-area-inset-bottom); }
.callbar a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 58px; text-decoration: none; font-weight: 800; color: var(--neon); background: var(--card); }
.callbar-tel { flex: 2 !important; background: var(--call) !important; color: var(--call-ink) !important; }
.callbar-tel span { font-size: .85rem; font-weight: 700; }
.callbar-kakao { background: #fee500 !important; color: #191919 !important; }
@media (min-width: 900px) {
  .callbar { left: auto; right: 24px; bottom: 24px; border-radius: 999px; overflow: hidden; width: 380px; border: 1px solid var(--line); box-shadow: 0 0 28px rgba(214,255,31,.25), 0 10px 30px rgba(0,0,0,.5); }
  .site-footer { padding-bottom: 3rem; }
}

@media (max-width: 1000px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg-alt); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: .6rem 16px 1rem; gap: .6rem; }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; }
}
/* 가격표·정보표 */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.price-table, .info-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.info-table { min-width: 0; }
.price-table th, .price-table td, .info-table th, .info-table td { padding: .85rem 1rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.price-table tr:last-child > *, .info-table tr:last-child > * { border-bottom: 0; }
.price-table thead th { font-size: .85rem; color: var(--ink-2); background: var(--bg-alt); white-space: nowrap; }
.price-table tbody th { white-space: nowrap; }
.price-table tbody th a { color: var(--ink); text-decoration: none; font-weight: 700; }
.price-table tbody th a:hover { color: var(--neon); }
.price-table .price { color: var(--call); font-weight: 800; white-space: nowrap; }
.info-table th { width: 9rem; color: var(--ink-2); font-weight: 600; background: var(--bg-alt); }
.prose .table-scroll { margin: 0 0 1.4rem; }
.prose table { width: 100%; border-collapse: collapse; min-width: 480px; font-size: .97rem; }
.prose table th, .prose table td { padding: .7rem .9rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose table thead th { background: var(--bg-alt); color: var(--neon); font-size: .88rem; white-space: nowrap; }
.prose table tbody th { color: #fff; font-weight: 700; }
.prose table tr:last-child > * { border-bottom: 0; }
.answer { margin: 0 0 .8rem !important; font-size: 1.08rem; }
.answer strong { color: #fff; }
.faq-nav { margin-top: 1.2rem; }
/* 반응형 */
@media (max-width: 960px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .topbar span { font-size: .78rem; }
  .hero { padding: 2.4rem 0; }
  .checks { grid-template-columns: 1fr; }
  .btns .btn { flex: 1 1 100%; }
  .section { padding: 2.6rem 0; }
  .steps { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav .next { text-align: left; }
  .sec-head.row { flex-direction: column; align-items: flex-start; }
}

/* ===== 관리자 ===== */
.admin { background: var(--bg); }
.admin-top { background: var(--bg-deep); color: var(--ink); border-bottom: 1px solid var(--line); }
.admin-top .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 58px; gap: 1rem; flex-wrap: wrap; }
.admin-top .logo { color: #fff; font-size: 1.05rem; }
.admin-top nav { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.admin-top nav a:not(.btn), .admin-top .linklike { color: var(--ink-2); text-decoration: none; }
.admin-top form { margin: 0; }
.admin-top .btn { padding: .45em 1em; }
.admin-main { padding-top: 1.6rem; padding-bottom: 4rem; }
.admin-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.admin-head h1 { margin: 0; font-size: 1.5rem; }
.admin-head small { color: var(--ink-2); font-size: .9rem; font-weight: 500; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--neon); cursor: pointer; }
.linklike.danger, .danger { color: var(--neon-3); }
.table-wrap { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td { padding: .8rem 1rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; white-space: nowrap; }
.admin-table th { font-size: .85rem; color: var(--ink-2); background: var(--bg-alt); }
.t-title { white-space: normal !important; min-width: 260px; }
.t-title a { font-weight: 700; color: var(--ink); text-decoration: none; }
.t-title small { display: block; color: var(--muted); }
.t-act { display: flex; gap: .8rem; align-items: center; }
.t-act form { margin: 0; }
.badge { display: inline-block; font-size: .78rem; font-weight: 800; padding: .2rem .6rem; border-radius: 999px; }
.badge.green { background: rgba(57,255,143,.12); color: var(--neon-2); }
.badge.gray { background: var(--card-2); color: var(--ink-2); }
.badge.blue { background: rgba(0,240,255,.12); color: var(--neon); }
.flash { background: rgba(57,255,143,.1); border: 1px solid rgba(57,255,143,.4); color: var(--neon-2); padding: .8rem 1rem; border-radius: 10px; font-weight: 700; }
.alert { background: rgba(255,60,172,.1); border: 1px solid rgba(255,60,172,.45); color: #ff8ccc; padding: .8rem 1rem; border-radius: 10px; }
.tip { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.5rem; margin-top: 2rem; }
.tip h2 { font-size: 1.1rem; margin-top: 0; color: var(--neon); }
.tip li { margin: .3rem 0; color: var(--ink-2); }
.tip strong { color: var(--ink); }
.login-box { max-width: 380px; margin: 3rem auto; background: var(--card); border: 1px solid var(--line); padding: 2rem; border-radius: var(--radius); box-shadow: var(--shadow); }
.login-box h1 { margin-top: 0; font-size: 1.4rem; }
.login-box label { display: block; font-weight: 600; margin-bottom: 1rem; }
.login-box input { display: block; width: 100%; margin-top: .4rem; }
.login-box .btn { width: 100%; }

.editor { display: grid; grid-template-columns: 1fr 320px; gap: 1.2rem; align-items: start; }
.ed-main, .box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; }
.ed-side { display: grid; gap: 1rem; position: sticky; top: 1rem; }
.box h2 { font-size: 1rem; margin: 0 0 .8rem; color: var(--neon); }
.fld { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .9rem; }
.fld small { font-weight: 400; color: var(--muted); }
.fld input, .fld textarea, .fld select { margin-top: .35rem; }
input[type=text], input:not([type]), input[type=password], input[type=datetime-local], textarea, select { width: 100%; font: inherit; padding: .6rem .75rem; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--ink); color-scheme: dark; }
input::placeholder, textarea::placeholder { color: #6f7680; }
input:focus, textarea:focus, select:focus { outline: 2px solid var(--neon); outline-offset: -1px; border-color: transparent; }
#title { font-size: 1.3rem; font-weight: 700; }
#content { font-family: var(--font); line-height: 1.8; min-height: 480px; resize: vertical; }
#content.drag { outline: 3px dashed var(--neon); }
.count { float: right; font-weight: 500; font-size: .8rem; color: var(--muted); }
.count.over { color: var(--neon-3); }
.ed-tabs { display: flex; gap: .3rem; margin: .4rem 0 .6rem; }
.ed-tabs button { border: 1px solid var(--line); background: var(--bg); color: var(--ink); padding: .45rem 1rem; border-radius: 8px; cursor: pointer; font: inherit; }
.ed-tabs button.on { background: var(--neon); color: #000; border-color: var(--neon); font-weight: 800; }
.toolbar { display: flex; flex-wrap: wrap; gap: .3rem; padding: .5rem; background: var(--bg-alt); border: 1px solid var(--line); border-bottom: 0; border-radius: 8px 8px 0 0; }
.toolbar button, .tb-upload { border: 1px solid var(--line); background: var(--card-2); color: var(--ink); padding: .35rem .7rem; border-radius: 6px; cursor: pointer; font: inherit; font-size: .88rem; }
.toolbar button:hover { border-color: var(--neon); color: var(--neon); }
.tb-upload { background: rgba(214,255,31,.12); color: var(--call); border-color: rgba(214,255,31,.4); font-weight: 800; }
.toolbar + textarea { border-radius: 0 0 8px 8px; }
.preview { min-height: 480px; border: 1px solid var(--line); border-radius: 8px; padding: 1rem 1.4rem; background: var(--bg); }
.hint { font-size: .85rem; color: var(--muted); margin: .5rem 0 0; }
.radio { display: block; margin-bottom: .5rem; }
input[type=radio] { accent-color: var(--neon); }
#thumb-preview { border-radius: 8px; margin-bottom: .6rem; }
.seo-check { list-style: none; padding: 0; margin: 0; font-size: .85rem; }
.seo-check li { padding: .2rem 0; }
.seo-check .ok { color: var(--neon-2); }
.seo-check .ok::before { content: "✓ "; }
.seo-check .no { color: var(--ink-2); }
.seo-check .no::before { content: "△ "; color: var(--neon-3); }
@media (max-width: 960px) { .editor { grid-template-columns: 1fr; } .ed-side { position: static; } }
