/* DevTeam Korea — 공개 사이트 스타일 (프레임워크 없이 직접 작성, 빌드 불필요)
   브랜드: 로고 그린 #46BA81 · 네이비 #122438
   글꼴: 웹폰트 없이 시스템 글꼴 사용(한글 웹폰트는 페이지당 수백 KB라 첫 화면을 늦춘다).
   Pretendard 를 설치한 사용자에게는 그대로 Pretendard 가 쓰인다. */

/* ── 1. 토큰 ─────────────────────────────────────────── */
:root {
    --ink: #0f1b2d;
    --ink-2: #334155;
    --muted: #5b6b80;
    --line: #e3e8ef;
    --line-2: #cfd8e3;
    --bg: #ffffff;
    --bg-soft: #f5f7fa;
    --bg-mint: #ecf8f2;
    --navy: #122438;
    --navy-2: #1b3352;
    --navy-3: #0a1628;
    --green: #46ba81;
    --green-600: #17804e;
    --green-700: #106b40;
    --green-50: #eef9f3;
    --green-100: #d6f1e3;
    --red: #d6363b;
    --red-50: #fdeeee;
    --red-700: #b3262b;
    --amber-50: #fff7e6;
    --radius: 18px;
    --radius-sm: 12px;
    --radius-xs: 8px;
    --shadow-sm: 0 1px 2px rgba(15, 27, 45, .06);
    --shadow: 0 1px 2px rgba(15, 27, 45, .05), 0 10px 30px -12px rgba(15, 27, 45, .14);
    --shadow-lg: 0 24px 60px -24px rgba(15, 27, 45, .28);
    --container: 1200px;
    --gutter: clamp(16px, 4vw, 32px);
    --header-h: 68px;
    --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "맑은 고딕", "Noto Sans KR", system-ui, sans-serif;
    --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

/* ── 2. 베이스 ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.7;
    color: var(--ink);
    background: var(--bg);
    word-break: keep-all;
    overflow-wrap: break-word;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p, ul, ol, dl, figure, blockquote { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
h1, h2, h3, h4 { margin: 0; line-height: 1.3; letter-spacing: -0.02em; color: var(--ink); font-weight: 750; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--green) 70%, white); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--green-100); }
.i { width: 1.15em; height: 1.15em; flex: none; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: calc(820px + var(--gutter) * 2); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { top: 12px; }

/* ── 3. 타이포 유틸 ──────────────────────────────────── */
.eyebrow { display: inline-flex; align-items: center; gap: .45em; font-size: .82rem; font-weight: 700; letter-spacing: .02em; color: var(--green-700); }
.eyebrow .i { width: 1em; height: 1em; }
.lead { font-size: clamp(1.02rem, .95rem + .3vw, 1.15rem); color: var(--ink-2); line-height: 1.75; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.text-center { text-align: center; }
.h1 { font-size: clamp(2rem, 1.35rem + 2.6vw, 3.25rem); line-height: 1.22; letter-spacing: -0.03em; font-weight: 800; }
.h2 { font-size: clamp(1.55rem, 1.2rem + 1.4vw, 2.25rem); line-height: 1.28; font-weight: 780; }
.h3 { font-size: clamp(1.15rem, 1.05rem + .4vw, 1.35rem); font-weight: 720; }
.hl { color: var(--green-600); }
.stack > * + * { margin-top: var(--stack, 1rem); }

/* ── 4. 버튼 ─────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    min-height: 46px; padding: .7em 1.25em; border-radius: 12px;
    font-weight: 700; font-size: .98rem; line-height: 1.2; white-space: nowrap;
    border: 1px solid transparent; cursor: pointer;
    transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--green-600); color: #fff; box-shadow: 0 8px 20px -10px rgba(23, 128, 78, .7); }
.btn-primary:hover { background: var(--green-700); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-outline:hover { border-color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--bg-soft); }
.btn-light { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .28); }
.btn-light:hover { background: rgba(255, 255, 255, .18); }
.btn-danger { background: var(--red); color: #fff; }
.btn-danger:hover { background: #b92c31; }
.btn-lg { min-height: 54px; padding: .85em 1.5em; font-size: 1.05rem; border-radius: 14px; }
.btn-sm { min-height: 38px; padding: .5em .9em; font-size: .9rem; border-radius: 10px; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.link-arrow { display: inline-flex; align-items: center; gap: .35em; font-weight: 700; color: var(--green-700); }
.link-arrow .i { transition: transform .15s; width: 1em; height: 1em; }
.link-arrow:hover .i { transform: translateX(3px); }

/* ── 5. 헤더 · 내비게이션 ────────────────────────────── */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px);
    border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { width: 132px; height: auto; }
.main-nav { display: flex; align-items: center; flex: 1; gap: 16px; }
.nav-list { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav-link {
    display: inline-flex; align-items: center; gap: .3em; padding: 9px 12px; border-radius: 10px;
    font-weight: 650; font-size: .97rem; color: var(--ink-2); cursor: pointer; list-style: none;
}
.nav-link:hover, .nav-dd[open] > .nav-link, .nav-link[aria-current="page"] { color: var(--ink); background: var(--bg-soft); }
.nav-link .i { width: .95em; height: .95em; transition: transform .15s; }
.nav-dd { position: relative; }
.nav-dd > summary::-webkit-details-marker { display: none; }
.nav-dd[open] > summary .i { transform: rotate(180deg); }
.nav-cta { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav-emergency { color: var(--red-700); }
.nav-emergency:hover { background: var(--red-50); }
.nav-toggle { display: none; width: 44px; height: 44px; margin-left: -6px; border: 0; border-radius: 12px; background: transparent; color: var(--ink); align-items: center; justify-content: center; cursor: pointer; }
.nav-toggle:hover { background: var(--bg-soft); }
.nav-toggle .i { width: 24px; height: 24px; }
.header-cta-m { display: none; margin-left: auto; }

.mega, .menu {
    position: absolute; top: calc(100% + 10px); left: 0; z-index: 60;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
.mega { display: grid; grid-template-columns: repeat(3, minmax(230px, 1fr)); gap: 8px 20px; padding: 18px; width: min(860px, 92vw); left: -120px; }
.menu { min-width: 260px; padding: 8px; }
.mega-title { font-size: .78rem; font-weight: 750; color: var(--muted); letter-spacing: .03em; padding: 6px 10px 4px; }
.mega-link { display: flex; gap: 12px; align-items: flex-start; padding: 10px; border-radius: 12px; }
.mega-link:hover { background: var(--bg-soft); }
.mega-link > .i { margin-top: 3px; color: var(--green-600); width: 20px; height: 20px; }
.mega-link strong { display: block; font-size: .95rem; font-weight: 700; color: var(--ink); line-height: 1.35; }
.mega-link small { display: block; font-size: .83rem; color: var(--muted); line-height: 1.45; margin-top: 2px; }
.mega-link.is-emergency > .i { color: var(--red); }

@media (max-width: 1023.98px) {
    .header-inner { gap: 10px; }
    .main-nav { display: none; }
    .nav-toggle, .header-cta-m { display: inline-flex; }
}

/* ── 5-1. 모바일 오프캔버스 (왼쪽에서 열림) ─────────────
   헤더의 backdrop-filter 가 fixed 요소의 기준 상자가 되는 문제를 피하려고 헤더 밖에 둔다. */
.offcanvas-backdrop {
    position: fixed; inset: 0; z-index: 999; background: rgba(10, 22, 40, .55);
    opacity: 0; visibility: hidden; transition: opacity .28s ease, visibility 0s linear .28s;
}
.offcanvas {
    position: fixed; top: 0; bottom: 0; left: 0; z-index: 1000;
    width: min(86vw, 360px); display: flex; flex-direction: column;
    background: #fff; box-shadow: 16px 0 48px -12px rgba(10, 22, 40, .35);
    transform: translateX(-100%); visibility: hidden;
    transition: transform .28s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .28s;
}
.nav-open .offcanvas-backdrop { opacity: 1; visibility: visible; transition: opacity .28s ease, visibility 0s; }
.nav-open .offcanvas { transform: none; visibility: visible; transition: transform .28s cubic-bezier(.2, .8, .2, 1), visibility 0s; }
html.nav-open, html.nav-open body { overflow: hidden; }
.oc-head { flex: none; display: flex; align-items: center; justify-content: space-between; height: var(--header-h); padding: 0 12px 0 20px; border-bottom: 1px solid var(--line); }
.oc-head img { width: 120px; }
.oc-close { width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--bg-soft); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.oc-close .i { width: 22px; height: 22px; }
.oc-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 10px 12px 18px; -webkit-overflow-scrolling: touch; }
.oc-link, .oc-group > summary {
    display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 10px;
    font-size: 1.06rem; font-weight: 720; color: var(--ink); border-radius: 12px; cursor: pointer; list-style: none;
}
.oc-group > summary::-webkit-details-marker { display: none; }
.oc-group > summary .i { width: 18px; height: 18px; color: var(--muted); transition: transform .2s; }
.oc-group[open] > summary .i { transform: rotate(180deg); }
.oc-group { border-bottom: 1px solid var(--line); padding-bottom: 6px; margin-bottom: 4px; }
.oc-group[open] { padding-bottom: 10px; }
.oc-title { font-size: .76rem; font-weight: 750; color: var(--muted); letter-spacing: .03em; padding: 10px 10px 2px; }
.oc-sub { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 10px; border-radius: 10px; font-size: .97rem; font-weight: 600; color: var(--ink-2); }
.oc-sub .i { width: 18px; height: 18px; color: var(--green-600); }
.oc-sub.is-emergency .i { color: var(--red); }
.oc-link:hover, .oc-sub:hover, .oc-group > summary:hover { background: var(--bg-soft); }
.oc-sub[aria-current="page"], .oc-link[aria-current="page"] { background: var(--green-50); color: var(--green-700); }
.oc-foot { flex: none; display: grid; gap: 8px; padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fff; }
.oc-foot .btn { min-height: 50px; }
.oc-emergency { color: var(--red-700); }
@media (min-width: 1024px) { .offcanvas, .offcanvas-backdrop { display: none; } }
@media (prefers-reduced-motion: reduce) { .offcanvas, .offcanvas-backdrop { transition: none; } }

/* ── 6. 푸터 ─────────────────────────────────────────── */
.site-footer { background: var(--navy-3); color: #c4cfdc; font-size: .93rem; }
.site-footer a:hover { color: #fff; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding: 64px 0 40px; }
.footer-brand img { width: 136px; }
.footer-brand p { margin-top: 16px; color: #a9b6c6; line-height: 1.7; max-width: 32ch; }
.footer-contact { margin-top: 18px; display: grid; gap: 8px; }
.footer-contact a, .footer-contact span { display: inline-flex; align-items: center; gap: 8px; color: #e6edf5; font-weight: 600; }
.footer-contact .i { color: var(--green); }
.footer-col h2 { font-size: .85rem; color: #fff; letter-spacing: .02em; margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-biz { border-top: 1px solid rgba(255, 255, 255, .09); padding: 22px 0; font-size: .82rem; color: #8b9aad; line-height: 1.8; }
.footer-biz span + span::before { content: "·"; margin: 0 8px; opacity: .6; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; border-top: 1px solid rgba(255, 255, 255, .09); padding: 18px 0 28px; font-size: .82rem; color: #8b9aad; }
.footer-bottom nav { display: flex; gap: 18px; }
@media (max-width: 900px) {
    .footer-top { grid-template-columns: 1fr 1fr; gap: 32px 24px; padding-top: 48px; }
    .footer-brand { grid-column: 1 / -1; }
}

/* ── 7. 섹션 · 그리드 ────────────────────────────────── */
.section { padding-block: clamp(56px, 7vw, 104px); }
.section-sm { padding-block: clamp(40px, 5vw, 64px); }
.section-alt { background: var(--bg-soft); }
.section-mint { background: linear-gradient(180deg, var(--bg-mint), #fff); }
.section-dark { background: var(--navy-3); color: #d7e0ea; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .lead, .section-dark .muted { color: #b7c3d2; }
.section-dark .eyebrow { color: var(--green); }
.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .h2 { margin-top: 10px; }
.section-head .lead { margin-top: 14px; }
.grid { display: grid; gap: clamp(14px, 2vw, 22px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1023.98px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639.98px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 899.98px) { .split { grid-template-columns: 1fr; } .split.reverse > :first-child { order: 0; } }

/* ── 8. 히어로 ───────────────────────────────────────── */
.hero { position: relative; overflow: hidden; padding: clamp(36px, 5vw, 80px) 0 clamp(40px, 5vw, 72px); background: radial-gradient(1100px 520px at 88% -10%, var(--green-50), transparent 60%), linear-gradient(180deg, #f7faf9 0%, #fff 100%); }
.hero .eyebrow { background: #fff; border: 1px solid var(--green-100); padding: 6px 12px; border-radius: 999px; }
.hero-title { margin-top: 18px; }
.hero-sub { margin-top: 18px; max-width: 40em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 26px; padding: 0; list-style: none; color: var(--ink-2); font-size: .93rem; font-weight: 600; }
.hero-trust li { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust .i { color: var(--green-600); width: 18px; height: 18px; }
.media-frame { border-radius: 24px; overflow: hidden; background: #eef1f5; border: 1px solid var(--line); box-shadow: var(--shadow); aspect-ratio: 4 / 3; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame.wide { aspect-ratio: 16 / 9; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: .85rem; color: var(--muted); margin-bottom: 18px; padding: 0; list-style: none; }
.breadcrumb a:hover { color: var(--ink); text-decoration: underline; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; opacity: .5; }

/* ── 9. 카드 ─────────────────────────────────────────── */
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 2.4vw, 28px); }
.card-hover { transition: border-color .15s, box-shadow .15s, transform .15s; }
.card-hover:hover { border-color: var(--line-2); box-shadow: var(--shadow); transform: translateY(-2px); }
.card h3 { font-size: 1.12rem; font-weight: 720; }
.card p { margin-top: 8px; color: var(--ink-2); font-size: .96rem; }
.card .link-arrow { margin-top: 16px; }
.card-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.icon-box { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 14px; background: var(--green-50); color: var(--green-600); margin-bottom: 16px; }
.icon-box .i { width: 23px; height: 23px; }
.icon-box.navy { background: #e9eef5; color: var(--navy); }
.icon-box.red { background: var(--red-50); color: var(--red); }
.svc-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.svc-card .svc-media { aspect-ratio: 16 / 10; background: #eef1f5; overflow: hidden; }
.svc-card .svc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.svc-card:hover .svc-media img { transform: scale(1.03); }
.svc-card .svc-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.svc-card .svc-body .link-arrow { margin-top: auto; padding-top: 16px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; padding: 0; list-style: none; }
.tag { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); font-size: .8rem; font-weight: 600; color: var(--ink-2); }
.tag.green { background: var(--green-50); border-color: var(--green-100); color: var(--green-700); }

/* ── 10. 리스트 · 단계 · 수치 ────────────────────────── */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 30px; color: var(--ink-2); }
.checklist li::before { content: ""; position: absolute; left: 0; top: .32em; width: 20px; height: 20px; border-radius: 50%; background: var(--green-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317804e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.checklist strong { color: var(--ink); }
.section-dark .checklist li { color: #c9d4e0; }
.section-dark .checklist strong { color: #fff; }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps > li { counter-increment: step; position: relative; padding: 20px 22px 20px 72px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.steps > li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 22px; top: 20px; font-weight: 800; font-size: 1.05rem; color: var(--green-600); font-variant-numeric: tabular-nums; }
.steps h3 { font-size: 1.05rem; }
.steps p { margin-top: 4px; color: var(--ink-2); font-size: .95rem; }
.steps.cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 899.98px) { .steps.cols { grid-template-columns: 1fr; } }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.facts > div { background: #fff; padding: 22px 20px; }
.facts dt { font-size: .84rem; color: var(--muted); font-weight: 600; }
.facts dd { margin: 6px 0 0; font-size: 1.08rem; font-weight: 750; color: var(--ink); line-height: 1.4; }
@media (max-width: 899.98px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pill-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.pill-list li { padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 650; font-size: .92rem; }
.note { display: flex; gap: 12px; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--amber-50); border: 1px solid #f6e0b0; color: #6b4e12; font-size: .94rem; }
.note.green { background: var(--green-50); border-color: var(--green-100); color: #145c3a; }
.note .i { margin-top: 3px; }

/* ── 11. 사례 카드 ───────────────────────────────────── */
.case-card { display: flex; flex-direction: column; gap: 10px; }
.case-card .case-meta { font-size: .82rem; color: var(--muted); font-weight: 600; }
.case-card h3 { font-size: 1.05rem; line-height: 1.45; }
.case-card dl { margin: 4px 0 0; display: grid; gap: 8px; font-size: .92rem; }
.case-card dt { font-weight: 700; color: var(--ink); font-size: .82rem; }
.case-card dd { margin: 2px 0 0; color: var(--ink-2); }

/* ── 12. FAQ ────────────────────────────────────────── */
.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; padding: 18px 20px; font-weight: 700; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 1.35rem; line-height: 1; color: var(--green-600); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-a { padding: 0 20px 20px; color: var(--ink-2); }
.faq .faq-a p + p { margin-top: 8px; }

/* ── 13. CTA 밴드 ────────────────────────────────────── */
.cta-band { position: relative; overflow: hidden; border-radius: 28px; padding: clamp(32px, 5vw, 56px); background: radial-gradient(700px 300px at 100% 0%, rgba(70, 186, 129, .35), transparent 60%), var(--navy); color: #d5dfea; }
.cta-band h2 { color: #fff; }
.cta-band .lead { color: #c3cfdd; margin-top: 12px; }
.cta-band .cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.cta-band .cta-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; font-size: .9rem; color: #aebccd; list-style: none; padding: 0; }
.cta-band .cta-meta li { display: inline-flex; align-items: center; gap: 7px; }
.cta-band .cta-meta .i { color: var(--green); width: 17px; height: 17px; }

/* ── 14. 폼 ─────────────────────────────────────────── */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 639.98px) { .form-row { grid-template-columns: 1fr; } }
.field label, .field .label { display: block; font-weight: 700; font-size: .93rem; margin-bottom: 7px; color: var(--ink); }
.field .opt { font-weight: 500; color: var(--muted); font-size: .85rem; }
.input, .textarea, .select { width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid var(--line-2); border-radius: 12px; background: #fff; font-size: 1rem; transition: border-color .15s, box-shadow .15s; }
.textarea { min-height: 150px; resize: vertical; line-height: 1.6; }
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--green-600); box-shadow: 0 0 0 4px rgba(70, 186, 129, .18); }
.input::placeholder, .textarea::placeholder { color: #97a3b3; }
.help { margin-top: 6px; font-size: .85rem; color: var(--muted); }
.error { margin-top: 6px; font-size: .86rem; color: var(--red); font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; font-weight: 650; font-size: .92rem; cursor: pointer; transition: all .15s; }
.chip input:checked + span { background: var(--green-50); border-color: var(--green-600); color: var(--green-700); }
.chip input:focus-visible + span { outline: 3px solid rgba(70, 186, 129, .5); outline-offset: 2px; }
.alert { display: flex; gap: 12px; padding: 16px 18px; border-radius: 14px; font-weight: 600; }
.alert-success { background: var(--green-50); border: 1px solid var(--green-100); color: #145c3a; }
.alert-danger { background: var(--red-50); border: 1px solid #f5c9cb; color: #9b2227; }
/* 예전 글 본문의 Bootstrap 알림 상자(alert alert-info 등)는 글 흐름대로 보이게 */
.prose .alert { display: block; font-weight: 500; line-height: 1.75; }
.prose .alert-info { background: #eef5ff; border: 1px solid #d3e3fb; color: #1d3557; }
.prose .alert-warning { background: #fff8e8; border: 1px solid #f6e0a8; color: #5f4700; }
.form-panel { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: clamp(20px, 3vw, 36px); box-shadow: var(--shadow); }

/* ── 15. 목록 · 필터 · 페이지네이션 ──────────────────── */
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filter-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: .9rem; font-weight: 650; color: var(--ink-2); cursor: pointer; }
.filter-chip:hover { border-color: var(--line-2); color: var(--ink); }
.filter-chip.active, .filter-chip[aria-pressed="true"], .filter-chip[aria-current="page"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.filter-chip small { font-weight: 600; opacity: .7; }
.search-box { position: relative; max-width: 420px; }
.search-box .i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search-box .input { padding-left: 42px; }
.post-card { display: flex; flex-direction: column; gap: 10px; }
.post-card .post-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: .82rem; color: var(--muted); font-weight: 600; }
.post-card h3 { font-size: 1.08rem; line-height: 1.45; }
.post-card p { font-size: .93rem; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; margin-top: 36px; list-style: none; padding: 0; }
.pager a, .pager span { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-weight: 700; font-size: .92rem; }
.pager a:hover { border-color: var(--line-2); }
.pager .current span { background: var(--navy); border-color: var(--navy); color: #fff; }
.pager .disabled span { color: #a3afbd; }
.pager-summary { text-align: center; margin-top: 12px; font-size: .85rem; color: var(--muted); }

/* ── 16. 본문(블로그·아티클) ─────────────────────────── */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 48px; align-items: start; }
@media (max-width: 1023.98px) { .article-layout { grid-template-columns: minmax(0, 1fr); } .article-aside { display: none; } }
.article-head { max-width: 820px; }
.article-head .h1 { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.45rem); margin-top: 12px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 16px; font-size: .9rem; color: var(--muted); font-weight: 600; padding: 0; list-style: none; }
.article-meta li { display: inline-flex; align-items: center; gap: 6px; }
.article-meta .i { width: 16px; height: 16px; }
.article-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 18px; }
.toc { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px; background: #fff; font-size: .88rem; }
.toc p { font-weight: 750; font-size: .8rem; color: var(--muted); letter-spacing: .03em; margin-bottom: 10px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; max-height: 60vh; overflow: auto; }
.toc a { color: var(--ink-2); line-height: 1.45; display: block; }
.toc a:hover { color: var(--green-700); }
.toc .lv3 { padding-left: 12px; font-size: .84rem; }
.aside-cta { border-radius: var(--radius-sm); padding: 20px; background: var(--navy); color: #cdd8e5; font-size: .9rem; }
.aside-cta strong { display: block; color: #fff; font-size: 1rem; margin-bottom: 6px; }
.aside-cta .btn { margin-top: 14px; width: 100%; }
.aside-cta.is-emergency { background: linear-gradient(160deg, #3a1316, var(--navy-3)); }
.inline-cta { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; margin: 32px 0; padding: 20px 22px; border-radius: var(--radius); border: 1px solid var(--green-100); background: var(--green-50); }
.inline-cta.is-emergency { border-color: #f3c7c9; background: var(--red-50); }
.inline-cta strong { display: block; font-size: 1.02rem; color: var(--ink); }
.inline-cta p { font-size: .92rem; color: var(--ink-2); margin-top: 2px; }

.prose { font-size: 1.04rem; line-height: 1.85; color: #1f2a3a; max-width: 820px; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.35rem, 1.2rem + .6vw, 1.65rem); margin-top: 2.2em; padding-top: .2em; line-height: 1.4; }
.prose h3 { font-size: 1.2rem; margin-top: 1.8em; line-height: 1.45; }
.prose h4 { font-size: 1.05rem; margin-top: 1.5em; }
.prose a { color: var(--green-700); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose li > ul, .prose li > ol { margin-top: .4em; }
.prose strong { color: var(--ink); font-weight: 750; }
.prose blockquote { border-left: 4px solid var(--green); background: var(--bg-soft); padding: 14px 18px; border-radius: 0 12px 12px 0; color: var(--ink-2); }
.prose code { font-family: var(--mono); font-size: .88em; background: #f1f4f8; border: 1px solid #e5eaf1; padding: .1em .4em; border-radius: 6px; word-break: break-all; }
.prose pre { background: #0f1b2d; color: #e3eaf3; padding: 18px 20px; border-radius: 14px; overflow-x: auto; font-size: .88rem; line-height: 1.65; }
.prose pre code { background: none; border: 0; padding: 0; color: inherit; word-break: normal; font-size: inherit; }
.prose table { width: 100%; border-collapse: collapse; font-size: .93rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; min-width: 90px; }
.prose th { background: var(--bg-soft); font-weight: 700; }
.prose img { border-radius: 14px; border: 1px solid var(--line); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.2em 0; }

/* ── 17. 긴급 테마 · 유틸 ────────────────────────────── */
.theme-emergency .hero { background: radial-gradient(900px 480px at 90% -10%, #fde3e4, transparent 60%), linear-gradient(180deg, #fffafa, #fff); }
.theme-emergency .hero .eyebrow { color: var(--red-700); border-color: #f6cdcf; }
.status-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(214, 54, 59, .5); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(214, 54, 59, 0); } 100% { box-shadow: 0 0 0 0 rgba(214, 54, 59, 0); } }
.mt-0 { margin-top: 0 !important; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 40px; }
.center-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 32px; }
.hide-mobile { } @media (max-width: 639.98px) { .hide-mobile { display: none !important; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
@media print { .site-header, .site-footer, .article-aside, .inline-cta, .cta-band { display: none !important; } }
.consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 650; cursor: pointer; }
.consent input { width: 18px; height: 18px; margin-top: 4px; accent-color: var(--green-600); flex: none; }
.label { display: block; font-weight: 700; font-size: .93rem; margin-bottom: 9px; color: var(--ink); }
.facts-2 { grid-template-columns: 2fr 1fr; }
@media (max-width: 899.98px) { .facts-2 { grid-template-columns: 1fr; } }
.facts-half { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 599.98px) { .facts-half { grid-template-columns: 1fr; } }
/* 전화·이메일 이미지: 주변 글자 크기에 맞추고 기준선을 맞춘다 (SVG 높이 = 1.2em, 기준선 0.8) */
.contact-img { display: inline-block; height: 1.2em; width: auto; max-width: 100%; object-fit: contain; object-position: left center; vertical-align: -0.24em; }
.post-header { padding: clamp(28px, 4vw, 48px) 0 clamp(20px, 3vw, 32px); background: linear-gradient(180deg, #f7faf9, #fff); border-bottom: 1px solid var(--line); }
.toc-mobile { display: none; margin-bottom: 24px; }
.toc-mobile summary { font-weight: 750; cursor: pointer; }
.toc-mobile ol { margin-top: 12px; }
@media (max-width: 1023.98px) { .toc-mobile { display: block; } }
.prose .inline-cta { margin: 2.2em 0; }
.prose .inline-cta p { margin: 0; }
.prose a.btn { text-decoration: none; }
.prose a.btn-primary, .prose a.btn-danger, .prose a.btn-dark { color: #fff; }
@media (max-width: 639.98px) {
    .filter-bar { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding: 2px var(--gutter) 6px; }
    .filter-bar::-webkit-scrollbar { display: none; }
    .filter-chip { flex: none; }
}

