/* ===========================
   NSCore 홈페이지 스타일시트
   =========================== */

/* ---- CSS 변수 ---- */
:root {
  --blue-dark: #0d2b6e;
  --blue-main: #1a4fba;
  --blue-mid:  #2563eb;
  --blue-light: #dbeafe;
  --accent:    #4A90E2;
  --white:     #ffffff;
  --gray-bg:   #f4f7fb;
  --gray-text: #555e6e;
  --dark:      #111827;
  --font-kr:   'Noto Sans KR', sans-serif;
  --font-en:   'Montserrat', sans-serif;
  --header-h:  70px;
  --radius:    12px;
  --shadow:    0 4px 24px rgba(13,43,110,0.10);
  --transition: 0.3s ease;
}

/* ---- 리셋 & 기본 ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-kr); color: var(--dark); background: var(--white); overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-kr); }

/* ---- 공통 컨테이너 ---- */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ---- 섹션 공통 헤더 ---- */
.section-header { text-align: center; margin-bottom: 56px; }
.section-header.light .section-num,
.section-header.light .section-label,
.section-header.light .section-title,
.section-header.light .section-sub { color: var(--white); }
.section-header.light .section-line { background: rgba(255,255,255,0.4); }
.section-num { font-family: var(--font-en); font-size: 13px; font-weight: 700; color: var(--blue-mid); letter-spacing: 2px; display: block; margin-bottom: 4px; }
.section-label { font-family: var(--font-en); font-size: 12px; font-weight: 600; color: var(--accent); letter-spacing: 3px; text-transform: uppercase; display: block; margin-bottom: 12px; }
.section-title { font-family: var(--font-en); font-size: clamp(32px, 5vw, 48px); font-weight: 800; color: var(--blue-dark); margin-bottom: 12px; }
.section-sub { font-size: 15px; color: var(--gray-text); margin-bottom: 16px; }
.section-line { width: 48px; height: 3px; background: var(--blue-mid); border-radius: 2px; margin: 0 auto; }

/* ===========================
   HEADER
   =========================== */
#header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(13,43,110,0.08);
  transition: box-shadow var(--transition);
}
#header.scrolled { box-shadow: 0 2px 20px rgba(13,43,110,0.12); }
.header-inner { max-width: 1100px; margin: 0 auto; padding: 0 24px; height: var(--header-h); display: flex; align-items: center; justify-content: space-between; }

/* 로고 */
.logo { display: flex; align-items: baseline; gap: 2px; }
.logo-ns { font-family: var(--font-en); font-weight: 800; font-size: 22px; color: var(--blue-dark); }
.logo-core { font-family: var(--font-en); font-weight: 800; font-size: 22px; color: var(--blue-mid); }
.logo-sub { font-family: var(--font-kr); font-size: 11px; font-weight: 500; color: var(--gray-text); margin-left: 6px; }

/* GNB */
.gnb { display: flex; gap: 36px; }
.nav-link { font-family: var(--font-en); font-size: 14px; font-weight: 600; color: var(--dark); letter-spacing: 0.5px; transition: color var(--transition); position: relative; padding-bottom: 4px; }
.nav-link::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--blue-mid); border-radius: 2px; transition: width var(--transition); }
.nav-link:hover, .nav-link.active { color: var(--blue-mid); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

/* 햄버거 */
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--dark); border-radius: 2px; transition: var(--transition); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 모바일 메뉴 */
.mobile-menu { display: none; flex-direction: column; background: var(--white); border-top: 1px solid var(--blue-light); padding: 16px 24px 20px; gap: 0; }
.mobile-menu.open { display: flex; }
.mobile-nav-link { font-family: var(--font-en); font-size: 15px; font-weight: 600; color: var(--dark); padding: 12px 0; border-bottom: 1px solid var(--gray-bg); transition: color var(--transition); }
.mobile-nav-link:last-child { border-bottom: none; }
.mobile-nav-link:hover { color: var(--blue-mid); }

/* ===========================
   HERO
   =========================== */
