/* =====================================================================
   EO SOLUTION — 디자인 시스템 (07_디자인시스템.md)
   브레이크포인트: 390 / 768 / 1024 / 1280
   ===================================================================== */

/* ---- 1. 토큰 ------------------------------------------------------- */
:root {
    /* 브랜드 (로고 기준) */
    --c-primary:      #3D7F99;
    --c-primary-dark: #2C6178;
    --c-primary-soft: #E8F2F5;
    --c-mint:         #97C5C5;
    --c-accent:       #5FD3E6;

    /* 우주 톤 (비주얼·푸터) */
    --c-navy:   #0A1628;
    --c-navy-2: #0F2138;
    --c-navy-3: #16304F;

    /* 텍스트 · 면 */
    --c-ink:     #111B2B;
    --c-text:    #364152;
    --c-muted:   #6B7686;
    --c-line:    #E2E8EE;
    --c-bg:      #FFFFFF;
    --c-bg-soft: #F4F7FA;
    --c-danger:  #D9463B;
    --c-success: #1F9D6B;

    --font-base: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
    --font-en:   "Montserrat", var(--font-base);

    --container: 1240px;
    --gutter:    20px;
    --header-h:  80px;

    --radius-sm: 8px;
    --radius:    14px;
    --radius-lg: 22px;

    --shadow-sm: 0 2px 8px rgba(17, 27, 43, .06);
    --shadow:    0 10px 30px rgba(17, 27, 43, .08);
    --shadow-lg: 0 20px 50px rgba(17, 27, 43, .14);

    --ease: cubic-bezier(.22, .61, .36, 1);
}

@media (max-width: 1023px) {
    :root { --header-h: 64px; }
}
@media (max-width: 767px) {
    :root { --gutter: 16px; }
}

/* ---- 2. 리셋 · 기본 ----------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
    margin: 0;
    font-family: var(--font-base);
    font-size: 16px;
    line-height: 1.7;
    color: var(--c-text);
    background: var(--c-bg);
    word-break: keep-all;
    overflow-wrap: break-word;
    -webkit-font-smoothing: antialiased;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, h5, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4 { color: var(--c-ink); line-height: 1.3; letter-spacing: -0.02em; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; }
::selection { background: var(--c-primary); color: #fff; }

.sr-only {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
    position: fixed; top: -100px; left: 16px; z-index: 1000;
    padding: 10px 16px; background: var(--c-ink); color: #fff; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.en { font-family: var(--font-en); }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---- 3. 버튼 ------------------------------------------------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; padding: 0 24px;
    border: 1px solid transparent; border-radius: 999px;
    font-weight: 700; font-size: 15px; line-height: 1; white-space: nowrap;
    transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .6; cursor: default; transform: none; }
.btn-primary { background: var(--c-primary); color: #fff; }
.btn-primary:hover { background: var(--c-primary-dark); box-shadow: 0 8px 20px rgba(61, 127, 153, .35); }
.btn-accent { background: var(--c-accent); color: var(--c-navy); }
.btn-accent:hover { background: #7FE0EF; box-shadow: 0 8px 24px rgba(95, 211, 230, .35); }
.btn-ghost { border-color: rgba(255, 255, 255, .45); color: #fff; background: rgba(255, 255, 255, .04); }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .12); }
.btn-line { border-color: var(--c-line); color: var(--c-ink); background: #fff; }
.btn-line:hover { border-color: var(--c-primary); color: var(--c-primary); }
.btn-lg { min-height: 56px; padding: 0 32px; font-size: 16px; }
.btn-block { width: 100%; }
.btn svg { flex: none; width: 18px; height: 18px; }
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---- 4. 헤더 · GNB ------------------------------------------------- */
.site-header {
    position: fixed; inset: 0 0 auto 0; z-index: 100;
    height: var(--header-h);
    color: #fff;
    transition: background .3s var(--ease), box-shadow .3s var(--ease), color .3s var(--ease);
}
.site-header::before {                       /* 비주얼 위 가독성용 옅은 그림자 */
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(180deg, rgba(6, 14, 28, .55), rgba(6, 14, 28, 0));
    transition: opacity .3s;
}
.site-header.is-scrolled, .site-header.is-open, .site-header.is-solid {
    background: rgba(255, 255, 255, .97); color: var(--c-ink);
    box-shadow: 0 1px 0 var(--c-line), 0 6px 20px rgba(17, 27, 43, .05);
    backdrop-filter: saturate(160%) blur(8px);
}
.site-header.is-scrolled::before, .site-header.is-open::before, .site-header.is-solid::before { opacity: 0; }
.header-inner { display: flex; align-items: center; height: 100%; gap: 24px; }

