/* ================================================================
       KodeIT — Light Mode One-Page Website
       Toss × Linear Light Aesthetic | Pure HTML5 + CSS3 | A11Y-First
       ================================================================ */

/* ── Reset ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

/* ── Design Tokens (Light Mode) ── */
:root {
  /* Backgrounds */
  --bg: #ffffff;
  --bg-subtle: #fafafa;
  --bg-tinted: #f5f6f8;
  --surface: #ffffff;
  --surface-2: #f8f9fb;
  --surface-3: #f0f1f5;

  /* Borders */
  --border: rgba(0, 0, 0, 0.07);
  --border-hover: rgba(0, 0, 0, 0.14);
  --border-focus: #111111;

  /* Text */
  --text-primary: #111111;
  --text-secondary: #5e6473;
  --text-muted: #9ba3b2;

  /* Brand accents */
  --accent-a: #4f46e5;
  /* indigo */
  --accent-b: #7c3aed;
  /* violet */
  --accent-c: #059669;
  /* emerald */
  --accent-d: #2563eb;
  /* blue */

  /* Semantic */
  --error: #dc2626;
  --success: #059669;

  /* Shadows */
  --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.03);
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.05), 0 1px 4px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.07), 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.09), 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-focus: 0 0 0 3px rgba(79, 70, 229, 0.18);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.04), 0 0 0 1px var(--border);

  /* Typography */
  --font: 'Inter', 'Pretendard Variable', 'Pretendard', system-ui, -apple-system, sans-serif;

  /* Header */
  --header-h: 64px;

  /* Transitions */
  --ease: cubic-bezier(0.33, 1, 0.68, 1);
  --fast: 150ms var(--ease);
  --normal: 240ms var(--ease);
  --slow: 400ms var(--ease);

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 9999px;
}

/* ── Base ── */
body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ── Skip Link ── */
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;
  padding: 10px 18px;
  background: var(--text-primary);
  color: var(--bg);
  font-size: .875rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform var(--fast);
}

.skip-link:focus {
  transform: translateY(0);
}

/* ── Screen-reader only ── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-subtle);
}

::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.15);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.25);
}

/* ──────────────────────────────────────────────
       BACKGROUND CANVAS — subtle light-mode decor
    ──────────────────────────────────────────────── */
.bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
}

.bg-orb--1 {
  width: 900px;
  height: 700px;
  top: -250px;
  left: -250px;
  background: radial-gradient(ellipse, rgba(79, 70, 229, 0.07), transparent 65%);
}

.bg-orb--2 {
  width: 600px;
  height: 500px;
  top: 30%;
  right: -180px;
  background: radial-gradient(ellipse, rgba(5, 150, 105, 0.06), transparent 65%);
}

.bg-orb--3 {
  width: 700px;
  height: 600px;
  bottom: -200px;
  left: 15%;
  background: radial-gradient(ellipse, rgba(37, 99, 235, 0.05), transparent 65%);
}

/* Subtle dot grid */
.bg-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(0, 0, 0, 0.055) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom,
      transparent 0%, black 10%, black 90%, transparent 100%);
}

/* ── bg-canvas: 히어로 섹션(배경 이미지 영역) 뒤에서 숨김 처리 ──
       히어로는 자체 배경 이미지를 사용하므로 오브(orb)와 겹치지 않도록 z-index를 낮게 유지.
       히어로 이후 섹션에서는 정상 표시됩니다. */
.bg-canvas {
  z-index: -1;
  /* 히어로 배경 이미지보다 아래로 */
}

/* ──────────────────────────────────────────────
       LOGO (shared: footer 등에서도 사용)
    ──────────────────────────────────────────────── */
