/* ══════════════════════════════════════════════════════════
   새봄면학관 홈페이지 공용 스타일
   팔레트는 나비 유화(nabi.jpg)에서 뽑았다 — 청록 바탕 / 황금 날개.
   ══════════════════════════════════════════════════════════ */

:root {
  --ink:         #101E27;  /* 그림의 가장 어두운 바탕 */
  --deep:        #17323F;  /* 청록 바탕 */
  --teal:        #23515E;  /* 붓결 중간톤 */
  --gold:        #E8B520;  /* 날개 */
  --gold-warm:   #C8900A;  /* 앱과 공유하는 브랜드 골드 */
  --umber:       #8A5A22;  /* 나비 몸통 */
  --parchment:   #F5ECDA;  /* 종이 */
  --parchment-2: #EFE3CB;
  --on-dark:      #EBE2D0;
  --on-dark-mute: #A9B7BC;
  --on-light:      #2A2117;
  --on-light-mute: #6F6353;

  --good: #2E7D53;   /* ○ 올바른 예 */
  --bad:  #B3453A;   /* ✗ 잘못된 예 */

  --display: 'Nanum Myeongjo', 'Batang', serif;
  --body: 'Pretendard Variable', Pretendard, -apple-system, 'Malgun Gothic', sans-serif;

  --measure: 1040px;
  --narrow: 760px;
  --gutter: 24px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  background: var(--parchment);
  color: var(--on-light);
  line-height: 1.75;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;

  /* 한국어 줄바꿈 — 브라우저 기본값은 글자 단위로 끊어서
     '남깁니 / 다.' 처럼 낱말이 잘린다. 어절 단위로 넘기게 한다. */
  word-break: keep-all;
  overflow-wrap: break-word;   /* 단, 끊을 데 없는 긴 문자열(URL 등)은 예외로 끊어준다 */
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { max-width: var(--measure); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: var(--narrow); margin: 0 auto; padding: 0 var(--gutter); }

a:focus-visible, summary:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── 섹션 밴드 ───────────────────────────── */
.band { padding: 84px 0; }
.band--night { background: var(--deep); color: var(--on-dark); }
.band--ink { background: var(--ink); color: var(--on-dark); }
.band--day { background: var(--parchment); color: var(--on-light); }
.band--day-alt { background: var(--parchment-2); color: var(--on-light); }

/* ── 섹션 제목 ───────────────────────────── */
.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.18em;
  color: var(--gold); display: block; margin-bottom: 12px;
}
.band--day .eyebrow, .band--day-alt .eyebrow { color: var(--umber); }
.sec-title {
  font-family: var(--display);
  font-size: clamp(26px, 4.2vw, 36px);
  font-weight: 800; line-height: 1.4; letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.sec-lead { font-size: 15.5px; color: var(--on-light-mute); max-width: 46em; }
.band--night .sec-lead, .band--ink .sec-lead { color: var(--on-dark-mute); }
.sec-head { margin-bottom: 44px; }

/* ── 헤더 ───────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(16,30,39,.92);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(232,181,32,.22);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand img {
  width: 34px; height: 34px; border-radius: 50%; object-fit: cover;
  border: 1.5px solid rgba(232,181,32,.55);
}
.brand b {
  font-family: var(--display); font-size: 19px; font-weight: 800;
  color: var(--on-dark); letter-spacing: -0.02em;
}
.brand b i { font-style: normal; color: var(--gold); }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a {
  font-size: 13.5px; font-weight: 500; color: var(--on-dark-mute);
  text-decoration: none; transition: color .15s;
}
.site-nav a:hover { color: var(--gold); }
/* 지금 보고 있는 페이지 표시 */
.site-nav a.is-here { color: var(--gold); }
.site-nav a.is-here::after {
  content: ""; display: block; height: 1.5px; margin-top: 4px;
  background: var(--gold); border-radius: 1px;
}
/* 메뉴의 번호 — 꽉 찬 노란 알약 대신 가는 금색 테두리로 */
.site-nav a.nav-call, .site-nav .nav-call {
  font-weight: 700; color: var(--gold);
  background: transparent;
  border: 1px solid rgba(232,181,32,.45);
  padding: 7px 15px; border-radius: 999px;
  font-size: 13.5px; white-space: nowrap;
  font-variant-numeric: tabular-nums; letter-spacing: 0.01em;
  transition: background .18s, border-color .18s;
}
.site-nav a.nav-call:hover {
  background: rgba(232,181,32,.12); border-color: var(--gold); color: var(--gold);
}

/* 전화번호 — PC에선 그냥 읽고 복사하는 글자, 모바일에선 site.js가 링크로 바꾼다 */
.telno { cursor: text; }
a.telno { cursor: pointer; }
.tel-big.telno { cursor: text; }

/* ── 전화 문의 블록 ──────────────────────────
   버튼 흉내를 내지 않는다. PC에서는 누를 수 없는 '정보'이므로
   브랜드 서체로 조판해 읽히게 하고, 금색 밑줄 하나로만 강조한다. */
.telcta {
  display: inline-block; text-decoration: none;
  padding-bottom: 10px; position: relative;
}
.telcta-label {
  display: flex; align-items: center; gap: 7px;
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.16em;
  color: var(--on-dark-mute); margin-bottom: 7px;
}
.telcta-label svg { width: 13px; height: 13px; opacity: .85; }
.telcta-num {
  display: block;
  font-family: var(--display);
  font-size: clamp(28px, 4.4vw, 38px);
  font-weight: 800; color: var(--gold);
  letter-spacing: 0.01em; line-height: 1.05;
  font-variant-numeric: tabular-nums;
}
.telcta::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1.5px; background: var(--gold);
  transform-origin: left; transform: scaleX(.28);
  transition: transform .45s cubic-bezier(.2,.8,.2,1);
}
.telcta:hover::after, a.telcta:focus-visible::after { transform: scaleX(1); }