.logo { display: block; flex: none; width: 190px; }
.logo img { width: 100%; }
.logo .logo-color { display: none; }
.site-header.is-scrolled .logo .logo-white,
.site-header.is-open .logo .logo-white,
.site-header.is-solid .logo .logo-white { display: none; }
.site-header.is-scrolled .logo .logo-color,
.site-header.is-open .logo .logo-color,
.site-header.is-solid .logo .logo-color { display: block; }

.gnb { margin-left: auto; height: 100%; }
.gnb > ul { display: flex; height: 100%; }
.gnb > ul > li { position: relative; height: 100%; }
.gnb-link {
    display: flex; align-items: center; height: 100%; padding: 0 22px;
    font-size: 17px; font-weight: 700; letter-spacing: -0.01em;
    position: relative;
}
.gnb-link::after {
    content: ""; position: absolute; left: 22px; right: 22px; bottom: 18px; height: 2px;
    background: var(--c-accent); transform: scaleX(0); transition: transform .25s var(--ease);
}
.gnb > ul > li:hover .gnb-link::after, .gnb-link.is-active::after { transform: scaleX(1); }
.site-header.is-scrolled .gnb-link.is-active, .site-header.is-solid .gnb-link.is-active { color: var(--c-primary); }

.gnb-sub {
    position: absolute; top: calc(100% - 8px); left: 50%; min-width: 210px;
    padding: 10px; background: #fff; color: var(--c-ink);
    border-radius: var(--radius); box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.gnb > ul > li:hover .gnb-sub, .gnb > ul > li:focus-within .gnb-sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.gnb-sub a { display: block; padding: 10px 14px; border-radius: var(--radius-sm); font-size: 15px; font-weight: 500; white-space: nowrap; }
.gnb-sub a:hover, .gnb-sub a.is-active { background: var(--c-primary-soft); color: var(--c-primary); }

.header-util { display: flex; align-items: center; gap: 12px; flex: none; }
.lang-switch { display: flex; gap: 2px; font-family: var(--font-en); font-size: 13px; font-weight: 600; }
.lang-switch a { padding: 4px 6px; opacity: .6; }
.lang-switch a.is-active { opacity: 1; }
.header-cta { min-height: 42px; padding: 0 20px; font-size: 14px; }

.menu-toggle {
    display: none; width: 44px; height: 44px; margin-right: -10px;
    border: 0; background: none; position: relative;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
    position: absolute; left: 11px; width: 22px; height: 2px; background: currentColor; border-radius: 2px;
    transition: transform .25s var(--ease), top .25s var(--ease), opacity .2s;
}
.menu-toggle span { top: 21px; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; left: 0; }
.menu-toggle span::before { top: -7px; }
.menu-toggle span::after { top: 7px; }
.site-header.is-open .menu-toggle span { background: transparent; }
.site-header.is-open .menu-toggle span::before { top: 0; transform: rotate(45deg); }
.site-header.is-open .menu-toggle span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1279px) {
    .gnb-link { padding: 0 16px; font-size: 16px; }
    .gnb-link::after { left: 16px; right: 16px; }
}
@media (max-width: 1023px) {
    .logo { width: 150px; }
    .menu-toggle { display: block; }
    .header-cta { display: none; }
    .gnb {
        position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
        height: auto; margin: 0; padding: 12px var(--gutter) 40px;
        background: #fff; color: var(--c-ink); overflow-y: auto;
        opacity: 0; visibility: hidden; transform: translateY(-8px);
        transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
    }
    .site-header.is-open .gnb { opacity: 1; visibility: visible; transform: none; }
    .gnb > ul { display: block; height: auto; }
    .gnb > ul > li { height: auto; border-bottom: 1px solid var(--c-line); }
    .gnb-link { height: 60px; padding: 0 4px; font-size: 18px; justify-content: space-between; }
    .gnb-link::after { display: none; }
    .gnb-link.has-sub::before {
        content: ""; order: 2; width: 9px; height: 9px; margin-right: 6px;
        border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
        transform: rotate(45deg) translateY(-3px); transition: transform .2s;
    }
    .gnb li.is-expanded .gnb-link.has-sub::before { transform: rotate(-135deg) translateY(-3px); }
    .gnb-sub {
        position: static; min-width: 0; padding: 0 0 12px; box-shadow: none; border-radius: 0;
        opacity: 1; visibility: visible; transform: none; display: none;
    }
    .gnb li.is-expanded .gnb-sub { display: block; }
    .gnb-sub a { padding: 10px 12px; color: var(--c-text); }
    .gnb-mobile-cta { display: block !important; margin-top: 24px; }
    .gnb-mobile-info { display: block !important; margin-top: 20px; font-size: 14px; color: var(--c-muted); }
    body.menu-open { overflow: hidden; }
}
.gnb-mobile-cta, .gnb-mobile-info { display: none; }

