/* ============================================================
   너바나 NEOBANA — Design System
   팔레트는 브랜드 로고에서 추출 (라벤더 / 살구 / 딥 네이비 / 아이보리)
   ============================================================ */

:root {
  /* 표면 */
  --ivory: #faf7f2;
  --paper: #ffffff;
  --lavender-soft: #edeaf7;
  --apricot-soft: #fbeee3;

  /* 브랜드 */
  --navy: #2e2b57;
  --navy-deep: #21203f;
  --lavender: #8b84c6;
  --apricot: #f0a97c;

  /* 텍스트 & 라인 */
  --text: #2e2b57;
  --text-soft: #565073;   /* 대비 상향 (구 #6e6880) */
  --text-mute: #7a7490;   /* 대비 상향 (구 #918ba0) */
  --line: #e5dfd6;

  /* 시맨틱 */
  --success: #245730;
  --success-surface: #eef8f0;
  --error: #b4442a;
  --error-surface: #fdf1ed;

  /* 타이포 */
  /* 제목: 배민 주아 — 둥글고 두꺼워 시인성이 높다 (웨이트 400 하나뿐이므로 굵게 지정하지 않는다) */
  --display: 'Jua', 'Apple SD Gothic Neo', system-ui, sans-serif;
  --sans: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont,
    'Apple SD Gothic Neo', 'Noto Sans KR', system-ui, sans-serif;

  /* 반경 */
  --r-sm: 14px;
  --r-md: 22px;
  --r-lg: 32px;
  --r-pill: 9999px;

  /* 그림자 */
  --shadow-1: 0 4px 20px rgba(46, 43, 87, 0.05);
  --shadow-2: 0 20px 48px rgba(46, 43, 87, 0.09);

  /* 모션 */
  --duration-base: 200ms;
  --duration-slow: 700ms;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* 레이아웃 */
  --wrap: 1120px;
  --pad: clamp(20px, 5vw, 56px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 500;        /* 얇아 보이던 문제 해소 */
  font-size: 16.5px;
  line-height: 1.75;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

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

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;        /* Jua 는 단일 웨이트. 700 지정 시 합성 볼드로 뭉갠다 */
  letter-spacing: -0.01em;
  margin: 0;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--lavender);
  font-weight: 600;
  margin: 0 0 16px;
}

.sec { padding: clamp(64px, 9vw, 128px) 0; }
.sec__head { max-width: 30em; margin-bottom: clamp(32px, 5vw, 56px); }
.sec__head h2 {
  font-size: clamp(25px, 3.4vw, 38px);
  line-height: 1.38;
  margin-bottom: 16px;
  text-wrap: balance;
}
.sec__head p { color: var(--text-soft); font-size: 16.5px; line-height: 1.9; margin: 0; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--navy); color: #fff; padding: 12px 20px; border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; }

/* ---------- 로고 ---------- */
.logo { display: flex; align-items: center; gap: 11px; }
.logo svg { width: 34px; height: 34px; flex: none; }
.logo b { font-family: var(--display); font-size: 21px; font-weight: 400; letter-spacing: 0; }
.logo small { font-size: 10px; letter-spacing: 0.22em; color: var(--text-mute); display: block; margin-top: -3px; }

