/* =========================================================
   바르오리 회사소개 사이트 공통 스타일
   ========================================================= */

/* ---------- 색상·크기 기본값 ---------- */
:root {
  --c-ink: #070b16;
  --c-dark: #0b1222;
  --c-dark-2: #121a2c;
  --c-navy: #0f2445;
  --c-line-dark: rgba(255, 255, 255, 0.12);
  --c-on-dark: #eef2fa;
  --c-on-dark-muted: #a3aec4;
  --c-light: #ffffff;
  --c-light-2: #f3f6fb;
  --c-line-light: #e3e8f0;
  --c-text: #121826;
  --c-text-muted: #4b5567;
  --c-accent: #2563eb;
  --c-accent-2: #22d3ee;
  --c-beak: #fb923c;
  --muted: var(--c-text-muted);
  --header-h: 80px;
  --container: 1200px;
  --radius: 14px;
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
    "Apple SD Gothic Neo", "Malgun Gothic", "맑은 고딕", sans-serif;
}

/* ---------- 기본 초기화 ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

/* 한글은 단어 단위로 줄바꿈, 아주 긴 문자열(이메일 등)은 어디서든 끊어서 칸을 뚫고 나가지 않게 함 */
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--c-text);
  background: var(--c-light);
  word-break: keep-all;
  overflow-wrap: anywhere;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3 {
  letter-spacing: -0.02em;
}

:focus-visible {
  outline: 2px solid var(--c-accent-2);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + 40px);
  margin-inline: auto;
  padding-inline: 20px;
}

/* 키보드 사용자를 위한 본문 바로가기 (포커스 시에만 보임) */
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: #fff;
  color: var(--c-text);
  border-radius: 6px;
}

.skip-link:focus {
  top: 12px;
}

/* ---------- 상단 머리글 ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  transition: background 0.3s, box-shadow 0.3s;
}

/* 스크롤을 내리거나 모바일 메뉴를 열면 어두운 배경을 깔아 글자가 묻히지 않게 함 */
.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(7, 11, 22, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--c-line-dark);
}

.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* 로고: 심볼 이미지 + 글자 로고 */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.logo img {
  width: 40px;
  height: 40px;
}

.logo b {
  font-weight: 800;
  color: var(--c-accent-2);
}

/* 주 메뉴 */
.gnb ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 52px;
}

.gnb a {
  position: relative;
  display: block;
  padding: 6px 0;
  color: var(--c-on-dark);
  font-size: 16px;
  font-weight: 600;
}

/* 메뉴 밑줄: 현재 페이지·마우스 올림 시 표시 */
.gnb a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--c-accent-2);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s;
}

.gnb a:hover::after,
.gnb a[aria-current="page"]::after {
  transform: scaleX(1);
}

/* 모바일 메뉴 버튼 (햄버거) */
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

/* 메뉴가 열리면 햄버거를 X 모양으로 바꿈 */
.site-header.is-open .menu-toggle span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.site-header.is-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .menu-toggle span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 860px) {
  :root {
    --header-h: 64px;
  }

  .logo {
    font-size: 21px;
  }

  .logo img {
    width: 34px;
    height: 34px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  /* 모바일: 메뉴를 머리글 아래로 펼치는 패널로 전환 (JS 없으면 그냥 펼쳐 둠) */
  .gnb {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(7, 11, 22, 0.97);
  }

  .js .gnb {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  /* 가로 모드처럼 화면이 낮으면 메뉴를 화면 높이 안으로 줄이고, 넘치는 항목은 메뉴 안에서 스크롤 */
  .js .site-header.is-open .gnb {
    max-height: min(420px, calc(100vh - var(--header-h)));
    max-height: min(420px, calc(100dvh - var(--header-h)));
    overflow-y: auto;
  }

  .gnb ul {
    flex-direction: column;
    gap: 0;
    padding: 4px 20px 20px;
  }

  .gnb a {
    padding: 14px 0;
    border-bottom: 1px solid var(--c-line-dark);
  }

  .gnb a::after {
    display: none;
  }

  .gnb a[aria-current="page"] {
    color: var(--c-accent-2);
  }
}

/* ---------- 공용 버튼 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  background: linear-gradient(90deg, #2563eb, #0e7490);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(34, 211, 238, 0.25);
}

/* 보조 버튼: 테두리만 있는 형태 (어두운 배경용) */
.btn-ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

/* 버튼 여러 개를 나란히 (좁으면 줄바꿈) */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- 메인 히어로 ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--c-on-dark);
  background:
    radial-gradient(ellipse 45% 60% at 74% 50%, rgba(34, 211, 238, 0.14), transparent 65%),
    radial-gradient(ellipse 40% 50% at 88% 22%, rgba(37, 99, 235, 0.22), transparent 65%),
    var(--c-ink);
}

