/* 인투유학 v2 — 밝은 톤 롱폼 상세페이지.
   패스트캠퍼스 상세페이지에서 뽑아낸 값을 기준으로 삼았습니다.
     타입 스케일 70/52/40/34/28/24/20/16/14/12 · 자간 -0.15px(큰 제목 -0.8px)
     제목 800 / 본문 400 (중간 굵기를 거의 쓰지 않는 것이 이 톤의 핵심입니다)
     포인트 #0A64FF · 긴급 #FF5548 · 카드 모서리 4px · 버튼 알약 100px · 콘텐츠 폭 980px
   지금은 us-schooling.html 한 장만 이 파일을 씁니다. 나머지 12개는 style.css 그대로입니다. */

:root {
  --blue: #0a64ff;
  --blue-dark: #0850cc;
  --red: #ff5548;
  --ink: #171b1f;
  --gray: #919191;
  --gray-2: #4b4d4f;
  --line: #e7e7e8;
  --bg: #fff;
  --bg-soft: #f5f5f6;
  --dark: #0e0e28;
  --wrap: 980px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont,
               system-ui, 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
  font-weight: 400;
  letter-spacing: -.15px;
  -webkit-font-smoothing: antialiased;
}

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

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* ---------- 타입 스케일 ---------- */

.t-title { font-size: 70px; font-weight: 800; line-height: 1.2; letter-spacing: -.8px; margin: 0; }
.t-typo  { font-size: 52px; font-weight: 800; line-height: 1.25; letter-spacing: -.8px; margin: 0; }
.t-h1    { font-size: 40px; font-weight: 800; line-height: 1.3; margin: 0; }
.t-h2    { font-size: 34px; font-weight: 800; line-height: 1.35; margin: 0; }
.t-h3    { font-size: 28px; font-weight: 800; line-height: 1.4; margin: 0; }
.t-h4    { font-size: 24px; font-weight: 700; line-height: 1.45; margin: 0; }
.t-h5    { font-size: 20px; font-weight: 700; line-height: 1.5; margin: 0; }
.t-h6    { font-size: 16px; font-weight: 400; line-height: 1.6; margin: 0; }
.t-con   { font-size: 14px; font-weight: 400; line-height: 1.65; margin: 0; }
.t-cap   { font-size: 12px; font-weight: 400; line-height: 1.6; margin: 0; }

.muted { color: var(--gray); }
.bold  { font-weight: 800; }
.blue  { color: var(--blue); }
.red   { color: var(--red); }

/* ---------- 섹션 ---------- */

.sec { padding: 100px 0; }
.sec--soft { background: var(--bg-soft); }
.sec--dark { background: var(--dark); color: #fff; }
.sec--dark .muted { color: rgba(255, 255, 255, .55); }

.sec-head { text-align: center; margin-bottom: 56px; }
.sec-head .eyebrow {
  display: inline-block;
  font-size: 14px;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: .04em;
  margin-bottom: 14px;
}
.sec-head p { margin-top: 16px; color: var(--gray); }

/* ---------- 헤더 ---------- */

.hd {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.hd .wrap { display: flex; align-items: center; gap: 20px; height: 64px; max-width: 1200px; }
.hd .logo img { height: 30px; }
.hd nav { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.hd nav a { font-size: 15px; font-weight: 700; color: var(--gray-2); }
.hd nav a:hover, .hd nav a[aria-current] { color: var(--ink); }
.hd .nav-toggle { display: none; }

/* ---------- 히어로 ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--dark);
  color: #fff;
  padding: 110px 0 96px;
}
/* 사진은 style="--photo:url('../img/…')" 로 지정합니다.
   경로 앞 ../ 는 필수입니다 — var() 안의 상대경로는 이 파일 위치(/css/)를 기준으로 풀립니다. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--photo);
  background-size: cover;
  background-position: center;
  opacity: .38;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 14, 40, .45) 0%, rgba(14, 14, 40, .92) 100%);
}
.hero .wrap { position: relative; z-index: 1; }

/* 홈 히어로는 첫인상을 잡는 자리라 더 크게 씁니다. */
.hero--home { padding: 160px 0 140px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.hero-actions .btn { min-width: 200px; }
.btn-ghost-light { background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .28); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .2); }

.badge {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  border-radius: 100px;
  padding: 9px 18px;
  margin-bottom: 24px;
}
.badge--red { background: var(--red); }

.hero .t-title { margin-bottom: 22px; }
.hero .lead { color: rgba(255, 255, 255, .72); max-width: 620px; }

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, .16);
}
.hero-facts dt { font-size: 13px; color: rgba(255, 255, 255, .5); margin-bottom: 7px; }
.hero-facts dd { margin: 0; font-size: 19px; font-weight: 700; }

