/* 범 개발 — 공개 사이트 스타일 */
:root {
  --ink: #18222f;
  --ink-2: #3c4a5c;
  --muted: #5d6a7e;
  --line: #e2e5ea;
  --bg: #ffffff;
  --bg-soft: #f6f5f1;
  --primary: #4462ee;
  --primary-ink: #ffffff;
  --primary-dark: #2f49c8;
  --primary-soft: #eceffd;
  --accent: #d98a2b;
  --accent-soft: #fbf0e1;
  --ok: #1d7a4f;
  --ok-soft: #e4f4ec;
  --danger: #b42318;
  --danger-soft: #fdecea;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(16, 24, 40, 0.05), 0 4px 16px rgba(16, 24, 40, 0.06);
  --container: 1120px;
  color-scheme: light;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  word-break: keep-all;
  overflow-wrap: break-word;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--primary);
}
h1,
h2,
h3 {
  line-height: 1.35;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}
p {
  margin: 0 0 1em;
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip-link {
  position: absolute;
  left: 8px;
  top: -48px;
  background: var(--ink);
  color: #fff;
  padding: 8px 14px;
  border-radius: 6px;
  z-index: 100;
}
.skip-link:focus {
  top: 8px;
}
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 0.875rem;
}
.center {
  text-align: center;
}
[hidden] {
  display: none !important;
}

/* 버튼 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 10px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s;
  min-height: 44px;
}
.btn-sm {
  padding: 7px 14px;
  min-height: 36px;
  font-size: 0.9rem;
}
.btn-lg {
  padding: 13px 24px;
  font-size: 1.02rem;
  min-height: 50px;
}
.btn-block {
  width: 100%;
}
.btn-primary {
  background: var(--primary);
  color: var(--primary-ink);
}
.btn-primary:hover {
  background: var(--primary-dark);
}
.btn-ghost {
  background: transparent;
  color: var(--primary);
  border-color: #c3cdf9;
}
.btn-ghost:hover {
  background: var(--primary-soft);
}
.btn-secondary {
  background: var(--bg-soft);
  color: var(--ink);
  border-color: var(--line);
}
.btn-secondary:hover {
  background: #eceae4;
}
.btn-light {
  background: #fff;
  color: var(--primary-dark);
}
.btn-light:hover {
  background: var(--accent-soft);
}
.btn-danger {
  background: #fff;
  color: var(--danger);
  border-color: #f1b8b2;
}
.btn-danger:hover {
  background: var(--danger-soft);
}
.btn[disabled],
.btn[aria-disabled='true'] {
  opacity: 0.6;
  cursor: progress;
}
.text-link {
  font-weight: 600;
  text-decoration: none;
}
.text-link:hover {
  text-decoration: underline;
}

/* 헤더 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 16px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.brand-signature {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  flex-shrink: 0;
}
.brand-wordmark {
  width: 116px;
  height: auto;
}
.brand-name {
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: 0.09em;
  font-weight: 500;
}
.footer-brand .brand-wordmark,
.login-brand .brand-wordmark {
  width: 144px;
}
.login-brand {
  margin-bottom: 24px;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-item {
  position: relative;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-2);
  text-decoration: none;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 8px;
}
.nav-link:hover {
  background: var(--bg-soft);
}
.nav-link[aria-current='page'] {
  color: var(--primary);
  font-weight: 700;
}
/* 하위 메뉴가 있음을 알려 주는 작은 화살표 */
.has-sub > .nav-link::after {
  content: '';
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  opacity: 0.7;
}
/* 데스크톱: 마우스를 올리거나 키보드로 초점이 오면 펼침 */
.sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 60;
  min-width: 220px;
  list-style: none;
  margin: 0;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(16, 24, 40, 0.12);
}
.nav-item:hover > .sub-menu,
.nav-item:focus-within > .sub-menu {
  display: block;
}
.sub-menu a {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--ink-2);
  text-decoration: none;
  font-size: 0.94rem;
  white-space: nowrap;
}
.sub-menu a:hover,
.sub-menu a:focus-visible {
  background: var(--primary-soft);
  color: var(--primary-dark);
}
.site-nav .btn {
  margin-left: 8px;
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  position: relative;
}
.nav-toggle .bar,
.nav-toggle .bar::before,
.nav-toggle .bar::after {
  position: absolute;
  left: 12px;
  width: 18px;
  height: 2px;
  background: var(--ink);
  content: '';
  transition: transform 0.2s;
}
.nav-toggle .bar {
  top: 21px;
}
.nav-toggle .bar::before {
  left: 0;
  top: -6px;
}
.nav-toggle .bar::after {
  left: 0;
  top: 6px;
}
.nav-toggle[aria-expanded='true'] .bar {
  background: transparent;
}
.nav-toggle[aria-expanded='true'] .bar::before {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle[aria-expanded='true'] .bar::after {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 760px) {
  .header-inner {
    flex-wrap: wrap;
  }
  .site-nav {
    flex-wrap: wrap;
  }
  .js .nav-toggle {
    display: block;
  }
  .js .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 64px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 8px 20px 18px;
    box-shadow: 0 12px 24px rgba(16, 24, 40, 0.08);
  }
  .js .site-nav.open {
    display: flex;
  }
  .js .site-nav {
    max-height: calc(100vh - 64px);
    overflow-y: auto;
  }
  /* 모바일: 하위 메뉴를 항상 펼친 목록으로 표시 */
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav-item {
    border-bottom: 1px solid var(--line);
    padding: 4px 0 8px;
  }
  .nav-link {
    display: flex;
    padding: 10px 8px 4px;
    font-weight: 700;
    color: var(--ink);
  }
  .has-sub > .nav-link::after {
    display: none;
  }
  .sub-menu,
  .nav-item:hover > .sub-menu,
  .nav-item:focus-within > .sub-menu {
    display: block;
    position: static;
    min-width: 0;
    padding: 0 0 0 8px;
    border: 0;
    box-shadow: none;
    background: transparent;
  }
  .sub-menu a {
    padding: 8px;
    white-space: normal;
  }
  .js .site-nav .btn {
    margin: 12px 0 0;
  }
  .js .header-inner {
    flex-wrap: nowrap;
  }
}

