/* =========================================================
   네오인프라 홈페이지 스타일
   색상·글꼴·간격은 :root 변수만 바꾸면 전체에 반영됩니다.
   ========================================================= */
:root {
  --bg: #f7f6f2;          /* 오프화이트 바탕 */
  --white: #ffffff;
  --navy: #0b1b3a;        /* 주요 글자·강조 영역 */
  --navy-soft: #13284f;
  --text: #0f1a30;
  --muted: #4a5468;       /* 보조 글자 (바탕 대비 7:1 이상) */
  --line: #dcdfe5;
  --accent: #2858a8;      /* 포인트 블루 (로고 'NEO' 색상, 한 가지만 사용) */
  --accent-hover: #1d4588;
  --on-dark: #ffffff;
  --on-dark-muted: #c3cbdb;
  --line-dark: rgba(255, 255, 255, 0.18);

  --font: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --container: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --section-y: clamp(88px, 12vw, 168px);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px); /* 고정 메뉴가 제목을 가리지 않도록 */
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.75;
  font-weight: 450;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.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;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--navy); color: var(--on-dark); padding: 10px 16px;
  text-decoration: none; border-radius: 6px;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- 공통 타이포 ---------- */
.eyebrow {
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(34px, 5.2vw, 64px);
  line-height: 1.22;
  font-weight: 750;
  letter-spacing: -0.035em;
  color: var(--navy);
}

.section-head { margin-bottom: clamp(48px, 7vw, 88px); max-width: 860px; }
.section-lead {
  margin-top: 28px;
  font-size: clamp(18px, 1.6vw, 21px);
  color: var(--muted);
  max-width: 680px;
}

.section { padding: var(--section-y) 0; }
.section-white { background: var(--white); }

/* ---------- 버튼 ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 60px;
  padding: 0 30px;
  border-radius: 999px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn-arrow { transition: transform .2s ease; }
.btn:hover .btn-arrow { transform: translateX(4px); }

.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-hover); }

.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: var(--white); }

.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: #e6ebf5; }

.btn-outline-light { border-color: rgba(255, 255, 255, .7); color: var(--white); background: transparent; }
.btn-outline-light:hover { background: var(--white); color: var(--navy); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 2px solid var(--navy);
}
.text-link span { transition: transform .2s ease; }
.text-link:hover { color: var(--accent); border-color: var(--accent); }
.text-link:hover span { transform: translateX(4px); }

.section-cta { margin-top: clamp(48px, 6vw, 72px); }

/* ---------- 상단 메뉴 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 246, 242, 0.92);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 54px; width: auto; }

.site-nav ul { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  color: var(--text);
  border-radius: 999px;
  transition: color .2s ease, background-color .2s ease;
}
.site-nav a:hover { color: var(--accent); }
.site-nav .nav-cta { background: var(--navy); color: var(--white); margin-left: 8px; padding: 0 22px; }
.site-nav .nav-cta:hover { background: var(--accent); color: var(--white); }

.nav-toggle {
  display: none;
  width: 48px; height: 48px;
  border: 0; background: transparent;
  cursor: pointer;
  position: relative;
  margin-right: -10px;
}
.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  position: absolute; left: 13px;
  width: 22px; height: 2px;
  background: var(--navy);
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle-bar { top: 23px; }
.nav-toggle-bar::before, .nav-toggle-bar::after { content: ''; left: 0; }
.nav-toggle-bar::before { top: -7px; }
.nav-toggle-bar::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 01 첫 화면 ---------- */
.hero { padding: clamp(72px, 11vw, 160px) 0 clamp(48px, 6vw, 72px); }