.logo-img--footer {
  height: 40px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* ──────────────────────────────────────────────
       FLOATING NAV BAR (Bottom Capsule → Morphing Circle)
    ──────────────────────────────────────────────── */
.floating-nav {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 900;
  /* above overlay */
  display: flex;
  align-items: center;
  gap: 0;
  background: #1a1a1a;
  border-radius: var(--radius-pill);
  /* capsule size */
  width: clamp(240px, 40vw, 360px);
  height: 56px;
  padding: 0.45rem 0.45rem 0.45rem 1.75rem;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.32), 0 2px 8px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(20px);
  overflow: hidden;
  /* clip inner content during shrink */
  cursor: default;
  /* transitions for the morph */
  transition:
    width 0.42s cubic-bezier(0.65, 0, 0.35, 1),
    border-radius 0.42s cubic-bezier(0.65, 0, 0.35, 1),
    padding 0.42s cubic-bezier(0.65, 0, 0.35, 1),
    box-shadow 0.3s ease;
}

/* ── ACTIVE (morphed to circle) ── */
.floating-nav.active {
  width: 56px;
  /* same as height → perfect circle */
  padding: 0;
  /* remove asymmetric padding */
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

/* Inner content wrapper (logo + section text + hamburger) */
.floating-nav__content {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
  min-width: 0;
  /* fade out when active */
  opacity: 1;
  transition: opacity 0.2s ease;
  pointer-events: auto;
  white-space: nowrap;
}

.floating-nav.active .floating-nav__content {
  opacity: 0;
  pointer-events: none;
}

.floating-nav__logo {
  font-size: 0.9375rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.04em;
  flex-shrink: 0;
  text-decoration: none;
  white-space: nowrap;
}

.floating-nav__section {
  flex: 1;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
  transition: color var(--normal);
}

.floating-nav__hamburger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #2e2e2e;
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  flex-shrink: 0;
  color: #ffffff;
  transition: background var(--fast), border-color var(--fast);
}

.floating-nav__hamburger:hover {
  background: #3a3a3a;
  border-color: rgba(255, 255, 255, 0.22);
}

.floating-nav__hamburger:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}

/* X close icon — hidden by default, shown when .active */
.floating-nav__close-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-90deg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.25s ease 0.15s,
    /* delayed reveal */
    transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) 0.12s;
  /* spring rotate */
}

.floating-nav.active .floating-nav__close-icon {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) rotate(0deg);
}

/* ──────────────────────────────────────────────
       OVERLAY MENU MODAL
    ──────────────────────────────────────────────── */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 800;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 2rem 1.25rem 6rem;
  pointer-events: none;
  opacity: 0;
  transition: opacity 380ms cubic-bezier(0.33, 1, 0.68, 1);
}

.nav-overlay.is-open {
  pointer-events: auto;
  opacity: 1;
}

/* Dim backdrop */
.nav-overlay__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* Modal card */
.nav-overlay__card {
  position: relative;
  width: 100%;
  max-width: 500px;
  background: #1e2025;
  border-radius: 24px;
  padding: 2.5rem 2.5rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5);
  transform: translateY(40px) scale(0.97);
  opacity: 0;
  transition:
    transform 400ms cubic-bezier(0.33, 1, 0.68, 1),
    opacity 380ms cubic-bezier(0.33, 1, 0.68, 1);
}

.nav-overlay.is-open .nav-overlay__card {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* MENU label */
.nav-overlay__label {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 1.5rem;
}

/* Main menu links */
.nav-overlay__links {
  list-style: none;
  margin-bottom: 2.5rem;
}

.nav-overlay__links li {
  overflow: hidden;
}

.nav-overlay__link {
  display: inline-block;
  font-size: clamp(2.25rem, 6vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #ffffff;
  text-decoration: none;
  line-height: 1.1;
  padding: 0.15em 0;
  transition: color var(--normal);
}

.nav-overlay__link:hover {
  color: rgba(255, 255, 255, 0.55);
}

.nav-overlay__link:focus-visible {
  outline: none;
  color: rgba(255, 255, 255, 0.6);
}

/* Divider */
.nav-overlay__divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 1.75rem;
}

/* Sub-info grid */
.nav-overlay__meta {
  display: grid;
  gap: 0.5rem 1.5rem;
  margin-bottom: 1.75rem;
}

.nav-overlay__meta-link {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: color var(--fast);
  line-height: 2;
}

.nav-overlay__meta-link:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* CTA Button */
.nav-overlay__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  width: 100%;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  color: #ffffff;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background var(--fast), border-color var(--fast), transform var(--fast);
}