/* 밝은 배경 위에서 */
.band--day .telcta-label, .band--day-alt .telcta-label { color: var(--on-light-mute); }
.band--day .telcta-num, .band--day-alt .telcta-num { color: var(--umber); }
.band--day .telcta::after, .band--day-alt .telcta::after { background: var(--gold-warm); }

/* 이용 자격 배지 — 헛걸음 없도록 첫 화면에서 알린다 */
.eligibility {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; margin-bottom: 20px;
  border: 1px solid rgba(232,181,32,.5); border-radius: 999px;
  font-size: 13px; font-weight: 600; color: var(--gold);
  background: rgba(232,181,32,.08);
}
.eligibility::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); flex-shrink: 0;
}

/* ── 버튼 ───────────────────────────────── */
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 24px; border-radius: 999px;
  font-size: 15px; font-weight: 700; text-decoration: none;
  transition: transform .12s ease, box-shadow .12s ease, background .15s, border-color .15s, color .15s;
}
.btn:active { transform: translateY(1px); }
.btn--gold { background: var(--gold); color: var(--ink); box-shadow: 0 8px 22px rgba(232,181,32,.28); }
.btn--gold:hover { background: #F2C233; }
.btn--ghost { background: transparent; color: var(--on-dark); border: 1.5px solid rgba(235,226,208,.32); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn--dark { background: var(--deep); color: var(--on-dark); }
.btn--dark:hover { background: var(--teal); }

/* ── 하위 페이지 헤드 ────────────────────── */
.page-hero {
  background: var(--ink); color: var(--on-dark);
  padding: 62px 0 58px; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(52% 70% at 78% 20%, rgba(232,181,32,.16), transparent 70%);
  pointer-events: none;
}
.page-hero .wrap, .page-hero .wrap--narrow { position: relative; }
.crumb {
  font-size: 13px; color: var(--on-dark-mute); text-decoration: none;
  display: inline-block; margin-bottom: 18px;
}
.crumb:hover { color: var(--gold); }
.page-hero h1 {
  font-family: var(--display);
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 800; line-height: 1.35; letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.page-hero p {
  font-size: 16px; color: var(--on-dark-mute); max-width: 40em;
}
.page-meta {
  display: inline-block; margin-top: 20px; padding: 7px 16px;
  border: 1px solid rgba(232,181,32,.4); border-radius: 999px;
  font-size: 13px; color: var(--gold); font-weight: 600;
}

/* ── 본문 타이포 ─────────────────────────── */
.prose h2 {
  font-family: var(--display); font-size: 24px; font-weight: 800;
  letter-spacing: -0.02em; margin: 52px 0 14px; line-height: 1.4;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-family: var(--display); font-size: 18px; font-weight: 700;
  letter-spacing: -0.02em; margin: 32px 0 10px;
}
.prose p { margin: 12px 0; font-size: 15.5px; }
.prose ul, .prose ol { margin: 12px 0 12px 20px; font-size: 15.5px; }
.prose li { margin: 6px 0; }
.prose strong { font-weight: 700; }

/* ── 규칙 블록 (순서가 실제 의미를 갖는 곳에만) ── */
.rule { margin: 0 0 8px; padding: 34px 0; border-top: 1px solid var(--parchment-2); }
.rule:first-of-type { border-top: 0; padding-top: 8px; }
.rule-no {
  font-size: 12px; font-weight: 700; letter-spacing: .16em;
  color: var(--umber); display: block; margin-bottom: 8px;
}
.rule-no em { font-style: normal; color: var(--gold-warm); }
.rule h3 {
  font-family: var(--display); font-size: clamp(20px, 3.2vw, 25px);
  font-weight: 800; letter-spacing: -0.02em; margin-bottom: 10px; line-height: 1.4;
}
.rule p { font-size: 15.5px; margin: 10px 0; }

/* ── ✗ / ○ 비교 ─────────────────────────── */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 20px 0; }
.cmp {
  border-radius: 4px; padding: 18px 20px; background: #fff;
  border: 1px solid var(--parchment-2);
}
.cmp--bad { border-left: 3px solid var(--bad); }
.cmp--good { border-left: 3px solid var(--good); }
.cmp-label {
  font-size: 12px; font-weight: 700; letter-spacing: .06em;
  margin-bottom: 10px; display: block;
}
.cmp--bad .cmp-label { color: var(--bad); }
.cmp--good .cmp-label { color: var(--good); }
.cmp ul { list-style: none; margin: 0; }
.cmp li {
  font-size: 14.5px; padding: 5px 0; margin: 0;
  font-variant-numeric: tabular-nums;
}
.cmp--bad li { color: var(--on-light-mute); text-decoration: line-through; text-decoration-color: rgba(179,69,58,.45); }
.cmp-note { font-size: 13px; color: var(--on-light-mute); margin-top: 10px; }

/* ── 마감 타임라인 ───────────────────────── */
.timeline { margin: 22px 0; border-top: 1px solid var(--parchment-2); }
.tl-row {
  display: grid; grid-template-columns: 190px 1fr; gap: 18px;
  padding: 16px 4px; border-bottom: 1px solid var(--parchment-2);
  align-items: baseline;
}
.tl-when {
  font-weight: 700; font-size: 14.5px; font-variant-numeric: tabular-nums;
  color: var(--on-light);
}
.tl-what { font-size: 14.5px; }
.tl-row--ok .tl-what { color: var(--good); font-weight: 600; }
.tl-row--warn .tl-what { color: var(--umber); font-weight: 600; }
.tl-row--stop .tl-what { color: var(--bad); font-weight: 600; }

/* ── 점수 표 ─────────────────────────────── */
.score { width: 100%; border-collapse: collapse; margin: 18px 0; }
.score th {
  text-align: left; font-size: 12px; font-weight: 700; letter-spacing: .12em;
  color: var(--on-light-mute); padding: 0 4px 10px;
  border-bottom: 1px solid var(--parchment-2);
}
.score th:last-child { text-align: right; }
.score td {
  padding: 15px 4px; border-bottom: 1px solid var(--parchment-2);
  font-size: 15px; vertical-align: top;
}
.score td:last-child { text-align: right; white-space: nowrap; }
.score .nm { font-weight: 700; display: block; }
.score .ds { font-size: 13.5px; color: var(--on-light-mute); }
.pt {
  display: inline-block; min-width: 46px; padding: 5px 12px;
  border-radius: 999px; font-size: 14px; font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.pt--plus { background: rgba(46,125,83,.12); color: var(--good); }
.pt--minus { background: rgba(179,69,58,.11); color: var(--bad); }
.pt--prize { background: rgba(200,144,10,.14); color: var(--umber); }

/* ── 인용(핵심 원칙) ─────────────────────── */
.pull {
  margin: 30px 0; padding: 30px 32px;
  background: var(--ink); color: var(--on-dark);
  border-radius: 4px; border-left: 3px solid var(--gold);
}
.pull q {
  font-family: var(--display); font-size: clamp(19px, 3vw, 25px);
  font-weight: 700; line-height: 1.55; letter-spacing: -0.02em;
  display: block; quotes: '“' '”';
}
.pull p { font-size: 14.5px; color: var(--on-dark-mute); margin: 14px 0 0; }

/* ── 안내 상자 ───────────────────────────── */
.note {
  background: #fff; border: 1px solid var(--parchment-2);
  border-left: 3px solid var(--gold-warm);
  border-radius: 4px; padding: 20px 22px; margin: 22px 0;
}
.note h4 {
  font-size: 15px; font-weight: 700; margin-bottom: 7px;
  font-family: var(--display); letter-spacing: -0.02em;
}
.note p { font-size: 14.5px; color: var(--on-light-mute); margin: 6px 0 0; }
.note--dark {
  background: rgba(235,226,208,.06); border-color: rgba(232,181,32,.28);
  border-left-color: var(--gold); color: var(--on-dark);
}
.note--dark p { color: var(--on-dark-mute); }

/* ── 단계별 조치 ─────────────────────────── */
.steps { display: grid; gap: 10px; margin: 20px 0; }
.step {
  display: grid; grid-template-columns: 92px 1fr; gap: 18px;
  align-items: center; padding: 18px 22px;
  background: #fff; border: 1px solid var(--parchment-2);
  border-left: 3px solid var(--umber); border-radius: 4px;
}
.step-pt {
  font-family: var(--display); font-size: 22px; font-weight: 800;
  color: var(--umber); font-variant-numeric: tabular-nums;
}
.step-do { font-size: 15px; font-weight: 600; }

/* ── 기능 카드 격자 ──────────────────────── */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(235,226,208,.14); }
.card { background: var(--deep); padding: 32px 26px 34px; }
.card .ic { color: var(--gold); margin-bottom: 16px; height: 26px; }
.card h3 {
  font-family: var(--display); font-size: 17.5px; font-weight: 700;
  margin-bottom: 9px; letter-spacing: -0.02em;
}
.card p { font-size: 14px; color: var(--on-dark-mute); line-height: 1.75; }

/* 밝은 배경용 카드 격자 */
.cards--light { background: var(--parchment-2); }
.cards--light .card { background: #fff; }
.cards--light .card h3 { color: var(--on-light); }
.cards--light .card p { color: var(--on-light-mute); }
.cards--light .card .ic { color: var(--gold-warm); }

/* ── 홈 화면에 추가하는 법 ───────────────── */
.install { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 26px 0 0; }
.inst {
  background: rgba(235,226,208,.06); border: 1px solid rgba(232,181,32,.25);
  border-radius: 4px; padding: 26px 24px 24px;
}
.inst-os {
  display: flex; align-items: center; gap: 10px; margin-bottom: 6px;
}
.inst-os b { font-family: var(--display); font-size: 18px; font-weight: 800; letter-spacing: -0.02em; }
.inst-os svg { width: 20px; height: 20px; color: var(--gold); flex-shrink: 0; }
.inst-sub { font-size: 13px; color: var(--on-dark-mute); margin-bottom: 18px; }
.inst ol { list-style: none; counter-reset: step; }
.inst ol li {
  counter-increment: step; position: relative;
  padding: 0 0 16px 38px; font-size: 14.5px; line-height: 1.65;
}
.inst ol li:last-child { padding-bottom: 0; }
.inst ol li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 24px; height: 24px; border-radius: 50%;
  border: 1px solid rgba(232,181,32,.5); color: var(--gold);
  font-family: var(--display); font-size: 13px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
/* 단계를 잇는 세로선 */
.inst ol li::after {
  content: ""; position: absolute; left: 12px; top: 27px; bottom: 6px;
  width: 1px; background: rgba(232,181,32,.22);
}
.inst ol li:last-child::after { display: none; }
.inst kbd {
  display: inline-block; padding: 2px 8px; margin: 0 1px;
  background: rgba(232,181,32,.14); border: 1px solid rgba(232,181,32,.3);
  border-radius: 4px; font-family: inherit; font-size: 13.5px;
  font-weight: 700; color: var(--gold);
}
@media (max-width: 900px) { .install { grid-template-columns: 1fr; } }

/* ── 앱 기능 목록 ────────────────────────── */
.applist { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--parchment-2); margin: 22px 0; }
.applist div { background: #fff; padding: 18px 20px; }
.applist b { display: block; font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.applist span { font-size: 13.5px; color: var(--on-light-mute); }

/* ── 요금 ───────────────────────────────── */
.price-row { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.price-card {
  background: #fff; border: 1px solid var(--parchment-2);
  border-top: 3px solid var(--gold-warm);
  border-radius: 4px; padding: 34px 32px 30px;
  box-shadow: 0 18px 40px rgba(42,33,23,.07);
}
.price-badge {
  display: inline-block; margin-bottom: 18px; padding: 6px 15px;
  background: var(--parchment); border-radius: 999px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .02em;
  color: var(--umber);
}
.price-tag { display: flex; align-items: baseline; gap: 10px; margin-bottom: 4px; }
.price-tag .num {
  font-family: var(--display); font-size: 44px; font-weight: 800;
  color: var(--on-light); letter-spacing: -0.03em; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.price-tag .per { font-size: 15px; color: var(--on-light-mute); font-weight: 500; }
.price-sub { font-size: 13px; color: var(--on-light-mute); margin-bottom: 22px; }
.price-list { list-style: none; }
.price-list li {
  font-size: 14.5px; padding: 10px 0 10px 24px; position: relative;
  border-bottom: 1px solid var(--parchment-2);
}
.price-list li:last-child { border-bottom: 0; }
.price-list li::before {
  content: ""; position: absolute; left: 4px; top: 21px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--gold-warm);
}
.price-note {
  font-size: 13px; color: var(--on-light-mute);
  margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--parchment-2);
}

/* ── 정보 테이블 ─────────────────────────── */
.info-table { width: 100%; border-collapse: collapse; }
.info-table th, .info-table td {
  padding: 16px 4px; text-align: left; font-size: 15px;
  border-bottom: 1px solid rgba(235,226,208,.16); vertical-align: top;
}
.info-table th { width: 128px; font-weight: 600; color: var(--gold); font-size: 14px; white-space: nowrap; }
.info-table td b { font-weight: 700; }
.info-table td small { display: block; font-size: 13px; color: var(--on-dark-mute); margin-top: 3px; }
.info-table a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }

/* ── 운영 주체 · 학원 실적 ───────────────── */
.proof-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: rgba(232,181,32,.22); margin: 30px 0 8px;
}
.proof-stats > div { background: var(--ink); padding: 26px 22px; }
.ps-num {
  font-family: var(--display); font-size: clamp(30px, 5vw, 42px);
  font-weight: 800; color: var(--gold); line-height: 1.05;
  letter-spacing: -0.03em; font-variant-numeric: tabular-nums;
}
.ps-num small { font-size: 17px; font-weight: 700; margin-left: 2px; }
.ps-what { font-size: 14.5px; font-weight: 700; margin-top: 9px; }
.ps-when { font-size: 12.5px; color: var(--on-dark-mute); margin-top: 3px; }

/* 해마다 이어진다는 걸 보여주는 연도 띠 */
.years { margin: 28px 0 6px; }
.yr {
  display: grid; grid-template-columns: 92px 1fr; gap: 24px;
  padding: 20px 0; border-top: 1px solid rgba(235,226,208,.16); align-items: baseline;
}
.yr:first-child { border-top: 0; }
.yr-when {
  font-family: var(--display); font-size: 21px; font-weight: 800;
  color: var(--gold); font-variant-numeric: tabular-nums; letter-spacing: -0.02em;
}
.yr-what b { display: block; font-size: 15.5px; font-weight: 700; margin-bottom: 4px; line-height: 1.5; }
.yr-what span { font-size: 14px; color: var(--on-dark-mute); line-height: 1.7; }

/* 1등급이 나온 학교 — 인원수 대신 '넓이'를 보여준다 */
.schools-wide { margin: 22px 0 6px; }
.sw-head {
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 16px;
}
.sw-count {
  font-family: var(--display); font-size: 34px; font-weight: 800;
  color: var(--gold); line-height: 1; letter-spacing: -0.03em;
}
.sw-count small { font-size: 16px; font-weight: 700; margin-left: 2px; }
.sw-label { font-size: 15px; font-weight: 700; }
.sw-when { font-size: 13px; color: var(--on-dark-mute); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-block; padding: 8px 15px;
  background: rgba(235,226,208,.07); border: 1px solid rgba(232,181,32,.28);
  border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--on-dark);
}
.sw-note { font-size: 13px; color: var(--on-dark-mute); margin-top: 14px; line-height: 1.7; }

.school-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 20px 0 6px; }
.school {
  background: rgba(235,226,208,.06); border: 1px solid rgba(232,181,32,.22);
  border-radius: 4px; padding: 18px 18px 16px;
}
.school h4 {
  font-family: var(--display); font-size: 16px; font-weight: 800;
  color: var(--gold); margin-bottom: 10px; letter-spacing: -0.02em;
}
.school dl { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; }
.school dt { font-size: 13px; color: var(--on-dark-mute); }
.school dd { font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.school p { font-size: 12.5px; color: var(--on-dark-mute); margin-top: 10px; line-height: 1.6; }

.source-note {
  margin-top: 26px; padding: 16px 18px;
  border: 1px dashed rgba(235,226,208,.28); border-radius: 4px;
  font-size: 13px; color: var(--on-dark-mute); line-height: 1.8;
}
.source-note b { color: var(--on-dark); font-weight: 700; }
.source-note a { color: var(--gold); font-weight: 600; }

@media (max-width: 900px) {
  .proof-stats { grid-template-columns: 1fr; }
  .school-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) { .school-grid { grid-template-columns: 1fr; } }

/* ── 하루 흐름 (관리 절차) ───────────────── */
.flowline { margin: 8px 0; }
.fl-item {
  display: grid; grid-template-columns: 104px 1fr; gap: 24px;
  padding: 22px 0; border-top: 1px solid rgba(235,226,208,.16);
  align-items: baseline;
}
.fl-item:first-child { border-top: 0; }
.fl-when {
  font-family: var(--display); font-size: 15px; font-weight: 700;
  color: var(--gold); font-variant-numeric: tabular-nums; letter-spacing: -0.01em;
}
.fl-what b { display: block; font-size: 16.5px; font-weight: 700; margin-bottom: 4px; }
.fl-what span { font-size: 14.5px; color: var(--on-dark-mute); }
/* .fl-what span 보다 뒤에, 같은 무게로 — 안 그러면 글꼴·색이 덮여 회색으로 나온다 */
.fl-what .fl-tag {
  display: inline-block; margin-left: 8px; padding: 2px 9px;
  border: 1px solid rgba(232,181,32,.45); border-radius: 999px;
  font-size: 11.5px; font-weight: 600; color: var(--gold);
  vertical-align: 2px; letter-spacing: 0;
}

/* ── 자주 묻는 질문 ──────────────────────── */
.faq details summary { font-size: 15.5px; font-weight: 600; padding: 19px 4px; }
.faq details summary::before {
  content: "Q"; font-family: var(--display); font-weight: 800;
  color: var(--gold-warm); margin-right: 12px; font-size: 15px;
}
.faq .faq-a { padding: 0 4px 22px 32px; font-size: 14.5px; color: var(--on-light-mute); }
.faq .faq-a p + p { margin-top: 10px; }
.faq .faq-a a { color: var(--gold-warm); font-weight: 600; }

/* ── 중간 유도 띠 ────────────────────────── */
.cta-band {
  background: var(--ink); color: var(--on-dark);
  padding: 46px 0; text-align: center; position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 120% at 50% 0%, rgba(232,181,32,.16), transparent 70%);
  pointer-events: none;
}
.cta-band .wrap { position: relative; }
.cta-band h2 {
  font-family: var(--display); font-size: clamp(21px, 3.4vw, 27px);
  font-weight: 800; letter-spacing: -0.02em; margin-bottom: 8px;
}
.cta-band p { font-size: 14.5px; color: var(--on-dark-mute); margin-bottom: 22px; }
.cta-band .cta-row { justify-content: center; }