.hero {
  min-height: 100vh;
  padding-top: var(--header-h);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  /* 배경 이미지 전체에 깔기 */
  background-image: url('../images/hero-bg.png');
  background-size: cover;
  background-position: center top;
}

/* 왼쪽 흰색 그라데이션 오버레이 - 텍스트 가독성 확보 */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(255,255,255,1)   0%,
    rgba(255,255,255,1)  42%,
    rgba(255,255,255,0.6) 58%,
    rgba(15,45,170,0.5)  75%,
    rgba(15,45,170,0.72) 100%
  );
  z-index: 0;
}

/* 왼쪽 텍스트 영역 */
.hero-left {
  position: relative;
  z-index: 1;
  flex: 0 0 50%;
  padding: 80px 60px 80px 80px;
}
.hero-eyebrow {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  color: var(--blue-mid);
  letter-spacing: 2.5px;
  margin-bottom: 22px;
  display: block;
}
.hero-title {
  font-family: var(--font-kr);
  font-size: clamp(28px, 3vw, 46px);
  font-weight: 900;
  color: var(--dark);
  line-height: 1.35;
  margin-bottom: 22px;
  word-break: keep-all;
}
.hero-title-accent { color: var(--blue-main); }
.hero-desc {
  font-size: 15px;
  color: var(--gray-text);
  line-height: 1.9;
  margin-bottom: 40px;
  word-break: keep-all;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* 버튼 */
.btn-hero-primary {
  display: inline-flex; align-items: center; gap: 0;
  padding: 14px 28px;
  background: var(--blue-main); color: var(--white);
  border-radius: 50px; font-size: 15px; font-weight: 700;
  font-family: var(--font-kr); transition: all 0.3s ease;
  text-decoration: none;
}
.btn-hero-outline {
  display: inline-flex; align-items: center; gap: 0;
  padding: 14px 28px;
  background: rgba(255,255,255,0.85); color: var(--dark);
  border: 1.8px solid #c8d4e8; border-radius: 50px;
  font-size: 15px; font-weight: 700;
  font-family: var(--font-kr); transition: all 0.3s ease;
  text-decoration: none;
}
.btn-arrow {
  display: inline-block; max-width: 0; overflow: hidden;
  opacity: 0; white-space: nowrap; margin-left: 0;
  transition: max-width 0.3s ease, opacity 0.3s ease, margin 0.3s ease;
}
.btn-hero-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,79,186,0.35);
}
.btn-hero-outline:hover {
  border-color: var(--blue-main); color: var(--blue-main);
  transform: translateY(-2px);
}
.btn-hero-primary:hover .btn-arrow,
.btn-hero-outline:hover .btn-arrow {
  max-width: 28px; opacity: 1; margin-left: 8px;
}

/* 오른쪽 통계 영역 */
.hero-right {
  position: relative;
  z-index: 1;
  flex: 0 0 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 40px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
}
.hero-stat {
  text-align: center;
  padding: 0 28px;
  color: var(--white);
}
.stat-icon { margin-bottom: 12px; opacity: 0.9; }
.stat-num {
  font-family: var(--font-en);
  font-size: 42px; font-weight: 800;
  color: var(--white); line-height: 1; margin-bottom: 8px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.2);
}
.stat-label-en {
  font-family: var(--font-en);
  font-size: 10px; font-weight: 700;
  color: rgba(255,255,255,0.75);
  letter-spacing: 1.5px; margin-bottom: 8px;
}
.stat-label-kr {
  font-size: 12px; color: rgba(255,255,255,0.85); line-height: 1.7;
}
.hero-stat-divider {
  width: 1px; height: 80px;
  background: rgba(255,255,255,0.3); flex-shrink: 0;
}

/* submit 버튼 */
.btn-submit {
  width: 100%; background: var(--blue-main); color: var(--white);
  padding: 16px; border-radius: var(--radius); font-size: 15px;
  font-weight: 700; font-family: var(--font-kr);
  transition: all var(--transition); cursor: pointer; border: none;
}
.btn-submit:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26,79,186,0.3); }