.preview-bar {
  background: var(--accent);
  color: #1b1307;
  text-align: center;
  padding: 10px 16px;
  font-weight: 600;
}
.preview-bar a {
  color: inherit;
  margin-left: 8px;
}

/* 히어로 */
.hero {
  background: radial-gradient(1200px 400px at 85% -10%, #eceffd 0%, transparent 60%), linear-gradient(180deg, #fbfaf7 0%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
}
.hero-inner {
  padding: 88px 20px 80px;
  max-width: var(--container);
}
.eyebrow {
  display: inline-block;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}
.hero h1 {
  font-size: clamp(1.9rem, 4.6vw, 3.1rem);
  font-weight: 800;
  margin-bottom: 20px;
}
.hero-lead {
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  color: var(--ink-2);
  max-width: 640px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

/* 섹션 */
.section {
  padding: 80px 0;
}
.section-tight {
  padding: 48px 0 72px;
}
.section-alt {
  background: var(--bg-soft);
}
.section-head {
  max-width: 680px;
  margin-bottom: 36px;
}
.section-head h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
}
.section-head p {
  color: var(--ink-2);
}
.section-head-row {
  display: flex;
  max-width: none;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}
.page-head {
  padding: 64px 0 40px;
  background: linear-gradient(180deg, #fbfaf7 0%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
}
.page-head h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
}
.page-head .lead {
  font-size: 1.08rem;
  color: var(--ink-2);
  max-width: 720px;
}

/* 카드·그리드 */
.grid {
  display: grid;
  gap: 20px;
}
.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 980px) {
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .grid-4,
  .grid-3 {
    grid-template-columns: 1fr;
  }
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.service-card {
  padding: 24px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s, border-color 0.15s;
}
.service-card:hover {
  border-color: #b9c5f7;
  transform: translateY(-2px);
}
.service-card h3 {
  font-size: 1.12rem;
}
.service-card p {
  color: var(--ink-2);
  font-size: 0.95rem;
  margin: 0;
}
.service-num {
  display: inline-block;
  font-weight: 800;
  color: #a8620f;
  font-size: 0.9rem;
  margin-bottom: 10px;
}
.project-card {
  overflow: hidden;
}
.card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}
.card-thumb {
  aspect-ratio: 16 / 10;
  background: var(--primary-soft);
  overflow: hidden;
}
.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-thumb-empty {
  display: grid;
  place-items: center;
  color: #a9b6f2;
  font-size: 3rem;
  font-weight: 800;
}
.card-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-body h3 {
  font-size: 1.15rem;
  margin: 6px 0 8px;
}
.card-body p {
  color: var(--ink-2);
  font-size: 0.95rem;
}
.card-body .more {
  margin-top: auto;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.92rem;
}
.project-card:hover h3 {
  color: var(--primary);
}
.card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.status {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
}
.status-progress {
  background: var(--accent-soft);
  color: #8a5310;
}
.status-pilot {
  background: var(--primary-soft);
  color: var(--primary-dark);
}
.status-done {
  background: var(--ok-soft);
  color: var(--ok);
}
.category {
  color: var(--muted);
  font-size: 0.85rem;
}