.nav-overlay__cta:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

.nav-overlay__cta:active {
  transform: scale(0.98);
}

/* ──────────────────────────────────────────────
       SHARED SECTION LAYOUT
    ──────────────────────────────────────────────── */
.section {
  position: relative;
  z-index: 1;
  padding: clamp(5rem, 10vw, 9rem) clamp(1.25rem, 4vw, 3rem);
}

.section__inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* Eyebrow */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .3rem .875rem;
  background: var(--surface-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: .6875rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.eyebrow-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-c);
  animation: blink 2.2s ease-in-out infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: .3
  }
}

/* Section title */
.section-title {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 620px;
}

.section-header {
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

/* Gradient text */
.grad-text {
  background: linear-gradient(135deg, var(--accent-a) 0%, var(--accent-b) 50%, var(--accent-c) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Divider */
.section-divider {
  max-width: 1200px;
  margin: 0 auto;
  height: 1px;
  background: var(--border);
}

/* Shared buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font);
  font-size: .9375rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--normal), color var(--normal),
    box-shadow var(--normal), transform var(--fast),
    filter var(--normal), border-color var(--normal);
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.btn:focus-visible {
  outline: none;
  box-shadow: var(--shadow-focus);
}

.btn:active {
  transform: scale(.97);
}

.btn--dark {
  background: var(--text-primary);
  color: #fff;
  box-shadow: var(--shadow-xs);
}

.btn--dark:hover {
  background: #333;
  box-shadow: var(--shadow-sm);
}

.btn--outline {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.btn--outline:hover {
  color: var(--text-primary);
  border-color: var(--border-hover);
  background: var(--surface-2);
}

.btn--accent {
  background: var(--accent-a);
  color: #fff;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.22);
}

.btn--accent:hover {
  filter: brightness(1.1);
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.32);
}

/* ──────────────────────────────────────────────
       1. HERO
    ──────────────────────────────────────────────── */
#hero {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 4rem;
  overflow: hidden;
  position: relative;
  background-image: url('../images/main-img.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

/* 어두운 반투명 오버레이 */
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  z-index: 0;
}

/* section__inner 위로 덮어올림 */
#hero>* {
  position: relative;
  z-index: 1;
}

#hero .section__inner {
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .3rem 1rem;
  background: rgba(79, 70, 229, 0.07);
  border: 1px solid rgba(79, 70, 229, 0.16);
  border-radius: var(--radius-pill);
  font-size: .8125rem;
  font-weight: 600;
  color: var(--accent-a);
  margin-bottom: 2.5rem;
  animation: fadeDown .8s var(--ease) both;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-c);
  animation: blink 2.2s ease-in-out infinite;
}

.hero-title {
  font-size: clamp(4rem, 12vw, 7rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: .92;
  margin-bottom: .75rem;
  animation: fadeUp .9s var(--ease) .1s both;
}

/* 다크 배경에서 맞춰 히어로 텍스트 흰색으로 변경 */
.hero-title-main {
  display: block;
  color: #ffffff;
}

.hero-title-accent {
  display: block;
  /* 어두운 배경에서 돋보이도록 밝기 조정 */
  background: linear-gradient(135deg, #a5b4fc 0%, #c4b5fd 50%, #6ee7b7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-vision {
  font-size: clamp(1.125rem, 3vw, 1.625rem);
  font-weight: 300;
  letter-spacing: .05em;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  margin-bottom: 2.5rem;
  animation: fadeUp .9s var(--ease) .2s both;
}

.hero-desc {
  font-size: clamp(.9375rem, 2vw, 1.125rem);
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.75;
  max-width: 560px;
  margin: 0 auto 3rem;
  animation: fadeUp .9s var(--ease) .3s both;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeUp .9s var(--ease) .4s both;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: .6875rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  animation: fadeUp .9s var(--ease) .6s both;
}

.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.4));
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

  0%,
  100% {
    opacity: .3;
    transform: scaleY(1)
  }

  50% {
    opacity: .8;
    transform: scaleY(1.15)
  }
}