/* 스크롤 힌트 */
.hero-scroll-hint {
  position: absolute; bottom: 28px; left: 50%;
  transform: translateX(-50%); z-index: 2;
  animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* 반응형 */
@media (max-width: 900px) {
  .hero { flex-direction: column; align-items: flex-start; }
  .hero::before {
    background: linear-gradient(
      to bottom,
      rgba(255,255,255,1)   0%,
      rgba(255,255,255,0.95) 55%,
      rgba(15,45,170,0.6)   75%,
      rgba(15,45,170,0.8)  100%
    );
  }
  .hero-left { flex: none; width: 100%; padding: 60px 32px 32px; }
  .hero-right { flex: none; width: 100%; padding: 32px 20px 80px; justify-content: center; }
  .hero-stat { padding: 0 18px; }
  .stat-num { font-size: 30px; }
}
@media (max-width: 500px) {
  .hero-left { padding: 48px 20px 24px; }
  .hero-title { font-size: 26px; }
  .hero-stat { padding: 0 10px; }
  .stat-num { font-size: 24px; }
  .stat-label-en { font-size: 8px; }
  .hero-stat-divider { height: 60px; }
}

/* ===========================
   NSCORE 회사소개 - 인포그래픽 이미지
   =========================== */
.section-nscore { padding: 80px 0; background: var(--white); }
.nscore-infographic { width: 100%; }
.nscore-infographic img { width: 100%; height: auto; display: block; border-radius: var(--radius); }

/* 인트로 */
.nscore-intro { text-align: center; margin-bottom: 56px; }
.nscore-intro-title {
  font-size: clamp(22px, 3vw, 34px); font-weight: 900;
  color: var(--dark); margin-bottom: 16px; line-height: 1.4; word-break: keep-all;
}
.nscore-intro-title .accent { color: var(--blue-mid); }
.nscore-intro-desc { font-size: 15px; color: var(--gray-text); line-height: 1.9; }

/* 카드 5개 */
.nscore-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.nscore-card {
  background: var(--gray-bg);
  border: 1.5px solid #e8eef8;
  border-radius: 16px;
  padding: 28px 16px 24px;
  text-align: center;
  transition: all 0.3s ease;
}
.nscore-card:hover {
  border-color: var(--blue-mid);
  box-shadow: 0 8px 28px rgba(37,99,235,0.12);
  transform: translateY(-4px);
  background: var(--white);
}
.ncard-icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: #eef2fb;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  transition: background 0.3s;
}
.nscore-card:hover .ncard-icon { background: var(--blue-light); }
.ncard-num {
  font-family: var(--font-en); font-size: 13px; font-weight: 700;
  color: var(--blue-mid); letter-spacing: 1px; margin-bottom: 10px;
}
.ncard-title {
  font-size: 14px; font-weight: 800; color: var(--dark);
  margin-bottom: 12px; line-height: 1.4; word-break: keep-all;
}
.ncard-desc { font-size: 12px; color: var(--gray-text); line-height: 1.8; }

/* 하단 배너 */
.nscore-banner {
  background: var(--gray-bg);
  border: 1.5px solid #e8eef8;
  border-radius: 14px;
  padding: 24px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.nscore-banner-txt {
  font-size: 18px; font-weight: 700; color: var(--dark);
}
.nscore-banner-txt strong { color: var(--blue-mid); }
.nscore-banner-checks {
  display: flex; gap: 24px; flex-wrap: wrap;
}
.nscore-banner-checks span {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--dark);
}