/* 원칙·단계 */
.principles,
.steps {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  counter-reset: step;
}
.principles li,
.steps li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  counter-increment: step;
}
.principles li::before,
.steps li::before {
  content: counter(step);
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 12px;
}
.principles h3,
.steps h3 {
  font-size: 1.05rem;
}
.principles p,
.steps p {
  color: var(--ink-2);
  font-size: 0.95rem;
  margin: 0;
}
@media (max-width: 980px) {
  .principles,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .principles,
  .steps {
    grid-template-columns: 1fr;
  }
}

/* 소개 */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.about-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.about-block h3 {
  font-size: 1.1rem;
  color: var(--primary);
}
@media (max-width: 760px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

/* CTA */
.cta-band {
  background: var(--primary);
  color: #fff;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 56px;
  padding-bottom: 56px;
  flex-wrap: wrap;
}
.cta-band h2 {
  font-size: clamp(1.35rem, 2.6vw, 1.8rem);
  font-weight: 800;
}
.cta-band p {
  margin: 0;
  color: #ffffff;
  max-width: 620px;
}

/* 서비스 상세 */
.services-list {
  display: grid;
  gap: 20px;
}
.service-detail {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  scroll-margin-top: 90px;
}
.service-detail h2 {
  font-size: 1.4rem;
  font-weight: 800;
}
.service-lead {
  font-size: 1.05rem;
  color: var(--ink-2);
}
.small-title {
  font-size: 0.95rem;
  color: var(--muted);
  margin-top: 8px;
}
@media (max-width: 760px) {
  .service-detail {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 24px;
  }
}
.check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
}
.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 8px;
}
.check-list li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 0.55em;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  transform: rotate(-45deg);
}
.note {
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--ink-2);
  font-size: 0.92rem;
  margin: 12px 0 0;
}

/* 프로젝트 상세 */
.crumbs {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 14px;
}
.crumbs a {
  color: var(--muted);
}
.project-head h1 {
  margin-top: 10px;
}
.status-note {
  margin: 24px 0 0;
  background: var(--accent-soft);
  border: 1px solid #f1d6b0;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  color: #6b4210;
}
.project-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 40px;
}

.project-layout:not(:has(.project-side)) {
  grid-template-columns: minmax(0, 1fr);
}
.project-main {
  max-width: 760px;
}
@media (max-width: 900px) {
  .project-layout {
    grid-template-columns: 1fr;
  }
}
.gallery {
  display: grid;
  gap: 16px;
  margin-bottom: 32px;
}
.gallery figure {
  margin: 0;
}
.gallery img {
  width: 100%;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}
.gallery figcaption {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 6px;
}
.block {
  margin-top: 36px;
}
.block h2,
.side-box h2 {
  font-size: 1.2rem;
}
.side-box h2 {
  font-size: 1rem;
}
.side-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 16px;
  background: #fff;
}
.side-box p {
  color: var(--ink-2);
  font-size: 0.95rem;
  margin: 0;
}
.file-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.file-list li {
  padding: 6px 0;
}
.video {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #000;
}
.video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.prose {
  color: var(--ink-2);
  font-size: 1.02rem;
}
.prose h2 {
  color: var(--ink);
  font-size: 1.2rem;
  margin-top: 1.8em;
}
.prose h3 {
  color: var(--ink);
  font-size: 1.1rem;
  margin-top: 1.4em;
}
.prose ul {
  padding-left: 1.3em;
}
.prose p:last-child {
  margin-bottom: 0;
}
.privacy {
  max-width: 800px;
}
.empty {
  padding: 48px 0;
  text-align: center;
  color: var(--muted);
}

