/* ──────────────────────────────────────────────────────────────
   관악산책 디자인 시스템
   - 아이보리 · 딥 파인 그린 · 브라스(청동) — 학교 공식 색과 무관한 독자 팔레트
   - 헤드라인: Noto Serif KR / 본문: Pretendard (모두 무료 웹폰트)
   ────────────────────────────────────────────────────────────── */
:root {
  /* 색 근거(README '색상 출처')
     1) 오너 제공 참고 이미지(research/refs: 학생증 S-CARD·교표 사진)에서 추출한 근사값 ← 우선 적용
        메인 네이비 #0F1B5F · 보조 블루그레이 #3E4C7E · 포인트 골드 #C9A25A · 아이보리 #F6F3EC
     2) 서울대 UI 전용색상(identity.snu.ac.kr/color/1): SNU Blue Pantone 2748C RGB 15,15,112 /
        SNU Gold Pantone 874C / SNU Silver Pantone 877C / SNU Beige 453C / SNU Gray Cool Gray 10C
     교표·로고 형태·워드마크·전용서체는 사용하지 않음(상표). 대비는 tests/contrast.test.cjs 로 AA 검사. */
  --navy: #0f1b5f;          /* 메인 네이비 */
  --navy-2: #1e2c75;        /* hover·면 구분 */
  --navy-deep: #0a1245;     /* 푸터 */
  --blue-gray: #3e4c7e;     /* 보조(학생증 바탕 톤) — 장식·큰 글자용 */
  --gold: #c9a25a;          /* 포인트 골드: 남색 위 강조(6.6:1) */
  --gold-text: #7a5f2e;     /* 골드 계열, 밝은 배경 위 글자용(AA) */
  --silver: #c9cdd4;

  --paper: #f6f3ec;
  --paper-2: #ede9dd;
  --card: #fcfaf5;
  --ink: #14152b;
  --ink-2: #4a4c5e;
  --ink-3: #62646f;
  --line: #d9d7c7;
  --line-2: #e6e4d8;
  --on-navy: #f3f1e8;       /* 남색 위 아이보리 텍스트 */
  --on-navy-2: #c3c6d6;     /* 남색 위 보조 텍스트(9.2:1) */
  --on-navy-3: #a9aec8;     /* 남색 위 약한 텍스트(7.1:1) */
  --on-navy-4: #8e94b3;     /* 남색 위 덜 눈에 띄는 보조(5.2:1, 괄호 고지) */
  --on-navy-line: rgba(243, 241, 232, .16);

  /* 기존 이름 호환 */
  --pine: var(--navy);
  --pine-2: var(--navy-2);
  --pine-ink: var(--on-navy);
  --brass: var(--gold-text);
  --brass-2: var(--gold);
  --brass-soft: #f1e9d3;
  --danger: #a3402c;
  --ok: #2f6b4a;

  --serif: 'Noto Serif KR', 'Nanum Myeongjo', 'AppleMyungjo', serif;
  --sans: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;

  --wrap: 1120px;
  --gutter: 20px;
  --radius: 4px;
  --shadow: 0 1px 2px rgba(15, 27, 95, .04), 0 12px 32px -16px rgba(15, 27, 95, .22);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: -0.01em;
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -48px; background: var(--ink); color: var(--paper); padding: 8px 14px; z-index: 100; border-radius: var(--radius); }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 80px 0; border-top: 1px solid var(--line-2); }
.section--tint { background: var(--paper-2); }
.section--dark { background: var(--pine); color: var(--pine-ink); border-top: 0; }
@media (min-width: 900px) {
  :root { --gutter: 40px; }
  .section { padding: 128px 0; }
}