/* ---------- 내비 ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.4vw, 34px);
  padding: 16px var(--pad);
  color: #fff;
  transition: background var(--duration-slow) var(--ease), color var(--duration-slow) var(--ease),
    box-shadow var(--duration-slow) var(--ease);
}
.nav.solid {
  background: rgba(250, 247, 242, 0.94);
  backdrop-filter: blur(14px);
  color: var(--text);
  box-shadow: 0 1px 0 var(--line);
}
.nav .logo small { color: rgba(255, 255, 255, 0.6); }
.nav.solid .logo small { color: var(--text-mute); }

.nav__links {
  display: flex;
  gap: clamp(10px, 1.6vw, 24px);
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 15px;
  font-weight: 600;
}
.nav__links a {
  padding: 6px 2px;
  border-bottom: 1.5px solid transparent;
  transition: border-color var(--duration-base) var(--ease), opacity var(--duration-base) var(--ease);
  opacity: 0.88;
  white-space: nowrap;
}
.nav__links a:hover,
.nav__links a.active { border-color: var(--apricot); opacity: 1; }
.nav.solid .nav__links a.active { color: var(--navy); font-weight: 600; }

.nav .spacer { flex: 1; }

.nav__cta {
  font-size: 14px;
  font-weight: 600;
  padding: 11px 22px;
  border-radius: var(--r-pill);
  background: var(--apricot);
  color: var(--navy-deep);
  white-space: nowrap;
  transition: transform var(--duration-base) var(--ease), box-shadow var(--duration-base) var(--ease);
  box-shadow: 0 8px 20px rgba(240, 169, 124, 0.32);
}
.nav__cta:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(240, 169, 124, 0.42); }

.nav__tel {
  display: none; align-items: center; gap: 7px;
  font-size: 14.5px; font-weight: 700; letter-spacing: 0.01em;
  padding: 10px 14px; border-radius: var(--r-pill);
  transition: background var(--duration-base) var(--ease);
}
.nav__tel svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.nav__tel:hover { background: rgba(139, 132, 198, 0.14); }
@media (min-width: 1180px) { .nav__tel { display: inline-flex; } }

.nav__burger {
  display: none;
  width: 40px; height: 40px;
  border: 0; background: transparent; cursor: pointer;
  padding: 0; position: relative; color: inherit;
}
.nav__burger span {
  position: absolute; left: 9px; width: 22px; height: 1.5px; background: currentColor;
  transition: transform var(--duration-slow) var(--ease);
}
.nav__burger span:nth-child(1) { top: 16px; }
.nav__burger span:nth-child(2) { top: 23px; }
.nav.open .nav__burger span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.nav.open .nav__burger span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- 히어로: 스크롤 워크스루 ---------- */
.hero { height: 300vh; position: relative; }
.hero__sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; background: #17161f; }
.hero__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transform-origin: 58% 52%; will-change: transform;
  /* 워크스루 줌 범위. 모바일은 화면이 좁아 크롭이 이미 심하므로 줌을 줄인다. */
  --zoom-from: 1.75;
  --zoom-travel: 0.72;
  transform: scale(1.75);
}
.hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(23, 22, 31, 0.62) 0%, rgba(23, 22, 31, 0.18) 38%, rgba(23, 22, 31, 0.82) 100%);
}
.hero__copy {
  position: absolute; inset: 0; z-index: 3;
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 var(--pad); max-width: var(--wrap); margin: 0 auto; left: 0; right: 0;
}
/* JS가 동작할 때만 숨긴다. JS 실패 시에는 카피가 그대로 보여야 한다. */
html.js .hero__copy > * {
  opacity: 0; transform: translateY(22px);
  transition: opacity var(--duration-slow) var(--ease), transform var(--duration-slow) var(--ease);
}
html.js .hero__copy.s1 .h-brand, html.js .hero__copy.s1 .h-title,
html.js .hero__copy.s2 .h-brand, html.js .hero__copy.s2 .h-title, html.js .hero__copy.s2 .h-lead,
html.js .hero__copy.s3 > * { opacity: 1; transform: none; }

.h-brand {
  display: flex; align-items: center; gap: 10px;
  color: rgba(255, 255, 255, 0.9); font-size: 13.5px; letter-spacing: 0.04em; margin-bottom: 22px;
}
.h-brand i { width: 26px; height: 12px; border-radius: var(--r-pill); background: linear-gradient(90deg, var(--lavender), var(--apricot)); }

.h-title {
  font-family: var(--display); font-weight: 400; color: #fff;
  font-size: clamp(22px, 3.1vw, 42px); line-height: 1.38; margin: 0 0 20px; max-width: 17em;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.4);
}
.h-lead {
  color: rgba(255, 255, 255, 0.9); font-size: clamp(18px, 1.9vw, 24px);
  line-height: 1.7; margin: 0 0 34px; max-width: 22em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}
.h-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__scrollcue {
  position: absolute; z-index: 4; left: 50%; bottom: 26px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255, 255, 255, 0.72); font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase;
  transition: opacity 0.4s ease;
}
.hero__scrollcue i {
  width: 1px; height: 34px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), transparent);
  animation: cue 1.9s var(--ease) infinite;
}
@keyframes cue {
  0% { transform: scaleY(0.25); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: top; }
  100% { transform: scaleY(0.25); transform-origin: bottom; }
}
.hero__steps {
  position: absolute; z-index: 4; right: var(--pad); top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 9px;
}
.hero__steps i {
  width: 3px; height: 30px; border-radius: 2px;
  background: rgba(255, 255, 255, 0.26); transition: background 0.35s ease;
}
.hero__steps i.on { background: var(--apricot); }

/* ---------- 버튼 ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 30px; border-radius: var(--r-pill);
  font-size: 15px; font-weight: 600; border: 0; cursor: pointer;
  transition: transform var(--duration-base) var(--ease), box-shadow var(--duration-base) var(--ease),
    background var(--duration-base) var(--ease), color var(--duration-base) var(--ease);
}
.button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; flex: none; }
.button--primary { background: var(--apricot); color: var(--navy-deep); box-shadow: 0 14px 32px rgba(240, 169, 124, 0.34); }
.button--primary:hover { transform: translateY(-2px); box-shadow: 0 20px 40px rgba(240, 169, 124, 0.44); }
.button--ghost-light { color: #fff; border: 1px solid rgba(255, 255, 255, 0.42); }
.button--ghost-light:hover { background: rgba(255, 255, 255, 0.12); }
.button--dark { background: var(--navy); color: #fff; box-shadow: 0 14px 32px rgba(46, 43, 87, 0.24); }
.button--dark:hover { transform: translateY(-2px); }
.button[disabled] { opacity: 0.6; cursor: progress; transform: none; }

/* ---------- 슬로건 ---------- */
.slogan { background: var(--paper); border-bottom: 1px solid var(--line); }
.slogan .wrap {
  padding-top: clamp(48px, 6vw, 76px); padding-bottom: clamp(48px, 6vw, 76px); text-align: center;
}
.slogan h2 { font-size: clamp(22px, 3vw, 34px); line-height: 1.5; margin-bottom: 14px; }
.slogan h2 span { color: var(--lavender); }
.slogan p { color: var(--text-soft); margin: 0; font-size: 15.5px; }

