/* ============================================================
   이음 자사 홈페이지 - main.css
   디자인 시스템: DESIGN_SYSTEM.md 참조
   ============================================================ */

/* ── Pretendard 폰트 (CDN) ── */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.css');

/* ── 토큰 ── */
:root {
  --c-primary:        #1a2b4a;
  --c-primary-dark:   #0f1d36;
  --c-primary-light:  #2d4373;
  --c-primary-bg:     #f4f7fc;

  --c-accent:         #f97316;
  --c-accent-dark:    #c2410c;
  --c-accent-light:   #ffedd5;

  --c-secondary:      #0d7377;
  --c-secondary-light:#e0f2f1;

  --c-success:        #16a34a;
  --c-warning:        #f59e0b;
  --c-danger:         #dc2626;

  --c-text:           #1f2937;
  --c-text-muted:     #6b7280;
  --c-border:         #e5e7eb;
  --c-bg:             #ffffff;
  --c-bg-alt:         #f9fafb;

  --max-w:            1200px;
  --gutter:           24px;
  --radius:           10px;
  --radius-lg:        16px;
  --shadow-sm:        0 1px 3px rgba(0,0,0,0.06);
  --shadow:           0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg:        0 12px 32px rgba(0,0,0,0.12);

  --ff-base:          'Pretendard', 'Malgun Gothic', -apple-system, BlinkMacSystemFont, sans-serif;
  --ff-mono:          'JetBrains Mono', 'Consolas', monospace;

  --lh-tight:         1.2;
  --lh-base:          1.6;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ff-base);
  font-size: 16px;
  line-height: var(--lh-base);
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ── Layout ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); }
section { padding: 96px 0; }
.section-alt { background: var(--c-bg-alt); }  /* 짝수 섹션은 명시적 클래스 부여 */
@media (max-width: 768px) {
  section { padding: 64px 0; }
}

/* ── Typography ── */
h1, h2, h3, h4 { line-height: var(--lh-tight); color: var(--c-primary); font-weight: 700; }
h1 { font-size: 56px; font-weight: 800; }
h2 { font-size: 40px; }
h3 { font-size: 24px; font-weight: 600; }
.text-muted { color: var(--c-text-muted); }
.text-accent { color: var(--c-accent); }
.text-center { text-align: center; }

@media (max-width: 768px) {
  h1 { font-size: 36px; }
  h2 { font-size: 28px; }
}

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
.logo {
  font-size: 22px;
  font-weight: 800;
  color: var(--c-primary);
  letter-spacing: -0.5px;
}
.logo .dot { color: var(--c-accent); }
.nav { display: flex; gap: 32px; align-items: center; }
.nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--c-text);
  transition: color 0.15s;
}
.nav a:hover { color: var(--c-accent); }
.nav-cta {
  padding: 10px 20px;
  background: var(--c-accent);
  color: #fff !important;
  border-radius: var(--radius);
  font-weight: 700;
}
.nav-cta:hover { background: var(--c-accent-dark); color: #fff !important; }

.menu-toggle { display: none; font-size: 24px; color: var(--c-primary); }

@media (max-width: 768px) {
  .nav { display: none; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    padding: 24px;
    border-bottom: 1px solid var(--c-border);
    gap: 20px;
  }
  .menu-toggle { display: block; }
}

/* ── Hero ── */
.hero {
  padding: 120px 0 100px;
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-light) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(249,115,22,0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero h1, .hero h2, .hero h3 { color: #fff; }
.hero .badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(249,115,22,0.2);
  color: var(--c-accent-light);
  border: 1px solid rgba(249,115,22,0.4);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}
.hero h1 { margin-bottom: 24px; max-width: 800px; }
.hero h1 .highlight { color: var(--c-accent); }
.hero p.lead {
  font-size: 20px;
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
  max-width: 700px;
  margin-bottom: 40px;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 700;
  transition: all 0.2s;
  white-space: nowrap;
}
.btn-accent {
  background: var(--c-accent);
  color: #fff;
}
.btn-accent:hover {
  background: var(--c-accent-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.4);
}
.btn-ghost:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.1);
}
.btn-primary {
  background: var(--c-primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--c-primary-dark);
}