/* 연결망 애니메이션 캔버스 (히어로·하위 배너 공용) */
.network {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* 오른쪽 빛나는 구체 + 궤도 링 */
.hero-orb {
  position: absolute;
  top: 50%;
  right: 7%;
  width: min(560px, 44vw);
  aspect-ratio: 1;
  transform: translateY(-50%);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 32%, rgba(125, 211, 252, 0.4), rgba(37, 99, 235, 0.18) 45%, rgba(7, 11, 22, 0) 72%);
  border: 1px solid rgba(125, 211, 252, 0.22);
  box-shadow: 0 0 140px rgba(37, 99, 235, 0.28), inset 0 0 80px rgba(34, 211, 238, 0.12);
}

.hero-ring {
  position: absolute;
  inset: -9% -20%;
  border: 1px solid rgba(125, 211, 252, 0.28);
  border-radius: 50%;
  transform: rotate(-18deg);
}

.hero-ring::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--c-beak);
  box-shadow: 0 0 18px var(--c-beak);
}

/* 왼쪽 글자가 연결망에 묻히지 않도록 어둡게 덮는 층 */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--c-ink) 0%, rgba(7, 11, 22, 0.7) 35%, rgba(7, 11, 22, 0) 62%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 580px;
  padding-block: calc(var(--header-h) + 40px) 100px;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 17px;
  font-weight: 600;
  color: var(--c-accent-2);
}

.hero h1 {
  margin: 0 0 28px;
  font-size: clamp(56px, 9vw, 100px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.hero .lead {
  margin: 0 0 40px;
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--c-on-dark-muted);
}

/* 아래로 스크롤 안내 표시 */
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transform: translateX(-50%);
  color: var(--c-on-dark-muted);
  font-size: 12px;
  letter-spacing: 0.2em;
}

.scroll-cue::after {
  content: "";
  width: 1px;
  height: 40px;
  background: linear-gradient(var(--c-accent-2), transparent);
  animation: cue 2s ease-in-out infinite;
}

@keyframes cue {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

@media (max-width: 860px) {
  .hero-orb {
    right: -35%;
    width: 110vw;
    opacity: 0.55;
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(7, 11, 22, 0.2), rgba(7, 11, 22, 0.75));
  }
}

/* ---------- 공용 섹션 ---------- */
.section {
  padding-block: 120px;
}

.section-dark {
  --muted: var(--c-on-dark-muted);
  background: var(--c-dark-2);
  color: var(--c-on-dark);
}

.section-navy {
  --muted: var(--c-on-dark-muted);
  background: var(--c-navy);
  color: var(--c-on-dark);
}

.section-light {
  background: var(--c-light);
}

.section-light-2 {
  background: var(--c-light-2);
}

/* 어두운 섹션 배경의 동심원 곡선 무늬 */
.pattern-arcs {
  background-image: repeating-radial-gradient(circle at 105% -5%, transparent 0 46px, rgba(255, 255, 255, 0.035) 46px 47px);
}

.section-head {
  max-width: 780px;
  margin: 0 auto 80px;
  text-align: center;
}

.section-head h2 {
  margin: 0 0 20px;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.3;
}

.section-head p {
  margin: 0;
  font-size: 17px;
  color: var(--muted);
}

.label-en {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--c-accent);
}

.section-dark .label-en,
.section-navy .label-en {
  color: var(--c-accent-2);
}

@media (max-width: 860px) {
  .section {
    padding-block: 80px;
  }

  .section-head {
    margin-bottom: 52px;
  }
}

/* ---------- 이미지·글 교차 배치 (메인 솔루션, 인재상) ---------- */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1040px;
  margin-inline: auto;
}

.feature + .feature {
  margin-top: 110px;
}

/* 짝수 번째는 그림을 오른쪽으로 보내 지그재그 배치 */
.feature:nth-child(even) .feature-media {
  order: 2;
}

