/* ── Graphistar 공통 스타일 ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --black: #1a1a1a;
  --accent: #0D559F;
  --accent-light: #e8f1fb;
  --gray-50: #f7f7f5;
  --gray-100: #f0f0ee;
  --gray-200: #e6e6e4;
  --gray-300: #d8d8d6;
  --gray-500: #888;
  --gray-700: #555;
  --white: #fff;
  --shadow-sm: 0 2px 12px rgba(0,0,0,.05);
  --shadow-md: 0 4px 24px rgba(0,0,0,.08);
  --font: 'Pretendard Variable', 'Pretendard', -apple-system, 'Apple SD Gothic Neo', sans-serif;
  --max: 1160px;
}
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--black); background: var(--white); -webkit-font-smoothing: antialiased; line-height: 1; }
a { text-decoration: none; color: inherit; }
button { font-family: var(--font); cursor: pointer; border: none; }
img { display: block; max-width: 100%; }

/* ── GNB ── */
.gnb { position: sticky; top: 0; z-index: 300; background: rgba(255,255,255,.97); backdrop-filter: blur(14px); border-bottom: 1px solid var(--gray-200); }
.gnb-inner { position: relative; height: 72px; display: flex; align-items: center; padding: 0 60px; }
.gnb-logo { display: flex; align-items: center; flex-shrink: 0; position: relative; z-index: 1; }
.gnb-logo img { height: 40px; width: auto; display: block; }
.gnb-inner > nav { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.gnb-nav { display: flex; height: 72px; align-items: stretch; list-style: none; margin: 0; padding: 0; pointer-events: auto; }
.gnb-nav > li { display: flex; align-items: stretch; }
.gnb-nav > li > a { padding: 0 24px; display: flex; align-items: center; font-size: 15px; color: var(--gray-700); font-weight: 500; white-space: nowrap; position: relative; transition: color .15s; }
.gnb-nav > li > a::after { content: ''; position: absolute; bottom: 0; left: 24px; right: 24px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: center; transition: transform .2s; }
.gnb-nav > li.mega-hover > a, .gnb-nav > li > a:hover { color: var(--black); }
.gnb-nav > li.mega-hover > a::after, .gnb-nav > li > a.active::after { transform: scaleX(1); }
.gnb-nav > li > a.active { color: var(--black); font-weight: 700; }
/* ── 메가 드롭다운 ── */
.gnb-mega { position: absolute; top: 100%; left: 0; right: 0; background: var(--accent); border-top: 1px solid rgba(255,255,255,.12); border-bottom: none; box-shadow: 0 12px 40px rgba(13,85,159,.35); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, visibility .18s, transform .2s; z-index: 299; pointer-events: none; }
.gnb-mega.mega-open { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
.gnb-mega-inner { display: flex; padding: 40px 60px 44px; gap: 0; }
.gnb-mega-col { flex: 1; padding: 0 32px; border-left: 1px solid rgba(255,255,255,.18); min-width: 0; }
.gnb-mega-col:first-child { border-left: none; padding-left: 0; }
.gnb-mega-col-head { margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.2); }
.gnb-mega-col-head a { font-size: 14px; font-weight: 700; color: rgba(255,255,255,.6); display: block; transition: color .15s; white-space: nowrap; }
.gnb-mega-col.col-active .gnb-mega-col-head a, .gnb-mega-col-head a:hover { color: #fff; }
.gnb-mega-col a { display: block; font-size: 14px; color: rgba(255,255,255,.85); padding: 7px 0; transition: color .12s; font-weight: 400; white-space: nowrap; }
.gnb-mega-col a:hover { color: #fff; }
.gnb-cta { display: none; }
/* ── 햄버거 버튼 */
.gnb-ham { display: none; margin-left: auto; background: none; border: none; cursor: pointer; padding: 8px; flex-direction: column; gap: 5px; }
.gnb-ham span { display: block; width: 22px; height: 2px; background: var(--gray-700); border-radius: 2px; transition: transform .3s, opacity .3s; }
.gnb-ham.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.gnb-ham.open span:nth-child(2) { opacity: 0; }
.gnb-ham.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
/* ── 모바일 드로어 */
.gnb-drawer { display: none; position: fixed !important; top: 60px !important; left: 0 !important; right: 0 !important; background: #fff; border-top: 1px solid #eee; box-shadow: 0 8px 24px rgba(0,0,0,.1); z-index: 9999 !important; padding: 16px 20px 24px; max-height: calc(100vh - 60px); overflow-y: auto; }
.gnb-drawer.open { display: block !important; }
.gnb-drawer-nav { list-style: none; margin: 0; padding: 0; }
.gnb-drawer-nav li { border-bottom: 1px solid #f0f0f0; }
.gnb-drawer-nav li:last-child { border-bottom: none; }
.gnb-drawer-nav > li > a { display: block; padding: 14px 4px; font-size: 16px; font-weight: 500; color: var(--gray-700); text-decoration: none; }
.gnb-drawer-sub { padding: 0 0 10px 16px; }
.gnb-drawer-sub a { display: block; font-size: 14px; color: #666; padding: 8px 4px; text-decoration: none; }
@media (max-width: 900px) { .gnb-ham { display: flex; } }
@media (max-width: 768px) { .gnb-inner { padding: 0 20px; height: 60px; } .gnb-nav { display: none; } .gnb-mega { display: none; } .gnb-ham { display: flex; } }

/* ── BREADCRUMB ── */
.breadcrumb { max-width: var(--max); margin: 0 auto; padding: 14px 60px; display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--gray-500); }
.breadcrumb a { color: var(--gray-500); transition: color .15s; }
.breadcrumb a:hover { color: var(--black); }
.breadcrumb span { opacity: .4; }

/* ── SERVICE HERO ── */
.svc-hero { padding: 72px 60px 80px; max-width: var(--max); margin: 0 auto; }
.svc-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .18em; color: var(--accent); text-transform: uppercase; margin-bottom: 18px; display: flex; align-items: center; gap: 8px; }
.svc-eyebrow::before { content: ''; width: 20px; height: 1.5px; background: var(--accent); }
.svc-hero h1 { font-size: clamp(36px, 5vw, 60px); font-weight: 800; letter-spacing: -.04em; line-height: 1.1; margin-bottom: 22px; }
.svc-hero h1 em { font-style: normal; color: var(--accent); }
.svc-hero-desc { font-size: 17px; color: var(--gray-700); line-height: 1.8; max-width: 640px; margin-bottom: 36px; }
.svc-hero-meta { display: flex; gap: 28px; flex-wrap: wrap; margin-bottom: 40px; }
.svc-meta-item { display: flex; flex-direction: column; gap: 5px; }
.svc-meta-label { font-size: 13px; font-weight: 700; color: var(--gray-500); letter-spacing: .1em; text-transform: uppercase; }
.svc-meta-value { font-size: 16px; font-weight: 700; color: var(--black); }
.svc-hero-ctas { display: flex; gap: 10px; }
.btn-primary { background: var(--black); color: var(--white); padding: 14px 28px; border-radius: 8px; font-size: 15px; font-weight: 600; transition: background .15s; display: inline-block; }
.btn-primary:hover { background: #333; }
.btn-ghost { background: transparent; color: var(--black); padding: 14px 28px; border-radius: 8px; font-size: 15px; font-weight: 600; border: 1.5px solid var(--gray-300); transition: border-color .15s; display: inline-block; }
.btn-ghost:hover { border-color: var(--black); }

/* ── SECTIONS ── */
.wrap { }
.wrap.gray { background: var(--gray-50); }
.wrap.dark { background: var(--black); }

/* ── 다크 배경 섹션 유틸리티 ── */
.dark-bg {
  position: relative;
  background-color: #0a0e1e !important;
  background-size: cover !important;
  background-position: center center !important;
  background-attachment: fixed !important;
}
.dark-bg .eyebrow { color: rgba(255,255,255,.38); }
.dark-bg h2.sec-title { color: #fff; }
.dark-bg .sec-sub { color: rgba(255,255,255,.55); }
.dark-bg .why-card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.08); box-shadow: none; }
.dark-bg .why-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,.35); }
.dark-bg .why-num { color: rgba(255,255,255,.08); }
.dark-bg .why-card h3 { color: #fff; }
.dark-bg .why-card p { color: rgba(255,255,255,.5); }
.dark-bg .process-list::before { background: rgba(255,255,255,.1); }
.dark-bg .process-num { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.15); color: #78b8ff; }
.dark-bg .process-item h4 { color: #fff; }
.dark-bg .process-item p { color: rgba(255,255,255,.5); }
.section { max-width: var(--max); margin: 0 auto; padding: 96px 60px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .16em; color: var(--accent); text-transform: uppercase; margin-bottom: 16px; }
.eyebrow.light { color: rgba(255,255,255,.4); }
h2.sec-title { font-size: clamp(28px, 3.5vw, 42px); font-weight: 800; letter-spacing: -.04em; line-height: 1.18; }
h2.sec-title.light { color: var(--white); }
.sec-sub { font-size: 17px; color: var(--gray-700); line-height: 1.85; margin-top: 18px; max-width: 580px; }
.sec-sub.light { color: rgba(255,255,255,.5); }

/* ── WHY 그리드 ── */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.why-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: 16px; padding: 36px 32px; box-shadow: var(--shadow-sm); transition: box-shadow .2s, transform .2s; }
.why-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.why-card.dark { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.08); box-shadow: none; }
.why-card.dark:hover { box-shadow: none; transform: translateY(-2px); }
.why-num { font-size: 34px; font-weight: 800; color: var(--accent-light); letter-spacing: -.04em; line-height: 1; margin-bottom: 16px; }
.why-num.light { color: rgba(255,255,255,.08); }
.why-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; line-height: 1.35; }
.why-card h3.light { color: var(--white); }
.why-card p { font-size: 15px; color: var(--gray-700); line-height: 1.75; }
.why-card p.light { color: rgba(255,255,255,.5); }

/* ── 티어 카드 ── */
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.tier-card { border: 1px solid var(--gray-200); border-radius: 16px; padding: 40px 36px; background: var(--white); position: relative; transition: border-color .2s, box-shadow .2s, transform .2s; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.tier-card:hover { border-color: var(--accent); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.tier-card.featured { border-color: var(--accent); border-width: 2px; background: var(--accent-light); box-shadow: 0 4px 32px rgba(13,85,159,.12); }
.tier-badge { position: absolute; top: -1px; left: 50%; transform: translateX(-50%); background: var(--accent); color: var(--white); font-size: 13px; font-weight: 700; padding: 5px 16px; border-radius: 0 0 10px 10px; letter-spacing: .06em; }
.tier-label { font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--accent); margin-bottom: 14px; text-transform: uppercase; }
.tier-name { font-size: 21px; font-weight: 800; letter-spacing: -.03em; margin-bottom: 8px; }
.tier-price { font-size: 30px; font-weight: 800; letter-spacing: -.04em; margin-bottom: 4px; }
.tier-price span { font-size: 15px; font-weight: 400; color: var(--gray-500); }
.tier-period { font-size: 14px; color: var(--gray-500); margin-bottom: 28px; }
.tier-divider { height: 1px; background: var(--gray-200); margin-bottom: 22px; }
.tier-features { list-style: none; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.tier-features li { font-size: 15px; color: var(--gray-700); display: flex; align-items: flex-start; gap: 8px; line-height: 1.55; }
.tier-features li::before { content: '✓'; color: var(--accent); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.tier-cta { width: 100%; margin-top: 30px; padding: 13px; border-radius: 8px; font-size: 15px; font-weight: 600; background: var(--black); color: var(--white); transition: background .15s; }
.tier-cta:hover { background: #333; }
.tier-card.featured .tier-cta { background: var(--accent); }
.tier-card.featured .tier-cta:hover { background: #0a4488; }

/* ── 프로세스 ── */
.process-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 52px; position: relative; }
.process-list::before { content: ''; position: absolute; top: 28px; left: 10%; right: 10%; height: 1px; background: var(--gray-200); z-index: 0; }
.process-item { text-align: center; position: relative; z-index: 1; }
.process-num { width: 56px; height: 56px; border-radius: 50%; background: var(--white); border: 1.5px solid var(--gray-300); display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; font-size: 16px; font-weight: 800; color: var(--accent); }
.process-item h4 { font-size: 14px; font-weight: 700; margin-bottom: 8px; line-height: 1.3; }
.process-item p { font-size: 13px; color: var(--gray-500); line-height: 1.65; padding: 0 8px; }

/* ── FAQ ── */
.faq-list { margin-top: 44px; display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--gray-200); }
.faq-item { border-bottom: 1px solid var(--gray-200); }
.faq-q { padding: 24px 0; font-size: 16px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; line-height: 1.4; }
.faq-q::after { content: '+'; font-size: 22px; font-weight: 300; color: var(--gray-500); flex-shrink: 0; transition: transform .2s; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { font-size: 16px; color: var(--gray-700); line-height: 1.8; padding-bottom: 24px; display: none; max-width: 760px; }
.faq-item.open .faq-a { display: block; }

/* ── CTA 배너 ── */
.cta-banner { background: var(--black); border-radius: 20px; padding: 72px 64px; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-banner h2 { font-size: 34px; font-weight: 800; color: var(--white); letter-spacing: -.04em; line-height: 1.22; }
.cta-banner p { font-size: 16px; color: rgba(255,255,255,.5); margin-top: 12px; line-height: 1.75; }
.cta-banner-btns { display: flex; flex-direction: column; gap: 10px; flex-shrink: 0; }
.btn-white { background: var(--white); color: var(--black); padding: 14px 28px; border-radius: 8px; font-size: 15px; font-weight: 700; transition: background .15s; white-space: nowrap; display: inline-block; }
.btn-white:hover { background: #eee; }
.btn-outline-white { background: transparent; color: rgba(255,255,255,.7); padding: 14px 28px; border-radius: 8px; font-size: 15px; font-weight: 600; border: 1px solid rgba(255,255,255,.2); transition: all .15s; white-space: nowrap; display: inline-block; }
.btn-outline-white:hover { border-color: rgba(255,255,255,.5); color: var(--white); }

/* ── FOOTER ── */
.footer { background: #0e0e0f; color: #888; padding: 56px 60px; }
.footer-inner { max-width: var(--max); margin: 0 auto; }
.ft-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 44px; padding-bottom: 44px; border-bottom: 1px solid #1e1e20; }
.ft-logo { margin-bottom: 9px; line-height: 0; }
.ft-logo img { height: 24px; width: auto; filter: brightness(0) invert(1); }
.ft-desc { font-size: 14px; line-height: 1.8; color: rgba(255,255,255,.55); }
.ft-col h5 { font-size: 13px; font-weight: 700; color: #fff; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.ft-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.ft-col ul a { font-size: 14px; color: rgba(255,255,255,.6); transition: color .15s; text-decoration: none; }
.ft-col ul a:hover { color: #fff; }
.ft-bot { padding-top: 26px; display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 12px; }
.ft-info { font-size: 13px; color: rgba(255,255,255,.45); line-height: 1.9; word-break: keep-all; }
.ft-links { display: flex; gap: 16px; }
.ft-links a { font-size: 13px; color: rgba(255,255,255,.5); transition: color .15s; text-decoration: none; }
.ft-links a:hover { color: #fff; }

/* float-chat 제거 (fab.js로 대체) */

@media (max-width: 900px) {
  .gnb { padding: 0 24px; }
  .gnb-nav { display: none; }
  .svc-hero { padding: 48px 24px 56px; }
  .breadcrumb { padding: 12px 24px; }
  .section { padding: 72px 24px; }
  .why-grid, .tier-grid { grid-template-columns: 1fr; }
  .process-list { grid-template-columns: 1fr 1fr; gap: 28px; }
  .process-list::before { display: none; }
  .cta-banner { flex-direction: column; padding: 44px 28px; }
  .footer { padding: 44px 24px; }
  .ft-top { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 480px) {
  .gnb-inner { padding: 0 16px; height: 56px; }
  .gnb-logo img { height: 32px; }
  .svc-hero { padding: 36px 16px 44px; }
  .svc-hero h1 { font-size: clamp(28px, 8vw, 40px); }
  .svc-hero-desc { font-size: 15px; }
  .svc-hero-ctas { flex-direction: column; }
  .svc-hero-ctas .btn-primary,
  .svc-hero-ctas .btn-ghost { width: 100%; text-align: center; }
  .section { padding: 52px 16px; }
  .process-list { grid-template-columns: 1fr; }
  .cta-banner { padding: 36px 20px; }
  .cta-banner h2 { font-size: 24px; }
  .editorial-addon-grid { grid-template-columns: 1fr !important; }
  .footer { padding: 36px 16px; }
  .ft-top { grid-template-columns: 1fr; gap: 24px; }
  .ft-bot { flex-direction: column; align-items: flex-start; gap: 8px; }
}



@media (max-width: 768px) {  }
.gnb-drawer-nav li:last-child { border-bottom: none; }
.gnb-drawer-nav > li > a { display: block; padding: 14px 4px; font-size: 16px; font-weight: 500; color: var(--gray-700); text-decoration: none; }
.gnb-drawer-sub { padding: 0 0 10px 16px; }
.gnb-drawer-sub a { display: block; font-size: 14px; color: #666; padding: 8px 4px; text-decoration: none; }