/* ──────────────────────────────────────────────
       2. SERVICES
    ──────────────────────────────────────────────── */
#services {
  background: var(--bg-subtle);
}

#services .section-header {
  text-align: center;
}

#services .section-subtitle {
  margin: 0 auto;
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: border-color var(--normal), transform var(--slow), box-shadow var(--slow);
  cursor: default;
}

.service-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

/* Top accent stripe */
.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 2rem;
  right: 2rem;
  height: 2px;
  border-radius: 0 0 2px 2px;
  opacity: 0;
  transition: opacity var(--normal);
}

.service-card--mobile::after {
  background: linear-gradient(90deg, var(--accent-a), var(--accent-b));
}

.service-card--system::after {
  background: linear-gradient(90deg, var(--accent-b), #a855f7);
}

.service-card--consult::after {
  background: linear-gradient(90deg, var(--accent-c), #34d399);
}

.service-card:hover::after {
  opacity: 1;
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.service-icon--mobile {
  background: rgba(79, 70, 229, 0.08);
}

.service-icon--system {
  background: rgba(124, 58, 237, 0.08);
}

.service-icon--consult {
  background: rgba(5, 150, 105, 0.08);
}

.service-tag {
  display: inline-block;
  padding: .2rem .625rem;
  border-radius: var(--radius-pill);
  font-size: .625rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.service-tag--mobile {
  background: rgba(79, 70, 229, 0.08);
  color: var(--accent-a);
}

.service-tag--system {
  background: rgba(124, 58, 237, 0.08);
  color: var(--accent-b);
}

.service-tag--consult {
  background: rgba(5, 150, 105, 0.08);
  color: var(--accent-c);
}

.service-name {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: .75rem;
}

.service-desc {
  font-size: .9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.service-features {
  list-style: none;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: .625rem;
  font-size: .875rem;
  color: var(--text-secondary);
}

.service-features li::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--text-muted);
  flex-shrink: 0;
}

/* ──────────────────────────────────────────────
       3. SOLUTIONS — Row List UI
    ──────────────────────────────────────────────── */
#solutions {
  background: var(--bg);
}

/* —— Stats bar: 4-column grid across full width —— */
.solutions-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: clamp(3rem, 5vw, 4.5rem);
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: border-color var(--normal), box-shadow var(--normal), transform var(--normal);
}

.stat-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: .375rem;
}

.stat-label {
  font-size: .75rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: .04em;
  text-transform: uppercase;
}

.stat-card--a .stat-number {
  color: var(--accent-a);
}

.stat-card--b .stat-number {
  color: var(--accent-b);
}

.stat-card--c .stat-number {
  color: var(--accent-c);
}

.stat-card--d .stat-number {
  color: var(--accent-d);
}

/* —— Section header: centered —— */
#solutions .section-header {
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

#solutions .section-subtitle {
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* —— Row list container —— */
.solutions-list {
  display: flex;
  flex-direction: column;
}

/* —— Each solution row —— */
.solution-item {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background var(--fast);
}

.solution-item:first-child {
  border-top: 1px solid var(--border);
}

/* Col A: number + name + badge — ~30% width */
.solution-col-title {
  display: flex;
  align-items: baseline;
  gap: 0.875rem;
  flex: 0 0 28%;
  min-width: 0;
}

.solution-num {
  font-size: 0.75rem;
  font-weight: 700;
  color: #e53e3e;
  letter-spacing: 0.04em;
  flex-shrink: 0;
  line-height: 1;
  padding-top: 0.15em;
}

.solution-col-title-inner {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
}