.feature-media {
  aspect-ratio: 10 / 7;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(140deg, #18264a, #0b1426 70%);
  border: 1px solid var(--c-line-dark);
}

.feature-media svg {
  width: 100%;
  height: 100%;
}

.feature h3 {
  margin: 0 0 18px;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  line-height: 1.3;
}

.feature p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 860px) {
  .feature {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .feature:nth-child(even) .feature-media {
    order: 0;
  }

  .feature + .feature {
    margin-top: 72px;
  }
}

/* ---------- 서비스 원형 배치 (Our Presence) ---------- */
.orbit {
  position: relative;
  width: min(640px, 100%);
  aspect-ratio: 1;
  margin-inline: auto;
}

.orbit-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: orbit-spin 60s linear infinite;
}

/* 링 위를 도는 작은 빛 점 */
.orbit-ring::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 50%;
  width: 7px;
  height: 7px;
  margin-left: -3.5px;
  border-radius: 50%;
  background: var(--c-accent-2);
  box-shadow: 0 0 12px var(--c-accent-2);
}

.orbit-ring.r1 { width: 92%; height: 92%; }
.orbit-ring.r2 { width: 66%; height: 66%; animation-duration: 45s; animation-direction: reverse; }
.orbit-ring.r3 { width: 46%; height: 46%; animation-duration: 30s; }