/* ---- 5. 서브 비주얼 (우주 배경 축소판) ---------------------------- */
.space-bg { position: relative; background: radial-gradient(ellipse at 70% 20%, #1B3A5C 0%, var(--c-navy-2) 45%, var(--c-navy) 100%); color: #fff; overflow: hidden; isolation: isolate; }
.space-bg > canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.space-bg::after {                                       /* 하단 페이드 */
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; z-index: -1;
    background: linear-gradient(180deg, rgba(10, 22, 40, 0), rgba(10, 22, 40, .55));
}

.sub-hero { padding: calc(var(--header-h) + 88px) 0 72px; }
.sub-hero .eyebrow { color: var(--c-accent); }
.sub-hero h1 { color: #fff; font-size: clamp(32px, 4.6vw, 52px); font-weight: 800; }
.sub-hero p { margin-top: 14px; max-width: 680px; color: rgba(255, 255, 255, .75); font-size: 17px; }
.breadcrumb { display: flex; gap: 8px; margin-bottom: 18px; font-size: 13px; color: rgba(255, 255, 255, .6); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .5; }

.sub-tabs { position: relative; z-index: 2; background: #fff; border-bottom: 1px solid var(--c-line); }
.sub-tabs ul { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.sub-tabs ul::-webkit-scrollbar { display: none; }
.sub-tabs a {
    display: block; padding: 18px 20px; font-weight: 600; color: var(--c-muted); white-space: nowrap;
    border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.sub-tabs a:hover { color: var(--c-ink); }
.sub-tabs a.is-active { color: var(--c-primary); border-bottom-color: var(--c-primary); }

@media (max-width: 767px) {
    .sub-hero { padding: calc(var(--header-h) + 52px) 0 48px; }
    .sub-hero p { font-size: 15px; }
    .sub-tabs a { padding: 15px 14px; font-size: 15px; }
}

/* ---- 6. 섹션 공통 ------------------------------------------------- */
.section { padding: 110px 0; }
.section-sm { padding: 72px 0; }
.section-soft { background: var(--c-bg-soft); }
.section-dark { background: var(--c-navy); color: rgba(255, 255, 255, .78); }
.section-dark h2, .section-dark h3 { color: #fff; }

.eyebrow {
    display: inline-block; margin-bottom: 14px;
    font-family: var(--font-en); font-size: 13px; font-weight: 700; letter-spacing: .16em;
    color: var(--c-primary);
}
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; }
.section-head p { margin-top: 16px; font-size: 17px; color: var(--c-muted); }
.section-dark .section-head p { color: rgba(255, 255, 255, .65); }
.section-dark .eyebrow { color: var(--c-accent); }
.hl { color: var(--c-primary); }
.section-dark .hl { color: var(--c-accent); }

@media (max-width: 767px) {
    .section { padding: 72px 0; }
    .section-sm { padding: 52px 0; }
    .section-head { margin-bottom: 36px; }
    .section-head p { font-size: 15px; }
}

/* ---- 7. 그리드 · 카드 --------------------------------------------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1023px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } .grid { gap: 16px; } }

.card {
    position: relative; padding: 32px; background: #fff;
    border: 1px solid var(--c-line); border-radius: var(--radius-lg);
    transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
a.card:hover, .card.is-hover:hover { border-color: transparent; box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.card h3 { font-size: 21px; font-weight: 700; }
.card p { margin-top: 10px; color: var(--c-muted); font-size: 15px; }
.card .card-num { font-family: var(--font-en); font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--c-primary); }
.card .card-icon {
    display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 22px;
    border-radius: 16px; background: var(--c-primary-soft); color: var(--c-primary);
}
.card .card-icon svg { width: 28px; height: 28px; }
.card-more svg { flex: none; width: 16px; height: 16px; transition: transform .2s var(--ease); }
a.card:hover .card-more svg { transform: translateX(3px); }
.card-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 20px; font-weight: 700; font-size: 14px; color: var(--c-primary); }
@media (max-width: 767px) { .card { padding: 24px; } .card h3 { font-size: 19px; } }

.badge {
    display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px;
    border-radius: 999px; font-size: 12px; font-weight: 700; line-height: 1.4;
    background: var(--c-primary-soft); color: var(--c-primary);
}
.badge-accent { background: rgba(95, 211, 230, .15); color: #13899C; }

.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list li {
    padding: 7px 14px; border: 1px solid var(--c-line); border-radius: 999px;
    font-size: 14px; font-weight: 600; background: #fff; color: var(--c-ink);
}

.check-list li { position: relative; padding-left: 26px; margin-top: 8px; }
.check-list li::before {
    content: ""; position: absolute; left: 2px; top: .55em; width: 12px; height: 7px;
    border-left: 2px solid var(--c-primary); border-bottom: 2px solid var(--c-primary); transform: rotate(-45deg);
}
.dot-list li { position: relative; padding-left: 14px; margin-top: 6px; }
.dot-list li::before { content: ""; position: absolute; left: 0; top: .72em; width: 5px; height: 5px; border-radius: 50%; background: var(--c-mint); }

/* 단계 흐름 */
.step-flow { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 16px; counter-reset: step; }
.step-flow li {
    position: relative; padding: 28px 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--c-line);
    counter-increment: step;
}
.step-flow li::before {
    content: counter(step, decimal-leading-zero); display: block; margin-bottom: 12px;
    font-family: var(--font-en); font-weight: 800; font-size: 14px; color: var(--c-primary);
}
.step-flow li:not(:last-child)::after {
    content: ""; position: absolute; top: 50%; right: -13px; z-index: 1; width: 10px; height: 10px;
    border-top: 2px solid var(--c-mint); border-right: 2px solid var(--c-mint); transform: translateY(-50%) rotate(45deg);
}
.step-flow li strong { display: block; color: var(--c-ink); font-size: 17px; }
.step-flow li span { display: block; margin-top: 6px; font-size: 14px; color: var(--c-muted); line-height: 1.55; }
.step-flow li.is-goal { background: var(--c-primary); border-color: var(--c-primary); }
.step-flow li.is-goal::before, .step-flow li.is-goal strong, .step-flow li.is-goal span { color: #fff; }
@media (max-width: 1023px) {
    .step-flow { grid-auto-flow: row; grid-template-columns: 1fr; }
    .step-flow li:not(:last-child)::after { top: auto; bottom: -13px; right: 50%; transform: translateX(50%) rotate(135deg); }
}

/* 표 */
.table-wrap { overflow-x: auto; border: 1px solid var(--c-line); border-radius: var(--radius); background: #fff; }
.table { min-width: 640px; font-size: 15px; }
.table th, .table td { padding: 16px 20px; border-bottom: 1px solid var(--c-line); text-align: left; vertical-align: top; }
.table thead th { background: var(--c-bg-soft); color: var(--c-ink); font-weight: 700; font-size: 14px; }
.table tbody tr:last-child td { border-bottom: 0; }

/* 탭 */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.tabs button {
    min-height: 44px; padding: 0 22px; border: 1px solid var(--c-line); border-radius: 999px; background: #fff;
    font-weight: 700; color: var(--c-muted);
}
.tabs button[aria-selected="true"] { background: var(--c-ink); border-color: var(--c-ink); color: #fff; }
.tab-panel[hidden] { display: none; }

/* 숫자 카운터 */
.stat-num { font-family: var(--font-en); font-weight: 800; font-size: clamp(34px, 4vw, 48px); line-height: 1.1; color: var(--c-ink); letter-spacing: -0.02em; }
.stat-num small { font-family: var(--font-base); font-size: .45em; font-weight: 700; margin-left: 2px; }
.stat-label { margin-top: 8px; font-size: 15px; color: var(--c-muted); }

/* 스크롤 등장 효과 */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---- 8. 상담 신청 (모든 페이지 하단) ------------------------------ */
.consult { position: relative; padding: 100px 0; }
.consult-inner { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }
.consult-intro h2 { color: #fff; font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; }
.consult-intro > p { margin-top: 16px; color: rgba(255, 255, 255, .7); font-size: 17px; }
.consult-contact { margin-top: 36px; display: grid; gap: 14px; }
.consult-contact a {
    display: flex; align-items: center; gap: 14px; padding: 16px 20px;
    border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius); background: rgba(255, 255, 255, .04);
    color: #fff; transition: border-color .2s, background .2s;
}
.consult-contact a:hover { border-color: var(--c-accent); background: rgba(95, 211, 230, .08); }
.consult-contact .ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(95, 211, 230, .15); color: var(--c-accent); flex: none; }
.consult-contact .ico svg { width: 20px; height: 20px; }
.consult-contact small { display: block; font-size: 12px; color: rgba(255, 255, 255, .55); }
.consult-contact strong { font-size: 17px; font-weight: 700; letter-spacing: 0.01em; }

.consult-form {
    padding: 40px; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); color: var(--c-text);
}
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 700; color: var(--c-ink); }
.field label .req { color: var(--c-danger); margin-left: 2px; }
.input, .select, .textarea {
    width: 100%; min-height: 52px; padding: 12px 16px;
    border: 1px solid var(--c-line); border-radius: 10px; background: #fff;
    font-size: 16px; color: var(--c-ink); transition: border-color .2s, box-shadow .2s;
}
.input::placeholder, .textarea::placeholder { color: #A3ACB8; }
.input:focus, .select:focus, .textarea:focus { outline: 0; border-color: var(--c-primary); box-shadow: 0 0 0 3px rgba(61, 127, 153, .15); }
.select {
    appearance: none; padding-right: 44px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236B7686' stroke-width='1.8'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 18px center;
}
.textarea { min-height: 120px; resize: vertical; line-height: 1.6; }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: var(--c-danger); }
.field-error { display: none; margin-top: 6px; font-size: 13px; color: var(--c-danger); }
.field.has-error .field-error { display: block; }

.agree-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.checkbox { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; cursor: pointer; }
.checkbox input { width: 20px; height: 20px; accent-color: var(--c-primary); margin: 0; }
.agree-detail-btn { border: 0; background: none; padding: 4px 0; font-size: 13px; color: var(--c-muted); text-decoration: underline; }
.agree-detail { margin-top: 10px; padding: 14px 16px; border-radius: 10px; background: var(--c-bg-soft); font-size: 13px; color: var(--c-muted); line-height: 1.6; }
.consult-form .btn { margin-top: 24px; }
.form-msg { margin-top: 14px; font-size: 14px; }
.form-msg.is-error { color: var(--c-danger); }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.consult-done { text-align: center; padding: 40px 10px; }
.consult-done .ok-icon { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 50%; background: rgba(31, 157, 107, .12); color: var(--c-success); }
.consult-done .ok-icon svg { width: 34px; height: 34px; }
.consult-done h3 { font-size: 22px; }
.consult-done p { margin-top: 10px; color: var(--c-muted); }

@media (max-width: 1023px) {
    .consult-inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 767px) {
    .consult { padding: 72px 0; }
    .consult-form { padding: 24px 20px; }
    .form-grid { grid-template-columns: 1fr; gap: 14px; }
}

/* ---- 9. 푸터 ------------------------------------------------------- */
.site-footer { background: #070F1C; color: rgba(255, 255, 255, .55); font-size: 14px; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; padding: 56px 0 40px; }
.footer-brand img { width: 170px; }
.footer-brand p { margin-top: 14px; font-family: var(--font-en); font-size: 12px; letter-spacing: .04em; color: rgba(255, 255, 255, .45); }
.footer-info { display: flex; flex-wrap: wrap; gap: 6px 18px; max-width: 720px; }
.footer-info span { white-space: nowrap; }
.footer-info b { font-weight: 500; color: rgba(255, 255, 255, .35); margin-right: 6px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding: 22px 0 28px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13px; }
.footer-links { display: flex; gap: 18px; }
.footer-links a:hover { color: #fff; }
.footer-links a.strong { color: rgba(255, 255, 255, .8); font-weight: 600; }
@media (max-width: 1023px) { .footer-inner { flex-direction: column; gap: 24px; } }
@media (max-width: 767px) {
    .footer-info span { white-space: normal; }
    .footer-bottom { flex-direction: column-reverse; }
    .site-footer { padding-bottom: 72px; }        /* 하단 고정 상담 버튼 자리 */
}

/* ---- 10. 모바일 하단 고정 상담 버튼 · 맨위로 ----------------------- */
.fab-consult {
    display: none; position: fixed; left: 16px; right: 16px; bottom: 14px; z-index: 90;
    min-height: 54px; border-radius: 999px; box-shadow: 0 10px 30px rgba(10, 22, 40, .35);
    transition: transform .3s var(--ease), opacity .3s;
}
.fab-consult.is-hidden { transform: translateY(120%); opacity: 0; pointer-events: none; }
@media (max-width: 767px) { .fab-consult { display: inline-flex; } }

.to-top {
    position: fixed; right: 24px; bottom: 24px; z-index: 80; width: 48px; height: 48px;
    border: 0; border-radius: 50%; background: var(--c-ink); color: #fff; box-shadow: var(--shadow);
    display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: opacity .25s, transform .25s, visibility .25s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 20px; height: 20px; }
@media (max-width: 767px) { .to-top { display: none; } }

/* ---- 11. 오류 페이지 ---------------------------------------------- */
.error-page { padding: calc(var(--header-h) + 120px) 0 120px; text-align: center; }
.error-code { font-family: var(--font-en); font-size: 88px; font-weight: 800; line-height: 1; color: var(--c-accent); }
.error-page h1 { margin-top: 18px; color: #fff; font-size: 28px; }
.error-page p { margin-top: 10px; color: rgba(255, 255, 255, .7); }
.error-page .btn { margin-top: 32px; }

/* ---- 12. 본문 공통 (약관 등 긴 글) -------------------------------- */
.prose { max-width: 860px; }
.prose h2 { margin: 48px 0 14px; font-size: 22px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { font-size: 15px; }
.prose ul { margin: 8px 0; }
.prose li { position: relative; padding-left: 14px; margin-top: 4px; }
.prose li::before { content: "·"; position: absolute; left: 2px; }
.prose table { margin: 14px 0; font-size: 14px; }
.prose th, .prose td { border: 1px solid var(--c-line); padding: 10px 12px; text-align: left; }
.prose th { background: var(--c-bg-soft); }

/* ---- FAQ (메인 · 서브 공용, 2026-10-02) ---------------------------- */
.faq-group-title { font-size: 20px; margin-bottom: 16px; }
.faq-list { display: grid; gap: 10px; }
.faq-item { border: 1px solid var(--c-line); border-radius: var(--radius); background: #fff; transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: rgba(61, 127, 153, .4); box-shadow: var(--shadow-sm); }
.faq-item summary { display: flex; align-items: flex-start; gap: 14px; padding: 20px 52px 20px 22px; position: relative; cursor: pointer; list-style: none; font-weight: 700; font-size: 16.5px; color: var(--c-ink); line-height: 1.5; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; position: absolute; right: 24px; top: 26px; width: 9px; height: 9px; border-right: 2px solid var(--c-muted); border-bottom: 2px solid var(--c-muted); transform: rotate(45deg); transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(-135deg); top: 30px; }
.faq-q { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--c-primary-soft); color: var(--c-primary); font-size: 13px; font-weight: 800; }
.faq-a { padding: 0 22px 22px 62px; }
.faq-a p { font-size: 15.5px; line-height: 1.8; color: var(--c-text); }
.faq-more { margin-top: 22px; font-size: 15px; font-weight: 700; }
.faq-more a { display: inline-flex; align-items: center; gap: 4px; color: var(--c-primary); }
.faq-more svg { width: 16px; height: 16px; }
@media (max-width: 767px) {
    .faq-item summary { padding: 16px 44px 16px 16px; font-size: 15.5px; gap: 10px; }
    .faq-item summary::after { right: 18px; top: 22px; }
    .faq-a { padding: 0 16px 18px 52px; }
    .faq-a p { font-size: 15px; }
}