.hero-title {
  font-size: clamp(42px, 7.6vw, 104px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.045em;
  color: var(--navy);
  max-width: 14em;
}

.hero-body {
  margin-top: clamp(40px, 5vw, 64px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px 64px;
  align-items: end;
}
.hero-lead {
  font-size: clamp(18px, 1.6vw, 21px);
  color: var(--muted);
  max-width: 620px;
}

.hero-visual { margin-top: clamp(40px, 6vw, 80px); }
.hero-visual img { width: 100%; }

.hero-strip {
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 16px 40px;
}
.hero-strip-label { font-size: 15px; font-weight: 700; color: var(--muted); }
.hero-strip { align-items: center; }
.hero-strip-list { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 40px; }
/* 매체 로고: 비율 유지, 같은 크기 틀 안에 맞춤. 평소 회색, 마우스 올리면 원래 색 */
.hero-strip-list li { width: 150px; height: 44px; display: flex; align-items: center; justify-content: center; }
.hero-strip-list img {
  max-width: 100%; max-height: 100%; width: auto; height: auto;
  filter: grayscale(1); opacity: .85;
  transition: filter .25s ease, opacity .25s ease;
}
.hero-strip-list li:hover img { filter: none; opacity: 1; }

/* ---------- 02 두 가지 이용 방법 ---------- */
.paths .section-title { margin-bottom: clamp(48px, 7vw, 88px); }
.paths-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 2px solid var(--navy);
}
.path {
  padding: 40px 48px 8px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.path + .path { padding-left: 48px; padding-right: 0; border-left: 1px solid var(--line); }
.path-index { font-size: 15px; font-weight: 700; color: var(--accent); }
.path-title {
  font-size: clamp(26px, 2.8vw, 36px);
  line-height: 1.3;
  font-weight: 750;
  letter-spacing: -0.03em;
  color: var(--navy);
}
.path p { color: var(--muted); flex: 1; }
.path .text-link { align-self: flex-start; margin-top: 8px; }

/* ---------- 03·05 서비스 목록 ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 64px;
}
.service {
  padding: 36px 0 48px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  column-gap: 24px;
}
.service-icon { grid-row: 1 / 3; align-self: start; width: 48px; height: 48px; }
.service h3 {
  font-size: clamp(23px, 2.2vw, 28px);
  font-weight: 750;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin-bottom: 14px;
  line-height: 1.35;
}
.service p { color: var(--muted); }

/* ---------- 04 핵심 역량 ---------- */
.capability-layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.capability-feature {
  background: var(--navy) url('../images/capability-bg.webp') center / cover no-repeat;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  color: var(--on-dark);
  padding: clamp(36px, 4vw, 56px);
  border-radius: 8px;
}
.capability-number {
  display: flex;
  align-items: baseline;
  gap: 6px;
  line-height: 1;
  margin-bottom: 28px;
}
.capability-number span {
  font-size: clamp(88px, 11vw, 148px);
  font-weight: 800;
  letter-spacing: -0.05em;
}
.capability-number small { font-size: 28px; font-weight: 700; }
.capability-feature h3 { font-size: clamp(22px, 2vw, 26px); font-weight: 750; letter-spacing: -0.02em; margin-bottom: 12px; }
.capability-feature p { color: var(--on-dark-muted); }

.capability-list li {
  padding: 28px 0 32px;
  border-top: 1px solid var(--line);
}
.capability-list li:first-child { border-top: 2px solid var(--navy); }
.capability-list h3 {
  font-size: clamp(22px, 2vw, 26px);
  font-weight: 750;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin-bottom: 10px;
}
.capability-list p { color: var(--muted); }

.note {
  margin-top: clamp(40px, 5vw, 64px);
  padding: 20px 24px;
  border-left: 3px solid var(--accent);
  background: var(--white);
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

/* ---------- 05 사업 파트너 (어두운 영역) ---------- */
.section-dark { background: var(--navy); color: var(--on-dark); }
.section-dark .eyebrow { color: #8fb0ff; }
.section-dark .section-title,
.section-dark .service h3 { color: var(--on-dark); }
.section-dark .section-lead,
.section-dark .service p { color: var(--on-dark-muted); }
.section-dark .service { border-top-color: var(--line-dark); }
.section-dark .service-icon { filter: brightness(0) invert(1); }

.partner-visual { margin: 0 0 clamp(40px, 6vw, 72px); }
.partner-visual img { width: 100%; border-radius: 8px; }

/* ---------- 06 미디어 네트워크 ---------- */
.network-groups {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 0 64px;
  border-top: 2px solid var(--navy);
}
.network-group { padding-top: 32px; }
.network-label { font-size: 16px; font-weight: 700; color: var(--accent); margin-bottom: 20px; }
.media-list { display: flex; flex-direction: column; }
.media-list[data-media-list="partner"] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
.media-list li {
  height: 104px;
  display: flex;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.media-list img { max-width: min(100%, 280px); max-height: 60px; width: auto; height: auto; }

/* 매체 로고 링크: 누를 수 있음을 살짝 떠오르는 효과로 표시 */
.media-link {
  display: flex;
  align-items: center;
  justify-content: inherit;
  width: 100%;
  height: 100%;
  min-height: 44px;
  border-radius: 6px;
  transition: transform .2s ease;
}
.media-link:hover { transform: translateY(-3px); }
.hero-strip-list .media-link:focus-visible img { filter: none; opacity: 1; }
.network-note { margin-top: 20px; color: var(--muted); font-size: 16px; }

.model {
  margin-top: clamp(64px, 8vw, 104px);
  background: var(--bg);
  border-radius: 8px;
  padding: clamp(36px, 5vw, 64px);
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: 32px clamp(32px, 5vw, 64px);
  align-items: center;
}
.model-visual img { width: 100%; border-radius: 6px; }
.model-body { display: grid; gap: 16px; }
.model .eyebrow { margin-bottom: 0; }
.model-title {
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 8px;
}
.model-lead { color: var(--text); font-size: clamp(18px, 1.6vw, 20px); }
.model-note { color: var(--muted); }

/* ---------- 07 진행 절차 ---------- */
.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 32px;
  counter-reset: step;
}
.process-list li { border-top: 2px solid var(--navy); padding-top: 28px; }
.process-step {
  display: block;
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 24px;
}
.process-list h3 { font-size: 23px; font-weight: 750; letter-spacing: -0.03em; color: var(--navy); margin-bottom: 10px; }
.process-list p { color: var(--muted); }

/* ---------- 08 FAQ ---------- */
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 48px;
  align-items: start;
}
.faq-layout .section-head { margin-bottom: 0; }
.faq-list { border-top: 2px solid var(--navy); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  min-height: 64px;
  font-size: clamp(19px, 1.8vw, 22px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '';
  flex: none;
  width: 14px; height: 14px;
  border-right: 2.5px solid var(--navy);
  border-bottom: 2.5px solid var(--navy);
  transform: rotate(45deg) translate(-3px, -3px);
  transition: transform .2s ease;
}
.faq[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq summary:hover { color: var(--accent); }
.faq p { padding: 0 48px 28px 0; color: var(--muted); }

/* ---------- 09 최종 상담 ---------- */
.contact { background: var(--navy); color: var(--on-dark); }
.contact-title {
  font-size: clamp(34px, 5.6vw, 72px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.contact-lead {
  margin-top: 28px;
  color: var(--on-dark-muted);
  font-size: clamp(18px, 1.6vw, 21px);
}
.contact-grid {
  margin-top: clamp(56px, 7vw, 88px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  gap: 32px 16px;
  padding: clamp(28px, 3.5vw, 44px);
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  text-decoration: none;
  color: var(--on-dark);
  transition: background-color .2s ease, border-color .2s ease;
}
.contact-card:first-child { background: var(--accent); border-color: var(--accent); }
.contact-card:first-child:hover { background: var(--accent-hover); }
.contact-card:last-child:hover { background: var(--navy-soft); border-color: rgba(255,255,255,.4); }
.contact-card-label { font-size: 15px; font-weight: 700; opacity: .8; }
.contact-card-title {
  grid-column: 1;
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.3;
}
.contact-card-arrow {
  grid-column: 2; grid-row: 2;
  align-self: end;
  font-size: 32px;
  line-height: 1;
  transition: transform .2s ease;
}
.contact-card:hover .contact-card-arrow { transform: translateX(6px); }

/* ---------- 하단 정보 ---------- */
.site-footer {
  background: var(--navy);
  color: var(--on-dark-muted);
  border-top: 1px solid var(--line-dark);
  padding: 56px 0 40px;
  font-size: 16px;
}
.footer-inner { display: grid; gap: 32px; }
.footer-logo { height: 52px; width: auto; margin-bottom: 20px; }
.footer-name { color: var(--on-dark); font-size: 20px; font-weight: 750; }
.footer-tagline { margin-top: 4px; }
.footer-info { display: flex; flex-wrap: wrap; gap: 10px 32px; }
.footer-info div { display: flex; gap: 10px; }
.footer-info dt { font-weight: 700; color: var(--on-dark); white-space: nowrap; }
.footer-info a { text-decoration: none; }
.footer-info a:hover { text-decoration: underline; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
}
.footer-link { color: var(--on-dark); font-weight: 700; text-decoration: none; }
.footer-link:hover { text-decoration: underline; }
.copyright { font-size: 15px; }

/* ---------- 안내 토스트 ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 80;
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100% - 32px);
  background: var(--text);
  color: var(--white);
  padding: 16px 24px;
  border-radius: 10px;
  font-size: 17px;
  font-weight: 600;
  box-shadow: 0 12px 32px rgba(11, 27, 58, .25);
}

/* ---------- 스크롤 등장 (JS 사용 시에만 숨김) ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: 0s !important; }
}

/* =========================================================
   반응형
   ========================================================= */
@media (max-width: 1024px) {
  .hero-body { grid-template-columns: 1fr; }
  .process-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 32px; }
  .capability-layout { grid-template-columns: 1fr; }
  .faq-layout { grid-template-columns: 1fr; gap: 0; }
  .faq-layout .section-head { margin-bottom: 48px; }
}

@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .brand-logo { height: 44px; }

  .nav-toggle { display: block; }
  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 24px;
    display: none;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a {
    min-height: 56px;
    padding: 0 4px;
    font-size: 19px;
    border-radius: 0;
    border-bottom: 1px solid var(--line);
  }
  .site-nav .nav-cta {
    margin: 16px 0 0;
    justify-content: center;
    border-radius: 999px;
    border-bottom: 0;
  }

  .paths-grid,
  .service-grid,
  .network-groups,
  .contact-grid { grid-template-columns: 1fr; }

  .path,
  .path + .path { padding: 36px 0 40px; border-left: 0; }
  .path + .path { border-top: 1px solid var(--line); }

  .network-group + .network-group { padding-top: 48px; }

  .model { grid-template-columns: 1fr; }
  .capability-feature { min-height: 0; }
}

@media (max-width: 560px) {
  body { font-size: 17px; }
  .btn-row { flex-direction: column; }
  .btn { width: 100%; }
  .section-cta .btn { width: 100%; }
  .process-list { grid-template-columns: 1fr; gap: 40px; }
  .service { grid-template-columns: 1fr; grid-template-rows: none; }
  .service-icon { grid-row: auto; width: 44px; height: 44px; margin-bottom: 16px; }
  .partner-visual img { aspect-ratio: 16 / 10; object-fit: cover; }
  .hero-visual img { aspect-ratio: 4 / 3; object-fit: cover; object-position: 55% 50%; }
  .media-list[data-media-list="partner"] { grid-template-columns: 1fr; }
  .hero-strip { flex-direction: column; align-items: flex-start; gap: 16px; }
  .hero-strip-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; width: 100%; }
  .hero-strip-list li { width: 100%; height: 40px; justify-content: flex-start; }
  .hero-strip-list img { max-width: 140px; }
  .media-list li { height: 88px; }
  .media-list img { max-height: 52px; max-width: 240px; }
  .faq p { padding-right: 0; }
}

/* =========================================================
   서브 페이지 (기사·브랜딩 서비스)
   ========================================================= */
.page-hero { padding: clamp(64px, 9vw, 128px) 0 clamp(56px, 7vw, 96px); }
.page-title {
  font-size: clamp(36px, 6vw, 80px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.045em;
  color: var(--navy);
}
.page-jump {
  margin-top: clamp(40px, 5vw, 64px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  max-width: 1200px;
}
.jump-card {
  display: grid;
  gap: 6px;
  padding: 28px 32px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--navy);
  background: var(--white);
  border-radius: 8px;
  text-decoration: none;
  color: var(--navy);
  transition: border-color .2s ease, transform .2s ease;
}
.jump-card:hover { border-top-color: var(--accent); transform: translateY(-3px); }
.jump-card-label { font-size: 15px; font-weight: 700; color: var(--accent); }
.jump-card-title { font-size: clamp(22px, 2.2vw, 28px); font-weight: 750; letter-spacing: -0.03em; }
.jump-card-desc { color: var(--muted); }

/* ---------- 카드뉴스 영역 ---------- */
.deck-layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.deck-intro { position: sticky; top: calc(var(--header-h) + 40px); }
.deck-intro .section-title { margin-top: 0; }
.deck-hint {
  margin-top: 28px;
  font-size: 16px;
  color: var(--muted);
  padding-left: 14px;
  border-left: 3px solid var(--accent);
}

.deck { width: 100%; max-width: 560px; justify-self: end; }
.deck-viewport {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 16px 48px rgba(11, 27, 58, .12);
  cursor: pointer;
  aspect-ratio: var(--deck-ratio, 1122 / 1402);   /* 카드 비율 (덱마다 style 로 지정 가능) */
  touch-action: pan-y;
}
.deck-track {
  display: flex;
  height: 100%;
  transition: transform .45s cubic-bezier(.2, .7, .2, 1);
}
.deck-slide { position: relative; flex: 0 0 100%; height: 100%; }
.deck-slide img { width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.deck-hotspot {
  position: absolute;
  border-radius: 999px;
  color: transparent;
  overflow: hidden;
  outline-offset: 2px;
}
.deck-hotspot:hover { box-shadow: 0 0 0 3px rgba(255, 255, 255, .7), 0 0 0 6px var(--accent); }

.deck-controls {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.deck-btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 2px solid var(--navy);
  background: var(--white);
  color: var(--navy);
  font-size: 22px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.deck-btn:hover:not(:disabled) { background: var(--navy); color: var(--white); }
.deck-btn:disabled { opacity: .3; cursor: default; }
.deck-counter { min-width: 64px; text-align: center; font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; }
.deck-finish { margin-left: auto; min-height: 52px; }
.deck-progress { margin-top: 16px; height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; }
.deck-progress-bar { display: block; height: 100%; width: 0; background: var(--accent); transition: width .3s ease; }

/* 카드 옆 핵심 안내 */
.deck-points { margin-top: 28px; display: grid; gap: 14px; color: var(--muted); }
.deck-points li { padding-left: 16px; border-left: 2px solid var(--line); }
.deck-points strong { color: var(--navy); }
.deck-note { margin-top: 16px; font-size: 15px; color: var(--muted); }

/* 카드뉴스 준비 중 자리 */
.deck-placeholder {
  width: 100%;
  max-width: 560px;
  justify-self: end;
  aspect-ratio: 1122 / 1402;
  padding: clamp(32px, 4vw, 48px);
  border: 2px dashed var(--line);
  border-radius: 10px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  color: var(--muted);
}
.section-white .deck-placeholder { background: var(--bg); }
.deck-placeholder-label { font-size: 15px; font-weight: 700; color: var(--accent); }

.site-nav a[aria-current="page"] { color: var(--accent); }

@media (max-width: 860px) {
  .page-jump { grid-template-columns: 1fr; }
  .deck-layout { grid-template-columns: 1fr; gap: 32px; }
  .deck-intro { position: static; }
  .deck, .deck-placeholder { justify-self: center; }
  .deck-placeholder { aspect-ratio: auto; }
}
@media (max-width: 560px) {
  .deck-controls { flex-wrap: wrap; }
  .deck-finish { margin-left: 0; width: 100%; order: 3; }
}

/* ---------- 카드 크게 보기 ---------- */
.deck-zoom {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}
.deck-zoom:hover { border-color: var(--navy); }
.deck-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 56px 12px 12px;
  background: rgba(6, 14, 30, .92);
}
.deck-lightbox.is-open { display: flex; }
.deck-lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; }
.deck-lightbox-close {
  position: absolute;
  top: 8px; right: 8px;
  width: 48px; height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .15);
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

/* 서비스 항목 안 작은 링크 */
.service-link {
  grid-column: 2;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 8px;
  font-weight: 700;
  text-decoration: none;
  color: var(--accent);
}
.section-dark .service-link { color: #8fb0ff; }
.service-link:hover { text-decoration: underline; }
@media (max-width: 560px) { .service-link { grid-column: 1; } }

/* ---------- 고객 후기 · 진행 사례 ---------- */
#process { border-top: 1px solid var(--line); }
.proof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(48px, 6vw, 80px);
  align-items: start;
}
.proof-block { display: grid; gap: 16px; min-width: 0; }
.proof-block > * { min-width: 0; }
.proof-block .deck { justify-self: start; max-width: 560px; }
.proof-block .section-title { margin-bottom: 16px; }
.proof-title {
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 750;
  letter-spacing: -0.03em;
  color: var(--navy);
  padding-top: 20px;
  border-top: 2px solid var(--navy);
}
.proof-desc { color: var(--muted); margin-bottom: 8px; }
@media (min-width: 861px) { .proof-desc { min-height: 3.6em; } }
.deck-caption {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  min-height: 28px;
  font-size: 16px;
  color: var(--muted);
}
.deck-caption-link { font-weight: 700; color: var(--accent); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.deck-caption-link:hover { text-decoration: underline; }

/* ---------- 글자 후기 카드 ---------- */
.review-wrap { min-width: 0; }
.review-list {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(300px, 380px);
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  padding: 4px 2px 16px;
  scrollbar-width: thin;
}
.review-card {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 26px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: 10px;
}
.section-white .review-card { background: var(--bg); }
.review-quote {
  font-size: 20px;
  line-height: 1.5;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.review-quote::before { content: '“'; color: var(--accent); margin-right: 2px; }
.review-quote::after { content: '”'; color: var(--accent); margin-left: 2px; }
.review-body { font-size: 16px; line-height: 1.75; color: var(--muted); flex: 1; }
.review-author { padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 16px; }
.review-author strong { color: var(--navy); font-size: 18px; margin-right: 4px; }
.review-meta { font-size: 14px; color: var(--muted); margin-top: -8px; }
.review-actions { display: grid; gap: 10px; }
.review-capture {
  display: grid;
  gap: 6px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  overflow: hidden;
  cursor: zoom-in;
  font: inherit;
  text-align: left;
}
.review-capture img { width: 100%; height: 120px; object-fit: cover; object-position: top; }
.review-capture span { padding: 0 12px 10px; font-size: 14px; font-weight: 700; color: var(--navy); }
.review-capture:hover { border-color: var(--accent); }
.review-link { font-weight: 700; color: var(--accent); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.review-link:hover { text-decoration: underline; }
.review-controls { display: flex; gap: 12px; margin-top: 8px; }
@media (max-width: 560px) {
  .review-list { grid-auto-columns: 86%; }
}

/* ---------- 특화 운영 모델 여러 개 ---------- */
.models { margin-top: clamp(64px, 8vw, 104px); display: grid; gap: 24px; }
.models .model { margin-top: 0; }
.model--text { grid-template-columns: 1fr; }
.model--text .model-body { max-width: 760px; }
.model-link { justify-self: start; margin-top: 4px; }
.model-caution { font-size: 14px; color: var(--muted); }
.models-note { color: var(--muted); padding-top: 8px; }