@keyframes orbit-spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.orbit-center {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 44%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.orbit-center .eyebrow {
  margin-bottom: 8px;
  font-size: 15px;
  color: #7fb2ff;
}

.orbit-center h2 {
  margin: 0;
  font-size: clamp(17px, 2.3vw, 22px);
  font-weight: 700;
  line-height: 1.55;
}

.orbit-tags {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* 각 서비스명은 HTML의 --x, --y 값 위치에 놓임 */
.orbit-tags li {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  white-space: nowrap;
  font-size: 17px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.orbit-tags li.lg {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

.orbit-tags li.sm {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
}

/* 좁은 화면: 원형 배치를 풀고 알약 모양 목록으로 나열 */
@media (max-width: 767px) {
  .orbit {
    aspect-ratio: auto;
  }

  .orbit-ring {
    display: none;
  }

  .orbit-center {
    position: static;
    width: auto;
    margin-bottom: 32px;
    transform: none;
  }

  .orbit-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .orbit-tags li,
  .orbit-tags li.lg,
  .orbit-tags li.sm {
    position: static;
    transform: none;
    white-space: normal;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    font-size: 14px;
    color: #fff;
  }
}

/* ---------- 성과 숫자 (Growth in Figures) ---------- */
.figures {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 60px;
  align-items: center;
}

.figures-head h2 {
  margin: 0 0 24px;
  font-size: clamp(32px, 3.8vw, 44px);
  font-weight: 800;
  line-height: 1.2;
}

.figures-head h2 .en {
  display: block;
  color: var(--c-accent);
}

.figures-head p {
  margin: 0;
  color: var(--c-text-muted);
  font-size: 17px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 24px;
  margin: 0;
}

.stat {
  text-align: center;
}

.stat dt {
  font-size: 15px;
  font-weight: 600;
  color: var(--c-text-muted);
}

.stat dd {
  margin: 4px 0 0;
  font-size: clamp(38px, 4.6vw, 52px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--c-accent);
  font-variant-numeric: tabular-nums;
}

/* 숫자의 집계 기준 표기 */
.stats-note {
  margin: 24px 0 0;
  font-size: 14px;
  color: var(--c-text-muted);
  text-align: center;
}

@media (max-width: 860px) {
  .figures {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* ---------- Challenge 섹션 ---------- */
.challenge {
  position: relative;
  overflow: hidden;
  text-align: center;
  color: #fff;
  background: radial-gradient(ellipse at 50% 42%, #133266 0%, #081430 55%, #050a18 100%);
}

/* 가운데로 갈수록 진해지는 점 무늬 (지도 느낌) */
.challenge::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(125, 170, 255, 0.3) 1.3px, transparent 1.8px);
  background-size: 18px 18px;
  -webkit-mask-image: radial-gradient(ellipse 55% 50% at 50% 45%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 55% 50% at 50% 45%, #000 20%, transparent 75%);
}

.challenge .container {
  position: relative;
}

.challenge-stage {
  position: relative;
  max-width: 760px;
  aspect-ratio: 760 / 428;
  margin-inline: auto;
  display: grid;
  place-items: center;
}

.challenge-pins {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.challenge h2 {
  position: relative;
  margin: 0;
  font-size: clamp(38px, 6.4vw, 68px);
  font-weight: 700;
  line-height: 1.15;
}

.challenge p {
  max-width: 560px;
  margin: 24px auto 0;
  color: var(--c-on-dark-muted);
  font-size: 17px;
}

/* ---------- 하위 페이지 상단 배너 ---------- */
.sub-hero {
  position: relative;
  overflow: hidden;
  padding-block: calc(var(--header-h) + 100px) 100px;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(ellipse 50% 80% at 80% 0%, rgba(37, 99, 235, 0.35), transparent 70%),
    radial-gradient(ellipse 40% 60% at 15% 100%, rgba(34, 211, 238, 0.16), transparent 70%),
    var(--c-ink);
}

.sub-hero .container {
  position: relative;
}

.sub-hero .label-en {
  color: var(--c-accent-2);
}

.sub-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(34px, 5.4vw, 58px);
  font-weight: 800;
  line-height: 1.2;
}

.sub-hero p {
  max-width: 640px;
  margin: 0 auto;
  font-size: 17px;
  color: var(--c-on-dark-muted);
}

@media (max-width: 860px) {
  .sub-hero {
    padding-block: calc(var(--header-h) + 64px) 72px;
  }
}

/* ---------- 퍼널 4단계 (SOLUTION) ---------- */
.funnel {
  list-style: none;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0;
}

.funnel-step {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  align-items: center;
  padding-block: 32px;
  border-bottom: 1px solid var(--c-line-light);
}

.funnel-step:first-child {
  border-top: 1px solid var(--c-line-light);
}

/* 단계가 내려갈수록 폭이 좁아지는 깔때기 막대 (--w 값으로 폭 지정) */
.funnel-bar {
  width: var(--w);
  height: 104px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  background: linear-gradient(90deg, #1d4ed8, #0891b2);
  clip-path: polygon(0 0, 100% 0, 93% 100%, 7% 100%);
}

.funnel-bar .num {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.1;
}

.funnel-bar .stage {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  opacity: 0.85;
}

.funnel-body h3 {
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: 800;
}

.funnel-body p {
  margin: 0 0 16px;
  color: var(--c-text-muted);
}

@media (max-width: 860px) {
  .funnel-step {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .funnel-bar {
    width: calc(var(--w) * 0.8);
    height: 84px;
  }
}

/* 알약 모양 태그 목록 (채널·분야 표시) */
.chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chips li {
  padding: 5px 14px;
  border-radius: 999px;
  background: #eaf1ff;
  color: #1d4ed8;
  font-size: 14px;
  font-weight: 600;
}

.section-dark .chips li,
.section-navy .chips li {
  background: rgba(255, 255, 255, 0.08);
  color: var(--c-on-dark);
  border: 1px solid var(--c-line-dark);
}

/* ---------- 회사소개 (ABOUT) ---------- */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: start;
  margin-bottom: 96px;
}

.intro-grid h2 {
  margin: 0;
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 800;
  line-height: 1.4;
}

.intro-grid p {
  margin: 0 0 18px;
  color: var(--c-text-muted);
  font-size: 17px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  padding: 40px 32px;
  border-radius: var(--radius);
  background: var(--c-light-2);
  border: 1px solid var(--c-line-light);
  transition: transform 0.25s, box-shadow 0.25s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 36, 69, 0.08);
}

.card-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(140deg, #2563eb, #0891b2);
  color: #fff;
}

.card-icon svg {
  width: 28px;
  height: 28px;
}

.card h3 {
  margin: 0 0 4px;
  font-size: 21px;
  font-weight: 800;
}

.card .label-en {
  margin-bottom: 14px;
  font-size: 12px;
}

.card p {
  margin: 0;
  color: var(--c-text-muted);
}

@media (max-width: 960px) {
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 64px;
  }

  .cards {
    grid-template-columns: 1fr;
  }
}

/* ---------- 파트너 (PARTNER) ---------- */
.process {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  counter-reset: step;
}

.process li {
  position: relative;
  padding: 28px 20px;
  border-radius: var(--radius);
  background: var(--c-light-2);
  border: 1px solid var(--c-line-light);
  text-align: center;
  counter-increment: step;
}

.process li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 800;
  color: var(--c-accent);
  letter-spacing: 0.1em;
}

.process strong {
  display: block;
  margin-bottom: 6px;
  font-size: 17px;
}

.process span {
  font-size: 14px;
  color: var(--c-text-muted);
  line-height: 1.6;
}

.network-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.network-grid h2 {
  margin: 0 0 20px;
  font-size: clamp(30px, 3.8vw, 42px);
  font-weight: 800;
}

.network-grid > div > p {
  margin: 0 0 36px;
  color: var(--muted);
  font-size: 17px;
}

.network-grid .stats {
  gap: 24px;
}

/* 라벨이 두 줄이 돼도 숫자는 카드 아래쪽에 맞춰 나란히 보이게 함 */
.network-grid .stat {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
  padding: 24px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--c-line-dark);
}

.network-grid .stat dt {
  color: var(--c-on-dark-muted);
}

.network-grid .stat dd {
  color: var(--c-accent-2);
}

.network-grid .stats-note {
  text-align: left;
  color: var(--c-on-dark-muted);
}

.network-grid .chips {
  gap: 12px;
}

.network-grid .chips li {
  padding: 12px 22px;
  font-size: 15px;
}

@media (max-width: 1000px) {
  .process {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 860px) {
  .network-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

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

/* ---------- 문의 영역 (모든 페이지 하단, 하단 정보 바로 위) ---------- */
.contact-band {
  padding-block: 88px;
  background: linear-gradient(120deg, #0f2445, #0a1833 55%, #0e2c52);
  border-top: 1px solid var(--c-line-dark);
}

.contact-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.contact-inner h2 {
  margin: 0 0 12px;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  line-height: 1.35;
}

.contact-inner p {
  margin: 0;
  font-size: 17px;
  color: var(--muted);
}

/* 좁은 화면: 버튼을 한 줄에 하나씩 꽉 차게 */
@media (max-width: 560px) {
  .contact-band .btn-row {
    width: 100%;
  }

  .contact-band .btn {
    flex: 1 1 100%;
    justify-content: center;
    text-align: center; /* 긴 이메일 주소가 두 줄이 돼도 가운데 정렬 */
  }
}

/* ---------- 개인정보처리방침 본문 ---------- */
.policy {
  max-width: 820px;
  margin-inline: auto;
}

.policy-meta {
  margin: 0 0 40px;
  padding: 16px 20px;
  border-radius: 10px;
  background: var(--c-light-2);
  color: var(--c-text-muted);
}

.policy h2 {
  margin: 44px 0 12px;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.4;
}

.policy p,
.policy li {
  color: var(--c-text-muted);
}

.policy p {
  margin: 0 0 12px;
}

.policy ul {
  margin: 0 0 12px;
  padding-left: 1.2em;
}

/* ---------- 오른쪽 섹션 바로가기 (메인, 넓은 화면 전용) ---------- */
.side-nav {
  position: fixed;
  top: 50%;
  right: 16px;
  z-index: 90;
  display: none;
  transform: translateY(-50%);
}

/* 본문(최대 1240px) 오른쪽 끝과 겹치지 않는 폭부터 표시
   (윈도우 세로 스크롤바 폭까지 감안해 1520px — 1440px에서는 문의 버튼과 틈 없이 붙었음) */
@media (min-width: 1520px) {
  .side-nav {
    display: block;
  }
}

.side-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.side-nav a {
  display: block;
  width: 96px;
  padding: 9px 0;
  border-radius: 6px;
  background: rgba(40, 46, 60, 0.82);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  transition: background 0.2s, color 0.2s;
}

.side-nav a:hover {
  background: rgba(60, 68, 86, 0.9);
}

.side-nav a.is-active {
  color: var(--c-accent-2);
}

/* ---------- 하단 정보 ---------- */
.site-footer {
  padding-block: 48px;
  background: #1b2130;
  color: #a7b0c2;
  font-size: 13.5px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 56px;
  align-items: flex-start;
}

.site-footer .logo {
  font-size: 20px;
}

.site-footer .logo img {
  width: 32px;
  height: 32px;
}

.footer-info p {
  margin: 0;
  line-height: 1.9;
}

/* 한 줄에 여러 항목이 있으면 간격을 두고, 좁은 화면에서는 항목 단위로 줄바꿈 */
.footer-info span {
  display: inline-block;
  margin-right: 22px;
}

/* 하단 이메일·전화 링크: 평소엔 글자처럼, 올리면 밑줄 */
.footer-info a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 개인정보처리방침 링크는 법적으로 눈에 띄게 표시해야 해서 굵은 흰 글씨로 구분 */
.footer-info .footer-links {
  margin-top: 8px;
}

.footer-info .footer-links a {
  color: #fff;
  font-weight: 700;
}

.footer-info .copyright {
  margin-top: 10px;
  color: #8e98aa;
}

/* ---------- 스크롤 등장 효과 (JS가 있을 때만) ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

  .orbit-ring,
  .scroll-cue::after {
    animation: none;
  }
}