/* ---------- 소개 ---------- */
.about__grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 5vw, 68px); align-items: center;
}
.about__photo { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-2); }
.about__photo img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.about p { color: var(--text-soft); line-height: 1.95; margin: 0 0 18px; }
.about .quote {
  font-family: var(--display); font-size: clamp(18px, 2.1vw, 24px); line-height: 1.7;
  color: var(--text); margin: 0 0 24px; padding-left: 20px; border-left: 2px solid var(--apricot);
}
.about__head { font-size: clamp(25px, 3.4vw, 38px); line-height: 1.4; margin-bottom: 22px; }
.about__meta {
  display: flex; flex-wrap: wrap; gap: 10px 28px;
  padding-top: 22px; border-top: 1px solid var(--line); margin-top: 26px;
}
.about__meta div { display: flex; flex-direction: column; gap: 3px; }
.about__meta .k { font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-mute); }
.about__meta .v { font-family: var(--display); font-weight: 400; font-size: 17px; }

/* ---------- 전문가 소개 ---------- */
.expert { background: var(--paper); }
.expert__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.expert__card {
  background: var(--ivory); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(26px, 3vw, 34px); text-align: center;
}
.expert__avatar {
  width: 108px; height: 108px; border-radius: var(--r-pill); margin: 0 auto 20px;
  background: linear-gradient(140deg, var(--lavender-soft), var(--apricot-soft));
  display: grid; place-items: center; color: var(--lavender);
  font-family: var(--display); font-size: 12px; letter-spacing: 0.1em; line-height: 1.5;
}
.expert__card h3 { font-size: 20px; margin-bottom: 6px; }
.expert__card .role { font-size: 13.5px; color: var(--apricot); margin: 0 0 18px; letter-spacing: 0.04em; }
.expert__card ul {
  list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; color: var(--text-soft);
}
.expert__body p { color: var(--text-soft); line-height: 1.95; margin: 0 0 18px; }
.expert__body .quote {
  font-family: var(--display); font-size: clamp(18px, 2.1vw, 23px); line-height: 1.72;
  color: var(--text); margin: 0 0 24px; padding-left: 20px; border-left: 2px solid var(--lavender);
}
.creds { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-top: 26px; }
.creds div { background: var(--ivory); border-radius: var(--r-md); padding: 18px 20px; }
.creds .k { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-mute); margin: 0 0 6px; }
.creds .v { font-family: var(--display); font-weight: 400; font-size: 17px; margin: 0; line-height: 1.45; }

/* ---------- 전문가 프로필 ---------- */
.people { display: flex; flex-direction: column; gap: 18px; }
.person {
  display: grid; grid-template-columns: 200px minmax(0, 1fr);
  gap: clamp(20px, 3vw, 40px); align-items: start;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(20px, 2.6vw, 30px);
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.person:hover { box-shadow: var(--shadow-2); transform: translateY(-3px); }
.person__photo {
  border-radius: var(--r-md); overflow: hidden; background: var(--lavender-soft);
  aspect-ratio: 4 / 5; box-shadow: var(--shadow-1);
}
/* 인물 사진은 상단 기준으로 맞춘다 — 가운데 정렬하면 머리가 잘린다. */
.person__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 8%; }
.person__body h3 { font-size: clamp(20px, 2.2vw, 25px); margin: 0 0 4px; }
.person__body h3 span { font-size: 0.72em; color: var(--lavender); }
.person__role {
  margin: 0 0 20px; font-size: 14px; color: var(--apricot); font-weight: 700; letter-spacing: 0.02em;
}
.person__label {
  margin: 0 0 8px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-mute); font-weight: 700;
}
.person__list {
  list-style: none; margin: 0 0 20px; padding: 0;
  display: flex; flex-direction: column; gap: 6px;
}
.person__list li {
  position: relative; padding-left: 14px; font-size: 15px; line-height: 1.7; color: var(--text-soft);
}
.person__list li::before {
  content: ""; position: absolute; left: 0; top: 0.66em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--lavender);
}
.person__list--field { margin-bottom: 0; }
.person__list--field li::before { background: var(--apricot); }
.person__list--field li { color: var(--text); font-weight: 600; }

@media (max-width: 700px) {
  .person { grid-template-columns: 1fr; }
  .person__photo { width: 160px; }
}

