/* ==========================================================================
   아웃크래프트 — 가로등교체 (slc.standardhaengjipsa.com)
   컨셉: Night Grid — 카운터 그리드(에디토리얼) 구조 + 야간 가로등 팔레트(네이비/앰버)
   ========================================================================== */

:root {
  --pri: #14213D;
  --pri-2: #0A1526;
  --acc: #F5A300;
  --acc-deep: #C97F00;
  --acc-soft: #FFE7B0;
  --surf: #FFF8EC;
  --line: #E7E2D6;
  --text: #16181D;
  --mute: #62666F;
  --text-on-light: #16181D;
  --text-on-dark: #ffffff;
  --shadow-sm: 0 1px 2px rgba(20,33,61,.08), 0 1px 3px rgba(20,33,61,.08);
  --shadow-md: 0 4px 14px rgba(20,33,61,.10), 0 2px 4px rgba(20,33,61,.06);
  --shadow-lg: 0 20px 40px -12px rgba(20,33,61,.22), 0 8px 16px rgba(20,33,61,.08);
  --r-btn: 6px;
  --ff: 'Pretendard Variable','Pretendard',-apple-system,BlinkMacSystemFont,'Apple SD Gothic Neo','Noto Sans KR','Malgun Gothic',sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--ff); color: var(--text); background: #fff;
  line-height: 1.65; font-weight: 400; -webkit-font-smoothing: antialiased;
}
body, p, h1, h2, h3, h4, h5, h6, li, td, th, a, span, div, button {
  word-break: keep-all;
  overflow-wrap: break-word;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--ff); font-weight: 700; letter-spacing: -0.02em; color: var(--pri); line-height: 1.28; margin: 0 0 .5em; }
h1 { font-size: clamp(28px, 4.2vw, 44px); font-weight: 800; }
h2 { font-size: clamp(23px, 3vw, 34px); font-weight: 800; }
h3 { font-size: clamp(17px, 1.8vw, 20px); font-weight: 700; }
p { margin: 0 0 1em; font-size: 16px; }
ul, ol { list-style: none; padding: 0; margin: 0; }
button { cursor: pointer; border: none; background: none; font: inherit; }
table { border-collapse: collapse; width: 100%; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 10px 14px; z-index: 999; box-shadow: var(--shadow-md); }

.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.inner { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 24px; }