/* 반응형 */
@media (max-width: 900px) {
  .nscore-cards { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .nscore-cards { grid-template-columns: repeat(2, 1fr); }
  .nscore-banner { flex-direction: column; text-align: center; }
  .nscore-banner-checks { justify-content: center; }
}

/* ===========================
   BUSINESS
   =========================== */
.section-business {
  padding: 100px 0;
  background: linear-gradient(160deg, var(--blue-dark) 0%, var(--blue-main) 60%, var(--blue-mid) 100%);
  position: relative;
  overflow: hidden;
}
.section-business::before {
  content: '';
  position: absolute; top: -50%; left: -10%; width: 60%; height: 200%;
  background: radial-gradient(ellipse, rgba(255,255,255,0.04) 0%, transparent 70%);
  pointer-events: none;
}

/* 슬라이더 */
.business-slider-wrap { position: relative; display: flex; align-items: center; gap: 16px; }
.business-slider { display: flex; gap: 24px; overflow: hidden; flex: 1; padding: 8px 4px; }
.biz-card {
  flex: 0 0 calc(33.333% - 16px);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  transition: all var(--transition);
  backdrop-filter: blur(4px);
}
.biz-card.active, .biz-card:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.4);
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.2);
}
.biz-icon { margin-bottom: 24px; }
.icon-box { width: 80px; height: 80px; background: rgba(255,255,255,0.12); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto; transition: var(--transition); }
.biz-card:hover .icon-box { background: rgba(255,255,255,0.22); }
.biz-title { font-family: var(--font-kr); font-size: 20px; font-weight: 700; color: var(--white); margin-bottom: 16px; }
.biz-desc { font-size: 14px; color: rgba(255,255,255,0.75); line-height: 1.8; }

/* 슬라이더 버튼 */
.slider-btn { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.15); color: var(--white); font-size: 18px; border: 1px solid rgba(255,255,255,0.3); display: flex; align-items: center; justify-content: center; transition: all var(--transition); flex-shrink: 0; }
.slider-btn:hover { background: rgba(255,255,255,0.3); }

/* 닷 */
.slider-dots { display: flex; justify-content: center; gap: 8px; margin-top: 32px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.35); cursor: pointer; transition: all var(--transition); }
.dot.active { background: var(--white); width: 24px; border-radius: 4px; }

/* ===========================
   WORKS
   =========================== */
.section-works { padding: 100px 0; background: var(--gray-bg); }
.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.work-item { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.work-item[data-infographic] { cursor: pointer; }
.work-img-wrap { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.work-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.work-item:hover .work-img-wrap img { transform: scale(1.08); }
.work-img-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 40px; transition: transform 0.5s ease; }
.work-item:hover .work-img-placeholder { transform: scale(1.08); }
.work-overlay { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, rgba(13,43,110,0.92), transparent); padding: 20px 16px 16px; }
.work-name { font-size: 14px; font-weight: 700; color: var(--white); }

/* 인포그래픽 성과 보기 힌트 */
.work-info-hint {
  display: flex; align-items: center; gap: 5px;
  margin-top: 6px; font-size: 12px; font-weight: 600;
  color: rgba(255,255,255,0.85);
  opacity: 0; transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.work-item[data-infographic]:hover .work-info-hint {
  opacity: 1; transform: translateY(0);
}
.work-info-hint svg { flex-shrink: 0; }

/* ============================
   포트폴리오 인포그래픽 팝업
   ============================ */
.pf-popup-overlay {
  position: fixed; inset: 0;
  background: rgba(10, 20, 50, 0.78);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease;
}
.pf-popup-overlay.open {
  opacity: 1; pointer-events: auto;
}
.pf-popup {
  background: var(--white);
  border-radius: 14px;
  width: min(900px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 32px 80px rgba(0,0,0,0.4);
  transform: scale(0.95) translateY(12px);
  transition: transform 0.28s cubic-bezier(0.22, 0.61, 0.36, 1);
  scrollbar-width: thin;
}
.pf-popup-overlay.open .pf-popup {
  transform: scale(1) translateY(0);
}
.pf-popup-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px 16px;
  border-bottom: 1px solid #e2e8f0;
  position: sticky; top: 0; background: var(--white); z-index: 1;
}
.pf-popup-title {
  font-size: 16px; font-weight: 700; color: var(--blue-dark);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.pf-popup-close {
  flex-shrink: 0; margin-left: 12px;
  width: 34px; height: 34px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; color: var(--gray-text);
  transition: background 0.15s, color 0.15s;
}
.pf-popup-close:hover { background: #f1f5f9; color: var(--dark); }
.pf-popup-body { padding: 0; line-height: 0; }
.pf-popup-img {
  width: 100%; height: auto;
  display: block;
  border-radius: 0 0 14px 14px;
}

/* ===========================
   CONTACT
   =========================== */
.section-contact { padding: 100px 0; background: var(--white); }
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }

/* 지도 */
.contact-left {}
.map-wrap { width: 100%; height: 260px; border-radius: var(--radius); overflow: hidden; background: var(--gray-bg); margin-bottom: 24px; position: relative; }
.map-wrap iframe { width: 100%; height: 100%; }
.map-fallback { display: none; }
.contact-info { background: var(--gray-bg); border-radius: var(--radius); padding: 24px 28px; }
.info-logo { display: flex; align-items: baseline; gap: 2px; margin-bottom: 20px; }
.info-label-sub { font-size: 12px; color: var(--gray-text); margin-left: 6px; }
.info-list { display: flex; flex-direction: column; gap: 12px; }
.info-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: var(--gray-text); line-height: 1.5; }
.info-icon { font-size: 16px; flex-shrink: 0; margin-top: 1px; }

/* 문의 폼 */
.contact-right {}
.form-title { font-size: 22px; font-weight: 700; color: var(--blue-dark); margin-bottom: 24px; }
.form-group { margin-bottom: 14px; }
.form-group input, .form-group textarea {
  width: 100%; padding: 14px 16px;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius);
  font-family: var(--font-kr); font-size: 14px; color: var(--dark);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none; resize: none;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--blue-mid); box-shadow: 0 0 0 3px rgba(37,99,235,0.12); }
