:root {
  --navy: #0b1b33;
  --navy-2: #13284a;
  --accent: #ff6a13;
  --accent-d: #e25500;
  --ink: #16202e;
  --muted: #5b6778;
  --line: #e4e8ee;
  --bg: #f5f7fa;
  --card: #fff;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 4px 16px rgba(16, 24, 40, .06);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Pretendard Variable', Pretendard, -apple-system, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  word-break: keep-all;
  padding-bottom: 72px;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.3; margin: 0; letter-spacing: -.02em; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }

/* header */
.hd { position: sticky; top: 0; z-index: 20; background: var(--navy); color: #fff; }
.hd-in { display: flex; align-items: center; gap: 20px; height: 60px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.logo svg { width: 32px; height: 32px; }
.logo span { display: flex; flex-direction: column; line-height: 1.1; }
.logo b { font-size: 18px; }
.logo small { font-size: 11px; opacity: .6; letter-spacing: .08em; }
.nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; flex: 1; }
.nav::-webkit-scrollbar { display: none; }
.nav a { padding: 6px 10px; border-radius: 8px; text-decoration: none; font-size: 15px; white-space: nowrap; opacity: .85; }
.nav a:hover, .nav a[aria-current] { background: rgba(255, 255, 255, .1); opacity: 1; }
.hd-call { background: var(--accent); padding: 8px 14px; border-radius: 999px; text-decoration: none; font-weight: 700; white-space: nowrap; }
@media (max-width: 860px) {
  .hd-in { flex-wrap: wrap; height: auto; padding-top: 10px; gap: 6px 12px; }
  .hd-call { margin-left: auto; font-size: 14px; }
  .nav { order: 3; flex-basis: 100%; margin: 0 -16px; padding: 0 12px 8px; }
  .nav a { font-size: 14px; }
}

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: var(--accent); color: #fff; font-weight: 700; padding: 10px 18px; border-radius: 10px; text-decoration: none; border: 0; font: inherit; font-weight: 700; cursor: pointer; }
.btn:hover { background: var(--accent-d); }
.btn-lg { padding: 14px 24px; font-size: 18px; }
.btn-ghost { background: transparent; border: 1.5px solid currentColor; color: inherit; }
.btn-ghost:hover { background: rgba(127, 127, 127, .12); }
.btn-naver { background: #03c75a; }
.btn-naver:hover { background: #02a94c; }

/* hero */
.hero { background: radial-gradient(1000px 400px at 85% -10%, rgba(255, 106, 19, .35), transparent 60%), linear-gradient(160deg, var(--navy), var(--navy-2)); color: #fff; }
.hero-in { padding: 64px 16px 56px; }
.hero h1 { font-size: clamp(30px, 6vw, 52px); font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { font-size: clamp(16px, 2.2vw, 19px); opacity: .85; max-width: 640px; margin: 18px 0 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.eyebrow { color: var(--accent); font-weight: 700; font-size: 14px; margin: 0 0 10px; letter-spacing: .02em; }
.chips { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .15); padding: 6px 12px; border-radius: 999px; font-size: 14px; }

/* page head */
.phead { background: linear-gradient(160deg, var(--navy), var(--navy-2)); color: #fff; padding: 40px 0 36px; }
.phead h1 { font-size: clamp(24px, 4.5vw, 36px); font-weight: 800; }
.phead .lead { opacity: .85; margin: 12px 0 20px; max-width: 720px; }
.phead .btn { margin-top: 14px; }
.phead .lead + .btn { margin-top: 0; }

.crumbs { font-size: 13px; color: var(--muted); padding-top: 12px; padding-bottom: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs i { font-style: normal; opacity: .5; }
.crumbs span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60vw; }
.crumbs + .phead, .crumbs + .article { margin-top: 0; }

/* sections */
.sec { padding-top: 40px; padding-bottom: 8px; }
.h2 { font-size: clamp(20px, 3vw, 26px); font-weight: 800; margin-bottom: 18px; }
.h2 small { font-size: 15px; color: var(--accent); font-weight: 700; margin-left: 6px; }
.sec-hd { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.sec-hd a { color: var(--muted); text-decoration: none; font-size: 15px; white-space: nowrap; }
.empty { color: var(--muted); background: var(--card); border: 1px dashed var(--line); border-radius: var(--radius); padding: 24px; text-align: center; }

.grid { display: grid; gap: 14px; }
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); text-decoration: none; }
.svc { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
@media (max-width: 400px) { .svc { grid-template-columns: 1fr; } }
.svc-card { padding: 22px; display: flex; flex-direction: column; gap: 8px; border-top: 4px solid var(--accent); transition: transform .15s; }
.svc-card:hover, .post:hover { transform: translateY(-2px); }
.svc-card h3 { font-size: 19px; }
.svc-card p { margin: 0; color: var(--muted); flex: 1; }
.more { color: var(--accent); font-weight: 700; font-size: 14px; }
.points { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.point { padding: 20px; }
.point h3 { font-size: 17px; margin-bottom: 6px; }
.point h3::before { content: '✔ '; color: var(--accent); }
.point p { margin: 0; color: var(--muted); }

.posts { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.post { overflow: hidden; display: flex; flex-direction: column; transition: transform .15s; }
.thumb { aspect-ratio: 16 / 10; background: #dfe4ec; display: grid; place-items: center; font-size: 40px; overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-body { padding: 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.post h3 { font-size: 17px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post p { margin: 0; color: var(--muted); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; flex: 1; }
.post time { font-size: 13px; color: #8a94a3; }
@media (max-width: 400px) { .posts { grid-template-columns: 1fr; } }

.brands, .areas { display: flex; flex-wrap: wrap; gap: 8px; }
.brand-row { display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-items: start; margin-bottom: 14px; }
.brand-row h3 { font-size: 16px; padding-top: 8px; }
.brand-row h3 a { text-decoration: none; color: var(--accent); }
@media (max-width: 560px) { .brand-row { grid-template-columns: 1fr; gap: 8px; } .brand-row h3 { padding-top: 0; } }
.brands a, .areas a { background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; text-decoration: none; font-weight: 600; }
.brands a:hover, .areas a:hover { border-color: var(--accent); color: var(--accent); }
.brands em { font-style: normal; color: var(--accent); font-size: 13px; margin-left: 2px; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); counter-reset: s; }
.steps li { background: var(--card); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); counter-increment: s; display: flex; flex-direction: column; gap: 4px; }
.steps li::before { content: counter(s); width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 800; margin-bottom: 6px; }
.steps span { color: var(--muted); }

.faq { display: grid; gap: 10px; }
.faq details { background: var(--card); border-radius: 12px; box-shadow: var(--shadow); padding: 0 18px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none; position: relative; padding-right: 24px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 14px; font-size: 20px; color: var(--accent); }
.faq details[open] summary::after { content: '−'; }
.faq p { margin: 0 0 16px; color: var(--muted); }

.links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.links a { display: flex; justify-content: space-between; gap: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; text-decoration: none; font-weight: 600; }
.links a:hover { border-color: var(--accent); }
.links em { font-style: normal; color: var(--accent); font-size: 14px; white-space: nowrap; }

.cta { margin: 48px 0 40px; background: var(--navy); color: #fff; border-radius: 18px; padding: 28px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.cta strong { display: block; font-size: 21px; }
.cta span { opacity: .75; }

.prose p { font-size: 17px; margin: 0 0 14px; }
.search { display: flex; gap: 8px; margin-bottom: 16px; }
.search input { flex: 1; min-width: 0; font: inherit; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; }
.search input:focus { outline: none; border-color: var(--accent); }
.result { color: var(--muted); margin: 0 0 16px; }
.pager { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 28px; }
.pager a, .pager span { min-width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: var(--card); border: 1px solid var(--line); text-decoration: none; }
.pager span { background: var(--navy); color: #fff; border-color: var(--navy); }

/* article */
.article { max-width: 820px; padding-bottom: 8px; }
.article h1 { font-size: clamp(24px, 4vw, 34px); font-weight: 800; margin-bottom: 20px; }
.article figure { margin: 0 0 20px; border-radius: var(--radius); overflow: hidden; background: #dfe4ec; }
.article figure img { width: 100%; max-height: 560px; object-fit: contain; }
.article .btn-naver { margin: 8px 0 20px; }
.taglinks { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.taglinks a { color: var(--accent); text-decoration: none; font-weight: 600; }
.prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.prevnext a { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; text-decoration: none; font-size: 14px; }
.prevnext small { display: block; color: var(--muted); }
@media (max-width: 560px) { .prevnext { grid-template-columns: 1fr; } }

/* footer */
.ft { background: #0a1426; color: #b8c2d1; padding: 40px 0 24px; font-size: 14px; }
.ft-in { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.ft p { margin: 0 0 6px; }
.ft-name { color: #fff; font-weight: 800; font-size: 18px; }
.ft-name span { font-weight: 400; opacity: .5; font-size: 13px; }
.ft-nav { display: grid; grid-template-columns: repeat(2, auto); gap: 6px 20px; }
.ft a { text-decoration: none; }
.ft a:hover { color: #fff; }
.ft .ft-copy { margin: 24px auto 0; opacity: .5; }
.ic { width: 1.05em; height: 1.05em; flex-shrink: 0; vertical-align: -.15em; }
.hd-call { display: inline-flex; align-items: center; gap: 6px; }

/* bottom call bar */
.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(11, 27, 51, .96); backdrop-filter: blur(6px); }
.callbar a { text-decoration: none; color: #fff; font-weight: 800; border-radius: 12px; display: flex; align-items: center; justify-content: center; gap: 6px; height: 50px; font-size: 17px; }
.cb-call { flex: 1; background: var(--accent); }
.cb-sms { width: 96px; background: rgba(255, 255, 255, .14); }
@media (min-width: 861px) { .callbar { left: auto; right: 20px; bottom: 20px; border-radius: 16px; width: 380px; } }