/* ── 모바일 고정 하단 버튼 ───────────────── */
.sticky-cta { display: none; }
@media (max-width: 760px) {
  .sticky-cta {
    display: grid; grid-template-columns: 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(16,30,39,.95);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border-top: 1px solid rgba(232,181,32,.25);
  }
  .sticky-cta a {
    display: flex; align-items: center; justify-content: center; gap: 9px;
    padding: 14px 10px; border-radius: 999px;
    font-size: 15px; font-weight: 700; text-decoration: none;
    letter-spacing: 0.01em; font-variant-numeric: tabular-nums;
  }
  .sticky-cta .sc-call {
    background: linear-gradient(180deg, #F0C032, var(--gold));
    color: var(--ink);
    box-shadow: 0 4px 16px rgba(232,181,32,.28);
  }
  .sticky-cta .sc-call svg { width: 16px; height: 16px; }
  .sticky-cta .sc-book { border: 1.5px solid rgba(235,226,208,.35); color: var(--on-dark); }
  body { padding-bottom: 76px; }
}

/* ── 대표 사진 ───────────────────────────── */
.lead-shot {
  position: relative; border-radius: 4px; overflow: hidden;
  background: var(--parchment-2); margin-bottom: 14px;
}
.lead-shot img {
  width: 100%; aspect-ratio: 3 / 2; object-fit: cover;
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
}
.lead-shot:hover img { transform: scale(1.02); }
.lead-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 34px 24px 18px; color: #fff; font-size: 14px; font-weight: 600;
  background: linear-gradient(180deg, transparent, rgba(16,30,39,.78));
}