/* ── Section Header ── */
.section-head { text-align: center; margin-bottom: 64px; }
.section-head .label {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--c-accent);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-head h2 { margin-bottom: 16px; }
.section-head p {
  font-size: 18px;
  color: var(--c-text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ── Differentiator (차별점) ── */
.differentiator {
  background: var(--c-primary-bg);
}
.diff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.diff-text h2 { margin-bottom: 24px; }
.diff-text p { font-size: 18px; line-height: 1.8; margin-bottom: 16px; color: var(--c-text); }
.diff-text strong { color: var(--c-accent); font-weight: 700; }
.diff-visual {
  background: #fff;
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.diff-vs {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: center;
}
.vs-col {
  padding: 24px;
  border-radius: var(--radius);
  text-align: center;
}
.vs-col.gray { background: var(--c-bg-alt); }
.vs-col.accent { background: var(--c-accent-light); border: 2px solid var(--c-accent); }
.vs-col h4 { color: var(--c-text); margin-bottom: 12px; font-size: 16px; }
.vs-col ul { list-style: none; font-size: 14px; line-height: 1.8; color: var(--c-text-muted); }
.vs-col.accent ul { color: var(--c-text); font-weight: 500; }
.vs-arrow { font-size: 24px; color: var(--c-accent); font-weight: bold; }

@media (max-width: 768px) {
  .diff-grid { grid-template-columns: 1fr; gap: 40px; }
  .diff-vs { grid-template-columns: 1fr; }
  .vs-arrow { transform: rotate(90deg); margin: 0 auto; }
}

/* ── Services (3축) ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.service-card {
  background: #fff;
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
  border-top: 4px solid transparent;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-top-color: var(--c-accent);
}
.service-card .icon {
  width: 56px;
  height: 56px;
  background: var(--c-primary-bg);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 24px;
}
.service-card h3 { margin-bottom: 12px; }
.service-card p { color: var(--c-text-muted); margin-bottom: 20px; line-height: 1.7; }
.service-card .price {
  font-size: 14px;
  color: var(--c-accent);
  font-weight: 600;
  padding: 6px 12px;
  background: var(--c-accent-light);
  border-radius: 6px;
  display: inline-block;
}

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

/* ── Cases (사례 미리보기) ── */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.case-card {
  background: #fff;
  padding: 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--c-border);
  transition: all 0.2s;
}
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.case-card .tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}
.tag.tag-auto { background: var(--c-secondary-light); color: var(--c-secondary); }
.tag.tag-mkt { background: var(--c-accent-light); color: var(--c-accent-dark); }
.case-card h4 { font-size: 18px; margin-bottom: 8px; color: var(--c-primary); }
.case-card p.client { font-size: 13px; color: var(--c-text-muted); margin-bottom: 16px; }
.case-card .metric {
  font-size: 14px;
  font-weight: 600;
  color: var(--c-accent);
}

@media (max-width: 1024px) { .cases-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cases-grid { grid-template-columns: 1fr; } }

/* ── Stats (자산 현황) ── */
.stats {
  background: var(--c-primary);
  color: #fff;
}
.stats h2 { color: #fff; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 48px;
  text-align: center;
}
.stat-num {
  font-size: 56px;
  font-weight: 800;
  color: var(--c-accent);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label { font-size: 16px; color: rgba(255,255,255,0.8); }

@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .stat-num { font-size: 40px; }
}

/* ── CTA Final ── */
.cta-final {
  background: linear-gradient(135deg, var(--c-accent) 0%, var(--c-accent-dark) 100%);
  color: #fff;
  text-align: center;
}
.cta-final h2 { color: #fff; margin-bottom: 16px; }
.cta-final p { font-size: 18px; color: rgba(255,255,255,0.95); margin-bottom: 32px; }
.cta-final .btn-primary { background: #fff; color: var(--c-accent); }
.cta-final .btn-primary:hover { background: var(--c-primary); color: #fff; }

/* ── Footer ── */
.site-footer {
  background: var(--c-primary-dark);
  color: rgba(255,255,255,0.7);
  padding: 48px 0 24px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 32px;
}
.footer-grid h4 { color: #fff; font-size: 14px; margin-bottom: 16px; font-weight: 600; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { transition: color 0.15s; }
.footer-grid a:hover { color: var(--c-accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}
.footer-logo { font-weight: 800; color: #fff; font-size: 20px; margin-bottom: 12px; }
.footer-tagline { line-height: 1.7; max-width: 320px; }

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

/* ── Animation ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.6s ease-out; }

/* ── Utility ── */
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }

/* ============================================================
   2차 페이지 공통 스타일
   ============================================================ */

/* ── Page Hero (서브 페이지용 작은 hero) ── */
.page-hero {
  padding: 80px 0 60px;
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-light) 100%);
  color: #fff;
  text-align: center;
}
.page-hero .label {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--c-accent);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.page-hero h1 {
  color: #fff;
  font-size: 48px;
  margin-bottom: 16px;
}
.page-hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}
@media (max-width: 768px) {
  .page-hero h1 { font-size: 32px; }
  .page-hero { padding: 60px 0 48px; }
}

/* ── Service Detail (services.html) ── */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-bottom: 96px;
}
.service-detail:last-child { margin-bottom: 0; }
.service-detail.reverse { direction: rtl; }
.service-detail.reverse > * { direction: ltr; }

.service-info .icon-lg {
  width: 72px;
  height: 72px;
  background: var(--c-accent-light);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  margin-bottom: 24px;
}
.service-info h2 { font-size: 36px; margin-bottom: 16px; }
.service-info .summary {
  font-size: 18px;
  color: var(--c-text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}
.service-info ul.checklist {
  list-style: none;
  margin: 0 0 32px 0;
}
.service-info ul.checklist li {
  position: relative;
  padding: 8px 0 8px 32px;
  border-bottom: 1px solid var(--c-border);
  font-size: 15px;
}
.service-info ul.checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--c-accent);
  font-weight: 800;
  font-size: 18px;
}

.pricing-card {
  background: #fff;
  border: 2px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.pricing-card.highlight {
  border-color: var(--c-accent);
  background: var(--c-accent-light);
}
.pricing-card h3 {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 22px;
  margin-bottom: 8px;
}
.pricing-card .price {
  font-size: 16px;
  font-weight: 700;
  color: var(--c-accent);
}
.pricing-card p { color: var(--c-text-muted); font-size: 14px; margin-bottom: 16px; }
.pricing-card ul { list-style: none; padding: 0; }
.pricing-card ul li {
  font-size: 14px;
  padding: 6px 0;
  border-bottom: 1px dashed var(--c-border);
}
.pricing-card ul li:last-child { border: none; }

@media (max-width: 1024px) {
  .service-detail { grid-template-columns: 1fr; gap: 32px; margin-bottom: 64px; }
  .service-detail.reverse { direction: ltr; }
}

/* ── Cases List (cases.html) ── */
.case-filter {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.filter-btn {
  padding: 8px 20px;
  border: 1px solid var(--c-border);
  border-radius: 999px;
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-text-muted);
  cursor: pointer;
  transition: all 0.2s;
}
.filter-btn:hover { border-color: var(--c-accent); color: var(--c-accent); }
.filter-btn.active {
  background: var(--c-primary);
  color: #fff;
  border-color: var(--c-primary);
}

.cases-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.case-detail-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--c-border);
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
}
.case-detail-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--c-accent);
}
.case-detail-card .header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}
.case-detail-card h3 {
  font-size: 20px;
  color: var(--c-primary);
  flex: 1;
  padding-right: 12px;
}
.case-detail-card .industry {
  font-size: 13px;
  color: var(--c-text-muted);
  margin-bottom: 16px;
}
.case-detail-card .description {
  color: var(--c-text);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
  flex: 1;
}
.case-detail-card .metrics {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid var(--c-border);
}
.case-detail-card .metric-pill {
  font-size: 12px;
  padding: 4px 10px;
  background: var(--c-primary-bg);
  color: var(--c-primary);
  border-radius: 999px;
  font-weight: 600;
}

@media (max-width: 1024px) { .cases-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cases-list { grid-template-columns: 1fr; } }

/* ── About ── */
.about-intro {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.about-intro p {
  font-size: 18px;
  line-height: 1.9;
  color: var(--c-text);
  margin-bottom: 16px;
}
.about-intro p strong { color: var(--c-accent); }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.value-card {
  text-align: center;
  padding: 32px 24px;
}
.value-card .num {
  font-size: 56px;
  font-weight: 800;
  color: var(--c-accent);
  line-height: 1;
  margin-bottom: 16px;
}
.value-card h3 { color: var(--c-primary); margin-bottom: 12px; }
.value-card p { font-size: 14px; line-height: 1.7; color: var(--c-text-muted); }

.timeline {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  padding: 24px 0;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--c-border);
}
.timeline-item {
  position: relative;
  padding: 16px 0 16px 56px;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 22px;
  width: 18px;
  height: 18px;
  background: var(--c-accent);
  border: 4px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--c-accent);
}
.timeline-item .date {
  font-size: 13px;
  color: var(--c-accent);
  font-weight: 700;
  margin-bottom: 4px;
}
.timeline-item h4 { color: var(--c-primary); margin-bottom: 4px; font-size: 17px; }
.timeline-item p { font-size: 14px; color: var(--c-text-muted); line-height: 1.6; }

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

/* ── Contact ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: start;
}
.contact-info h3 { font-size: 22px; color: var(--c-primary); margin-bottom: 16px; }
.contact-info p { color: var(--c-text-muted); margin-bottom: 32px; line-height: 1.8; }

.contact-method {
  background: #fff;
  border-left: 4px solid var(--c-accent);
  padding: 16px 20px;
  margin-bottom: 12px;
  border-radius: 6px;
}
.contact-method .label {
  font-size: 12px;
  color: var(--c-text-muted);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.contact-method .value {
  font-size: 16px;
  color: var(--c-primary);
  font-weight: 600;
  margin-top: 4px;
}
.contact-method a { transition: color 0.15s; }
.contact-method a:hover { color: var(--c-accent); }

.contact-form {
  background: #fff;
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.contact-form h3 { margin-bottom: 8px; color: var(--c-primary); }
.contact-form .form-desc { color: var(--c-text-muted); font-size: 14px; margin-bottom: 24px; }

.form-row { margin-bottom: 16px; }
.form-row label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-primary);
  margin-bottom: 6px;
}
.form-row label .req { color: var(--c-danger); }
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: inherit;
  color: var(--c-text);
  transition: border-color 0.15s;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px rgba(249,115,22,0.15);
}
.form-row textarea { resize: vertical; min-height: 120px; }

.form-row .checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.form-row .checkbox-pill {
  padding: 8px 16px;
  border: 1px solid var(--c-border);
  border-radius: 999px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.15s;
  user-select: none;
}
.form-row .checkbox-pill input { display: none; }
.form-row .checkbox-pill:has(input:checked),
.form-row .checkbox-pill.checked {
  background: var(--c-accent-light);
  border-color: var(--c-accent);
  color: var(--c-accent-dark);
  font-weight: 600;
}

.form-submit {
  width: 100%;
  padding: 16px;
  background: var(--c-accent);
  color: #fff;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 700;
  transition: all 0.2s;
}
.form-submit:hover {
  background: var(--c-accent-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

@media (max-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ============================================================
   ROI 계산기 (roi.html)
   ============================================================ */

.roi-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: start;
}