/* ---------- 매니페스토 ---------- */
.manifesto {
  background: var(--navy); color: #fff;
  border-radius: clamp(0px, 4vw, 44px);
  margin: 0 auto; max-width: calc(var(--wrap) + 2 * var(--pad));
}
.manifesto .wrap {
  padding-top: clamp(56px, 8vw, 104px); padding-bottom: clamp(56px, 8vw, 104px); text-align: center;
}
.manifesto .eyebrow {
  text-align: center;
  color: var(--apricot);
  font-size: 16.5px;        /* 기본 eyebrow 11.5px + 5pt */
  letter-spacing: 0.14em;   /* 커진 글자에 맞춰 자간 축소 */
  margin-bottom: 22px;
}
.manifesto h2 { font-size: clamp(23px, 3.2vw, 36px); line-height: 1.5; max-width: 20em; margin: 0 auto 26px; }
.manifesto p { color: rgba(255, 255, 255, 0.78); max-width: 34em; margin: 0 auto; line-height: 1.95; }
.manifesto p + p { margin-top: 20px; }
.manifesto hr { width: 46px; border: 0; border-top: 1px solid rgba(255, 255, 255, 0.3); margin: 26px auto; }

/* ---------- 검사 카드 ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(232px, 1fr)); gap: 16px; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px 26px 30px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.card .ic {
  width: 46px; height: 46px; border-radius: var(--r-pill);
  display: grid; place-items: center; background: var(--lavender-soft); margin-bottom: 20px;
}
.card .ic svg {
  width: 21px; height: 21px; fill: none; stroke: var(--lavender);
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.card .k {
  font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--apricot); margin: 0 0 8px; font-weight: 600;
}
.card h3 { font-size: 18px; line-height: 1.5; margin-bottom: 10px; }
.card p { font-size: 15px; line-height: 1.8; color: var(--text-soft); margin: 0; }

/* ---------- MBTI ---------- */
.mbti__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 10px; }
.mbti__grid span {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 15px 8px; text-align: center; font-size: 15px; font-weight: 700; letter-spacing: 0.06em;
  color: var(--text-soft);
  transition: background var(--duration-base) var(--ease), color var(--duration-base) var(--ease),
    border-color var(--duration-base) var(--ease);
}
.mbti__grid span:hover { background: var(--lavender); border-color: var(--lavender); color: #fff; }
.axes { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin-top: 26px; }
.axis { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px 22px; }
.axis .pair {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 400; font-size: 16px; margin: 0 0 8px;
}
.axis .pair i { flex: 1; height: 1px; background: var(--line); }
.axis p { margin: 0; font-size: 14px; line-height: 1.75; color: var(--text-soft); }

/* ---------- TCI ---------- */
.tci__cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 36px); }
.tci__col h3 { font-size: 18px; margin-bottom: 6px; }
.tci__col h3 span { font-family: var(--sans); font-weight: 500; font-size: 13px; color: var(--lavender); }
.tci__col.character h3 span { color: var(--apricot); }
.tci__col > p { font-size: 13.5px; color: var(--text-mute); margin: 0 0 20px; }
.tci__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.tci__col li {
  background: var(--ivory); border-radius: var(--r-md); padding: 16px 20px;
  border-left: 3px solid var(--lavender);
}
.tci__col.character li { border-left-color: var(--apricot); }
.tci__col li b { display: block; font-family: var(--display); font-weight: 400; font-size: 15.5px; margin-bottom: 4px; }
.tci__col li span { font-size: 14px; color: var(--text-soft); line-height: 1.7; }

/* ---------- 후기 ---------- */
.reviews__banner {
  display: flex; align-items: flex-start; gap: 12px;
  background: var(--apricot-soft); border: 1px solid #f1dcc8; border-radius: var(--r-md);
  padding: 16px 20px; margin-bottom: 26px; font-size: 13.5px; line-height: 1.75; color: #8a5a2b;
}
.reviews__banner svg { width: 19px; height: 19px; flex: none; margin-top: 3px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.reviews__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(268px, 1fr)); gap: 16px; }
.review {
  background: var(--paper); border: 1px dashed #d8d1e8; border-radius: var(--r-lg);
  padding: 26px 26px 22px; position: relative;
}
.review .chip {
  position: absolute; top: 16px; right: 16px;
  font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--lavender-soft); color: var(--lavender);
  padding: 5px 10px; border-radius: var(--r-pill); font-weight: 700;
}
.review .stars { color: var(--apricot); font-size: 14px; letter-spacing: 0.16em; margin: 0 0 14px; }
.review p { margin: 0 0 18px; font-size: 15px; line-height: 1.85; color: var(--text-soft); }
.review .who {
  display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-mute);
  padding-top: 16px; border-top: 1px solid var(--line); margin: 0;
}
.review .who i { width: 30px; height: 30px; border-radius: var(--r-pill); background: var(--lavender-soft); flex: none; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font-size: 16.5px; color: var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 11px; height: 11px;
  border-right: 1.5px solid var(--lavender); border-bottom: 1.5px solid var(--lavender);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.25s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-20%) rotate(-135deg); }