/* ── 갤러리 ─────────────────────────────── */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.shot {
  position: relative; display: block; padding: 0; border: 0;
  border-radius: 3px; overflow: hidden; cursor: zoom-in;
  background: var(--parchment-2); font: inherit;
}
.shot img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block;
  transition: transform .4s cubic-bezier(.2,.8,.2,1), opacity .2s;
}
.shot:hover img { transform: scale(1.05); }
.shot--tall img { aspect-ratio: 3 / 4; }
.shot-label {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 22px 12px 9px; color: #fff; font-size: 12px; font-weight: 600;
  text-align: left; opacity: 0; transition: opacity .2s;
  background: linear-gradient(180deg, transparent, rgba(16,30,39,.8));
}
.shot:hover .shot-label, .shot:focus-visible .shot-label { opacity: 1; }

/* ── 라이트박스 ─────────────────────────── */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(9,17,22,.96);
  display: none; align-items: center; justify-content: center;
  padding: 40px 20px;
}
.lightbox[open], .lightbox.is-open { display: flex; }
.lightbox img {
  max-width: 100%; max-height: calc(100vh - 140px);
  object-fit: contain; border-radius: 3px;
}
.lb-cap {
  position: absolute; bottom: 26px; left: 0; right: 0;
  text-align: center; color: var(--on-dark-mute); font-size: 14px;
}
.lb-btn {
  position: absolute; background: rgba(235,226,208,.10);
  border: 1px solid rgba(235,226,208,.22); color: var(--on-dark);
  width: 46px; height: 46px; border-radius: 50%;
  font-size: 20px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s, border-color .15s;
}
.lb-btn:hover { background: rgba(232,181,32,.18); border-color: var(--gold); }
.lb-close { top: 22px; right: 22px; }
.lb-prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 22px; top: 50%; transform: translateY(-50%); }