/* 좌측 입력 폼 */
.roi-form {
  background: #fff;
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  position: sticky;
  top: 100px;
}
.roi-form h3 { color: var(--c-primary); margin-bottom: 8px; }
.roi-form .form-desc { color: var(--c-text-muted); font-size: 14px; margin-bottom: 28px; }

.input-group {
  margin-bottom: 24px;
}
.input-group label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--c-primary);
  margin-bottom: 8px;
}
.input-group .hint {
  font-size: 12px;
  color: var(--c-text-muted);
  font-weight: 400;
  margin-left: 6px;
}

.input-group select,
.input-group input[type="number"] {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  font-size: 16px;
  font-family: inherit;
  color: var(--c-text);
  transition: border-color 0.15s;
  background: #fff;
}
.input-group select:focus,
.input-group input:focus {
  outline: none;
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px rgba(249,115,22,0.15);
}

/* range slider */
.input-group input[type="range"] {
  width: 100%;
  margin-top: 8px;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  background: var(--c-border);
  border-radius: 999px;
  outline: none;
}
.input-group input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  background: var(--c-accent);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform 0.1s;
}
.input-group input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.15); }
.input-group input[type="range"]::-moz-range-thumb {
  width: 24px;
  height: 24px;
  background: var(--c-accent);
  border-radius: 50%;
  cursor: pointer;
  border: none;
}

.range-display {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 13px;
  color: var(--c-text-muted);
}
.range-display .current {
  color: var(--c-accent);
  font-weight: 700;
  font-size: 15px;
}

/* 우측 결과 영역 */
.roi-results {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.result-headline {
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-light) 100%);
  color: #fff;
  padding: 40px;
  border-radius: var(--radius-lg);
  text-align: center;
}
.result-headline .label {
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 12px;
}
.result-headline .big-number {
  font-size: 64px;
  font-weight: 800;
  color: var(--c-accent);
  line-height: 1;
  margin-bottom: 8px;
}
.result-headline .unit {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
}
.result-headline .sub {
  margin-top: 16px;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}

.result-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.result-card {
  background: #fff;
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--c-accent);
}
.result-card .label {
  font-size: 12px;
  color: var(--c-text-muted);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.result-card .value {
  font-size: 28px;
  font-weight: 800;
  color: var(--c-primary);
  line-height: 1.2;
}
.result-card .meta {
  font-size: 13px;
  color: var(--c-text-muted);
  margin-top: 4px;
}

/* 비교 막대 차트 */
.compare-chart {
  background: #fff;
  padding: 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.compare-chart h4 {
  font-size: 16px;
  color: var(--c-primary);
  margin-bottom: 20px;
}
.bar-row {
  margin-bottom: 16px;
}
.bar-row .bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 6px;
}
.bar-row .bar-label .name { color: var(--c-text); font-weight: 600; }
.bar-row .bar-label .num { color: var(--c-text-muted); }
.bar-row .bar-track {
  height: 28px;
  background: var(--c-bg-alt);
  border-radius: 6px;
  overflow: hidden;
}
.bar-row .bar-fill {
  height: 100%;
  border-radius: 6px;
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  padding: 0 12px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}
.bar-row .bar-fill.before { background: var(--c-text-muted); }
.bar-row .bar-fill.after { background: var(--c-accent); }

/* CTA 카드 */
.roi-cta {
  background: var(--c-accent);
  color: #fff;
  padding: 32px;
  border-radius: var(--radius-lg);
  text-align: center;
}
.roi-cta h4 {
  color: #fff;
  font-size: 22px;
  margin-bottom: 8px;
}
.roi-cta p {
  color: rgba(255,255,255,0.92);
  font-size: 14px;
  margin-bottom: 20px;
}
.roi-cta .btn {
  background: #fff;
  color: var(--c-accent);
}
.roi-cta .btn:hover {
  background: var(--c-primary);
  color: #fff;
}

/* 가정 박스 */
.assumptions {
  background: var(--c-bg-alt);
  padding: 20px 24px;
  border-radius: var(--radius);
  border-left: 3px solid var(--c-text-muted);
  font-size: 13px;
  color: var(--c-text-muted);
  line-height: 1.7;
}
.assumptions strong { color: var(--c-primary); }
.assumptions ul { margin: 8px 0 0 20px; }

@media (max-width: 1024px) {
  .roi-grid { grid-template-columns: 1fr; gap: 32px; }
  .roi-form { position: static; }
  .result-headline .big-number { font-size: 48px; }
}
@media (max-width: 640px) {
  .result-grid { grid-template-columns: 1fr; }
  .roi-form { padding: 24px; }
  .result-headline { padding: 28px 20px; }
  .result-headline .big-number { font-size: 40px; }
}

/* ============================================================
   셀프 진단 PoC (self-diagnosis.html)
   ============================================================ */

.self-wrap {
  max-width: 720px;
  margin: 0 auto;
}

/* 진행 바 */
.progress-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 40px;
}
.progress-step {
  flex: 1;
  height: 4px;
  background: var(--c-border);
  border-radius: 999px;
  overflow: hidden;
}
.progress-step.done {
  background: var(--c-accent);
}
.progress-step.current {
  background: linear-gradient(to right, var(--c-accent) 50%, var(--c-border) 50%);
}