img { max-width: 100%; height: auto; }
.table-scroll { overflow-x: auto; }
.table-scroll.spaced-top { margin-top: 40px; }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: var(--r-btn); font-weight: 700; font-size: 15px;
  border: 1.5px solid transparent; transition: transform .15s, box-shadow .2s, background .2s;
}
.btn.big { padding: 17px 30px; font-size: 16px; }
.btn-primary { background: var(--acc); color: var(--pri-2); box-shadow: 0 10px 22px -10px rgba(245,163,0,.55); }
.btn-dark { background: var(--pri); color: #fff; }
.btn-ghost { background: #fff; color: var(--pri); border-color: var(--line); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(245,163,0,.65); }
  .btn-dark:hover { background: var(--pri-2); }
  .btn-ghost:hover { border-color: var(--acc); color: var(--acc-deep); }
  .btn-outline:hover { background: rgba(255,255,255,.12); border-color: #fff; }
}
.btn:active { transform: scale(.98); }

/* ---------- 섹션/헤드 ---------- */
.section { padding: 96px 0; overflow-x: hidden; }
.section.alt { background: var(--surf); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.eyebrow { display: inline-block; color: var(--acc-deep); font-weight: 800; letter-spacing: .14em; font-size: 11px; margin-bottom: 12px; text-transform: uppercase; }
.section-head h2 { margin-bottom: 14px; }
.section-head p { color: var(--mute); font-size: 16px; line-height: 1.75; }
.section-head .rule { display: block; width: 40px; height: 2px; background: var(--acc); margin: 18px auto 0; }
.section-head.left { text-align: left; max-width: 820px; margin-left: 0; }
.section-head.left .rule { margin-left: 0; }

/* ---------- 헤더 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 80; background: rgba(255,255,255,.94);
  -webkit-backdrop-filter: saturate(140%) blur(12px); backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--pri); }
.brand-mark { width: 40px; height: 40px; display: grid; place-items: center; color: var(--pri); flex: none; }
.brand-text strong { display: block; font-weight: 900; font-size: 18px; letter-spacing: -0.02em; }
.brand-text em { display: block; font-style: normal; font-size: 11px; color: var(--mute); letter-spacing: .16em; font-variant: small-caps; text-transform: uppercase; }
.hdr-actions { display: flex; align-items: center; gap: 10px; }
.nav-cta { padding: 11px 22px; background: var(--pri); color: #fff; border-radius: var(--r-btn); font-weight: 700; font-size: 14px; }
@media (hover: hover) and (pointer: fine) {
  .nav-cta:hover { background: var(--acc); color: var(--pri-2); }
}
.hamburger { display: none; width: 40px; height: 40px; border-radius: var(--r-btn); border: 1px solid var(--line); position: relative; }
.hamburger span, .hamburger::before, .hamburger::after {
  content: ''; position: absolute; left: 9px; right: 9px; height: 2px; background: var(--pri);
}
.hamburger span { top: 19px; }
.hamburger::before { top: 13px; }
.hamburger::after { top: 25px; }

/* ---------- 히어로 ---------- */
.hero { position: relative; overflow: hidden; background: var(--pri); min-height: 660px; display: flex; align-items: center; }
.hero-photo { position: absolute; inset: 0; z-index: 0; }
.hp-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s ease; }
.hp-slide.is-active { opacity: 1; }
.hp-slide img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.07); } }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(100deg, rgba(10,21,38,.86) 0%, rgba(10,21,38,.38) 62%, rgba(10,21,38,.12) 100%);
}
.hero-grid { position: relative; z-index: 2; padding: 128px 0 96px; }
.hero-copy { max-width: 640px; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 11px; margin-bottom: 24px; color: var(--acc); letter-spacing: .16em; text-transform: uppercase; }
.hero-eyebrow::before { content: ''; width: 26px; height: 1px; background: var(--acc); }
.hero-marquee { font-size: clamp(40px, 6vw, 74px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.12; color: #fff; }
.hero-rule { border: 0; border-top: 1px solid rgba(255,255,255,.2); margin: 24px 0 28px; max-width: 480px; }
.hero-lead { font-size: clamp(15px, 1.3vw, 17px); color: rgba(255,255,255,.86); margin: 0 0 32px; max-width: 520px; line-height: 1.8; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 44px; }
.hero-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid rgba(255,255,255,.16); border-bottom: 1px solid rgba(255,255,255,.16); }
.hero-metric { padding: 22px 18px 22px 0; border-right: 1px solid rgba(255,255,255,.16); display: flex; flex-direction: column; gap: 6px; }
.hero-metric:last-child { border-right: none; }
.hero-metric .mlabel { font-size: 10px; font-weight: 800; letter-spacing: .14em; color: var(--acc); text-transform: uppercase; }
.hero-metric .num { font-size: clamp(24px, 2.2vw, 30px); font-weight: 300; color: #fff; letter-spacing: -0.02em; }
.hero-metric .lab { font-size: 12px; color: rgba(255,255,255,.62); }
@media (max-width: 880px) {
  .hero { min-height: 580px; }
  .hero-grid { padding: 100px 0 72px; text-align: center; }
  .hero-copy { margin: 0 auto; }
  .hero-cta { justify-content: center; }
}
@media (max-width: 480px) {
  .hero-metrics { grid-template-columns: 1fr; }
  .hero-metric { border-right: none; border-bottom: 1px solid rgba(255,255,255,.16); padding: 16px 0; }
  .hero-metric:last-child { border-bottom: none; }
}

/* ---------- 서브 히어로(세부페이지) ---------- */
.subhero { position: relative; height: 380px; overflow: hidden; background: linear-gradient(135deg, var(--pri) 0%, var(--pri-2) 100%); }
.subhero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.subhero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,21,38,.45) 0%, rgba(10,21,38,.78) 100%); }
.subhero-inner { position: absolute; inset: 0; z-index: 2; max-width: 1120px; margin: 0 auto; padding: 0 24px 40px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; }
.breadcrumb ol { display: flex; gap: 6px; font-size: 13px; color: rgba(255,255,255,.68); margin-bottom: 14px; flex-wrap: wrap; }
.breadcrumb li + li::before { content: '/'; opacity: .5; margin-right: 6px; }
.subhero-title { font-size: clamp(28px, 4vw, 42px); font-weight: 800; margin-bottom: 10px; color: #fff; }
.subhero-desc { font-size: 15px; color: rgba(255,255,255,.85); line-height: 1.8; max-width: 640px; }
@media (max-width: 768px) { .subhero { height: 300px; } }
.subhero--sm { height: 260px; }
.subhero--sm .subhero-overlay { background: linear-gradient(135deg, var(--pri) 0%, var(--pri-2) 100%); }

/* ---------- 상담 카드 ---------- */
.cst-card { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-md); padding: 40px 32px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.cst-phone { font-size: 26px; font-weight: 800; color: var(--pri); letter-spacing: -0.01em; margin: 8px 0 18px; }
.mini-label { font-size: 11px; font-weight: 800; letter-spacing: .14em; color: var(--acc-deep); text-transform: uppercase; }

/* ---------- 서비스 카드: 떠 있는 라운드 카드 + 원형 아이콘 배지 ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.svc-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 32px 26px 28px; box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.svc-card .svc-num {
  position: absolute; top: 18px; right: 18px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--surf); color: var(--acc-deep); font-size: 12px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.svc-icon {
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 18px;
  background: linear-gradient(135deg, var(--pri) 0%, var(--pri-2) 100%);
  display: flex; align-items: center; justify-content: center; color: var(--acc);
}
.svc-icon svg { width: 26px; height: 26px; }
.svc-card h3 { font-size: 18px; margin: 0 0 8px; }
.svc-card p { font-size: 14px; color: var(--mute); line-height: 1.7; margin: 0; }
.svc-more { display: inline-flex; align-items: center; gap: 4px; margin-top: 16px; font-size: 13px; font-weight: 700; color: var(--acc-deep); }
.svc-more::after { content: '→'; transition: transform .25s ease; }
@media (hover: hover) and (pointer: fine) {
  .svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--acc-soft); }
  .svc-card:hover .svc-more::after { transform: translateX(4px); }
}
.svc-grid.cols-2-max { grid-template-columns: repeat(2, 1fr); max-width: 720px; margin: 0 auto; }
@media (max-width: 1024px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .svc-grid { grid-template-columns: 1fr; } }
.lede-text { font-size: 18px; line-height: 1.9; color: var(--text); }

/* ---------- 특징 카드(Why Us): 가로형 스트라이프 리스트 — 서비스 카드와 다른 언어 ---------- */
.feat-list { display: flex; flex-direction: column; gap: 14px; }
.feat-row {
  display: flex; align-items: flex-start; gap: 22px; padding: 24px 28px;
  background: var(--surf); border-radius: 4px 16px 16px 4px; border-left: 4px solid var(--acc);
  transition: background .25s ease, border-color .25s ease;
}
.feat-row .feat-num { flex: none; font-size: 28px; font-weight: 800; color: var(--pri); opacity: .35; line-height: 1; font-variant-numeric: tabular-nums; }
.feat-row h3 { font-size: 16px; margin: 0 0 6px; }
.feat-row p { font-size: 14px; color: var(--mute); margin: 0; line-height: 1.7; }
@media (hover: hover) and (pointer: fine) {
  .feat-row:hover { background: var(--acc-soft); border-color: var(--acc-deep); }
}
@media (max-width: 560px) { .feat-row { padding: 20px; gap: 14px; } }

/* 포트폴리오 카드(이미지 포함형) — 떠 있는 라운드 카드로 통일 */
.pcard-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pcard {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease;
}
.pcard-thumb { aspect-ratio: 4/3; overflow: hidden; background: var(--surf); }
.pcard-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
@media (hover: hover) and (pointer: fine) {
  .pcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
  .pcard:hover .pcard-thumb img { transform: scale(1.06); }
}
.pcard-body { padding: 20px 22px 24px; }
.pcard-body .tag { font-size: 11px; font-weight: 800; letter-spacing: .1em; color: var(--acc-deep); text-transform: uppercase; margin-bottom: 8px; display: block; }
.pcard-body h3 { font-size: 16px; margin-bottom: 6px; }
.pcard-body p { font-size: 13px; color: var(--mute); margin: 0; }
@media (max-width: 1024px) { .pcard-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pcard-grid { grid-template-columns: 1fr; } }

/* ---------- 프로세스 (design_rules 규정 구조 그대로) ---------- */
.proc-list { display: flex; list-style: none; margin: 0; padding: 0; overflow-x: hidden; }
.proc-step { flex: 1; position: relative; padding: 0 12px; text-align: center; opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.proc-step.in { opacity: 1; transform: none; }
.proc-step:not(:last-child)::after { content: ''; position: absolute; top: 24px; left: 50%; width: 100%; height: 2px; background: var(--line); z-index: 0; }
.proc-num { position: relative; z-index: 1; margin: 0 auto 14px; width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--pri); color: #fff; font-weight: 700; }
.proc-step p { font-size: 13px; color: var(--mute); line-height: 1.6; margin: 4px 0 0; }
.proc-step h4 { font-size: 15px; margin: 0; color: var(--pri); }
@media (max-width: 768px) {
  .proc-list { flex-direction: column; gap: 10px; }
  .proc-step { padding: 24px 0; }
  .proc-step::after { display: none; }
}

/* ---------- 신뢰 밴드 ---------- */
.trust-band { display: flex; flex-wrap: wrap; gap: 0; border: 1px solid var(--line); }
.trust-item { flex: 1 1 220px; padding: 26px 24px; border-right: 1px solid var(--line); display: flex; align-items: center; gap: 14px; }
.trust-item:last-child { border-right: none; }
.trust-ic { width: 38px; height: 38px; flex: none; color: var(--acc-deep); }
.trust-item strong { display: block; font-size: 14px; color: var(--pri); }
.trust-item span { font-size: 12px; color: var(--mute); }

/* ---------- Before/After 하이라이트 ---------- */
.ba-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--line); border: 1px solid var(--line); }
.ba-cell { position: relative; background: #fff; }
.ba-cell img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.ba-badge { position: absolute; top: 14px; left: 14px; padding: 6px 14px; font-size: 12px; font-weight: 800; letter-spacing: .06em; border-radius: var(--r-btn); }
.ba-cell.before .ba-badge { background: rgba(20,33,61,.82); color: #fff; }
.ba-cell.after .ba-badge { background: var(--acc); color: var(--pri-2); }
.ba-caption { padding: 14px 4px 0; font-size: 13px; color: var(--mute); text-align: center; }
.ba-link { color: var(--acc-deep); font-weight: 700; }
@media (max-width: 640px) { .ba-wrap { grid-template-columns: 1fr; } }

/* ---------- 비교표 / 체크리스트 ---------- */
.cmp-table th, .cmp-table td { padding: 14px 16px; border: 1px solid var(--line); font-size: 14px; text-align: left; }
.cmp-table th { background: var(--pri); color: #fff; font-weight: 700; }
.cmp-table td.good { color: var(--acc-deep); font-weight: 700; }
.check-list { display: flex; flex-direction: column; gap: 10px; }
.check-item { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border: 1px solid var(--line); background: #fff; }
.check-item .ic { flex: none; width: 22px; height: 22px; color: var(--acc-deep); margin-top: 2px; }
.check-item p { margin: 0; font-size: 14px; color: var(--text); line-height: 1.7; }

/* ---------- 카드 뱃지(모바일 세로 스택) ---------- */
.card-badges { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 768px) { .card-badges { flex-direction: column; align-items: flex-start; gap: 6px; } }
.badge { display: inline-flex; padding: 6px 12px; font-size: 12px; font-weight: 700; border-radius: var(--r-btn); background: var(--surf); color: var(--pri); border: 1px solid var(--line); }

/* ---------- 강제 그리드(고정 컬럼) CSS 클래스 — 인라인 금지 규칙 대응 ---------- */
.dp-g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.dp-g3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.dp-stat3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; text-align: center; }
@media (max-width: 768px) { .dp-g2, .dp-g3 { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .dp-stat3 { grid-template-columns: 1fr; gap: 16px; } }

/* ---------- CTA 밴드 ---------- */
.cta-band { background: linear-gradient(135deg, var(--acc) 0%, var(--acc-deep) 100%); color: var(--pri-2); padding: 68px 0; position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; inset: 0; background: radial-gradient(560px 280px at 88% -10%, rgba(255,255,255,.32), transparent 60%); pointer-events: none; }
.cta-band-grid { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-band h2 { color: var(--pri-2); margin-bottom: 6px; }
.cta-band p { color: rgba(20,33,61,.82); margin: 0; }
.cta-band-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cta-band-actions .btn-dark { background: var(--pri); color: #fff; }
@media (max-width: 880px) { .cta-band-grid { flex-direction: column; align-items: flex-start; } }

/* ---------- FAQ 아코디언 ---------- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 20px 4px; font-size: 16px; font-weight: 700; color: var(--pri); text-align: left; gap: 16px; }
.faq-ic { width: 20px; height: 20px; flex: none; position: relative; transition: transform .3s; }
.faq-ic::after { content: ''; position: absolute; top: 6px; left: 3px; width: 10px; height: 10px; border-right: 2px solid var(--pri); border-bottom: 2px solid var(--pri); transform: rotate(45deg); }
.faq-item.open .faq-ic { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease, padding .4s ease; }
.faq-item.open .faq-a { max-height: 500px; padding-bottom: 22px; }
.faq-a p { font-size: 14px; color: var(--mute); line-height: 1.8; margin: 0 4px; }

/* ---------- 리빌 애니메이션(다양화) ---------- */
[data-anim] { opacity: 0; transition: opacity .7s ease, transform .7s ease, clip-path .8s ease; }
[data-anim="fade-up"] { transform: translateY(26px); }
[data-anim="fade-left"] { transform: translateX(-26px); }
[data-anim="fade-right"] { transform: translateX(26px); }
[data-anim="scale-in"] { transform: scale(.94); }
[data-anim="wipe"] { transform: none; clip-path: inset(0 100% 0 0); }
[data-anim].in { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }
[data-delay="1"] { transition-delay: .08s; } [data-delay="2"] { transition-delay: .16s; }
[data-delay="3"] { transition-delay: .24s; } [data-delay="4"] { transition-delay: .32s; }
[data-delay="5"] { transition-delay: .40s; }
.counter-num[data-count] { font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce) {
  [data-anim] { opacity: 1 !important; transform: none !important; clip-path: none !important; transition: none !important; }
  .proc-step { opacity: 1 !important; transform: none !important; }
  .hp-slide img { animation: none !important; }
}

/* ---------- 푸터 ---------- */
.site-footer { background: var(--pri); color: #B9C0CE; padding: 68px 0 30px; font-size: 13px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; margin-bottom: 36px; }
.foot-block h4 { color: #E7EAF1; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; margin: 0 0 14px; }
.foot-biz p { margin: 0 0 4px; line-height: 1.8; color: #B9C0CE; }
.foot-links { display: flex; gap: 18px; margin-bottom: 24px; flex-wrap: wrap; }
.foot-links a { color: #E7EAF1; font-weight: 600; }
@media (hover: hover) and (pointer: fine) { .foot-links a:hover { color: var(--acc); } }
.foot-cats { display: flex; gap: 14px; flex-wrap: wrap; }
.foot-cats a { padding: 8px 14px; border: 1px solid rgba(255,255,255,.16); border-radius: var(--r-btn); color: #E7EAF1; font-size: 12px; font-weight: 600; }
@media (hover: hover) and (pointer: fine) { .foot-cats a:hover { border-color: var(--acc); color: var(--acc); } }
.foot-legal { padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); color: #7C8496; font-size: 12px; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- FAB / 모바일 하단바 / back to top ---------- */
.fab-contact {
  position: fixed; right: 20px; bottom: 20px; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; color: var(--pri-2); background: var(--acc);
  box-shadow: var(--shadow-lg), 0 0 0 4px rgba(245,163,0,.15); z-index: 60; transition: transform .2s;
}
@media (hover: hover) and (pointer: fine) { .fab-contact:hover { transform: scale(1.06); } }
.mobile-cta-bar { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 850; grid-template-columns: 1fr; }
.mcta-btn { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 0; font-size: 15px; font-weight: 700; color: #fff; background: var(--pri); }
@media (max-width: 768px) { .mobile-cta-bar { display: grid; } body { padding-bottom: 64px; } }
.back-top { position: fixed; bottom: 24px; right: 88px; width: 44px; height: 44px; background: var(--pri); color: #fff; display: none; align-items: center; justify-content: center; z-index: 700; border-radius: var(--r-btn); }
.back-top.visible { display: flex; }
@media (max-width: 768px) { .fab-contact { bottom: 76px; right: 16px; width: 50px; height: 50px; } .back-top { bottom: 76px; right: 76px; } }

/* ---------- 모바일 내비 ---------- */
#mob-nav { position: fixed; inset: 0 0 0 auto; width: min(300px, 82vw); background: #fff; z-index: 900; transform: translateX(100%); transition: transform .3s ease; padding: 24px; box-shadow: -8px 0 30px rgba(0,0,0,.15); }
#mob-nav.open { transform: translateX(0); }
#mob-nav a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line); font-weight: 700; color: var(--pri); }
#mob-overlay { position: fixed; inset: 0; background: rgba(10,21,38,.5); z-index: 890; opacity: 0; pointer-events: none; transition: opacity .3s; }
#mob-overlay.open { opacity: 1; pointer-events: auto; }
@media (min-width: 769px) { .hamburger, #mob-nav, #mob-overlay { display: none !important; } }
@media (max-width: 768px) { .hamburger { display: block; } }

/* ---------- 반응형 공통 ---------- */
@media (max-width: 1024px) { .section { padding: 76px 0; } }
@media (max-width: 768px) { .section { padding: 64px 0; } }

/* ---------- 404 ---------- */
.err-section { padding: 160px 0; text-align: center; }
.err-lead { color: var(--mute); margin-bottom: 32px; }
.err-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