.faq p { margin: 0 0 24px; color: var(--text-soft); font-size: 15.5px; line-height: 1.9; padding-right: 40px; }

/* ---------- 신청 ---------- */
.apply { background: var(--navy); color: #fff; }
.apply .wrap { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.apply .eyebrow { color: var(--apricot); }
.apply h2 { font-size: clamp(24px, 3.2vw, 36px); line-height: 1.42; margin-bottom: 16px; }
.apply__intro > p { color: rgba(255, 255, 255, 0.76); line-height: 1.9; margin: 0 0 22px; }
.apply .trust {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 9px; font-size: 14px; color: rgba(255, 255, 255, 0.8);
}
.apply .trust li { display: flex; align-items: center; gap: 10px; }
.apply .trust li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--apricot); flex: none; }

/* ---------- 신청 페이지 전화 안내 ---------- */
.apply__phone {
  display: inline-flex; align-items: center; gap: 13px;
  margin: 0 0 22px; padding: 15px 20px;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--r-md); color: #fff;
  transition: background var(--duration-base) var(--ease), transform var(--duration-base) var(--ease);
}
.apply__phone:hover { background: rgba(255, 255, 255, 0.18); transform: translateY(-2px); }
.apply__phone svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--apricot); stroke-width: 1.7; }
.apply__phone span { font-size: 13.5px; line-height: 1.5; color: rgba(255, 255, 255, 0.78); }
.apply__phone b {
  display: block; font-family: var(--display); font-weight: 400;
  font-size: 19px; color: #fff; letter-spacing: 0.01em;
}
.has-page-head .apply__phone {
  background: var(--lavender-soft); border-color: #ded8f0; color: var(--text);
}
.has-page-head .apply__phone span { color: var(--text-soft); }
.has-page-head .apply__phone b { color: var(--text); }

/* ---------- 폼 ---------- */
.lead-form {
  background: var(--paper); border-radius: var(--r-lg);
  padding: clamp(24px, 3.4vw, 36px); color: var(--text); box-shadow: var(--shadow-2);
}
.field { display: block; margin-bottom: 16px; }
.field > span {
  display: block; font-size: 13px; font-weight: 600; margin-bottom: 7px; color: var(--text);
}
.field > span em { color: var(--apricot); font-style: normal; }
.field input {
  width: 100%; font-family: inherit; font-size: 15px; color: var(--text);
  padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--paper);
  transition: border-color var(--duration-base) var(--ease), box-shadow var(--duration-base) var(--ease);
}
.field input:focus {
  outline: none; border-color: var(--lavender); box-shadow: 0 0 0 3px rgba(139, 132, 198, 0.2);
}
.field.is-invalid input { border-color: var(--error); }
.field-error { display: block; color: var(--error); font-size: 12.5px; margin-top: 6px; min-height: 1em; }
.field-row { display: grid; grid-template-columns: 1fr 1.4fr; gap: 12px; }

.consent-group {
  display: flex; flex-direction: column; gap: 10px;
  margin: 18px 0 6px; padding-top: 18px; border-top: 1px solid var(--line);
}
.consent { display: flex; gap: 11px; align-items: flex-start; font-size: 13px; color: var(--text-soft); line-height: 1.65; }
.consent input { margin-top: 3px; accent-color: var(--lavender); width: 17px; height: 17px; flex: none; }
.consent-required { color: var(--apricot); font-style: normal; font-weight: 600; }
.consent-optional { color: var(--text-mute); font-style: normal; }
.consent button {
  background: none; border: 0; padding: 0; cursor: pointer;
  color: var(--lavender); text-decoration: underline; font-size: 12.5px;
}
.consent-error { margin-bottom: 12px; }

.button--submit { width: 100%; margin-top: 10px; background: var(--apricot); color: var(--navy-deep); }
.button--submit:hover { transform: translateY(-2px); box-shadow: 0 20px 40px rgba(240, 169, 124, 0.44); }

.form-alert {
  display: none; margin-top: 16px; padding: 14px 18px; border-radius: var(--r-sm);
  font-size: 14px; line-height: 1.7;
}
.form-alert.is-visible { display: block; }
.form-alert.is-success { background: var(--success-surface); color: var(--success); }
.form-alert.is-error { background: var(--error-surface); color: var(--error); }
.form-note { margin: 14px 0 0; font-size: 12.5px; color: var(--text-mute); text-align: center; }