.solution-name {
  font-size: clamp(1.5rem, 2.5vw, 2.125rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  line-height: 1;
  white-space: nowrap;
}

.solution-badge {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Col B: description — ~55% */
.solution-desc {
  flex: 1;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 0;
}

/* Col C: arrow button — right-aligned */
.solution-arrow {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid var(--border-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition:
    background var(--normal),
    border-color var(--normal),
    color var(--normal),
    transform var(--normal);
}

.solution-item:hover .solution-arrow {
  background: var(--accent-a);
  border-color: var(--accent-a);
  color: #ffffff;
  transform: translateX(4px);
}

/* Hide spec chips — removed from new design */
.solution-specs {
  display: none;
}

/* ──────────────────────────────────────────────
       4. ABOUT
    ──────────────────────────────────────────────── */
/* ──────────────────────────────────────────────
       4. SELECTED WORKS
    ──────────────────────────────────────────────── */
#works {
  background: var(--bg-subtle);
}

/* Section header: vertical stack & centered */
#works .section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

#works .section-title {
  margin-bottom: 0;
}

#works .section-subtitle {
  max-width: 620px;
  margin: 0 auto;
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--text-secondary);
  line-height: 1.6;
}

.works-view-all {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding-bottom: 0.2rem;
  border-bottom: 1px solid transparent;
  transition: color var(--fast), border-color var(--fast);
}

.works-view-all:hover {
  color: var(--text-primary);
  border-color: var(--text-primary);
}

/* 6-column grid */
.works-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
}

/* Work item (Link card) */
.work-item {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  cursor: pointer;
  display: block;
  text-decoration: none;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.03);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.work-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.18), 0 8px 16px rgba(0, 0, 0, 0.06);
  border-color: var(--border-hover);
}

/* First two: span 3 (half width) */
.work-item:nth-child(1),
.work-item:nth-child(2) {
  grid-column: span 3;
}

/* Third onwards: span 2 (one-third) */
.work-item:nth-child(n+3) {
  grid-column: span 2;
}

.work-item__img-wrap {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
  background: #f1f5f9;
}

/* First two items taller */
.work-item:nth-child(1) .work-item__img-wrap,
.work-item:nth-child(2) .work-item__img-wrap {
  aspect-ratio: 16 / 10;
}

/* Third+ items slightly shorter */
.work-item:nth-child(n+3) .work-item__img-wrap {
  aspect-ratio: 4 / 3;
}

.work-item__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-item:hover .work-item__img {
  transform: scale(1.05);
}

/* Gradient overlay for contrast */
.work-item__img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(0, 0, 0, 0.02) 0%,
      rgba(0, 0, 0, 0.15) 45%,
      rgba(0, 0, 0, 0.65) 75%,
      rgba(0, 0, 0, 0.9) 100%);
  pointer-events: none;
  transition: background 0.3s ease;
}

.work-item:hover .work-item__img-wrap::after {
  background: linear-gradient(180deg,
      rgba(0, 0, 0, 0.05) 0%,
      rgba(0, 0, 0, 0.25) 40%,
      rgba(0, 0, 0, 0.75) 70%,
      rgba(0, 0, 0, 0.95) 100%);
}

/* Overlay label */
.work-item__label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  z-index: 2;
  pointer-events: none;
}

.work-item__tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
  margin-bottom: 0.2rem;
}

.work-item__title {
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.3;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9), 0 0 20px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  word-break: keep-all;
}

.work-item__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #ffffff;
  flex-shrink: 0;
  opacity: 0.85;
  transition: transform 0.3s ease, background 0.3s ease, opacity 0.3s ease;
}

.work-item:hover .work-item__icon {
  transform: translate(2px, -2px);
  background: var(--accent-a);
  opacity: 1;
}

.about-venture-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .375rem 1rem;
  background: rgba(5, 150, 105, 0.07);
  border: 1px solid rgba(5, 150, 105, 0.18);
  border-radius: var(--radius-pill);
  font-size: .75rem;
  font-weight: 600;
  color: var(--accent-c);
  margin-bottom: 1.5rem;
}

.venture-icon {
  font-size: 1rem;
}

.about-body {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.about-body p+p {
  margin-top: 1rem;
}

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: .875rem;
  margin-bottom: 2.5rem;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: .875rem;
}

.highlight-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.highlight-icon--a {
  background: rgba(79, 70, 229, 0.08);
}

.highlight-icon--b {
  background: rgba(124, 58, 237, 0.08);
}

.highlight-icon--c {
  background: rgba(5, 150, 105, 0.08);
}

.highlight-text strong {
  display: block;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: .125rem;
}

.highlight-text span {
  font-size: .875rem;
  color: var(--text-secondary);
}