/* 단계 카드 */
.step-card {
  background: #fff;
  padding: 48px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  display: none;
}
.step-card.active {
  display: block;
  animation: fadeUp 0.4s ease-out;
}
.step-card .step-num {
  font-size: 14px;
  color: var(--c-accent);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.step-card h2 {
  font-size: 26px;
  color: var(--c-primary);
  margin-bottom: 12px;
  line-height: 1.4;
}
.step-card .desc {
  color: var(--c-text-muted);
  margin-bottom: 32px;
  line-height: 1.7;
}

/* 옵션 큰 버튼 */
.option-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.option-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  border: 2px solid var(--c-border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.15s;
  user-select: none;
  background: #fff;
}
.option-item:hover {
  border-color: var(--c-accent);
  background: var(--c-accent-light);
}
.option-item input { display: none; }
.option-item.selected {
  border-color: var(--c-accent);
  background: var(--c-accent-light);
  box-shadow: 0 0 0 3px rgba(249,115,22,0.12);
}
.option-item .check {
  width: 20px;
  height: 20px;
  border: 2px solid var(--c-border);
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #fff;
}
.option-item.selected .check {
  background: var(--c-accent);
  border-color: var(--c-accent);
}
.option-item.selected .check::after { content: '✓'; }
.option-item .label {
  font-size: 16px;
  color: var(--c-text);
  flex: 1;
}
.option-item .meta {
  font-size: 13px;
  color: var(--c-text-muted);
  margin-top: 2px;
}

.option-item.checkbox-style .check { border-radius: 4px; }

/* 단계 네비게이션 */
.step-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 32px;
}
.btn-prev {
  background: transparent;
  color: var(--c-text-muted);
  padding: 12px 24px;
  font-weight: 600;
  border: none;
  cursor: pointer;
}
.btn-prev:hover { color: var(--c-primary); }
.btn-next {
  background: var(--c-accent);
  color: #fff;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-next:hover {
  background: var(--c-accent-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.btn-next:disabled {
  background: var(--c-border);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* 폼 입력 */
.step-card input[type="text"],
.step-card input[type="email"],
.step-card textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--c-border);
  border-radius: var(--radius);
  font-size: 16px;
  font-family: inherit;
  color: var(--c-text);
  transition: border-color 0.15s;
}
.step-card input:focus,
.step-card textarea:focus {
  outline: none;
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px rgba(249,115,22,0.15);
}
.step-card textarea { min-height: 100px; resize: vertical; }

/* 요약 카드 */
.summary-block {
  background: var(--c-primary-bg);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 24px;
  font-size: 14px;
  line-height: 1.7;
}
.summary-block strong { color: var(--c-primary); }

/* 완료 화면 */
.done-screen {
  text-align: center;
  padding: 60px 20px;
}
.done-screen .check-circle {
  width: 80px;
  height: 80px;
  background: var(--c-accent);
  border-radius: 50%;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 40px;
}
.done-screen h2 {
  color: var(--c-primary);
  font-size: 32px;
  margin-bottom: 16px;
}
.done-screen p {
  color: var(--c-text-muted);
  font-size: 16px;
  line-height: 1.7;
  max-width: 500px;
  margin: 0 auto 8px;
}

@media (max-width: 640px) {
  .step-card { padding: 28px 20px; }
  .step-card h2 { font-size: 22px; }
  .option-item { padding: 14px 18px; }
}


/* ============================================================
   디자인 v2 (2026-11) — 글·페이지 구조는 그대로, 겉모양만 바꿈
   참고: 배너=업스테이지(남색·가운데) + 모비데이즈(점 무늬·빛 테두리)
         서비스=LG CNS(남색 상자 안 타일) · 버튼·사례=채널톡(둥근 버튼·큰 숫자)
   이 묶음을 지우면 v1 모양으로 그대로 돌아감
   ============================================================ */
:root {
  --v2-deep: #0b1630;
  --v2-line-dark: rgba(255,255,255,0.12);
  --v2-line: #e8ebf1;
  --v2-soft: #f5f7fb;
}
body { word-break: keep-all; letter-spacing: -0.01em; }
h1, h2 { letter-spacing: -0.03em; }

/* 헤더 */
.site-header { background: rgba(255,255,255,0.86); border-bottom-color: rgba(15,29,54,0.06); }
.nav a { font-weight: 600; color: #3b4252; }
.nav-cta { border-radius: 999px; padding: 10px 22px; background: var(--c-primary); }
.nav-cta:hover { background: var(--c-accent); }

/* 버튼 — 둥근 알약 모양 */
.btn { border-radius: 999px; padding: 15px 30px; gap: 10px; }
.btn:hover { transform: translateY(-2px); }
.btn-accent { box-shadow: 0 10px 28px rgba(249,115,22,0.32); }
.btn-accent:hover { box-shadow: 0 14px 34px rgba(249,115,22,0.42); }
.btn-ghost { border: 1px solid rgba(255,255,255,0.32); background: rgba(255,255,255,0.05); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.12); }
.btn-primary:hover { background: var(--c-accent); box-shadow: 0 10px 28px rgba(249,115,22,0.28); }

/* 공통 어두운 배경 (배너·숫자·하위 페이지 상단) */
.hero, .stats, .page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 420px at 50% 120%, rgba(61,96,170,0.55), transparent 65%),
    radial-gradient(520px 360px at 88% 0%, rgba(249,115,22,0.16), transparent 65%),
    var(--v2-deep);
}
.hero::before, .stats::before, .page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  width: auto; height: auto; border-radius: 0;
  background: radial-gradient(rgba(255,255,255,0.14) 1px, transparent 1.4px) 0 0 / 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 72%);
          mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 72%);
  pointer-events: none;
}
.hero > .container, .stats > .container, .page-hero > .container { position: relative; z-index: 1; }

/* 메인 배너 */
.hero { padding: 150px 0 170px; text-align: center; }
.hero::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -640px;
  width: 1500px;
  height: 720px;
  transform: translateX(-50%);
  border-radius: 50%;
  border-top: 1px solid rgba(160,190,255,0.35);
  box-shadow: 0 -40px 140px rgba(90,130,230,0.28);
  background: radial-gradient(ellipse at top, rgba(40,64,120,0.65), transparent 70%);
  pointer-events: none;
}
.hero .badge {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  color: #fff;
  padding: 7px 16px 7px 14px;
}
.hero .badge::before {
  content: '';
  display: inline-block;
  width: 7px; height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--c-accent);
  box-shadow: 0 0 0 4px rgba(249,115,22,0.2);
  vertical-align: 1px;
}
.hero h1 { font-size: 64px; margin: 0 auto 26px; }
.hero p.lead { text-wrap: balance; margin: 0 auto 44px; max-width: 620px; font-size: 19px; color: rgba(255,255,255,0.72); }
.hero-cta { justify-content: center; }

/* 섹션 제목 */
.section-head h2 { font-size: 44px; }
.section-head .label { letter-spacing: 3px; }

/* 차별점 — 밝은 상자 + 남색 강조 칸 */
.diff-visual { background: var(--v2-soft); box-shadow: none; border: 1px solid var(--v2-line); border-radius: 24px; }
.vs-col { border-radius: 16px; }
.vs-col.gray { background: #fff; border: 1px solid var(--v2-line); }
.vs-col.accent { background: var(--c-primary); border: 0; box-shadow: 0 16px 36px rgba(15,29,54,0.22); }
.vs-col.accent h4 { color: var(--c-accent); }
.vs-col.accent ul { color: #fff; }

/* 서비스 — 남색 상자 안 타일 */
#services.section-alt { background: #fff; }
#services .services-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 28px;
  border-radius: 28px;
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(249,115,22,0.12), transparent 60%),
    linear-gradient(160deg, #15284f 0%, var(--v2-deep) 100%);
}
#services .service-card {
  background: rgba(255,255,255,0.045);
  border: 1px solid var(--v2-line-dark);
  border-top: 1px solid var(--v2-line-dark);
  box-shadow: none;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
}
#services .service-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.09);
  border-color: rgba(249,115,22,0.6);
  box-shadow: none;
}
#services .service-card .icon { background: rgba(255,255,255,0.08); color: #fff; border-radius: 14px; }
#services .service-card h3 { color: #fff; font-size: 21px; }
#services .service-card p { color: rgba(255,255,255,0.66); font-size: 15px; }
#services .service-card .price {
  margin-top: auto;
  align-self: flex-start;
  background: rgba(249,115,22,0.14);
  color: #fdba74;
  border-radius: 999px;
  font-size: 12.5px;
  line-height: 1.5;
}
.service-card .icon svg, .icon-lg svg { width: 26px; height: 26px; }

/* 사례 — 큰 성과 숫자 */
.case-card {
  border-radius: 20px;
  border: 1px solid var(--v2-line);
  box-shadow: none;
  display: flex;
  flex-direction: column;
}
.case-card:hover { border-color: var(--c-primary); box-shadow: 0 16px 36px rgba(15,29,54,0.10); }
.case-card .tag { border-radius: 999px; align-self: flex-start; }
.case-card .metric {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--v2-line);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--c-accent-dark);
}
.case-card p:not(.client) { margin-bottom: 18px; }