/* ---------- 검사 항목 선택 ---------- */
.field--tests { margin-bottom: 6px; }
.checks { display: grid; gap: 8px; }
.check {
  display: flex; align-items: center; gap: 11px;
  padding: 13px 16px; border: 1px solid var(--line); border-radius: var(--r-sm);
  font-size: 15px; color: var(--text); cursor: pointer;
  transition: border-color var(--duration-base) var(--ease), background var(--duration-base) var(--ease);
}
.check:hover { border-color: var(--lavender); background: var(--lavender-soft); }
.check input { width: 18px; height: 18px; accent-color: var(--lavender); flex: none; margin: 0; }
.check:has(input:checked) { border-color: var(--lavender); background: var(--lavender-soft); font-weight: 700; }
.field--tests.is-invalid .check { border-color: var(--error); }

/* ---------- 약관 모달 ---------- */
.privacy-dialog {
  border: 0; border-radius: var(--r-lg); padding: clamp(26px, 4vw, 40px);
  max-width: 520px; width: calc(100% - 40px);
  background: var(--paper); color: var(--text); box-shadow: var(--shadow-2);
}
.privacy-dialog::backdrop { background: rgba(33, 32, 63, 0.5); }
.privacy-dialog h2 { font-size: 20px; margin-bottom: 14px; padding-right: 30px; }
.privacy-dialog p { color: var(--text-soft); font-size: 14.5px; line-height: 1.9; margin: 0 0 24px; }
.dialog-close {
  position: absolute; top: 16px; right: 18px;
  background: none; border: 0; font-size: 24px; line-height: 1;
  color: var(--text-mute); cursor: pointer;
}

/* ---------- 푸터 ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255, 255, 255, 0.72); font-size: 13.5px; }
.site-footer .wrap {
  padding-top: 56px; padding-bottom: 56px;
  display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px;
}
.site-footer .logo b { color: #fff; }
.site-footer .logo small { color: rgba(255, 255, 255, 0.5); }
.site-footer h4 {
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5); margin: 0 0 14px; font-weight: 600;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.site-footer a:hover { color: #fff; }
.footer-tel { font-family: var(--display); font-size: 18px; color: #fff; letter-spacing: 0.01em; }
.site-footer .biz { margin: 18px 0 0; line-height: 1.85; font-size: 12.5px; color: rgba(255, 255, 255, 0.5); }
.site-footer .b2b {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 12px;
  font-size: 12.5px; color: rgba(255, 255, 255, 0.62);
  padding: 8px 14px; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: var(--r-pill);
}
.site-footer .b2b:hover { border-color: rgba(255, 255, 255, 0.5); color: #fff; }
.copyright { border-top: 1px solid rgba(255, 255, 255, 0.12); }
.copyright .wrap {
  padding: 20px var(--pad); display: flex; justify-content: space-between; gap: 12px;
  font-size: 12px; color: rgba(255, 255, 255, 0.42); grid-template-columns: none;
}

/* ---------- 서브 페이지 헤더 ---------- */
/* 히어로가 없는 페이지는 내비가 처음부터 불투명하므로 본문을 그만큼 내린다. */
.has-page-head { padding-top: 72px; }

.page-head {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.page-head .wrap {
  padding-top: clamp(44px, 6vw, 84px);
  padding-bottom: clamp(36px, 5vw, 64px);
}
.page-head h1 {
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.34;
  margin: 0;
  text-wrap: balance;
}
.page-head p {
  margin: 18px 0 0;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.9;
  max-width: 34em;
}

/* 페이지 헤더가 제목을 이미 말했으므로 첫 섹션의 위 여백을 줄인다 */
.sec--sub { padding-top: clamp(40px, 6vw, 72px); }

/* ---------- 링크 카드 (홈의 검사 프로그램) ---------- */
.card--link { display: block; }
.card--link .more {
  display: inline-block;
  margin-top: 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--lavender);
}
.card--link:hover .more { color: var(--navy); }

/* ---------- 하단 상담 유도 ---------- */
.cta-strip {
  background: var(--navy);
  color: #fff;
}
.cta-strip .wrap {
  padding-top: clamp(56px, 7vw, 88px);
  padding-bottom: clamp(56px, 7vw, 88px);
  text-align: center;
}
.cta-strip h2 {
  font-size: clamp(23px, 3vw, 34px);
  line-height: 1.48;
  margin: 0 0 14px;
  text-wrap: balance;
}
.cta-strip p {
  margin: 0 auto 28px;
  color: rgba(255, 255, 255, 0.75);
  max-width: 30em;
  line-height: 1.9;
}
.cta-strip .button { margin: 0 auto; }

/* 신청 페이지에서는 신청 섹션이 본문이므로 라운드 배경을 걷어낸다 */
.has-page-head .apply { background: var(--ivory); color: var(--text); }
.has-page-head .apply h2 { color: var(--text); }
.has-page-head .apply .apply__intro > p { color: var(--text-soft); }
.has-page-head .apply .trust { color: var(--text-soft); }