/* Image */
.about-image-wrap {
  position: relative;
}

.about-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  display: block;
  box-shadow: var(--shadow-md);
  transition: box-shadow var(--normal);
}

.about-img:hover {
  box-shadow: var(--shadow-lg);
}

.about-float-card {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-md);
}

.float-card-label {
  font-size: .625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-muted);
  margin-bottom: .25rem;
}

.float-card-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

/* ──────────────────────────────────────────────
       5. CONTACT (Project Inquiry & Info Card)
    ──────────────────────────────────────────────── */
#contact {
  background: var(--bg);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.85fr 1.15fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

/* —— Contact Section Header: vertical stack & left align (Original style maintained) —— */
#contact .section-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

#contact .section-title {
  margin-bottom: 0;
}

#contact .section-subtitle {
  max-width: none;
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Form Container */
.contact-form-wrap {
  display: flex;
  flex-direction: column;
}

/* Checkbox list for Services */
.checkbox-group-wrap {
  margin-bottom: 1.25rem;
}

.checkbox-group-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.6rem;
  display: block;
}

.checkbox-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  padding: 0.1rem 0;
}

.checkbox-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text-primary);
  user-select: none;
}

.checkbox-item input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 1.5px solid rgba(0, 0, 0, 0.25);
  border-radius: 4px;
  background: #ffffff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  position: relative;
  flex-shrink: 0;
}

.checkbox-item input[type="checkbox"]:checked {
  background: var(--text-primary);
  border-color: var(--text-primary);
}

.checkbox-item input[type="checkbox"]:checked::after {
  content: '';
  width: 5px;
  height: 9px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin-bottom: 2px;
}

/* Privacy Agreement */
.agree-wrap {
  margin-top: 0.25rem;
  margin-bottom: 1.75rem;
}

.agree-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  cursor: pointer;
  user-select: none;
}

.agree-label input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 1.5px solid rgba(0, 0, 0, 0.25);
  border-radius: 4px;
  background: #ffffff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.agree-label input[type="checkbox"]:checked {
  background: var(--text-primary);
  border-color: var(--text-primary);
}

.agree-label input[type="checkbox"]:checked::after {
  content: '';
  width: 5px;
  height: 9px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin-bottom: 2px;
}

/* Submit Button — Modern Dark Pill */
.btn--contact-submit {
  background: var(--text-primary);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-pill);
  padding: 0.875rem 2.25rem;
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  align-self: flex-start;
}

.btn--contact-submit:hover {
  background: #2b2f38;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

.btn--contact-submit:active {
  transform: translateY(0);
}

/* Right: Info Card */
.contact-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.05), 0 0 1px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.contact-card__section {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.contact-card__section:not(:last-child) {
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--border);
}

.contact-card__title {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* CONTACT LIST */
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-info-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.contact-info-icon {
  font-size: 1.1rem;
  line-height: 1.3;
  flex-shrink: 0;
  display: none;
}

.contact-info-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.contact-info-text strong {
  display: block;
  color: var(--text-primary);
  font-size: 0.9375rem;
  margin-bottom: 0.1rem;
}

.contact-info-text a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.contact-info-text a:hover {
  color: var(--accent-a);
  text-decoration: underline;
}

/* MAP (구글 지도) */
.map-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.map-external-link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent-a);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.map-external-link:hover {
  color: var(--text-primary);
  transform: translateX(2px);
}

.map-wrapper {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #f1f3f7;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.google-map-iframe {
  width: 100%;
  height: 260px;
  border: 0;
  display: block;
}

/* Fieldset */
.form-fieldset {
  border: none;
  padding: 0;
  margin: 0;
  min-width: 0;
}

.form-legend {
  display: block;
  padding: 0;
  margin-bottom: 1.5rem;
}

.legend-inner {
  font-size: .6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-muted);
  padding-bottom: .875rem;
  border-bottom: 1px solid var(--border);
  display: block;
  width: 100%;
}

/* Form rows / groups */
.form-row {
  margin-bottom: 1.25rem;
}

.form-row--2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: .375rem;
}