/* ── 타이포 ── */
.eyebrow {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brass);
}
.section--dark .eyebrow { color: var(--brass-2); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.03em; line-height: 1.32; margin: 0; }
h1 { font-size: clamp(32px, 8.4vw, 60px); line-height: 1.22; }
h2 { font-size: clamp(26px, 5.6vw, 40px); }
h3 { font-size: 20px; }
.lead { font-size: clamp(16px, 3.9vw, 19px); color: var(--ink-2); margin: 20px 0 0; max-width: 34em; }
.section--dark .lead { color: var(--on-navy-2); }
.section__head { max-width: 680px; margin-bottom: 48px; }
.section__head p { color: var(--ink-2); margin: 16px 0 0; }
.section--dark .section__head p { color: var(--on-navy-2); }
.rule { width: 40px; height: 1px; background: var(--brass); border: 0; margin: 0 0 22px; }
.num { font-variant-numeric: tabular-nums; }

/* ── 버튼 ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px;
  border: 1px solid transparent; border-radius: var(--radius);
  font-size: 16px; font-weight: 600; letter-spacing: -0.01em; text-decoration: none;
  cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn--primary { background: var(--pine); color: var(--on-navy); }
.btn--primary:hover { background: var(--pine-2); }
.btn--brass { background: var(--gold-text); color: #fff; }
.btn--brass:hover { background: #6a5126; }
.btn--ghost { border-color: currentColor; background: transparent; }
.btn--lg { min-height: 58px; font-size: 17px; }
.btn--block { width: 100%; }
.btn:disabled { opacity: .6; cursor: progress; }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }

/* ── 헤더 ── */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(246, 243, 236, .92);
  -webkit-backdrop-filter: saturate(140%) blur(10px); backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line-2);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.logo { display: inline-flex; align-items: baseline; gap: 10px; text-decoration: none; }
.logo__name { font-family: var(--serif); font-weight: 700; font-size: 19px; letter-spacing: -0.04em; }
.logo__en { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }
.site-header nav { display: none; gap: 28px; font-size: 14px; color: var(--ink-2); }
.site-header nav a { text-decoration: none; }
.site-header nav a:hover { color: var(--ink); }
.header-cta { min-height: 38px; padding: 0 16px; font-size: 14px; }
@media (min-width: 900px) { .site-header nav { display: flex; } .site-header .wrap { height: 68px; } }

/* ── 히어로 ── */
.hero { padding: 32px 0 56px; position: relative; overflow: hidden; }
.hero__grid { display: grid; gap: 40px; }
.hero__kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--ink-2); margin: 0 0 22px;
}
.hero__kicker::before { content: ''; width: 24px; height: 1px; background: var(--brass); }
.hero h1 em { font-style: normal; color: var(--brass); }
.hero__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 24px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--ink-2); }
.hero__meta li { display: inline-block; }
.hero__meta li::before { content: ''; display: inline-block; vertical-align: middle; width: 4px; height: 4px; margin: -2px 8px 0 0; border-radius: 50%; background: var(--brass); }
.hero__aside { display: grid; gap: 16px; align-content: start; }
.price-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
}
.price-card__label { font-size: 13px; color: var(--ink-3); margin: 0 0 6px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.price-card__row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.price-card__price { font-family: var(--serif); font-size: 36px; font-weight: 600; letter-spacing: -0.03em; }
.price-card__from { font-size: 16px; color: var(--ink-2); margin-left: 2px; font-family: var(--sans); font-weight: 500; }
.price-card__regular { font-size: 14px; color: var(--ink-3); }
.price-card__regular s { text-decoration-thickness: 1px; }
.price-card__note { font-size: 13px; color: var(--ink-2); margin: 6px 0 18px; }
.price-card .btn { width: 100%; }
.pill {
  display: inline-block;
  padding: 3px 10px; border-radius: 999px; border: 1px solid var(--brass);
  font-size: 12px; font-weight: 600; color: var(--brass); white-space: nowrap;
}
.gift-line {
  display: flex; gap: 12px; align-items: flex-start;
  margin: 16px 0 0; padding: 14px 0 0; border-top: 1px dashed var(--line);
  font-size: 13px; color: var(--ink-2);
}
.gift-line svg { flex: none; margin-top: 2px; color: var(--brass); }
.gift-line b { color: var(--ink); font-weight: 600; }
@media (min-width: 900px) {
  .hero { padding: 96px 0 112px; }
  .hero__grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: 72px; align-items: end; }
}