.form-group input::placeholder, .form-group textarea::placeholder { color: #94a3b8; }
.form-notice { text-align: center; margin-top: 12px; font-size: 13px; color: var(--blue-mid); min-height: 20px; }
.form-notice.error { color: #ef4444; }

/* ============================
   문의 완료 성공 카드
   ============================ */
.contact-success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 56px 24px;
  min-height: 360px;
  gap: 0;
}
.contact-success.show {
  display: flex;
  animation: successFadeUp 0.5s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}
@keyframes successFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* SVG 래퍼 */
.success-icon {
  width: 96px;
  height: 96px;
  margin-bottom: 28px;
}

/* 원 그리기 애니메이션 */
.success-circle {
  stroke-dasharray: 264;
  stroke-dashoffset: 264;
  animation: drawCircle 0.6s cubic-bezier(0.65, 0, 0.45, 1) 0.2s forwards;
}
@keyframes drawCircle {
  to { stroke-dashoffset: 0; }
}

/* 원 내부 배경 (채움) */
.success-circle-bg {
  opacity: 0;
  animation: fillIn 0.3s ease 0.75s forwards;
}
@keyframes fillIn {
  to { opacity: 1; }
}

/* 체크 그리기 애니메이션 */
.success-check {
  stroke-dasharray: 80;
  stroke-dashoffset: 80;
  animation: drawCheck 0.35s cubic-bezier(0.65, 0, 0.45, 1) 0.85s forwards;
}
@keyframes drawCheck {
  to { stroke-dashoffset: 0; }
}

/* 텍스트 */
.success-title {
  font-size: 21px;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 12px;
  opacity: 0;
  animation: successFadeUp 0.4s ease 1.1s forwards;
}
.success-desc {
  font-size: 15px;
  color: var(--gray-text);
  line-height: 1.8;
  opacity: 0;
  animation: successFadeUp 0.4s ease 1.25s forwards;
}

/* ===========================
   FOOTER
   =========================== */
.footer { background: var(--blue-dark); padding: 32px 24px; }
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.footer-logo { display: flex; align-items: baseline; gap: 2px; flex-shrink: 0; }
.footer-logo-sub { font-size: 11px; color: rgba(255,255,255,0.5); margin-left: 6px; }
.footer .ci-ns { color: var(--white); font-size: 18px; }
.footer .ci-core { color: var(--accent); font-size: 18px; }
.footer-info { flex: 1; display: flex; flex-direction: column; gap: 5px; }
.footer-info p { font-size: 12px; color: rgba(255,255,255,0.5); line-height: 1.7; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.4); flex-shrink: 0; align-self: flex-end; }