/* ---------- 한눈에 보기 (요약 스펙) ---------- */
.summary { background: var(--lavender-soft); }
.summary .wrap { padding-top: clamp(28px, 4vw, 44px); padding-bottom: clamp(28px, 4vw, 44px); }
.summary h2 {
  font-family: var(--sans); font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--lavender);
  margin: 0 0 18px;
}
.spec {
  margin: 0; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px 26px;
}
.spec div { display: flex; flex-direction: column; gap: 5px; }
.spec dt { font-size: 12px; letter-spacing: 0.08em; color: var(--text-mute); }
.spec dd { margin: 0; font-size: 14.5px; line-height: 1.65; color: var(--text); font-weight: 500; }

/* ---------- 본문 산문 (검사 소개) ---------- */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.prose { max-width: 40em; }
.prose p { color: var(--text-soft); font-size: 16.5px; line-height: 2; margin: 0 0 22px; }
.prose__asks {
  list-style: none; margin: 0 0 26px; padding: 4px 0 4px 22px;
  border-left: 2px solid var(--lavender);
  display: flex; flex-direction: column; gap: 8px;
}
.prose__asks li {
  font-family: var(--display); font-size: clamp(16px, 1.7vw, 19px);
  line-height: 1.7; color: var(--text);
}
.prose__closing {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(19px, 2.2vw, 26px) !important;
  line-height: 1.6 !important; color: var(--text) !important;
  margin: 34px 0 0 !important; letter-spacing: -0.015em;
}

/* ---------- 검사 안내 표 ---------- */
.table-wrap { overflow-x: auto; }
.info-table {
  width: 100%; border-collapse: collapse; min-width: 420px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md);
  overflow: hidden;
}
.info-table thead th {
  background: var(--lavender-soft); color: var(--lavender);
  font-size: 12px; letter-spacing: 0.14em; font-weight: 600;
  text-align: left; padding: 14px 22px;
}
.info-table tbody th {
  width: 34%; text-align: left; vertical-align: top;
  padding: 18px 22px; font-size: 14.5px; font-weight: 600; color: var(--text);
  border-top: 1px solid var(--line);
}
.info-table tbody td {
  padding: 18px 22px; font-size: 15px; line-height: 1.7;
  color: var(--text-soft); border-top: 1px solid var(--line);
}
.info-table tbody tr.is-price th,
.info-table tbody tr.is-price td { background: var(--apricot-soft); color: var(--text); }
.info-table tbody tr.is-price td {
  font-family: var(--display); font-weight: 400; font-size: 19px;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 560px) {
  .info-table { min-width: 0; }
  .info-table tbody th, .info-table tbody td { padding: 14px 16px; }
  .info-table tbody th { width: 38%; font-size: 13.5px; }
  .info-table tbody td { font-size: 14px; }
}

/* ---------- 페이지 헤더 일러스트 ---------- */
.page-head .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(20px, 4vw, 56px);
  align-items: center;
}
.page-head__art { width: clamp(150px, 21vw, 230px); justify-self: end; }
.page-head__art svg { width: 100%; height: auto; display: block; animation: bob 5s var(--ease) infinite; }
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* ---------- 홈 슬로건 장식 ---------- */
.slogan__art { max-width: 260px; margin: 0 auto 22px; }
.slogan__art svg { width: 100%; height: auto; display: block; animation: bob 5s var(--ease) infinite; }

@media (max-width: 700px) {
  .page-head .wrap { grid-template-columns: 1fr; }
  .page-head__art { width: 148px; justify-self: start; margin-top: 6px; }
  .slogan__art { max-width: 200px; }
}
@media (prefers-reduced-motion: reduce) {
  .page-head__art svg, .slogan__art svg { animation: none; }
}

/* ---------- 산문 보조 ---------- */
.prose--wide { max-width: 46em; }
.prose__h { font-size: clamp(23px, 3vw, 32px); line-height: 1.42; margin: 0 0 26px; }
.prose__accent {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(18px, 2vw, 23px) !important;
  line-height: 1.65 !important; color: var(--text) !important;
  margin: 30px 0 !important; padding-left: 20px; border-left: 3px solid var(--apricot);
}

/* ---------- 검사 안내 각주 ---------- */
.table-note {
  margin: 16px 0 0; font-size: 13.5px; line-height: 1.75; color: var(--text-mute);
}

/* ---------- TCI 척도 코드 ---------- */
.tci__col li b em {
  font-style: normal; font-size: 12.5px; letter-spacing: 0.08em;
  color: var(--lavender); margin-left: 6px;
  font-family: var(--sans); font-weight: 700;
}
.tci__col.character li b em { color: var(--apricot); }

/* ---------- MBTI 선호지표 ---------- */
.prefs { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px) { .prefs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* 넓은 화면에서는 4가지 선호지표를 한 줄에 나란히 둔다 */
@media (min-width: 1000px) { .prefs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; } }
.pref {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 24px 22px 20px;
}
.pref h3 {
  font-size: 13px; letter-spacing: 0.12em; color: var(--lavender);
  font-family: var(--sans); font-weight: 700; text-transform: uppercase;
  margin: 0 0 18px; padding-bottom: 12px; border-bottom: 1px solid var(--line);
}
.pref ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.pref li b { display: block; font-family: var(--display); font-weight: 400; font-size: 18px; margin-bottom: 5px; }
.pref li b em {
  font-style: normal; font-family: var(--sans); font-weight: 700;
  font-size: 12.5px; letter-spacing: 0.06em; color: var(--apricot); margin-left: 7px;
}
.pref li span { font-size: 14px; line-height: 1.72; color: var(--text-soft); }