@media (max-width: 900px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .lightbox { padding: 20px 12px; }
  .lb-prev { left: 10px; } .lb-next { right: 10px; }
  .shot-label { opacity: 1; }
}
@media (max-width: 560px) {
  .lead-shot img { aspect-ratio: 4 / 3; }
}

/* ── 사진 자리(플레이스홀더) ─────────────── */
.photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.photo-slot {
  aspect-ratio: 4 / 3; border-radius: 3px;
  background: var(--parchment-2);
  border: 1px dashed rgba(138,90,34,.35);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: var(--on-light-mute); text-align: center; padding: 12px;
}

/* ── 링크 카드 ───────────────────────────── */
.app-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.app-row--3 { grid-template-columns: repeat(3, 1fr); }
.app-card {
  background: var(--teal); border: 1px solid rgba(232,181,32,.25);
  border-radius: 4px; padding: 26px 24px;
  text-decoration: none; display: block;
  transition: border-color .15s, transform .15s;
}
.app-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.app-card h3 {
  font-family: var(--display); font-size: 17px; font-weight: 700;
  margin-bottom: 7px; color: var(--on-dark);
}
.app-card p { font-size: 13.5px; color: var(--on-dark-mute); margin-bottom: 14px; }
.app-card .go { font-size: 13.5px; font-weight: 700; color: var(--gold); }