/* Label */
.form-label {
  font-size: .8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: .25rem;
}

.required-star {
  color: var(--error);
  font-style: normal;
  text-decoration: none;
  font-size: .9em;
}

/* Inputs, select, textarea */
.form-control {
  width: 100%;
  padding: .6875rem 1rem;
  background: var(--surface-2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font);
  font-size: .9375rem;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  transition:
    border-color var(--normal),
    background var(--normal),
    box-shadow var(--normal);
}

.form-control::placeholder {
  color: var(--text-muted);
}

.form-control:hover:not(:disabled) {
  border-color: var(--border-hover);
  background: var(--bg);
}

.form-control:focus-visible,
.form-control:focus {
  border-color: var(--border-focus);
  background: var(--bg);
  box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.08);
}

.form-control[aria-invalid="true"] {
  border-color: var(--error);
  background: rgba(220, 38, 38, 0.04);
}

.form-control[aria-invalid="true"]:focus {
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

/* Select */
.select-wrap {
  position: relative;
}

.form-select {
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-select option {
  background: #fff;
  color: var(--text-primary);
}

.select-icon {
  position: absolute;
  right: .875rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--text-muted);
  transition: transform var(--normal), color var(--normal);
}

.form-select:focus~.select-icon {
  color: var(--text-primary);
  transform: translateY(-50%) rotate(180deg);
}

/* Textarea */
.form-textarea {
  resize: vertical;
  min-height: 120px;
  padding-bottom: 2.25rem;
  line-height: 1.65;
}

.textarea-wrap {
  position: relative;
}

.char-count {
  position: absolute;
  bottom: .625rem;
  right: .875rem;
  font-size: .6875rem;
  color: var(--text-muted);
  pointer-events: none;
  font-variant-numeric: tabular-nums;
  transition: color var(--normal);
}

.char-count.near {
  color: #d97706;
}

.char-count.limit {
  color: var(--error);
}

/* Hint + Error */
.form-hint {
  font-size: .75rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.form-error {
  font-size: .75rem;
  color: var(--error);
  line-height: 1.4;
  display: flex;
  align-items: center;
  gap: .375rem;
}

.form-error::before {
  content: '!';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  background: var(--error);
  color: #fff;
  border-radius: 50%;
  font-size: .625rem;
  font-weight: 700;
  flex-shrink: 0;
}

.form-error[hidden] {
  display: none;
}

/* Form actions */
.form-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1.75rem;
  flex-wrap: wrap;
}

.btn--submit {
  background: var(--text-primary);
  color: #fff;
  padding: .75rem 1.75rem;
  box-shadow: var(--shadow-xs);
}

.btn--submit:hover {
  background: #333;
  box-shadow: var(--shadow-sm);
}

.btn--submit:focus-visible {
  box-shadow: var(--shadow-focus);
}

.btn-arrow {
  transition: transform var(--normal);
}

.btn--submit:hover .btn-arrow {
  transform: translateX(4px);
}

.form-privacy {
  font-size: .75rem;
  color: var(--text-muted);
  line-height: 1.5;
  flex: 1;
}

.form-alt-contact {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: .875rem;
  color: var(--text-muted);
  text-align: center;
}

.ilink {
  color: var(--accent-a);
  text-decoration: none;
  transition: color var(--fast);
  border-radius: 2px;
}

.ilink:hover {
  color: var(--accent-b);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ilink:focus-visible {
  outline: 2px solid var(--accent-a);
  outline-offset: 2px;
  border-radius: 3px;
}

.ilink--em {
  color: var(--accent-c);
  font-weight: 500;
}

.ilink--em:hover {
  color: #047857;
}

/* ──────────────────────────────────────────────
       FOOTER
    ──────────────────────────────────────────────── */
.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  background: var(--bg-subtle);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem clamp(1.25rem, 4vw, 3rem) 2.5rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}

/* footer brand logo uses logo-img--footer */
.footer-brand p {
  margin-top: .75rem;
  font-size: .875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-col-title {
  font-size: .6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.footer-col-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.footer-col-links a {
  font-size: .875rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--fast);
}

.footer-col-links a:hover {
  color: var(--text-primary);
}

.footer-col-links a:focus-visible {
  outline: 2px solid var(--accent-a);
  outline-offset: 2px;
  border-radius: 2px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  font-size: .8125rem;
  color: var(--text-muted);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  font-size: .8125rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--fast);
}

.footer-legal a:hover {
  color: var(--text-secondary);
}

/* ──────────────────────────────────────────────
       TOAST
    ──────────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(calc(100% + 2rem));
  z-index: 9000;
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .875rem 1.5rem;
  background: var(--text-primary);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-lg);
  font-size: .9rem;
  font-weight: 500;
  color: #fff;
  white-space: nowrap;
  pointer-events: none;
  transition: transform var(--slow), opacity var(--slow);
  opacity: 0;
}

.toast[aria-hidden="false"] {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.toast-icon {
  color: #6ee7b7;
  flex-shrink: 0;
}

/* ──────────────────────────────────────────────
       ANIMATIONS
    ──────────────────────────────────────────────── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-16px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: .1s;
}

.reveal-delay-2 {
  transition-delay: .2s;
}

.reveal-delay-3 {
  transition-delay: .3s;
}

.reveal-delay-4 {
  transition-delay: .4s;
}

/* ──────────────────────────────────────────────
       RESPONSIVE
    ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .solutions-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  #solutions .section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  #solutions .section-subtitle {
    text-align: left;
    max-width: 100%;
  }

  .solution-col-title {
    flex: 0 0 34%;
  }
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* works gallery: 1024px 이하 — 2단 그리드 */
  .work-item:nth-child(1),
  .work-item:nth-child(2) {
    grid-column: span 6;
  }

  .work-item:nth-child(n+3) {
    grid-column: span 3;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  /* floating nav responsive */
  .floating-nav {
    bottom: 1.25rem;
    width: clamp(280px, 88vw, 340px);
    padding-left: 1.25rem;
  }

  .floating-nav.active {
    width: 56px;
    padding: 0;
  }

  .form-row--2col {
    grid-template-columns: 1fr;
  }

  .solutions-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .solution-item {
    flex-wrap: wrap;
    gap: 1rem;
    padding: 28px 0;
  }

  .solution-col-title {
    flex: 0 0 100%;
  }

  .solution-desc {
    flex: 0 0 calc(100% - 64px);
  }
}

@media (max-width: 480px) {
  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .form-actions .btn {
    justify-content: center;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  /* works: 모바일에서 전체 너비 */
  .work-item:nth-child(1),
  .work-item:nth-child(2),
  .work-item:nth-child(n+3) {
    grid-column: span 6;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }

  .eyebrow-dot {
    animation: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* Forced Colors */
@media (forced-colors: active) {
  .form-control {
    border: 2px solid ButtonBorder;
  }

  .form-control:focus-visible {
    outline: 3px solid Highlight;
  }
}

/* ──────────────────────────────────────────────
       SOLUTION MODAL
    ──────────────────────────────────────────────── */
.solution-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.solution-modal.active {
  visibility: visible;
  opacity: 1;
}

.solution-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.solution-modal__dialog {
  position: relative;
  z-index: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.15), 0 0 1px rgba(0, 0, 0, 0.1);
  padding: clamp(1.75rem, 5vw, 2.5rem);
  max-width: 700px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.solution-modal.active .solution-modal__dialog {
  transform: translateY(0);
}

.solution-modal__close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--fast);
}

.solution-modal__close:hover {
  background: var(--surface);
  color: var(--text-primary);
  border-color: var(--border-hover);
  transform: rotate(90deg);
}

.solution-modal__badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-a);
  margin-bottom: 0.5rem;
}

.solution-modal__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.solution-modal__desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.75rem;
  word-break: keep-all;
}

.solution-modal__features-wrap {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}

.solution-modal__features-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.solution-modal__features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.solution-modal__features-list li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  word-break: keep-all;
}

.solution-modal__features-list li::before {
  content: '•';
  position: absolute;
  left: 0.25rem;
  top: -0.05em;
  color: var(--accent-a);
  font-size: 1.1rem;
  font-weight: bold;
}