/* ===========================
   FLOATING
   =========================== */
.floating-wrap { position: fixed; right: 24px; bottom: 24px; z-index: 999; display: flex; flex-direction: column; gap: 12px; align-items: flex-end; }
.floating-btn {
  background: var(--blue-main); color: var(--white);
  border-radius: 50px; padding: 12px 20px;
  font-size: 13px; font-weight: 700; font-family: var(--font-kr);
  display: flex; align-items: center; gap: 8px;
  box-shadow: 0 4px 16px rgba(26,79,186,0.35);
  transition: all var(--transition); cursor: pointer;
}
.floating-btn:hover { background: var(--blue-dark); transform: translateY(-3px); box-shadow: 0 8px 24px rgba(13,43,110,0.4); }
.top-btn { padding: 12px 16px; border-radius: 50%; font-size: 16px; opacity: 0; pointer-events: none; transition: all var(--transition); }
.top-btn.visible { opacity: 1; pointer-events: auto; }

/* ===========================
   ANIMATIONS
   =========================== */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 900px) {
  .gnb { display: none; }
  .hamburger { display: flex; }
  .nscore-content { grid-template-columns: 1fr; gap: 40px; }
  .nscore-img-wrap { order: -1; }
  .contact-wrap { grid-template-columns: 1fr; }
  .biz-card { flex: 0 0 calc(80% - 12px); }
}

@media (max-width: 640px) {
  .works-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  /* 팝업 모바일 */
  .pf-popup-overlay { padding: 0; align-items: flex-end; }
  .pf-popup { width: 100%; max-height: 92vh; border-radius: 16px 16px 0 0; }
  .pf-popup-img { border-radius: 0; }
  .hero-bg { clip-path: ellipse(120% 40% at 50% 100%); }
  .hero-brand { font-size: 48px; }
  .section-nscore, .section-business, .section-works, .section-contact { padding: 72px 0; }
  .biz-card { flex: 0 0 calc(85% - 8px); }
  .footer-inner { flex-direction: column; align-items: center; text-align: center; }
  .footer-copy { align-self: center; }
}

/* ===========================
   개인정보 동의 체크박스
   =========================== */
.privacy-agree {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-bottom: 14px;
  padding: 12px 16px;
  background: var(--gray-bg); border-radius: var(--radius);
  border: 1.5px solid var(--gray-bd);
}
.privacy-label {
  display: flex; align-items: center; gap: 10px; cursor: pointer; flex: 1;
}
.privacy-label input[type="checkbox"] { display: none; }
.privacy-check-box {
  width: 20px; height: 20px; border-radius: 5px; flex-shrink: 0;
  border: 2px solid #cbd5e1; background: var(--white);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.privacy-label input[type="checkbox"]:checked + .privacy-check-box {
  background: var(--blue-main); border-color: var(--blue-main);
}
.privacy-label input[type="checkbox"]:checked + .privacy-check-box::after {
  content: '';
  display: block; width: 5px; height: 9px;
  border: 2px solid white; border-top: none; border-left: none;
  transform: rotate(45deg) translate(-1px, -1px);
}
.privacy-text { font-size: 13px; color: var(--dark); font-weight: 500; }
.privacy-view-btn {
  font-size: 12px; font-weight: 700; color: var(--blue-mid);
  background: none; border: 1.5px solid var(--blue-light);
  border-radius: 6px; padding: 5px 10px; cursor: pointer;
  white-space: nowrap; transition: all 0.2s; flex-shrink: 0;
}
.privacy-view-btn:hover { background: var(--blue-light); }

/* ===========================
   개인정보 팝업 모달
   =========================== */
.privacy-modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.5); z-index: 9999;
  align-items: center; justify-content: center; padding: 20px;
}
.privacy-modal-overlay.open { display: flex; }
.privacy-modal {
  background: var(--white); border-radius: 16px;
  width: 640px; max-width: 95vw; max-height: 80vh;
  display: flex; flex-direction: column;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}