/* ---------- 후기 목록 · 작성 ---------- */
.reviews__state {
  grid-column: 1 / -1; margin: 0; padding: 34px 0;
  text-align: center; color: var(--text-mute); font-size: 15px;
}
.review--real { border-style: solid; border-color: var(--line); }
.review__tag {
  margin-left: auto; font-size: 11.5px; letter-spacing: 0.04em;
  background: var(--lavender-soft); color: var(--lavender);
  padding: 5px 10px; border-radius: var(--r-pill); font-weight: 700;
}
.review-write { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 60px); align-items: start; }
.review-write h2 { font-size: clamp(24px, 3vw, 34px); line-height: 1.42; margin-bottom: 16px; }
.review-write__lead { color: var(--text-soft); line-height: 1.9; margin: 0 0 22px; }
.review-write__notes {
  list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px;
  font-size: 14.5px; color: var(--text-soft);
}
.review-write__notes li { display: flex; gap: 10px; }
.review-write__notes li::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--apricot);
  flex: none; margin-top: 0.62em;
}
.field textarea {
  width: 100%; font-family: inherit; font-size: 15px; color: var(--text);
  padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--paper); resize: vertical; line-height: 1.7;
  transition: border-color var(--duration-base) var(--ease), box-shadow var(--duration-base) var(--ease);
}
.field textarea:focus {
  outline: none; border-color: var(--lavender); box-shadow: 0 0 0 3px rgba(139, 132, 198, 0.2);
}
.stars-input { display: flex; gap: 4px; }
.stars-input button {
  background: none; border: 0; cursor: pointer; padding: 2px 4px;
  font-size: 30px; line-height: 1; color: #ddd7cf;
  transition: color var(--duration-base) var(--ease), transform var(--duration-base) var(--ease);
}
.stars-input button:hover { transform: scale(1.12); }
.stars-input button.on { color: var(--apricot); }

@media (max-width: 900px) {
  .review-write { grid-template-columns: 1fr; }
}

/* ---------- 다른 검사 안내 ---------- */
.more-tests { background: var(--lavender-soft); }
.more-tests .card { border-color: #ded8f0; }
.more-tests .card .k { color: var(--lavender); }

/* ---------- 스크롤 등장 ---------- */
.rv {
  opacity: 0; transform: translateY(20px);
  transition: opacity var(--duration-slow) var(--ease), transform var(--duration-slow) var(--ease);
}
.rv.in { opacity: 1; transform: none; }

/* ---------- 반응형 ---------- */
@media (max-width: 1080px) {
  .nav__links {
    display: none; position: absolute; inset: 100% 0 auto;
    flex-direction: column; gap: 0;
    background: rgba(250, 247, 242, 0.98); backdrop-filter: blur(14px);
    padding: 8px var(--pad) 20px; box-shadow: 0 18px 40px rgba(46, 43, 87, 0.12);
  }
  .nav.open .nav__links { display: flex; }
  .nav.open { background: rgba(250, 247, 242, 0.98); backdrop-filter: blur(14px); color: var(--text); }
  .nav__links a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--text); opacity: 1; }
  .nav__tel {
  display: none; align-items: center; gap: 7px;
  font-size: 14.5px; font-weight: 700; letter-spacing: 0.01em;
  padding: 10px 14px; border-radius: var(--r-pill);
  transition: background var(--duration-base) var(--ease);
}
.nav__tel svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.nav__tel:hover { background: rgba(139, 132, 198, 0.14); }
@media (min-width: 1180px) { .nav__tel { display: inline-flex; } }

.nav__burger { display: block; }
  .expert__grid, .tci__cols { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .about__grid, .apply .wrap { grid-template-columns: 1fr; }
  .site-footer .wrap { grid-template-columns: 1fr 1fr; }
  .hero { height: 240vh; }
  .hero__img {
    --zoom-from: 1.18;
    --zoom-travel: 0.18;
    transform: scale(1.18);
    object-position: 56% 48%;
    transform-origin: 56% 48%;
  }
  .hero__scrim {
    background: linear-gradient(180deg, rgba(23, 22, 31, 0.5) 0%, rgba(23, 22, 31, 0.3) 32%, rgba(23, 22, 31, 0.86) 100%);
  }
  .hero__steps { display: none; }
}

@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; }
  .site-footer .wrap { grid-template-columns: 1fr; }
  .copyright .wrap { flex-direction: column; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  .hero__scrollcue i { animation: none; }
  .button:hover, .card:hover { transform: none; }
}