/* 숫자 — 구분선 있는 4칸 */
.stats-grid > div { padding: 8px 0; }
.stats-grid > div + div { border-left: 1px solid var(--v2-line-dark); }
.stat-num { color: #fff; font-size: 64px; letter-spacing: -0.04em; }
.stat-label { color: rgba(255,255,255,0.6); font-size: 15px; }

/* 마지막 문의 — 둥근 주황 상자 */
.cta-final { background: #fff; padding: 96px 0; }
.cta-final > .container {
  max-width: calc(var(--max-w) - 48px);
  width: calc(100% - 32px);
  padding: 72px 40px;
  border-radius: 32px;
  background:
    radial-gradient(500px 260px at 90% 0%, rgba(255,255,255,0.18), transparent 60%),
    linear-gradient(135deg, var(--c-accent) 0%, var(--c-accent-dark) 100%);
}
.cta-final .btn-primary { box-shadow: 0 10px 28px rgba(0,0,0,0.15); }

/* 하위 페이지 상단 */
.page-hero { padding: 104px 0 84px; }

/* 휴대폰 */
@media (max-width: 1024px) {
  #services .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .hero { padding: 104px 0 120px; }
  .hero h1 { font-size: 38px; }
  .hero p.lead { font-size: 16px; }
  .hero p.lead br { display: none; }
  .section-head h2 { font-size: 30px; }
  #services .services-grid { grid-template-columns: 1fr; padding: 14px; border-radius: 20px; }
  .stats-grid > div + div { border-left: 0; }
  .stat-num { font-size: 44px; }
  .cta-final { padding: 64px 0; }
  .cta-final > .container { padding: 48px 24px; border-radius: 24px; }
  .page-hero { padding: 72px 0 56px; }
}

/* v2 로고 — 확정 로고(맞물린 고리 + ieum) */
.logo { display: inline-flex; align-items: center; line-height: 0; }
.logo img { height: 32px; width: auto; display: block; }
.footer-logo { line-height: 0; margin-bottom: 16px; }
.footer-logo img { height: 30px; width: auto; display: block; }
@media (max-width: 768px) { .logo img { height: 28px; } }

/* v2 배너 그래픽 — 마케팅 ↔ 이음 ↔ 운영 시스템 */
.hero { padding-bottom: 120px; }
.hero-visual { position: relative; max-width: 980px; margin: 72px auto 0; text-align: left; }
.hv-window {
  position: relative;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.09), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 40px 120px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.12);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  overflow: hidden;
}
.hv-bar { display: flex; gap: 7px; padding: 14px 18px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.hv-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.18); }
.hv-flow {
  display: grid;
  grid-template-columns: 1fr 110px auto 110px 1fr;
  align-items: stretch;
  padding: 34px 40px 40px;
}
.hv-col { display: flex; flex-direction: column; gap: 12px; }
.hv-col-title { font-size: 12px; font-weight: 700; letter-spacing: 2px; color: rgba(255,255,255,0.45); margin-bottom: 4px; }
.hv-chip {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 16px;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff; font-size: 15px; font-weight: 600;
}
.hv-ic { width: 26px; height: 26px; border-radius: 8px; flex: none; position: relative; }
.hv-ic::after { content: ''; position: absolute; inset: 9px; border-radius: 50%; background: #fff; opacity: .9; }
.ic-mkt { background: linear-gradient(135deg, #fb923c, #f97316); }
.ic-ops { background: linear-gradient(135deg, #60a5fa, #3b6fd8); }
.ic-ai  { background: linear-gradient(135deg, #a78bfa, #6d5be0); }
.hv-wire { width: 100%; height: 100%; overflow: visible; }
.hv-wire path {
  fill: none;
  stroke: rgba(160,190,255,0.45);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 4 6;
  animation: hvDash 1.6s linear infinite;
}
@keyframes hvDash { to { stroke-dashoffset: -20; } }
.hv-core { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 26px 8px 0; }
.hv-core span { font-size: 13px; color: rgba(255,255,255,0.6); font-weight: 600; }
.hv-ring {
  width: 120px; height: 120px; border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 30% 25%, #2a4a8f, #13234a 70%);
  border: 1px solid rgba(160,190,255,0.35);
  box-shadow: 0 0 0 10px rgba(90,130,230,0.08), 0 0 0 22px rgba(90,130,230,0.05), 0 0 60px rgba(90,130,230,0.45);
  animation: hvPulse 3s ease-in-out infinite;
}
.hv-ring img { width: 64px; height: auto; }
@keyframes hvPulse {
  50% { box-shadow: 0 0 0 14px rgba(90,130,230,0.1), 0 0 0 30px rgba(90,130,230,0.04), 0 0 80px rgba(90,130,230,0.6); }
}
.hv-float {
  position: absolute;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(0,0,0,0.35);
  animation: hvFloat 5s ease-in-out infinite;
}
.hv-float b { display: block; font-size: 14px; color: var(--c-text); }
.hv-float small { display: block; font-size: 12px; color: var(--c-text-muted, #64748b); margin-top: 2px; }
.hv-check {
  width: 30px; height: 30px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: #e8f7ee; color: #16a34a; font-weight: 800; font-size: 14px;
}
.hv-f1 { left: -48px; bottom: -40px; }
.hv-f2 { right: -48px; top: -30px; animation-delay: -2.5s; }
.hv-f2 .hv-check { background: #fff1e6; color: var(--c-accent); }
@keyframes hvFloat { 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) {
  .hv-wire path, .hv-ring, .hv-float { animation: none; }
}
@media (max-width: 1100px) {
  .hv-f1 { left: 12px; }
  .hv-f2 { right: 12px; }
}
@media (max-width: 768px) {
  .hero { padding-bottom: 96px; }
  .hero-visual { margin-top: 48px; }
  .hv-flow { grid-template-columns: 1fr; gap: 22px; padding: 22px 18px 26px; }
  .hv-wire { display: none; }
  .hv-col { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .hv-col-title { grid-column: 1 / -1; margin: 0; }
  .hv-chip { padding: 10px 10px; font-size: 13px; gap: 8px; }
  .hv-ic { width: 20px; height: 20px; border-radius: 6px; }
  .hv-ic::after { inset: 7px; }
  .hv-core { order: 0; flex-direction: row; padding: 0; }
  .hv-ring { width: 64px; height: 64px; }
  .hv-ring img { width: 34px; }
  .hv-float { position: static; margin-top: 12px; animation: none; }
}

/* ============================================================
   디자인 v3 (2026-11) — 플렉스식 구성: 그라데이션 배너 · 검은 바탕 · 번호 구간
   글은 그대로, 배치·배경·그림만 바꿈
   ============================================================ */
:root {
  --v3-black: #07080b;
  --v3-card: #111318;
  --v3-line: rgba(255,255,255,0.09);
  --v3-dim: rgba(255,255,255,0.26);
  --v3-sub: rgba(255,255,255,0.62);
}

/* 머리말 — 모든 페이지 공통, 어두운 반투명 */
.site-header {
  background: rgba(7,8,11,0.72);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
          backdrop-filter: blur(16px) saturate(140%);
}
.nav a { color: rgba(255,255,255,0.75); }
.nav a:hover { color: #fff; }
.site-header .nav-cta { background: #fff; color: var(--v3-black) !important; }
.site-header .nav-cta:hover { background: #ffe4cf; }
.menu-toggle { color: #fff; }
@media (max-width: 768px) {
  .nav.open { background: #0d0f14; border-bottom: 1px solid var(--v3-line); }
}
.site-footer { background: var(--v3-black); border-top: 1px solid var(--v3-line); }

/* ── 홈: 바탕 전체 검정 ── */
.home { background: var(--v3-black); }
.home section { background: var(--v3-black); }
.home h2, .home h3, .home h4 { color: #fff; }
.home .section-head h2 { font-size: 56px; letter-spacing: -0.035em; }
.home .section-head p { color: var(--v3-sub); font-size: 18px; }
.home .section-head .label { color: var(--c-accent); }

/* ── 홈 배너: 번지는 그라데이션 + 입자 ── */
.home .hero {
  min-height: calc(100vh - 69px);
  min-height: calc(100svh - 69px);
  display: flex;
  align-items: center;
  padding: 120px 0 150px;
  background: #ff8a4c;
}
.home .hero::before { display: none; }
.home .hero::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0; top: auto;
  width: auto; height: 240px;
  transform: none; border: 0; border-radius: 0; box-shadow: none;
  background: linear-gradient(180deg, rgba(7,8,11,0) 0%, var(--v3-black) 100%);
  z-index: 1;
}
.home .hero > .container { z-index: 2; width: 100%; }
.mesh { position: absolute; inset: -12%; filter: blur(72px) saturate(115%); }
.mesh i { position: absolute; border-radius: 50%; animation: meshMove 16s ease-in-out infinite alternate; }
.mesh .m1 { width: 52%; height: 78%; left: -6%;  top: 4%;   background: #f2493f; }
.mesh .m2 { width: 40%; height: 70%; left: 28%;  top: -14%; background: #ff9a3c; animation-duration: 19s; }
.mesh .m3 { width: 42%; height: 80%; right: -8%; top: 0;    background: #ffbf5a; animation-duration: 22s; }
.mesh .m4 { width: 62%; height: 52%; left: 22%;  bottom: -12%; background: #c6b7f2; animation-duration: 18s; }
.mesh .m5 { width: 34%; height: 48%; left: -10%; bottom: -8%;  background: #8ea2e6; animation-duration: 24s; }
@keyframes meshMove {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(6%, 5%) scale(1.12); }
}
.grain {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  opacity: 0.42; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.home .hero .badge {
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.4);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.home .hero .badge::before { background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,0.25); }
.home .hero h1 { font-size: 84px; letter-spacing: -0.045em; line-height: 1.08; text-shadow: 0 4px 40px rgba(120,30,10,0.18); }
.home .hero .highlight { color: #0b1630; }
.home .hero p.lead { color: rgba(255,255,255,0.92); font-size: 19px; text-wrap: balance; }
.home .hero-cta {
  display: inline-flex;
  gap: 8px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.38);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 20px 60px rgba(120,30,10,0.18);
}
.home .hero .btn-accent { background: #0b1630; box-shadow: none; }
.home .hero .btn-accent:hover { background: #000; }
.home .hero .btn-ghost { border: 0; background: rgba(255,255,255,0.0); }
.home .hero .btn-ghost:hover { background: rgba(255,255,255,0.18); }
.scroll-hint {
  position: absolute; left: 50%; bottom: 40px; z-index: 2;
  width: 26px; height: 42px; margin-left: -13px;
  border: 2px solid rgba(255,255,255,0.55); border-radius: 14px;
}
.scroll-hint span {
  position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
  border-radius: 2px; background: #fff; animation: hint 1.8s ease-in-out infinite;
}
@keyframes hint { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ── 왜 이음: 큰 질문 + 한 줄씩 밝아지는 글 ── */
.home .differentiator { padding: 140px 0 120px; }
.why-head { text-align: center; }
.why-head .label { color: var(--c-accent); letter-spacing: 3px; font-size: 13px; font-weight: 700; margin-bottom: 20px; }
.why-head h2 { font-size: 64px; letter-spacing: -0.04em; line-height: 1.18; }
.why-head h2::before { content: '“'; }
.why-head h2::after  { content: '”'; }
.why-lines { max-width: 780px; margin: 72px auto 110px; text-align: center; }
.why-lines p {
  font-size: 23px; line-height: 1.75; margin-bottom: 44px;
  color: var(--v3-dim);
  transition: color 0.8s ease;
}
.why-lines p strong { font-weight: 700; transition: color 0.8s ease; }
.why-lines p.on { color: rgba(255,255,255,0.9); }
.why-lines p.on strong { color: #ffb37a; }

.home .diff-vs {
  grid-template-columns: 1fr auto 1fr;
  gap: 22px;
  align-items: stretch;
  max-width: 920px;
  margin: 0 auto 120px;
}
.home .vs-col { padding: 40px 36px; border-radius: 24px; text-align: left; box-shadow: none; }
.home .vs-col.gray { background: var(--v3-card); border: 1px solid var(--v3-line); }
.home .vs-col.gray h4 { color: rgba(255,255,255,0.5); }
.home .vs-col.gray ul { color: rgba(255,255,255,0.42); }
.home .vs-col.accent {
  background: radial-gradient(420px 260px at 100% 0%, rgba(249,115,22,0.35), transparent 65%), #15161c;
  border: 1px solid rgba(249,115,22,0.55);
  box-shadow: 0 30px 80px rgba(249,115,22,0.14);
}
.home .vs-col.accent h4 { color: var(--c-accent); }
.home .vs-col h4 { font-size: 15px; letter-spacing: 1px; margin-bottom: 22px; }
.home .vs-col ul { font-size: 20px; line-height: 2.1; font-weight: 600; }
.home .vs-col.accent ul { color: #fff; }
.home .vs-arrow {
  align-self: center;
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  background: #fff; color: var(--v3-black); font-size: 22px;
}
.home .hero-visual { margin-top: 0; }
.home .hv-window { background: linear-gradient(180deg, #14161d, #0d0f14); border-color: var(--v3-line); }
.home .hv-core span { color: rgba(255,255,255,0.55); }

/* ── 서비스: 번호 + 큰 그림 + 겹친 카드 ── */
.home #services { padding: 120px 0 160px; }
.home #services .section-head { margin-bottom: 0; }
.svc { text-align: center; padding-top: 150px; }
.svc-num {
  display: inline-grid; place-items: center;
  width: 36px; height: 36px; margin-bottom: 22px;
  border-radius: 50%; border: 1px solid rgba(255,255,255,0.55);
  color: #fff; font-size: 15px; font-weight: 600;
}
.svc h3 { font-size: 52px; font-weight: 800; letter-spacing: -0.04em; margin-bottom: 20px; }
.svc > p { max-width: 640px; margin: 0 auto 24px; font-size: 19px; line-height: 1.75; color: var(--v3-sub); }
.svc .price {
  display: inline-block; padding: 9px 18px; border-radius: 999px;
  background: rgba(249,115,22,0.12); border: 1px solid rgba(249,115,22,0.35);
  color: #ffb37a; font-size: 14px; font-weight: 600;
}
.svc-stage { position: relative; max-width: 1060px; margin: 64px auto 0; }
.svc-img {
  aspect-ratio: 2 / 1;
  border-radius: 28px;
  border: 1px solid var(--v3-line);
  background-color: var(--v3-card);
  background-size: cover; background-position: center;
  box-shadow: 0 50px 120px rgba(0,0,0,0.55);
}
.img-mkt { background-image: url(../img/svc-marketing.jpg), radial-gradient(60% 80% at 70% 40%, rgba(249,115,22,0.45), transparent 70%); }
.img-ops { background-image: url(../img/svc-automation.jpg), radial-gradient(60% 80% at 30% 40%, rgba(96,165,250,0.4), transparent 70%); }
.img-ai  { background-image: url(../img/svc-ai.jpg), radial-gradient(60% 80% at 70% 50%, rgba(167,139,250,0.42), transparent 70%); }
.img-web { background-image: url(../img/svc-web.jpg), radial-gradient(60% 80% at 30% 50%, rgba(249,115,22,0.35), transparent 70%); }
.svc-card {
  position: absolute; bottom: -36px; width: 310px;
  padding: 22px 24px; border-radius: 20px; text-align: left;
  background: rgba(20,22,28,0.82);
  border: 1px solid rgba(255,255,255,0.13);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  box-shadow: 0 30px 70px rgba(0,0,0,0.55);
}
.sc-left { left: -36px; }
.sc-right { right: -36px; }
.svc-card small { display: block; font-size: 12px; font-weight: 700; letter-spacing: 1px; color: rgba(255,255,255,0.45); margin: 0 0 10px; }
.svc-card small + * + small { margin-top: 16px; }
.sc-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.sc-tags span { padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,0.08); color: #fff; font-size: 13px; font-weight: 600; }
.sc-list { list-style: none; display: grid; gap: 8px; }
.sc-list li { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 15px; font-weight: 600; padding: 9px 12px; border-radius: 12px; background: rgba(255,255,255,0.05); }
.sc-list b { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; background: rgba(34,197,94,0.18); color: #4ade80; }
.sc-ai b { background: rgba(167,139,250,0.2); color: #c4b5fd; }
.sc-steps { display: flex; align-items: center; gap: 6px; margin-bottom: 14px; }
.sc-steps span { padding: 6px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 700; color: rgba(255,255,255,0.5); border: 1px solid rgba(255,255,255,0.15); }
.sc-steps span.on { color: #0b1630; background: #fff; border-color: #fff; }
.sc-steps i { flex: 1; height: 1px; background: rgba(255,255,255,0.25); }

/* ── 사례: 큰 성과 숫자가 먼저 ── */
.home #cases { padding: 140px 0; border-top: 1px solid var(--v3-line); }
.home .cases-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
.home .case-card {
  background: var(--v3-card);
  border: 1px solid var(--v3-line);
  border-radius: 26px;
  padding: 40px 40px 36px;
}
.home .case-card:hover { border-color: rgba(249,115,22,0.55); box-shadow: 0 30px 80px rgba(0,0,0,0.5); transform: translateY(-4px); }
.home .case-card .tag { order: -2; margin-bottom: 18px; background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.75); }
.home .case-card .metric {
  order: -1; margin: 0 0 30px; padding: 0; border: 0;
  font-size: 40px; letter-spacing: -0.04em; line-height: 1.15;
  background: linear-gradient(90deg, #fff 0%, #ffb37a 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.home .case-card h4 { font-size: 21px; margin-bottom: 6px; }
.home .case-card .client { color: rgba(255,255,255,0.45); }
.home .case-card p { color: var(--v3-sub); }
.home .btn-primary { background: #fff; color: var(--v3-black); border-radius: 999px; }
.home .btn-primary:hover { background: #ffe4cf; }

/* ── 숫자: 그라데이션 숫자 ── */
.home .stats { padding: 140px 0; background: var(--v3-black); border-top: 1px solid var(--v3-line); }
.home .stats::before, .home .stats::after { display: none; }
.home .stats h2 { font-size: 48px; letter-spacing: -0.035em; }
.home .stats-grid { margin-top: 72px; }
.home .stat-num {
  font-size: 96px; font-weight: 800; letter-spacing: -0.05em; line-height: 1;
  background: linear-gradient(180deg, #fff 30%, rgba(255,179,122,0.9) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 14px;
}
.home .stats-grid > div + div { border-left: 1px solid var(--v3-line); }

/* ── 마지막 문의: 배너와 같은 그라데이션 상자 ── */
.home .cta-final { padding: 40px 0 140px; }
.home .cta-final > .container {
  position: relative; overflow: hidden;
  padding: 96px 40px;
  border-radius: 36px;
  background:
    radial-gradient(45% 80% at 12% 30%, #f2493f, transparent 70%),
    radial-gradient(40% 70% at 55% 0%, #ff9a3c, transparent 70%),
    radial-gradient(45% 80% at 95% 30%, #ffbf5a, transparent 70%),
    radial-gradient(60% 70% at 55% 110%, #c6b7f2, transparent 70%),
    #ff8a4c;
}
.home .cta-final > .container::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  opacity: 0.4; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.home .cta-final > .container > * { position: relative; z-index: 1; }
.home .cta-final h2 { font-size: 52px; letter-spacing: -0.04em; }
.home .cta-final p { color: rgba(255,255,255,0.92); }
.home .cta-final .btn-primary { background: #0b1630; color: #fff; }
.home .cta-final .btn-primary:hover { background: #000; }

/* ── 휴대폰 ── */
@media (max-width: 1100px) {
  .sc-left { left: 16px; } .sc-right { right: 16px; }
}
@media (max-width: 768px) {
  .home .hero { min-height: auto; padding: 96px 0 130px; }
  .home .hero h1 { font-size: 44px; }
  .home .hero p.lead { font-size: 16px; }
  .home .hero-cta { flex-direction: column; border-radius: 28px; width: 100%; max-width: 320px; }
  .home .hero-cta .btn { justify-content: center; }
  .scroll-hint { display: none; }
  .home .section-head h2 { font-size: 34px; }
  .why-head h2 { font-size: 36px; }
  .why-lines { margin: 44px auto 64px; }
  .why-lines p { font-size: 18px; margin-bottom: 28px; }
  .home .diff-vs { grid-template-columns: 1fr; margin-bottom: 72px; }
  .home .vs-arrow { transform: rotate(90deg); justify-self: center; width: 44px; height: 44px; }
  .home .vs-col { padding: 28px 24px; }
  .home .vs-col ul { font-size: 17px; }
  .home .differentiator, .home #services, .home #cases, .home .stats { padding: 88px 0; }
  .svc { padding-top: 96px; }
  .svc h3 { font-size: 34px; }
  .svc > p { font-size: 16px; }
  .svc .price { font-size: 12.5px; line-height: 1.5; }
  .svc-stage { margin-top: 36px; }
  .svc-img { aspect-ratio: 4 / 3; border-radius: 20px; }
  .svc-card { position: relative; left: auto; right: auto; bottom: auto; width: auto; margin: -48px 12px 0; }
  .home .cases-grid { grid-template-columns: 1fr; }
  .home .case-card { padding: 30px 26px; }
  .home .case-card .metric { font-size: 30px; }
  .home .stats h2 { font-size: 30px; }
  .home .stats-grid { grid-template-columns: 1fr 1fr; gap: 40px 0; }
  .home .stats-grid > div + div { border-left: 0; }
  .home .stat-num { font-size: 60px; }
  .home .cta-final { padding: 16px 0 88px; }
  .home .cta-final > .container { padding: 56px 22px; border-radius: 26px; }
  .home .cta-final h2 { font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  .mesh i, .scroll-hint span { animation: none; }
}
/* v3 배너 글씨 대비 보정 */
.mesh .m2 { background: #ff7b2e; }
.mesh .m3 { background: #ff9d45; }
.home .hero { background: #ff7a3d; }
.home .hero .badge { color: #0b1630; background: rgba(255,255,255,0.55); border-color: rgba(255,255,255,0.7); font-weight: 700; }
.home .hero .badge::before { background: #0b1630; box-shadow: 0 0 0 4px rgba(11,22,48,0.15); }
.home .hero p.lead { color: rgba(11,22,48,0.86); font-weight: 500; }
.home .hero .btn-ghost { background: #fff; color: #0b1630; }
.home .hero .btn-ghost:hover { background: #ffeadb; }
.svc-img { background-color: #05060b; }

/* v3.1 배너 — 이음 색(남색 + 주황)과 로고 고리 모티프로 교체 */
.home .hero { background: #0a1430; }
.mesh { filter: blur(90px); }
.mesh .m1 { width: 60%; height: 80%; left: -15%; top: -20%; background: #16306e; }
.mesh .m2 { width: 46%; height: 60%; left: 34%;  top: -25%; background: #1f3f8f; }
.mesh .m3 { width: 38%; height: 55%; right: -10%; top: 35%; background: #f97316; opacity: .55; }
.mesh .m4 { width: 70%; height: 50%; left: 10%;  bottom: -30%; background: #0e1f4d; }
.mesh .m5 { width: 30%; height: 40%; left: 8%;  bottom: 0;   background: #2a52b8; opacity: .6; }
.rings { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.rings .ring-a, .rings .ring-b { transform-box: fill-box; transform-origin: center; }
.rings .ring-a { animation: ringSpin 40s linear infinite; }
.rings .ring-b { animation: ringSpin 52s linear infinite reverse; }
@keyframes ringSpin { to { transform: rotate(360deg); } }
.grain { opacity: 0.3; }
.home .hero h1 { text-shadow: none; }
.home .hero .highlight { color: var(--c-accent); }
.home .hero .badge { color: #fff; background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.18); font-weight: 600; }
.home .hero .badge::before { background: var(--c-accent); box-shadow: 0 0 0 4px rgba(249,115,22,0.22); }
.home .hero p.lead { color: rgba(255,255,255,0.74); font-weight: 400; }
.home .hero-cta { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.14); box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.home .hero .btn-accent { background: var(--c-accent); box-shadow: 0 10px 30px rgba(249,115,22,0.4); }
.home .hero .btn-accent:hover { background: #ff8a3d; }
.home .hero .btn-ghost { background: transparent; color: #fff; }
.home .hero .btn-ghost:hover { background: rgba(255,255,255,0.1); }
.scroll-hint { border-color: rgba(255,255,255,0.35); }
/* 마지막 문의 상자도 같은 색으로 */
.home .cta-final > .container {
  background:
    radial-gradient(50% 90% at 100% 100%, rgba(249,115,22,0.75), transparent 70%),
    radial-gradient(55% 90% at 0% 0%, #1f3f8f, transparent 70%),
    #0d1a3d;
  border: 1px solid rgba(255,255,255,0.1);
}
.home .cta-final p { color: rgba(255,255,255,0.75); }
.home .cta-final .btn-primary { background: var(--c-accent); color: #fff; }
.home .cta-final .btn-primary:hover { background: #ff8a3d; }
@media (max-width: 768px) {
  .rings { opacity: .7; }
}
@media (prefers-reduced-motion: reduce) { .rings .ring-a, .rings .ring-b { animation: none; } }

/* ============================================================
   디자인 v3 — 하위 페이지 (body.sub): 홈과 같은 검은 톤
   공통 색 변수를 어두운 값으로 바꾸고, 흰 카드·흰 버튼만 따로 손봄
   ============================================================ */
body.sub {
  --c-bg: #07080b;
  --c-bg-alt: #0b0d12;
  --c-text: rgba(255,255,255,0.86);
  --c-text-muted: rgba(255,255,255,0.56);
  --c-border: rgba(255,255,255,0.1);
  --c-primary: #ffffff;
  --c-primary-light: #cfd8ea;
  --c-primary-bg: rgba(255,255,255,0.05);
  --c-accent-light: rgba(249,115,22,0.14);
  --c-accent-dark: #ffa45c;
  --c-secondary: #5eead4;
  --c-secondary-light: rgba(45,212,191,0.12);
  --shadow-sm: none;
  --shadow: 0 14px 34px rgba(0,0,0,0.45);
  --shadow-lg: 0 24px 60px rgba(0,0,0,0.55);
  --v2-soft: #0d0f14;
  --v2-line: rgba(255,255,255,0.09);
  background: var(--v3-black);
  color: var(--c-text);
}
.sub h5 { color: #fff; }
.sub .section-head .label, .sub .label { color: var(--c-accent); }

/* 카드류: 흰 바탕 → 어두운 카드 */
.sub .service-card, .sub .case-card, .sub .pricing-card, .sub .filter-btn, .sub .case-detail-card,
.sub .contact-method, .sub .contact-form, .sub .roi-form, .sub .result-card, .sub .compare-chart,
.sub .step-card, .sub .option-item, .sub .gen-card, .sub .axis-card, .sub .tier-card, .sub .incu-step,
.sub .type-card, .sub .value-card, .sub .diff-visual, .sub .vs-col.gray, .sub .summary-block {
  background: var(--v3-card);
  border-color: var(--v3-line);
}
.sub .case-card, .sub .case-detail-card, .sub .pricing-card, .sub .axis-card, .sub .gen-card,
.sub .contact-form, .sub .roi-form, .sub .result-card, .sub .compare-chart, .sub .value-card { border-radius: 22px; }
.sub .case-card:hover, .sub .case-detail-card:hover, .sub .axis-card:hover { border-color: rgba(249,115,22,0.55); box-shadow: 0 24px 60px rgba(0,0,0,0.5); }
.sub .pricing-card.highlight {
  background: radial-gradient(360px 220px at 100% 0%, rgba(249,115,22,0.28), transparent 65%), #15161c;
  border-color: rgba(249,115,22,0.55);
}
.sub .vs-col.accent {
  background: radial-gradient(360px 220px at 100% 0%, rgba(249,115,22,0.3), transparent 65%), #15161c;
  border: 1px solid rgba(249,115,22,0.55);
}
.sub .vs-col.accent ul { color: #fff; }

/* 흰색이 된 버튼·배지 → 흰 바탕 + 검은 글씨 */
.sub .btn-primary { background: #fff; color: var(--v3-black); border-radius: 999px; }
.sub .btn-primary:hover { background: #ffe4cf; }
.sub .filter-btn { color: var(--c-text-muted); border-radius: 999px; }
.sub .filter-btn:hover { color: #fff; border-color: rgba(255,255,255,0.3); }
.sub .filter-btn.active { background: #fff; color: var(--v3-black); border-color: #fff; }
.sub .axis-card .ax-num { color: var(--v3-black); }
.sub .roi-cta .btn:hover { color: var(--v3-black); }
.sub .redirect-wrap .badge, .sub .redirect-wrap .btn { background: #fff; color: var(--v3-black); }
.sub .redirect-wrap h1 { color: #fff; }
.sub .timeline-item::before { border-color: var(--v3-black); }
.sub .result-headline {
  background: radial-gradient(420px 240px at 100% 100%, rgba(249,115,22,0.35), transparent 65%), linear-gradient(135deg, #16306e, #0b1630);
  border: 1px solid rgba(255,255,255,0.1);
}

/* 입력칸 */
.sub input, .sub select, .sub textarea {
  background: #0b0d12;
  color: #fff;
  border-color: rgba(255,255,255,0.14);
}
.sub input::placeholder, .sub textarea::placeholder { color: rgba(255,255,255,0.35); }
.sub input:focus, .sub select:focus, .sub textarea:focus { border-color: var(--c-accent); outline: none; }

/* 하위 페이지 상단 — 홈 배너와 같은 남색 + 주황 빛 */
.sub .page-hero {
  background:
    radial-gradient(700px 380px at 85% 110%, rgba(249,115,22,0.38), transparent 65%),
    radial-gradient(800px 420px at 10% -10%, rgba(42,82,184,0.55), transparent 65%),
    #0a1430;
}
.sub .page-hero h1 { letter-spacing: -0.04em; }

/* 마지막 문의 — 홈과 같은 상자 */
.sub .cta-final { background: var(--v3-black); padding: 40px 0 120px; }
.sub .cta-final > .container {
  position: relative; overflow: hidden;
  padding: 88px 40px;
  border-radius: 36px;
  background:
    radial-gradient(50% 90% at 100% 100%, rgba(249,115,22,0.75), transparent 70%),
    radial-gradient(55% 90% at 0% 0%, #1f3f8f, transparent 70%),
    #0d1a3d;
  border: 1px solid rgba(255,255,255,0.1);
}
.sub .cta-final h2 { color: #fff; }
.sub .cta-final p { color: rgba(255,255,255,0.75); }
.sub .cta-final .btn-primary { background: var(--c-accent); color: #fff; }
.sub .cta-final .btn-primary:hover { background: #ff8a3d; }
@media (max-width: 768px) {
  .sub .cta-final { padding: 16px 0 80px; }
  .sub .cta-final > .container { padding: 52px 22px; border-radius: 26px; }
}
/* 사례 꼬리표 색 (AI·홈페이지) — 예전엔 글 안에 색이 직접 적혀 있었음 */
.tag.tag-ai  { background: #e0e7ff; color: #3730a3; }
.tag.tag-web { background: #dcfce7; color: #166534; }
.sub .tag.tag-ai  { background: rgba(167,139,250,0.16); color: #c4b5fd; }
.sub .tag.tag-web { background: rgba(74,222,128,0.14); color: #86efac; }
.sub .input-group input[type="number"] { background: #0b0d12; color: #fff; border-color: rgba(255,255,255,0.14); }

/* ── 푸터 사업자 정보 ── */
.footer-biz { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 12px; line-height: 1.7; color: rgba(255,255,255,0.5); padding: 20px 0; border-top: 1px solid rgba(255,255,255,0.1); }
.footer-biz span { word-break: keep-all; }
.footer-biz + .footer-bottom { border-top: 0; padding-top: 0; }