/* 남색 히어로·헤더(퍼블릭·프라이빗 공통) */
.theme-navy .hero { background: var(--pine); color: var(--pine-ink); }
.theme-navy .hero .lead, .theme-navy .hero__meta, .theme-navy .hero__kicker { color: var(--on-navy-2); }
.theme-navy .hero h1 em { color: var(--brass-2); }
.theme-navy .hero .price-card { background: var(--card); color: var(--ink); border-color: transparent; }
.theme-navy .site-header { background: rgba(15, 27, 95, .96); border-bottom-color: rgba(255, 255, 255, .08); color: var(--pine-ink); }
.theme-navy .site-header nav { color: var(--on-navy-2); }
.theme-navy .site-header nav a:hover { color: #fff; }
.theme-navy .logo__en { color: var(--on-navy-3); }
.theme-navy .header-cta, .theme-navy .hero .price-card .btn--primary { background: var(--navy); }
.theme-navy .header-cta { background: var(--gold); color: var(--navy); }
.theme-navy .header-cta:hover { background: #d8b878; }
.hero__lines { position: absolute; inset: auto -10% -30% auto; width: 520px; opacity: .14; pointer-events: none; }

/* ── 마감·남은 자리 ── */
.status { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.theme-navy .hero .status { background: rgba(255, 255, 255, .04); border-color: var(--on-navy-line); color: var(--pine-ink); }
.status__item { padding: 16px 18px; display: grid; gap: 6px; align-content: start; }
.status__item + .status__item { border-left: 1px solid var(--line); }
.theme-navy .hero .status__item + .status__item { border-left-color: var(--on-navy-line); }
.status__label { font-size: 12px; color: var(--ink-3); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.theme-navy .hero .status__label, .theme-navy .hero .status__note { color: var(--on-navy-3); }
.countdown { font-variant-numeric: tabular-nums; font-size: 15px; white-space: nowrap; }
.countdown b { font-family: var(--serif); font-size: 22px; font-weight: 600; }
.countdown small { font-size: 11px; color: var(--ink-3); margin-left: 1px; }
.theme-navy .hero .countdown small { color: var(--on-navy-3); }
.seats { font-variant-numeric: tabular-nums; }
.seats b { font-family: var(--serif); font-size: 22px; font-weight: 600; }
.seats__of { font-size: 14px; color: var(--ink-3); }
.theme-navy .hero .seats__of { color: var(--on-navy-3); }
.bar { display: block; height: 2px; background: var(--line); position: relative; margin-top: 4px; }
.bar i { position: absolute; inset: 0 auto 0 0; background: var(--brass); }
.status__note { grid-column: 1 / -1; margin: 0; padding: 10px 18px; border-top: 1px solid var(--line); font-size: 12px; color: var(--ink-3); }
.theme-navy .hero .status__note { border-top-color: var(--on-navy-line); }
.status--closed { display: block; padding: 18px; }
.status__closed { margin: 0; font-weight: 600; }
.flag { font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 999px; border: 1px solid currentColor; }
.flag--urgent { color: var(--danger); }
@media (max-width: 359px) { .status { grid-template-columns: 1fr; } .status__item + .status__item { border-left: 0; border-top: 1px solid var(--line); } }

/* ── 신뢰 띠 ── */
.trust { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line-2); border-block: 1px solid var(--line-2); }
.trust__item { background: var(--paper); padding: 20px var(--gutter); }
.trust__item b { display: block; font-family: var(--serif); font-size: 17px; font-weight: 600; }
.trust__item span { font-size: 13px; color: var(--ink-3); }
@media (min-width: 900px) { .trust { grid-template-columns: repeat(4, 1fr); } .trust__item { padding: 28px 32px; } }

/* ── 가이드 ── */
.guides { display: grid; gap: 20px; }
@media (min-width: 720px) { .guides { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.guide { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; display: grid; grid-template-columns: 112px 1fr; }
@media (min-width: 720px) { .guide { grid-template-columns: 1fr; } }
.guide__photo { background: var(--paper-2); aspect-ratio: 4 / 5; }
.guide__photo img { width: 100%; height: 100%; object-fit: cover; }
.guide__body { padding: 16px 18px 18px; display: grid; gap: 6px; align-content: start; }
@media (min-width: 720px) { .guide__body { padding: 22px 24px 24px; } }
.guide__meta { margin: 0; font-size: 12px; color: var(--brass); font-weight: 600; letter-spacing: .02em; }
.guide__name { font-size: 18px; }
.guide__intro { margin: 0; font-size: 14px; color: var(--ink-2); line-height: 1.6; }
.guide--placeholder .guide__name, .guide--placeholder .guide__intro, .guide--placeholder .guide__meta { color: var(--ink-3); }
.proof {
  display: flex; align-items: center; gap: 12px; margin-top: 8px; padding: 8px; width: 100%;
  background: transparent; border: 1px solid var(--line); border-radius: var(--radius); cursor: zoom-in; text-align: left;
}
.proof img { width: 34px; height: 46px; object-fit: cover; border: 1px solid var(--line); background: #fff; }
.proof__text { display: grid; gap: 2px; font-size: 13px; font-weight: 600; }
.badge { font-size: 11px; font-weight: 500; color: var(--ink-3); }
.badge--ok { color: var(--ok); font-weight: 600; }
.badge--ok::before { content: '✓ '; }
.note { font-size: 13px; color: var(--ink-3); margin: 24px 0 0; }

/* ── 왜 우리 ── */
.reasons { display: grid; gap: 0; margin-top: 8px; border-top: 1px solid var(--line); }
.reason { display: grid; grid-template-columns: 44px 1fr; gap: 4px 12px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.reason__n { font-family: var(--serif); color: var(--brass); font-size: 15px; padding-top: 2px; }
.reason h3 { font-size: 18px; }
.reason p { grid-column: 2; margin: 0; color: var(--ink-2); font-size: 15px; }
@media (min-width: 900px) { .reasons { grid-template-columns: repeat(3, 1fr); border-top: 0; gap: 40px; } .reason { border-top: 1px solid var(--line); border-bottom: 0; grid-template-columns: 1fr; } .reason p { grid-column: 1; } }

/* ── 코스 ── */
.course { display: grid; gap: 40px; }
@media (min-width: 900px) { .course { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; } }
.map { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 12px; }
.map svg { width: 100%; height: auto; display: block; }
.map figcaption { font-size: 12px; color: var(--ink-3); padding: 10px 6px 2px; }
.stops { list-style: none; margin: 0; padding: 0; counter-reset: stop; }
.stop { position: relative; padding: 0 0 22px 44px; }
.stop::before {
  counter-increment: stop; content: counter(stop);
  position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--brass); color: var(--brass); background: var(--paper);
  display: grid; place-items: center; font-size: 13px; font-family: var(--serif);
}
.stop::after { content: ''; position: absolute; left: 14px; top: 30px; bottom: 2px; width: 1px; background: var(--line); }
.stop:last-child::after { display: none; }
.stop h3 { font-size: 17px; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.stop h3 small { font-family: var(--sans); font-size: 12px; font-weight: 500; color: var(--ink-3); }
.stop p { margin: 4px 0 0; color: var(--ink-2); font-size: 14px; }
.stop--custom::before { background: var(--brass); color: #fff; }
.course__total { display: flex; gap: 24px; flex-wrap: wrap; margin: 8px 0 28px; padding: 16px 0; border-block: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.course__total b { font-family: var(--serif); color: var(--ink); font-size: 18px; margin-right: 6px; }

/* ── 포함 내용 ── */
.includes { display: grid; gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; }
.include { background: var(--card); padding: 24px; display: grid; gap: 8px; align-content: start; }
.include svg { color: var(--brass); }
.include h3 { font-size: 17px; }
.include p { margin: 0; font-size: 14px; color: var(--ink-2); }
@media (min-width: 640px) { .includes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .includes--4 { grid-template-columns: repeat(4, 1fr); } .includes--3 { grid-template-columns: repeat(3, 1fr); } }

/* ── 컨설팅·리포트 샘플 ── */
.consult { display: grid; gap: 48px; }
@media (min-width: 900px) { .consult { grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; } }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
.steps li { display: grid; grid-template-columns: 92px 1fr; gap: 12px; padding-bottom: 20px; border-bottom: 1px solid var(--on-navy-line); }
.steps li:last-child { border-bottom: 0; padding-bottom: 0; }
.steps__when { font-size: 12px; color: var(--brass-2); font-weight: 600; letter-spacing: .04em; padding-top: 3px; }
.steps h3 { font-size: 17px; color: #fff; }
.steps p { margin: 4px 0 0; font-size: 14px; color: var(--on-navy-2); }
.report {
  background: var(--card); color: var(--ink); border-radius: 2px; padding: 28px 24px; position: relative;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55); transform: rotate(-1deg); max-width: 460px; margin: 0 auto; width: 100%;
}
.report__stamp { position: absolute; top: 18px; right: 18px; font-size: 10px; letter-spacing: .16em; border: 1px solid var(--brass); color: var(--brass); padding: 3px 8px; }
.report__kicker { font-size: 10px; letter-spacing: .2em; color: var(--ink-3); margin: 0 0 6px; text-transform: uppercase; }
.report h3 { font-size: 19px; margin-bottom: 16px; }
.report__row { border-top: 1px solid var(--line); padding: 12px 0; display: grid; gap: 6px; }
.report__row b { font-size: 12px; color: var(--brass); letter-spacing: .04em; }
.report__row p { margin: 0; font-size: 13px; color: var(--ink-2); line-height: 1.6; }
.ph-line { height: 7px; border-radius: 4px; background: var(--line-2); }
.ph-line + .ph-line { margin-top: 6px; }
.report__foot { margin: 12px 0 0; font-size: 11px; color: var(--ink-3); }

/* ── 비교표 ── */
.compare-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.compare { width: 100%; border-collapse: collapse; font-size: 13px; line-height: 1.5; }
.compare th, .compare td { padding: 12px 10px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-2); }
.compare thead th { font-family: var(--serif); font-size: 16px; font-weight: 600; border-bottom: 1px solid var(--line); background: var(--paper-2); }
.compare thead th small { display: block; font-family: var(--sans); font-size: 12px; font-weight: 500; color: var(--ink-3); margin-top: 2px; }
.compare tbody th { font-weight: 500; color: var(--ink-3); width: 16%; }
@media (min-width: 640px) { .compare { font-size: 14px; } .compare th, .compare td { padding: 14px 18px; } .compare tbody th { white-space: nowrap; } }
.compare tr:last-child td, .compare tr:last-child th { border-bottom: 0; }
.compare .is-featured { background: rgba(15, 27, 95, .04); }
.compare thead .is-featured { background: var(--pine); color: var(--on-navy); }
.compare thead .is-featured small { color: var(--on-navy-2); }
.compare td b { font-weight: 600; }
.compare .yes { color: var(--ok); }
.compare-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; align-items: center; }
.compare-cta p { margin: 0; font-size: 14px; color: var(--ink-2); flex: 1 1 260px; }

/* ── 약속 ── */
.promises { display: grid; gap: 0; border-top: 1px solid var(--on-navy-line); }
.promise { display: grid; grid-template-columns: 32px 1fr; gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--on-navy-line); }
.promise svg { color: var(--brass-2); margin-top: 3px; }
.promise h3 { font-size: 17px; color: #fff; }
.promise p { margin: 4px 0 0; font-size: 14px; color: var(--on-navy-2); }
@media (min-width: 900px) { .promises { grid-template-columns: 1fr 1fr; column-gap: 56px; } }

/* ── 후기 자리 ── */
.reviews-empty {
  border: 1px dashed var(--line); border-radius: var(--radius); padding: 40px 24px; text-align: center; background: var(--card);
}
.reviews-empty p { margin: 8px auto 0; color: var(--ink-2); max-width: 30em; font-size: 15px; }
.reviews-empty .pill { margin-bottom: 8px; }

/* ── FAQ ── */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative;
  font-weight: 600; font-size: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 1.5px solid var(--ink-3); border-bottom: 1.5px solid var(--ink-3); transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .faq__a { padding: 0 0 22px; color: var(--ink-2); font-size: 15px; }
.faq .faq__a p { margin: 0 0 8px; }
.faq--notice summary { color: var(--brass); }
@media (min-width: 900px) { .faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; } }

/* ── 신청 ── */
.apply { display: grid; gap: 40px; }
@media (min-width: 960px) { .apply { grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; } .apply__aside { position: sticky; top: 100px; } }
.apply__aside .status { margin-top: 28px; }
.form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px; display: grid; gap: 8px; }
@media (min-width: 640px) { .form { padding: 40px; } }
.form__section { display: grid; gap: 20px; padding: 8px 0 28px; border-bottom: 1px solid var(--line-2); }
.form__section:last-of-type { border-bottom: 0; }
.form__title { font-size: 16px; font-family: var(--sans); font-weight: 700; letter-spacing: -0.01em; color: var(--ink); padding-top: 12px; }
.field { display: grid; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field > label, .field legend { font-size: 14px; font-weight: 600; padding: 0; }
.field legend { margin-bottom: 8px; }
.field legend + .field__hint { margin-top: -6px; }
.req, .opt { font-size: 11px; font-weight: 600; margin-left: 4px; color: var(--brass); }
.opt { color: var(--ink-3); font-weight: 500; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; font-size: 16px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-3) 50%), linear-gradient(135deg, var(--ink-3) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--pine); box-shadow: 0 0 0 3px rgba(15, 27, 95, .14); }
.field__hint { margin: 0; font-size: 13px; color: var(--ink-3); line-height: 1.5; }
.field__error { margin: 0; font-size: 13px; color: var(--danger); min-height: 0; }
.field__error:empty { display: none; }
.is-invalid input, .is-invalid select, .is-invalid textarea { border-color: var(--danger); }
.is-invalid .chip span { border-color: rgba(163, 64, 44, .5); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 8px 14px;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff; font-size: 14px; line-height: 1.35;
  transition: border-color .15s, background .15s, color .15s;
}
.chip span small { font-size: 11px; color: var(--ink-3); }
.chip input:checked + span { background: var(--pine); border-color: var(--pine); color: var(--on-navy); }
.chip input:checked + span small { color: var(--on-navy-2); }
.chip input:focus-visible + span { outline: 2px solid var(--brass); outline-offset: 2px; }
.chip--disabled span { opacity: .45; text-decoration: line-through; }
.field--group .chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); }
[data-field="preferred_dates"] .chips, [data-field="price_intent"] .chips { grid-template-columns: 1fr; }
[data-field="interests"] .chips, [data-field="preferred_time"] .chips { display: flex; }
@media (min-width: 640px) { [data-field="preferred_dates"] .chips, [data-field="price_intent"] .chips { grid-template-columns: 1fr 1fr; } }
[data-field="preferred_dates"] .chip span, [data-field="price_intent"] .chip span { justify-content: space-between; width: 100%; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; cursor: pointer; line-height: 1.55; }
.check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--pine); }
.check .req, .check .opt { margin: 0 4px 0 0; }
.check.is-invalid { color: var(--danger); }
.form__consent { gap: 14px; }
.consent-box { background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 16px; font-size: 13px; color: var(--ink-2); }
.consent-box__title { margin: 0 0 10px; font-weight: 700; color: var(--ink); }
.consent-box dl { display: grid; grid-template-columns: 72px 1fr; gap: 6px 12px; margin: 0; }
.consent-box dt { color: var(--ink-3); }
.consent-box dd { margin: 0; }
.consent-box__foot { margin: 12px 0 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__error-summary { padding: 12px 14px; border-left: 3px solid var(--danger); background: rgba(163, 64, 44, .06); font-size: 14px; color: var(--danger); }
.form__foot { margin: 6px 0 0; font-size: 12px; color: var(--ink-3); text-align: center; }
.testmode { margin: 0; padding: 10px 12px; border: 1px dashed #b98a2f; background: #fbf3df; color: #6f531b; font-size: 12px; border-radius: var(--radius); }
.form-done { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 28px; display: grid; gap: 10px; outline: none; }
.form-done__title { font-size: 24px; }
.form-done p { margin: 0; color: var(--ink-2); }
.form-done__gift { padding: 12px 14px; background: var(--brass-soft); border-radius: var(--radius); color: var(--ink) !important; font-size: 14px; }
.apply__points { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; font-size: 14px; color: var(--ink-2); }
.apply__points li { padding-left: 26px; position: relative; }
.apply__points li::before { content: '—'; color: var(--brass); position: absolute; left: 0; }

/* ── 푸터 ── */
.site-footer { background: var(--navy-deep); color: var(--on-navy-2); padding: 56px 0 120px; font-size: 13px; }
.site-footer .logo__name { color: var(--on-navy); }
.footer__grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1.4fr 1fr; } .site-footer { padding-bottom: 56px; } }
.footer__notice { margin: 16px 0 0; padding: 14px 16px; border: 1px solid var(--on-navy-line); border-radius: var(--radius); line-height: 1.65; color: var(--on-navy); }
.footer__links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer__links a { text-decoration: none; }
.footer__links a:hover { color: #fff; }
.footer__copy { margin: 32px 0 0; color: var(--on-navy-3); }

/* ── 하단 고정 CTA(모바일) ── */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  background: rgba(252, 251, 247, .97); border-top: 1px solid var(--line);
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 14px;
  transform: translateY(110%); transition: transform .3s ease;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.sticky-cta.is-shown { transform: none; }
.sticky-cta__info { flex: 1; min-width: 0; line-height: 1.3; }
.sticky-cta__price { font-family: var(--serif); font-weight: 600; font-size: 17px; }
.sticky-cta__sub { font-size: 11px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.sticky-cta .btn { min-height: 48px; padding: 0 20px; flex: none; }
@media (min-width: 900px) { .sticky-cta { display: none; } }

/* ── 증명서 모달 ── */
dialog.proof-dialog { border: 0; padding: 0; border-radius: var(--radius); max-width: min(560px, 92vw); width: 100%; background: var(--card); }
dialog.proof-dialog::backdrop { background: rgba(8, 14, 52, .72); }
.proof-dialog__head { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.proof-dialog__head button { background: none; border: 0; font-size: 22px; line-height: 1; cursor: pointer; padding: 4px 8px; }
.proof-dialog img { width: 100%; max-height: 78vh; object-fit: contain; background: #fff; }
.proof-dialog p { margin: 0; padding: 10px 16px 14px; font-size: 12px; color: var(--ink-3); }

/* ── 정책 문서(개인정보처리방침) ── */
.doc { max-width: 760px; padding: 56px var(--gutter) 96px; margin: 0 auto; }
.doc h1 { font-size: clamp(28px, 6vw, 40px); margin-bottom: 8px; }
.doc h2 { font-size: 20px; margin: 44px 0 12px; }
.doc p, .doc li { color: var(--ink-2); font-size: 15px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 12px 0; }
.doc th, .doc td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.doc th { background: var(--paper-2); font-weight: 600; }
.doc .draft { padding: 12px 14px; background: #fbf3df; border: 1px dashed #b98a2f; color: #6f531b; font-size: 13px; border-radius: var(--radius); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* 아이콘(외부 스프라이트 assets/icons.svg) */
.ic { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic--sm { width: 18px; height: 18px; }

/* 모바일 히어로: 가격 카드 안 한 줄 마감·잔여 표시(전체 패널은 아래) */
.status-inline { display: flex; flex-wrap: wrap; gap: 2px 10px; align-items: baseline; margin: 0 0 14px; padding: 8px 10px; background: var(--paper-2); border-radius: var(--radius); font-size: 12px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.status-inline b { color: var(--ink); font-weight: 700; }
.status-inline .sep { color: var(--line); }
@media (min-width: 900px) { .status-inline { display: none; } }

/* 골드 포인트: 남색 히어로의 마감·남은 자리 강조 */
.theme-navy .hero .countdown b, .theme-navy .hero .seats b { color: var(--gold); }
.theme-navy .hero .bar { background: var(--on-navy-line); }
.theme-navy .hero .bar i { background: var(--gold); }
.theme-navy .hero .flag--urgent { color: var(--gold); }
.theme-navy .hero .price-card .pill { border-color: var(--gold-text); }
.theme-navy .hero__kicker::before { background: var(--gold); }
.theme-navy .hero__meta li::before { background: var(--gold); }
.section--dark .ic { color: var(--gold); }

/* 학생증 질감 참고: 남색 바탕의 은은한 그라데이션 + 얇은 세로 라인 띠(교표 워터마크 없음) */
.theme-navy .hero { background: linear-gradient(165deg, var(--navy) 0%, #14216a 60%, #22306f 100%); }
.theme-navy .hero::before {
  content: ''; position: absolute; top: 0; bottom: 0; left: max(6px, calc(50% - 620px)); width: 44px; pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(243, 241, 232, .07) 0 1px, transparent 1px 5px);
}
.theme-navy .hero .wrap { position: relative; }
.section--dark { background: linear-gradient(180deg, var(--navy) 0%, #13206a 100%); }
/* 주요 CTA: 골드 테두리 */
.btn--primary { box-shadow: inset 0 0 0 1px rgba(201, 162, 90, .6); }
.btn--primary:hover { box-shadow: inset 0 0 0 1px var(--gold); }
.chip input:checked + span { box-shadow: inset 0 0 0 1px rgba(201, 162, 90, .5); }

/* ── 단체 사진(왜 우리) ── */
.team-photo { margin: 0 0 40px; }
.team-photo picture, .team-photo img { display: block; width: 100%; height: auto; border-radius: var(--radius); }
.team-photo img { aspect-ratio: 1600 / 902; object-fit: cover; background: var(--paper-2); }
.team-photo figcaption { margin-top: 10px; font-size: 13px; color: var(--ink-3); }
@media (min-width: 900px) { .team-photo { margin-bottom: 56px; } }

/* ── 가이드 카드 v2: 이름·단과대·학과·학년 + 재학증명서 ── */
.guides { grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 640px) { .guides { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (min-width: 1000px) { .guides { grid-template-columns: repeat(3, 1fr); } }
.guide { display: grid; gap: 12px; grid-template-columns: none; padding: 18px; align-content: start; }
.guide__head { display: flex; gap: 14px; align-items: center; }
.guide__avatar {
  flex: none; width: 48px; height: 48px; border-radius: 50%; overflow: hidden;
  display: grid; place-items: center; background: var(--navy); color: var(--gold);
  font-family: var(--serif); font-size: 15px; font-weight: 600; letter-spacing: -0.02em;
}
.guide__avatar img { width: 100%; height: 100%; object-fit: cover; }
.guide__name { font-size: 19px; }
.guide__name small { font-family: var(--sans); font-size: 11px; font-weight: 700; color: var(--gold-text); border: 1px solid var(--gold-text); border-radius: 999px; padding: 1px 7px; vertical-align: 3px; margin-left: 4px; }
.guide__meta { margin: 2px 0 0; font-size: 13px; color: var(--ink-2); font-weight: 500; letter-spacing: 0; }
.guide__major { margin: 0; font-size: 14px; color: var(--ink); line-height: 1.55; }
.guide__major span { color: var(--ink-3); font-size: 13px; }
.guide .proof { margin-top: 2px; }
.proof img { width: 36px; height: 51px; }
.proof__text { gap: 1px; }
.proof__cta { font-size: 12px; font-weight: 500; color: var(--ink-3); text-decoration: underline; text-underline-offset: 2px; }
.badge--ok { font-size: 12px; }

/* ── 사전 신청 안내 ── */
.form__notice { margin: 0 0 8px; padding: 12px 14px; border: 1px solid var(--gold); background: var(--brass-soft); border-radius: var(--radius); font-size: 13px; color: var(--ink); }
.form__foot b { color: var(--ink-2); }
.form-done--mail .btn { margin: 6px 0; }
.form-done__copy { width: 100%; font-size: 13px; line-height: 1.5; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; resize: vertical; }
.form-done__small { font-size: 12px !important; color: var(--ink-3) !important; }
.refund { margin: 0 0 8px; padding-left: 18px; }
.refund li { margin: 2px 0; }