/* ── 정책 / 약관 ─────────────────────────── */
.policy { font-size: 14.5px; }
.policy h3 { font-family: var(--display); font-size: 17px; font-weight: 700; margin: 26px 0 10px; letter-spacing: -0.02em; }
.policy h3:first-child { margin-top: 0; }
.policy ol, .policy ul { padding-left: 20px; }
.policy li { margin: 7px 0; }

details { border-top: 1px solid var(--parchment-2); }
details:last-of-type { border-bottom: 1px solid var(--parchment-2); }
details summary {
  cursor: pointer; padding: 18px 4px; list-style: none;
  font-size: 15.5px; font-weight: 600;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; font-size: 20px; color: var(--umber); font-weight: 400; }
details[open] summary::after { content: "−"; }
.terms-body { padding: 0 4px 24px; font-size: 14px; color: var(--on-light-mute); }
.terms-body h4 { font-size: 14px; font-weight: 700; color: var(--on-light); margin: 16px 0 5px; }
.terms-body h4:first-child { margin-top: 0; }

/* ── 문의 ───────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.tel-big {
  font-family: var(--display); font-size: clamp(30px, 5vw, 42px);
  font-weight: 800; color: var(--gold); letter-spacing: -0.02em;
  text-decoration: none; display: inline-block; margin: 6px 0 18px;
  font-variant-numeric: tabular-nums;
}
.tel-big:hover { text-decoration: underline; text-underline-offset: 6px; }

/* ── 푸터 ───────────────────────────────── */
.site-footer {
  background: var(--ink); color: var(--on-dark-mute);
  padding: 40px 0 46px; font-size: 13px; line-height: 2;
  border-top: 1px solid rgba(232,181,32,.18);
}
.site-footer strong { font-family: var(--display); color: var(--on-dark); font-size: 15px; font-weight: 700; }
.footer-links { margin-bottom: 12px; }
.footer-links a { color: var(--on-dark); text-decoration: none; font-size: 13.5px; margin-right: 18px; }
.footer-links a:hover { color: var(--gold); }