/* 폼 */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  align-items: start;
}
@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}
.form {
  max-width: 720px;
}
.field {
  margin-bottom: 22px;
}
.field label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 600px) {
  .field-row {
    grid-template-columns: 1fr;
  }
}
.req,
.opt {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 4px;
  padding: 1px 6px;
  margin-left: 4px;
  vertical-align: 2px;
}
.req {
  color: var(--danger);
  background: var(--danger-soft);
}
.opt {
  color: var(--muted);
  background: var(--bg-soft);
}
input[type='text'],
input[type='url'],
input[type='email'],
input[type='password'],
input[type='number'],
select,
textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid #c9cfd8;
  border-radius: 10px;
  padding: 11px 14px;
  min-height: 46px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
textarea {
  resize: vertical;
  line-height: 1.6;
}
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(68, 98, 238, 0.2);
}
[aria-invalid='true'] {
  border-color: var(--danger) !important;
  box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.12) !important;
}
.help {
  font-size: 0.875rem;
  color: var(--muted);
  margin: 6px 0 0;
}
.help:empty {
  display: none;
}
.field-error {
  color: var(--danger);
  font-size: 0.9rem;
  font-weight: 600;
  margin: 6px 0 0;
}
.field-error::before {
  content: '! ';
}
.check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-weight: 500;
}
.check input {
  width: 20px;
  height: 20px;
  accent-color: var(--primary);
  margin: 0;
}
.consent-box {
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 0.9rem;
  color: var(--ink-2);
  margin-bottom: 12px;
}
.consent-box ul {
  margin: 0 0 8px;
  padding-left: 1.2em;
}
.consent-box p {
  margin: 0 0 6px;
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.form-progress {
  margin: 0;
  color: var(--primary);
  font-weight: 600;
}
.form-progress:empty {
  display: none;
}
.form-progress.busy::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid var(--primary-soft);
  border-top-color: var(--primary);
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: -2px;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.form-alert {
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin-bottom: 22px;
  font-size: 0.95rem;
}
.form-alert-error {
  background: var(--danger-soft);
  color: #7a1a12;
  border: 1px solid #f3c2bc;
}
.form-alert-fail {
  background: #fff6e5;
  color: #6b4210;
  border: 1px solid #f1d6b0;
}
.form-success {
  background: var(--ok-soft);
  border: 1px solid #b7e0cb;
  border-radius: var(--radius);
  padding: 32px;
}
.form-success h2 {
  color: var(--ok);
}
.contact-side .side-box h2 {
  font-size: 1rem;
}

/* 하단 */
.site-footer {
  background: #121a24;
  color: #c3cbd6;
  padding: 48px 0 40px;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 32px;
}
@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
.footer-brand {
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 4px;
}
.footer-brand .brand-wordmark {
  filter: brightness(0) invert(1);
}
.footer-tag {
  color: #8d98a8;
}
.biz-info {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin: 0 0 16px;
}
.biz-info div {
  display: flex;
  gap: 6px;
}
.biz-info dt {
  color: #8d98a8;
}
.biz-info dd {
  margin: 0;
  color: #dfe4ea;
}
.site-footer a {
  color: #dfe4ea;
}
.footer-links {
  display: flex;
  gap: 16px;
  margin-bottom: 8px;
}
.footer-links a {
  font-weight: 600;
}
.copyright {
  color: #8a95a5;
  margin: 0;
}

input, select, textarea { scroll-margin-top: 96px; }
.check { align-items: flex-start; }
.check input { margin-top: 3px; flex: none; }

/* 포트폴리오 분야 탭 */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.filter-tabs a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-2);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.94rem;
}
.filter-tabs a:hover {
  border-color: var(--primary);
  color: var(--primary-dark);
}
.filter-tabs a[aria-current='page'] {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.filter-tabs .count {
  font-size: 0.82rem;
  opacity: 0.85;
}
.crumbs a + span,
.crumbs span + a {
  margin: 0;
}