/* ---------- 버튼 ---------- */

.btn {
  display: inline-block;
  min-width: 300px;
  height: 56px;
  line-height: 56px;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: .18s ease-in-out;
  padding: 0 28px;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-dark { background: #3c3c3c; color: #fff; }
.btn-dark:hover { background: #222; }
.btn-line { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-line:hover { border-color: var(--gray); }
.btn-sm { min-width: 0; height: 40px; line-height: 40px; font-size: 14px; padding: 0 20px; }

/* ---------- 가격 3단 ---------- */

.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tier {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 30px 26px;
}
.tier--on { border: 2px solid var(--blue); box-shadow: 0 20px 30px rgba(10, 100, 255, .10); }
.tier--off { background: var(--bg-soft); color: var(--gray); }

.tier-name { font-size: 18px; font-weight: 800; margin-bottom: 6px; }
.tier--on .tier-name { color: var(--blue); }
.tier-when { font-size: 13px; color: var(--gray); margin-bottom: 22px; }
.tier-was { font-size: 14px; color: var(--gray); text-decoration: line-through; }
.tier-now { font-size: 32px; font-weight: 800; letter-spacing: -.8px; margin: 4px 0 2px; }
.tier-sub { font-size: 13px; color: var(--gray); }
.tier-tag {
  position: absolute;
  top: -12px;
  left: 26px;
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 100px;
  padding: 5px 12px;
}

/* ---------- 카운트다운 ---------- */

.count { text-align: center; }
.count-label { font-size: 16px; font-weight: 700; margin-bottom: 18px; }
.count-nums { display: flex; justify-content: center; gap: 10px; }
.count-box {
  min-width: 84px;
  background: var(--ink);
  color: #fff;
  border-radius: 4px;
  padding: 14px 8px;
}
.count-n { font-size: 34px; font-weight: 800; line-height: 1.1; letter-spacing: -.8px; }
.count-u { font-size: 12px; color: rgba(255, 255, 255, .55); margin-top: 5px; }

/* ---------- 특징 카드 ---------- */

.feat { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
.feat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 34px 28px;
}
.feat-ico { font-size: 34px; margin-bottom: 18px; }
.feat-card h4 { margin: 0 0 10px; font-size: 20px; font-weight: 800; }
.feat-card p { margin: 0; font-size: 14px; color: var(--gray); line-height: 1.7; }

/* ---------- 챕터 카드 (일정·도시·커리큘럼) ---------- */

.chap { border-top: 1px solid var(--line); }
.chap-item {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 28px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}
.chap-n { font-size: 14px; font-weight: 800; color: var(--blue); }

/* 항목 전체가 링크인 경우 (소식 페이지의 블로그 카드 등) */
a.chap-item { color: inherit; transition: opacity .18s ease-in-out; }
a.chap-item:hover { opacity: .7; }
.chap-item h4 { margin: 0 0 10px; font-size: 22px; font-weight: 800; }
.chap-item p { margin: 0; color: var(--gray-2); line-height: 1.75; font-size: 15px; }

/* ---------- 정보 표 ---------- */

.rows { border-top: 2px solid var(--ink); }
.rows .row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 20px;
  padding: 20px 4px;
  border-bottom: 1px solid var(--line);
}
.rows dt { font-size: 15px; font-weight: 700; color: var(--gray-2); }
.rows dd { margin: 0; font-size: 15px; line-height: 1.7; }

/* ---------- 체크 목록 ---------- */

.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; font-size: 17px; line-height: 1.6; }
.checks li::before {
  content: "✓";
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: grid;
  place-items: center;
  margin-top: 2px;
}
.sec--dark .checks li::before { background: #fff; color: var(--dark); }

/* ---------- Q&A ---------- */

.qa { border-top: 2px solid var(--ink); }
.qa-item { border-bottom: 1px solid var(--line); padding: 28px 4px; }
.qa-q { display: flex; gap: 14px; font-size: 19px; font-weight: 800; margin-bottom: 14px; }
.qa-q span { color: var(--blue); flex: none; }
.qa-a { display: flex; gap: 14px; color: var(--gray-2); line-height: 1.8; font-size: 15px; }
.qa-a span { color: var(--gray); flex: none; font-weight: 800; }

/* ---------- 유의사항 ---------- */

.notes { background: var(--bg-soft); border-radius: 4px; padding: 26px 28px; }
.notes ul { margin: 0; padding-left: 18px; }
.notes li { font-size: 13px; color: var(--gray); line-height: 1.9; }

/* ---------- 긴 페이지용 앵커 이동줄 ---------- */

/* 스크롤이 긴 페이지에서 원하는 대목으로 바로 뛰게 해줍니다.
   헤더(64px) 바로 아래에 붙여 두 줄이 겹치지 않게 합니다. */
.anchors { position: sticky; top: 64px; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); }
.anchors .wrap { display: flex; gap: 4px; overflow-x: auto; max-width: 1200px; }
.anchors a {
  flex: none;
  padding: 16px 18px;
  font-size: 15px;
  font-weight: 700;
  color: var(--gray);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.anchors a:hover { color: var(--ink); border-bottom-color: var(--ink); }

/* 앵커로 이동했을 때 제목이 고정 줄 아래로 숨지 않도록 */
[id] { scroll-margin-top: 120px; }

/* ---------- 큰 숫자 강조 ---------- */

.stat-big { font-size: 72px; font-weight: 800; line-height: 1; letter-spacing: -2px; color: var(--blue); }
.sec--dark .stat-big { color: #6ea8ff; }
.stat-cap { font-size: 20px; font-weight: 800; margin-top: 12px; }

/* ---------- 프로그램 카드 ---------- */

.prog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.prog-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 28px 26px;
}
.prog-eyebrow { font-size: 13px; font-weight: 800; color: var(--blue); margin: 0 0 10px; }
.prog-card h3 { font-size: 22px; font-weight: 800; line-height: 1.4; margin: 0 0 14px; }
.prog-price { font-size: 22px; font-weight: 800; letter-spacing: -.5px; margin: 0; }
.prog-price span { display: block; font-size: 13px; font-weight: 400; color: var(--gray); margin-top: 6px; line-height: 1.6; }
.prog-summary { font-size: 14px; color: var(--gray-2); line-height: 1.75; margin: 16px 0 0; }
.prog-date { font-size: 14px; color: var(--gray-2); margin: 16px 0 0; }

.prog-facts { margin: 18px 0 0; border-top: 1px solid var(--line); }
.prog-facts > div { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 11px 2px; border-bottom: 1px solid var(--line); }
.prog-facts dt { font-size: 13px; color: var(--gray); }
.prog-facts dd { margin: 0; font-size: 14px; line-height: 1.6; }

.prog-actions { margin-top: auto; padding-top: 22px; display: flex; gap: 10px; }
.prog-actions .btn { min-width: 0; flex: 1; height: 48px; line-height: 48px; font-size: 15px; padding: 0 12px; }

/* 마감 태그 — js/site.js 가 날짜를 보고 붙입니다. 클래스명은 바꾸지 마세요. */
.prog-ribbon {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  padding: 7px 14px;
  border-bottom-left-radius: 12px;
  background: var(--red);
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  pointer-events: none;
}
.prog-ribbon--soon { background: #e08b2e; }
.prog-card.has-ribbon .prog-eyebrow { padding-right: 92px; }

.btn-closed { background: var(--red); color: #fff; pointer-events: none; }

/* 마감된 카드는 안쪽을 눌러 태그와 '신청 마감' 버튼이 먼저 보이게 합니다.
   부모에 opacity 를 걸면 자식이 다시 밝아질 수 없으므로 흐리게 할 것만 골라 지정합니다. */
.prog-card:has(.prog-ribbon--closed) { background: var(--bg-soft); }
.prog-card:has(.prog-ribbon--closed)
  :is(.prog-eyebrow, h3, .prog-price, .prog-summary, .prog-facts, .prog-date, .btn-primary) {
  opacity: .42;
}

/* ---------- 나라 카드 ---------- */

.region-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.region-card {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  transition: .2s ease-in-out;
}
.region-card:hover { border-color: var(--gray); transform: translateY(-2px); }
.region-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.region-card .body { padding: 26px 24px 28px; }
.region-card .flag { font-size: 12px; font-weight: 800; color: var(--blue); letter-spacing: .06em; margin: 0 0 10px; }
.region-card h3 { font-size: 20px; font-weight: 800; line-height: 1.45; margin: 0 0 10px; }
.region-card .body > p { font-size: 14px; color: var(--gray); line-height: 1.75; margin: 0; }
.region-card .more { margin-top: 16px; font-weight: 800; color: var(--ink); font-size: 14px; }

/* ---------- 가운데 정렬 CTA 섹션 ---------- */

.cta-sec { text-align: center; }
.cta-sec .btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.cta-sec .btn { min-width: 220px; }

/* ---------- 하단 고정 CTA ---------- */

/* 고정 바가 있는 페이지에서만 아래 여백을 둡니다 — 홈·나라 페이지에는 바가 없습니다. */
body:has(.cta-bar) { padding-bottom: 84px; }

.cta-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background: rgba(23, 27, 31, .97);
  backdrop-filter: blur(10px);
  color: #fff;
  padding: 14px 0;
}
.cta-bar .wrap { display: flex; align-items: center; gap: 20px; max-width: 1200px; }
.cta-price { font-size: 20px; font-weight: 800; letter-spacing: -.5px; }
.cta-note { font-size: 13px; color: rgba(255, 255, 255, .6); }
.cta-bar .btns { margin-left: auto; display: flex; gap: 10px; }
.cta-bar .btn { min-width: 150px; height: 48px; line-height: 48px; font-size: 15px; }

/* ---------- 푸터 ---------- */

.ft { background: var(--bg-soft); border-top: 1px solid var(--line); padding: 56px 0 64px; }
.ft-top { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; margin-bottom: 34px; }
.ft-tel { font-size: 28px; font-weight: 800; letter-spacing: -.5px; }
.ft-hours { font-size: 14px; color: var(--gray); margin: 6px 0 0; }
.ft-links { margin-left: auto; display: flex; gap: 10px; }
.ft-links .btn { min-width: 0; height: 44px; line-height: 44px; font-size: 14px; padding: 0 20px; }
.ft-meta { font-size: 13px; color: var(--gray); line-height: 1.9; }

/* ==========================================================================
   기존 마크업 호환 레이어

   style.css 시절 클래스를 그대로 둔 채 밝은 톤으로 받아줍니다. 페이지마다
   본문을 다시 쓰지 않고도 사이트 전체 인상을 한 번에 옮기기 위한 것입니다.
   구조까지 롱폼으로 다시 짠 페이지(us-schooling)는 위쪽 v2 클래스를 쓰므로
   이 블록의 영향을 받지 않습니다.
   ========================================================================== */

/* 헤더 */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 20px; height: 64px; max-width: 1200px; }
.site-header .logo img { height: 30px; }
.site-header .nav { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.site-header .nav a { font-size: 15px; font-weight: 700; color: var(--gray-2); }
.site-header .nav a:hover, .site-header .nav a[aria-current] { color: var(--ink); }
.site-header .nav-toggle { display: none; }

/* 헤더 오른쪽 상담 신청 버튼.
   `.site-header .nav a` 가 회색을 지정하므로, 같은 자리를 이길 만큼
   선택자를 구체적으로 씁니다. 그러지 않으면 파란 배경에 회색 글자가 됩니다.
   inline-flex + line-height:1 로 글자를 알약 한가운데에 세웁니다. */
.site-header .nav a.btn-sm,
.hd nav a.btn-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 20px;
  border-radius: 100px;
  background: var(--blue);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}
.site-header .nav a.btn-sm:hover,
.hd nav a.btn-sm:hover { background: var(--blue-dark); color: #fff; }

/* 페이지 헤드 = 히어로 */
.page-head { position: relative; overflow: hidden; background: var(--dark); color: #fff; padding: 96px 0 84px; }
.page-head .wrap { position: relative; z-index: 1; }
.page-head h1 { font-size: 56px; font-weight: 800; letter-spacing: -.8px; line-height: 1.2; margin: 0 0 20px; }
.page-head > .wrap > p { color: rgba(255, 255, 255, .72); font-size: 18px; line-height: 1.7; max-width: 640px; margin: 0; }
.page-head .section-label { color: #fff; opacity: .75; }

/* 섹션 */
.section { padding: 92px 0; }
.section--alt { background: var(--bg-soft); }
.section-label { font-size: 14px; font-weight: 800; color: var(--blue); letter-spacing: .06em; margin: 0 0 12px; }
.section h2 { font-size: 40px; font-weight: 800; line-height: 1.3; letter-spacing: -.4px; margin: 0 0 16px; }
.section h3 { font-size: 22px; font-weight: 800; margin: 0 0 10px; }
.section .desc { color: var(--gray); font-size: 17px; line-height: 1.75; margin: 0 0 44px; max-width: 760px; }

/* 카드 그리드 */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  display: block; background: #fff; border: 1px solid var(--line);
  border-radius: 4px; padding: 30px 26px; color: inherit;
  transition: .2s ease-in-out;
}
a.card:hover { border-color: var(--gray); transform: translateY(-2px); }
.card .icon { font-size: 32px; margin-bottom: 16px; }
.card h3 { font-size: 20px; font-weight: 800; margin: 0 0 10px; }
.card p { font-size: 14px; color: var(--gray); line-height: 1.75; margin: 0; }
.card .flag { font-size: 12px; font-weight: 800; color: var(--blue); letter-spacing: .06em; margin: 0 0 10px; }
.card .more { margin-top: 16px; font-weight: 800; color: var(--ink); }

/* 사진이 있는 나라 카드는 안쪽 여백을 이미지가 먹지 않도록 되돌립니다 */
.card.region-card { padding: 0; overflow: hidden; }
.card.region-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.card.region-card .body { padding: 26px 24px 28px; }

/* 본문 글 */
.prose { max-width: 760px; }
.prose h2 { font-size: 30px; margin: 56px 0 16px; }
.prose p, .prose li { color: var(--gray-2); font-size: 16px; line-height: 1.85; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 8px; }

/* 상세 페이지 블록 */
.detail-body { max-width: 820px; margin: 0 auto; }
.dintro { border-left: 3px solid var(--blue); padding: 4px 0 4px 22px; margin-bottom: 44px; }
.dintro h2 { font-size: 30px; font-weight: 800; margin: 0 0 14px; }
.dintro p { color: var(--gray-2); font-size: 16px; line-height: 1.85; margin: 0; }
.dsec { margin-bottom: 48px; }
.dsec h3 { font-size: 26px; font-weight: 800; margin: 0 0 18px; }
.dsec p { color: var(--gray-2); line-height: 1.85; }

.dcards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 44px; }
.dcard { background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 26px 24px; }
.dci { font-size: 30px; margin-bottom: 14px; }
.dct { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.dcd { font-size: 14px; color: var(--gray); line-height: 1.7; }

.dlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.dlist li { display: flex; gap: 14px; align-items: flex-start; font-size: 16px; line-height: 1.75; color: var(--gray-2); }
.ddot { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); margin-top: 11px; }
.dtitle { display: block; font-size: 17px; font-weight: 800; color: var(--ink); margin-bottom: 6px; }
.dsub { display: block; color: var(--gray); font-size: 15px; }

.dinfo { border-top: 2px solid var(--ink); }
.dii { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 18px 4px; border-bottom: 1px solid var(--line); }
.dil { font-size: 15px; font-weight: 700; color: var(--gray-2); }
.dii .div { font-size: 15px; line-height: 1.7; }

.highlight-box { background: var(--bg-soft); border-radius: 4px; padding: 22px 24px; }
.highlight-box p { margin: 0; font-size: 15px; color: var(--gray-2); line-height: 1.8; }

/* 가격 박스 — 이 페이지에서 가장 먼저 찾는 숫자라 어둡게 깔고 크게 씁니다 */
.price-box { background: var(--dark); color: #fff; border-radius: 4px; padding: 44px 32px; text-align: center; }
.price-box .pn { font-size: 64px; font-weight: 800; letter-spacing: -2px; line-height: 1; }
.price-box .pn span { font-size: 26px; margin-left: 6px; letter-spacing: -.5px; }
.price-box .pnote { color: rgba(255, 255, 255, .62); font-size: 15px; line-height: 1.7; margin-top: 16px; }

/* ---------- 비교 표 ---------- */

/* 과정별로 대상·기간·비용이 갈리는 프로그램을 나란히 놓을 때 씁니다. */
.tbl-wrap { overflow-x: auto; }
.tbl { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; }
.tbl th, .tbl td { border: 1px solid var(--line); padding: 14px 16px; text-align: center; }
.tbl th { background: var(--ink); color: #fff; font-weight: 700; font-size: 14px; }
.tbl th:first-child, .tbl td:first-child { text-align: left; }
.tbl tbody tr:nth-child(even) { background: var(--bg-soft); }
.tbl .name { font-weight: 800; }
.tbl .price { font-weight: 800; color: var(--blue); }

/* ---------- 일정 달력 표 ---------- */

.cal-wrap { overflow-x: auto; }
.cal-tbl { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 13px; }
.cal-tbl th, .cal-tbl td {
  border: 1px solid var(--line);
  padding: 10px 8px;
  text-align: center;
  vertical-align: top;
  line-height: 1.55;
}
.cal-tbl th { background: var(--ink); color: #fff; font-weight: 700; }
.cal-num-row td { background: var(--bg-soft); font-weight: 800; color: var(--gray-2); }
.cal-study { background: rgba(10, 100, 255, .06); }
.cal-tour { background: rgba(224, 145, 60, .14); font-weight: 700; }
.cal-rest { background: var(--bg-soft); color: var(--gray-2); }
.cal-event-label { background: var(--blue); color: #fff; font-weight: 800; }
.cal-last { background: rgba(10, 100, 255, .14); font-weight: 700; }
.cal-fly { background: var(--ink); color: #fff; font-weight: 800; }
.cal-empty, .cal-wk-cell { background: var(--bg-soft); }
.cal-tbl small { color: var(--gray); }
.cal-note { font-size: 12px; color: var(--gray); margin-top: 14px; }

.detail-phone-cta { background: var(--dark); color: #fff; border-radius: 4px; padding: 48px 32px; text-align: center; margin-top: 56px; }
.detail-phone-cta h3 { font-size: 26px; font-weight: 800; margin: 0 0 10px; }
.detail-phone-cta p { color: rgba(255, 255, 255, .6); margin: 0 0 22px; }
.dphone-num a { font-size: 38px; font-weight: 800; letter-spacing: -.5px; color: #fff; }
.dphone-h { font-size: 14px; color: rgba(255, 255, 255, .55); margin-top: 10px; }
.detail-back { margin-top: 44px; }

/* 옛 버튼 */
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--gray); }
.page-head .btn-ghost, .sec--dark .btn-ghost, .detail-phone-cta .btn-ghost {
  background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .28);
}

/* 옛 푸터 */
.site-footer { background: var(--bg-soft); border-top: 1px solid var(--line); padding: 56px 0 64px; }
.footer-top { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; margin-bottom: 34px; }
.footer-contact .tel { font-size: 28px; font-weight: 800; letter-spacing: -.5px; }
.footer-contact .hours { font-size: 14px; color: var(--gray); margin: 6px 0 0; }
.footer-links { margin-left: auto; display: flex; gap: 10px; }
.footer-links .btn { min-width: 0; height: 44px; line-height: 44px; font-size: 14px; padding: 0 20px; }
.footer-meta { font-size: 13px; color: var(--gray); line-height: 1.9; }

/* ---------- 반응형 ---------- */

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

@media (max-width: 900px) {
  .tiers, .feat, .prog-grid, .region-grid, .grid, .dcards { grid-template-columns: 1fr; }
  .chap-item, .rows .row, .dii { grid-template-columns: 1fr; gap: 10px; }
}

@media (max-width: 767px) {
  body:has(.cta-bar) { padding-bottom: 76px; }
  .sec { padding: 64px 0; }
  .hero--home { padding: 96px 0 84px; }
  .cta-sec .btn { min-width: 0; }
  .sec-head { margin-bottom: 36px; }

  /* 패스트캠퍼스는 모바일에서 55px 를 쓰지만 한글은 단어가 길어 넘칩니다.
     40px 로 낮추고 자간을 더 조여 같은 인상을 유지합니다. */
  .t-title { font-size: 40px; letter-spacing: -1px; }
  .t-typo  { font-size: 34px; letter-spacing: -1px; }
  .t-h1    { font-size: 30px; }
  .t-h2    { font-size: 26px; }
  .t-h3    { font-size: 22px; }
  .t-h4    { font-size: 20px; }
  .t-h5    { font-size: 18px; }
  .t-h6    { font-size: 14px; }
  .t-con   { font-size: 13px; }

  .anchors { top: 64px; }
  .anchors a { padding: 13px 14px; font-size: 14px; }
  .stat-big { font-size: 52px; letter-spacing: -1.5px; }
  .stat-cap { font-size: 17px; }
  .hero { padding: 72px 0 60px; }
  .hero-facts { gap: 26px; }
  .hero-facts dd { font-size: 17px; }

  .btn { min-width: 0; width: 100%; }
  .count-box { min-width: 0; flex: 1; }
  .count-n { font-size: 26px; }

  .section { padding: 60px 0; }
  .section h2 { font-size: 28px; }
  .section .desc { font-size: 15px; margin-bottom: 30px; }
  .page-head { padding: 60px 0 52px; }
  .page-head h1 { font-size: 36px; letter-spacing: -1px; }
  .page-head > .wrap > p { font-size: 15px; }
  .dintro h2, .dsec h3 { font-size: 22px; }
  .dphone-num a { font-size: 30px; }

  .hd nav, .site-header .nav { display: none; }
  .site-header .nav.open {
    display: flex;
    position: absolute;
    top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 8px 20px 18px;
  }
  .site-header .nav.open a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  /* 메뉴가 펼쳐져도 상담 신청은 목록이 아니라 버튼으로 남아야 합니다 */
  .site-header .nav.open a.btn-sm { margin-top: 14px; padding: 0 20px; border-bottom: none; }
  .site-header .nav-toggle {
    display: block; margin-left: auto;
    background: none; border: none;
    font-size: 22px; cursor: pointer; color: var(--ink);
  }

  .hd nav.open {
    display: flex;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 8px 20px 18px;
  }
  .hd nav.open a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .hd .nav-toggle {
    display: block;
    margin-left: auto;
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: var(--ink);
  }

  .cta-bar .cta-note, .cta-bar .btn-line { display: none; }
  .cta-bar .btns { flex: 1; }
  .cta-bar .btn { min-width: 0; }
}