/* ── 반응형 ─────────────────────────────── */
@media (max-width: 900px) {
  .band { padding: 62px 0; }
  .cards, .app-row--3 { grid-template-columns: 1fr 1fr; }
  .price-row, .contact-grid, .app-row { grid-template-columns: 1fr; gap: 28px; }
  .photos { grid-template-columns: 1fr 1fr; }
  .site-nav a:not(.nav-call) { display: none; }
  .compare, .applist { grid-template-columns: 1fr; }
  .tl-row { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 560px) {
  :root { --gutter: 18px; }
  .cards, .photos, .app-row--3 { grid-template-columns: 1fr; }
  .info-table th { width: 92px; font-size: 13px; }
  .info-table td { font-size: 14px; }
  .step { grid-template-columns: 72px 1fr; gap: 12px; padding: 16px 18px; }
  .pull { padding: 24px 22px; }
}

/* ══════════════════════════════════════════
   움직임 — iOS처럼 '누르면 반응한다'는 느낌.
   스프링 곡선 하나로 통일해 제각각 놀지 않게 한다.
   ══════════════════════════════════════════ */
:root {
  --spring: cubic-bezier(.34, 1.36, .48, 1);   /* 살짝 튕기는 곡선 */
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* 스크롤하면 섹션이 아래에서 떠오른다 */
.reveal { opacity: 0; transform: translateY(20px); will-change: opacity, transform; }
.reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity .75s var(--ease), transform .75s var(--ease);
  transition-delay: var(--d, 0ms);
}

/* 누르면 눌리는 느낌 (iOS) */
.btn, .app-card, .shot, .telcta, .sc-call,
.site-nav a.nav-call, .lb-btn, details summary, .chip {
  transition: transform .2s var(--spring), background .18s, border-color .18s, color .18s, box-shadow .2s;
}
.btn:active, .app-card:active, .telcta:active,
.site-nav a.nav-call:active, .chip:active { transform: scale(.965); }
.shot:active { transform: scale(.975); }
.sc-call:active { transform: scale(.96); }
.lb-btn:active { transform: scale(.9); }
.lb-prev:active { transform: translateY(-50%) scale(.9); }
.lb-next:active { transform: translateY(-50%) scale(.9); }

/* 잘못 눌렀을 때 — 고개 젓듯 좌우로 */
@keyframes nudge {
  0%, 100% { transform: translateX(0); }
  18% { transform: translateX(-7px); }
  36% { transform: translateX(6px); }
  54% { transform: translateX(-4px); }
  72% { transform: translateX(2px); }
}
.is-nudging { animation: nudge .5s cubic-bezier(.36,.07,.19,.97); }

/* 알림 토스트 */
.toast {
  position: fixed; left: 50%; bottom: 30px; z-index: 200;
  transform: translate(-50%, 24px); opacity: 0; pointer-events: none;
  background: var(--ink); color: var(--on-dark);
  border: 1px solid rgba(232,181,32,.4);
  padding: 13px 22px; border-radius: 999px;
  font-size: 14px; font-weight: 600; white-space: nowrap;
  box-shadow: 0 12px 34px rgba(0,0,0,.4);
  transition: transform .42s var(--spring), opacity .28s var(--ease);
}
.toast.is-on { transform: translate(-50%, 0); opacity: 1; }
.toast b { color: var(--gold); font-variant-numeric: tabular-nums; }

/* 라이트박스 — 사진이 살짝 커지며 들어온다 */
.lightbox img { animation: lbIn .38s var(--spring); }
@keyframes lbIn { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }

/* FAQ·약관 펼칠 때 미끄러져 내려온다 */
details[open] > .faq-a,
details[open] > .terms-body { animation: slideDown .32s var(--ease); }
@keyframes slideDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
details summary::after { transition: transform .25s var(--spring); }
details[open] summary::after { transform: rotate(180deg); }

/* 첫 화면 — 위에서부터 차례로 자리를 잡는다 */
@keyframes heroIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.hero-text > * { animation: heroIn .8s var(--ease) backwards; }
.hero-text > *:nth-child(1) { animation-delay: .05s; }
.hero-text > *:nth-child(2) { animation-delay: .16s; }
.hero-text > *:nth-child(3) { animation-delay: .27s; }
.hero-text > *:nth-child(4) { animation-delay: .38s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  /* 움직임을 껐어도 내용은 반드시 보여야 한다 */
  .reveal, .hero-text > * { opacity: 1 !important; transform: none !important; }
}

/* ── 인쇄 ───────────────────────────────── */
@media print {
  .site-header, .site-nav, .cta-row { display: none; }
  body { background: #fff; }
  .band--night, .band--ink, .page-hero { background: #fff !important; color: #000 !important; }
  .page-hero h1, .sec-title { color: #000 !important; }
}