.privacy-modal-header {
  padding: 20px 24px; border-bottom: 1px solid var(--gray-bd);
  display: flex; align-items: center; justify-content: space-between;
  flex-shrink: 0;
}
.privacy-modal-header h3 { font-size: 17px; font-weight: 700; color: var(--blue-dark); }
.privacy-modal-close {
  font-size: 18px; color: var(--gray-text); padding: 4px 8px;
  transition: color 0.2s; cursor: pointer;
}
.privacy-modal-close:hover { color: var(--dark); }
.privacy-modal-body {
  flex: 1; overflow-y: auto; padding: 24px;
  font-size: 13px; color: var(--gray-text); line-height: 1.8;
}
.privacy-modal-body p { margin-bottom: 6px; }
.privacy-modal-body br { display: block; margin: 6px 0; }
.privacy-modal-footer {
  padding: 16px 24px; border-top: 1px solid var(--gray-bd);
  display: flex; justify-content: center; flex-shrink: 0;
}

/* ===========================
   지도 캡처 이미지
   =========================== */
.map-img-link {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
}
.map-capture-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: var(--radius);
  transition: transform 0.3s ease;
}
.map-img-link:hover .map-capture-img {
  transform: scale(1.03);
}
.map-img-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(13,43,110,0.75), transparent);
  padding: 20px 16px 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 0 0 var(--radius) var(--radius);
}
.map-img-link:hover .map-img-overlay {
  opacity: 1;
}
.map-img-overlay span {
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
}

/* ===========================
   가독성 향상 — 115% 스케일 기준
   폰트·여백·컨테이너를 전반적으로 확대
   =========================== */

/* 컨테이너 최대폭 확대 (1100 → 1260) */
.container { max-width: 1260px; }

/* 섹션 상하 패딩 확대 */
.section-nscore { padding: 100px 0; }
.section-business { padding: 115px 0; }
.section-works { padding: 115px 0; }
.section-contact { padding: 115px 0; }

/* 섹션 헤더 여백 확대 */
.section-header { margin-bottom: 64px; }

/* 섹션 타이틀·서브 폰트 확대 */
.section-title { font-size: clamp(36px, 5vw, 54px); }
.section-sub { font-size: 17px; }

/* Hero 텍스트 확대 */
.hero-title { font-size: clamp(32px, 3.5vw, 52px); }
.hero-desc { font-size: 17px; }
.hero-eyebrow { font-size: 12px; }

/* Hero 통계 숫자 확대 */
.stat-num { font-size: 48px; }
.stat-label-kr { font-size: 14px; }

/* NSCore 카드 확대 */
.nscore-intro-title { font-size: clamp(25px, 3vw, 38px); }
.nscore-intro-desc { font-size: 17px; }
.ncard-title { font-size: 15px; }
.ncard-desc { font-size: 13px; }
.nscore-banner-txt { font-size: 20px; }
.nscore-banner-checks span { font-size: 15px; }

/* Business 카드 확대 */
.biz-title { font-size: 22px; }
.biz-desc { font-size: 16px; }

/* Contact 폼 확대 */
.form-title { font-size: 24px; }
.form-group input,
.form-group textarea { font-size: 16px; padding: 16px 18px; }

/* 주소·연락처 정보 확대 */
.info-list li { font-size: 15px; }

/* 네비게이션 확대 */
.nav-link { font-size: 15px; }
.logo-ns, .logo-core { font-size: 24px; }
.logo-sub { font-size: 12px; }
.header-inner { height: 76px; }
:root { --header-h: 76px; }

/* 플로팅 버튼 확대 */
.floating-btn { font-size: 14px; padding: 13px 22px; }

/* 문의 버튼 확대 */
.btn-submit { font-size: 17px; padding: 18px; }
.btn-hero-primary, .btn-hero-outline { font-size: 16px; padding: 16px 32px; }

/* 푸터 확대 */
.footer-info p { font-size: 13px; }