/* ───── 폰트 정의 ───── */
/* 본문은 읽기 위한 글꼴(Pretendard 고딕), Jua 는 큰 브랜드 문구에만 쓴다 */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css');
@import url('https://fonts.googleapis.com/css2?family=Jua&display=swap');
@font-face {
  font-family: 'S-CoreDream';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-3Light.woff') format('woff');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'S-CoreDream';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-4Regular.woff') format('woff');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'S-CoreDream';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-5Medium.woff') format('woff');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'S-CoreDream';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-6Bold.woff') format('woff');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'S-CoreDream';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-8Heavy.woff') format('woff');
  font-weight: 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Cafe24Surround';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2105_2@1.0/Cafe24Ssurround.woff') format('woff');
  font-weight: normal; font-display: swap;
}

:root {
  --green: #2D9B6F;
  --green-dark: #1A7A4A;
  --green-light: #E8F5EE;
  --black: #111111;
  --gray-900: #1A1A1A;
  --gray-700: #3D3D3D;
  --gray-500: #6B6B6B;
  --gray-300: #C4C4C4;
  --gray-100: #F5F5F5;
  --white: #FFFFFF;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 4px 16px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.10);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.14);
  --transition: 0.2s cubic-bezier(.4,0,.2,1);
  /* 정보를 읽는 글자는 전부 이것 — Jua 는 획이 둥글고 굵어 본문에서 잘 안 읽혔다 */
  --font-body: 'Pretendard Variable', Pretendard, 'Noto Sans KR',
    -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', system-ui, sans-serif;
  /* 히어로·브랜드 문구처럼 '읽는 글'이 아닌 자리에만 */
  --font-display: 'Jua', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --font-accent: 'Cafe24Surround', 'S-CoreDream', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.65;
  letter-spacing: -0.01em;
  word-break: keep-all;      /* 한글이 낱말 가운데서 끊기지 않게 */
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul, ol { list-style: none; }

/* ───── 공통 레이아웃 ───── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }

/* ───── 버튼 ───── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font-body);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(45,155,111,0.25);
}
.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(45,155,111,0.35);
}
.btn-dark { background: var(--black); color: var(--white); box-shadow: 0 4px 14px rgba(0,0,0,0.15); }
.btn-dark:hover { background: var(--gray-900); transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,0.22); }
.btn-outline {
  background: transparent;
  color: var(--gray-900);
  border: 1.5px solid var(--gray-300);
  box-shadow: none;
}
.btn-outline:hover { border-color: var(--green); color: var(--green); background: var(--green-light); }
.btn-sm { padding: 8px 16px; font-size: 13px; border-radius: 8px; }
.btn-lg { padding: 16px 32px; font-size: 16px; border-radius: 12px; }

/* ───── 네비게이션 ───── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  height: 64px;
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: 100%;
  padding: 0 40px;
  box-sizing: border-box;
}
.navbar-logo { display: flex; align-items: center; gap: 8px; }
.navbar-logo img { height: 36px; object-fit: contain; }
.navbar-logo-text { font-size: 18px; font-weight: 800; color: var(--black); letter-spacing: -0.5px; }
.navbar-logo-text span { color: var(--green); }
.navbar-menu { display: flex; align-items: center; gap: 2rem; }
.navbar-menu a {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  transition: color var(--transition);
  position: relative;
  white-space: nowrap;
}
.navbar-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green);
  transition: width var(--transition);
}
.navbar-menu a:hover { color: var(--green); }
.navbar-menu a:hover::after, .navbar-menu a.active::after { width: 100%; }
.navbar-menu a.active { color: var(--green); font-weight: 600; }
.navbar-right { display: flex; align-items: center; gap: 10px; }
.navbar-right .btn { padding: 8px 18px; font-size: 13px; }

/* ───── 히어로 ───── */
.hero {
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, #f0faf5 0%, #ffffff 50%, #f8fff8 100%);
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(45,155,111,0.08) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(45,155,111,0.05) 0%, transparent 70%);
  bottom: -50px;
  left: -50px;
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  max-width: 1160px;
  margin: 0 auto;
  padding: 4rem 2rem;
  width: 100%;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(39px, 5vw, 59px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.5px;
  color: var(--black);
  margin-bottom: 1.25rem;
}
.hero-title em { color: var(--green); font-style: normal; font-family: var(--font-accent); }
.hero-desc {
  font-size: 17px;
  color: var(--gray-500);
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 440px;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0,0,0,0.07);
}
.stat { }
.stat-num { font-size: 28px; font-weight: 800; color: var(--black); letter-spacing: -1px; }
.stat-num span { color: var(--green); }
.stat-label { font-size: 12px; color: var(--gray-500); margin-top: 2px; }

/* 히어로 우측 — 떠있는 카드들 */
.hero-visual {
  position: relative;
  height: 520px;
}
.floating-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transition: transform 0.3s ease;
}
.floating-card:hover { transform: translateY(-6px) !important; }
.fc-main {
  width: 240px;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  animation: float1 4s ease-in-out infinite;
}
.fc-left {
  width: 170px;
  top: 160px;
  left: 0;
  animation: float2 4.5s ease-in-out infinite;
  transform: rotate(-3deg);
}
.fc-right {
  width: 160px;
  top: 200px;
  right: 0;
  animation: float3 3.8s ease-in-out infinite;
  transform: rotate(3deg);
}
.fc-bottom {
  width: 200px;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  animation: float4 4.2s ease-in-out infinite;
}
@keyframes float1 { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(-12px)} }
@keyframes float2 { 0%,100%{transform:rotate(-3deg) translateY(0)} 50%{transform:rotate(-3deg) translateY(-10px)} }
@keyframes float3 { 0%,100%{transform:rotate(3deg) translateY(0)} 50%{transform:rotate(3deg) translateY(-8px)} }
@keyframes float4 { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(-10px)} }

.fc-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}
.fc-body { padding: 10px 12px; }
.fc-cat { font-size: 12px; font-weight: 600; color: var(--green); margin-bottom: 3px; }
.fc-title { font-size: 13px; font-weight: 700; color: var(--black); line-height: 1.5; margin-bottom: 4px; }
.fc-price { font-size: 13px; font-weight: 800; color: var(--black); }

/* ───── 섹션 헤더 ───── */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2rem;
}
.section-eyebrow { font-size: 12px; font-weight: 600; color: var(--green); letter-spacing: 0; margin-bottom: 8px; }
.section-title { font-size: 28px; font-weight: 800; letter-spacing: -0.5px; color: var(--black); }
.section-subtitle { font-size: 15px; color: var(--gray-500); margin-top: 6px; }
.see-all { font-size: 13px; color: var(--green); font-weight: 600; display: flex; align-items: center; gap: 4px; transition: gap var(--transition); }
.see-all:hover { gap: 8px; }

/* ───── 브랜드 소개 ───── */
.brand-section {
  background: var(--gray-100);
  padding: 6rem 0;
}
.brand-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -1px;
  color: var(--black);
  max-width: 700px;
}
.brand-title em { color: var(--green); font-style: normal; font-family: var(--font-accent); }
.brand-desc {
  font-size: 17px;
  color: var(--gray-500);
  line-height: 1.8;
  max-width: 600px;
  margin-top: 1.5rem;
}
.brand-desc strong { color: var(--black); font-weight: 700; }

/* ───── 프로모션 배너 ───── */
.promo-section { padding: 3rem 0; }
.promo-banner {
  background: linear-gradient(135deg, #0f2d1e 0%, #1a4a30 100%);
  border-radius: var(--radius-xl);
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.promo-banner::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(45,155,111,0.3) 0%, transparent 70%);
  top: -80px;
  right: 200px;
  pointer-events: none;
}
.promo-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(45,155,111,0.25);
  border: 1px solid rgba(45,155,111,0.4);
  color: #6DDBAA;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.promo-title { font-size: 28px; font-weight: 800; color: var(--white); margin-bottom: 8px; letter-spacing: -0.5px; }
.promo-title span { color: #6DDBAA; }
.promo-desc { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.6; max-width: 380px; }
.promo-right { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.countdown { text-align: center; }
.countdown-label { font-size: 11px; color: rgba(255,255,255,0.5); margin-bottom: 8px; letter-spacing: 1px; }
.countdown-timer { display: flex; gap: 8px; align-items: center; }
.countdown-block { background: rgba(255,255,255,0.1); border-radius: var(--radius-sm); padding: 8px 12px; text-align: center; min-width: 52px; }
.countdown-num { font-size: 22px; font-weight: 800; color: var(--white); line-height: 1; }
.countdown-unit { font-size: 10px; color: rgba(255,255,255,0.5); margin-top: 3px; }
.countdown-sep { font-size: 20px; font-weight: 700; color: rgba(255,255,255,0.4); }
.promo-btn {
  background: var(--green);
  color: var(--white);
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  transition: all var(--transition);
}
.promo-btn:hover { background: #25855f; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(45,155,111,0.4); }

/* ───── 강좌 카드 ───── */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.course-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition);
}
.course-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.course-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  position: relative;
}
.course-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0,0,0,0.65);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  color: var(--white);
  font-size: 10px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
}
.enrolled-badge { background: rgba(22,163,74,0.85); }
.course-body { padding: 14px 16px; }
.course-cat { font-size: 12px; font-weight: 700; color: var(--green); margin-bottom: 6px; letter-spacing: 0; }
.course-title { font-size: 15px; font-weight: 600; color: var(--black); line-height: 1.55; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; word-break: keep-all; letter-spacing: -0.02em; }
.course-instructor { font-size: 12px; font-weight: 400; color: #666; margin-bottom: 10px; }
.course-footer { display: flex; justify-content: space-between; align-items: center; }
.course-students { font-size: 12px; color: var(--gray-500); font-weight: 400; }
.course-price { font-size: 16px; font-weight: 800; color: var(--black); }
.course-price-original { font-size: 12px; color: var(--gray-300); text-decoration: line-through; margin-right: 4px; }
.course-price-discount { color: var(--green); }

/* ───── 카테고리 탭 ───── */
.cat-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 2rem; }
.cat-tab {
  padding: 8px 18px;
  border-radius: 20px;
  border: 1.5px solid var(--gray-300);
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-700);
  background: var(--white);
  transition: all var(--transition);
}
.cat-tab:hover { border-color: var(--green); color: var(--green); }
.cat-tab.active { background: var(--green); border-color: var(--green); color: var(--white); font-weight: 600; }

/* ───── 프리패스 ───── */
.freepass-section { background: var(--black); padding: 6rem 0; }
.freepass-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.freepass-eyebrow { font-size: 12px; font-weight: 600; color: var(--green); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 12px; }
.freepass-title { font-family: var(--font-display); font-size: clamp(28px, 3.5vw, 44px); font-weight: 800; color: var(--white); line-height: 1.2; letter-spacing: -1px; margin-bottom: 1rem; }
.freepass-title span { color: var(--green); font-family: var(--font-accent); }
.freepass-desc { font-size: 16px; color: rgba(255,255,255,0.55); line-height: 1.75; margin-bottom: 2rem; }
.freepass-features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 2.5rem; }
.freepass-feature { display: flex; align-items: center; gap: 10px; font-size: 14px; color: rgba(255,255,255,0.8); }
.freepass-feature::before { content: '✓'; display: flex; align-items: center; justify-content: center; width: 20px; height: 20px; background: var(--green); border-radius: 50%; font-size: 11px; color: var(--white); flex-shrink: 0; }
.freepass-card {
  background: linear-gradient(135deg, #1a3d2a, #0f2d1e);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  border: 1px solid rgba(45,155,111,0.3);
  position: relative;
  overflow: hidden;
}
.freepass-card::before {
  content: '∞';
  position: absolute;
  right: -10px;
  top: -20px;
  font-size: 120px;
  color: rgba(45,155,111,0.1);
  font-weight: 800;
  line-height: 1;
}
.freepass-price-label { font-size: 13px; color: rgba(255,255,255,0.5); margin-bottom: 8px; }
.freepass-price { font-size: 48px; font-weight: 900; color: var(--white); letter-spacing: -2px; }
.freepass-price sub { font-size: 16px; font-weight: 500; color: rgba(255,255,255,0.5); }
.freepass-included { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.1); }
.freepass-included-title { font-size: 12px; color: rgba(255,255,255,0.4); margin-bottom: 10px; letter-spacing: 0; }
.freepass-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.freepass-tag { background: rgba(45,155,111,0.2); color: #6DDBAA; font-size: 11px; padding: 4px 10px; border-radius: 20px; }

/* ───── 강사 소개 ───── */
.instructors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}
.instructor-card {
  text-align: center;
  padding: 1.5rem 1rem;
  border-radius: var(--radius-md);
  transition: all var(--transition);
}
.instructor-card:hover { background: var(--gray-100); transform: translateY(-4px); }
.instructor-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto 1rem;
  border: 3px solid var(--white);
  box-shadow: var(--shadow-sm);
}
.instructor-name { font-size: 16px; font-weight: 700; color: var(--black); margin-bottom: 4px; }
.instructor-role { font-size: 12px; color: var(--green); font-weight: 600; margin-bottom: 6px; }
.instructor-desc { font-size: 12px; color: var(--gray-500); line-height: 1.6; }

/* ───── 후기 ───── */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.review-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: all var(--transition);
}
.review-card:hover { box-shadow: var(--shadow-md); border-color: transparent; }
.review-stars { color: #F59E0B; font-size: 14px; margin-bottom: 10px; }
.review-text { font-size: 14px; color: var(--gray-700); line-height: 1.7; margin-bottom: 14px; }
.review-author { display: flex; align-items: center; gap: 10px; }
.review-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--green-light); display: flex; align-items: center; justify-content: center; font-size: 16px; }
.review-name { font-size: 13px; font-weight: 600; color: var(--black); }
.review-course { font-size: 12px; color: var(--gray-500); }

/* ───── 공지사항 ───── */
.notice-list { display: flex; flex-direction: column; gap: 0; }
.notice-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  gap: 1rem;
  transition: all var(--transition);
}
.notice-item:hover { padding-left: 8px; }
.notice-item:last-child { border-bottom: none; }
.notice-badge { font-size: 10px; font-weight: 700; background: var(--green-light); color: var(--green-dark); padding: 3px 8px; border-radius: 4px; flex-shrink: 0; }
.notice-title { font-size: 14px; font-weight: 500; color: var(--black); flex: 1; }
.notice-date { font-size: 12px; color: var(--gray-300); flex-shrink: 0; }

/* ───── 푸터 ───── */
.footer { background: var(--gray-900); padding: 4rem 0 2rem; }
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand-name { font-size: 18px; font-weight: 800; color: var(--white); margin-bottom: 10px; }
.footer-brand-name span { color: var(--green); }
.footer-slogan { font-size: 12px; color: rgba(255,255,255,0.4); line-height: 1.8; margin-bottom: 1rem; }
.footer-info { font-size: 11px; color: rgba(255,255,255,0.3); line-height: 2; }
.footer-col-title { font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.4); letter-spacing: 0; margin-bottom: 1rem; }
.footer-col a { display: block; font-size: 13px; color: rgba(255,255,255,0.5); margin-bottom: 8px; transition: color var(--transition); }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  font-size: 12px;
  color: rgba(255,255,255,0.25);
  flex-wrap: wrap;
  gap: 8px;
}

/* ───── 스크롤 애니메이션 ───── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ───── 반응형 ───── */
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .freepass-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .navbar-menu { display: none; }
  .courses-grid { grid-template-columns: repeat(2, 1fr); }

  /* ── 모바일 읽기 ───────────────────────────────────────────
     좁은 화면에서는 글자 크기가 12~15px 사이에 다 몰려 있어서
     제목인지 설명인지 구분이 안 되고, 훑어볼 단서가 없었다.
     단계를 벌리고(제목 25 / 본문 15 / 보조 12.5) 줄 간격을 늘린다.
     한글은 라틴 문자보다 줄 간격이 넉넉해야 읽힌다. */
  body { font-size: 15px; line-height: 1.75; }

  .section    { padding: 3.25rem 0; }
  .section-sm { padding: 2.25rem 0; }
  .section-header { margin-bottom: 1.5rem; }
  .section-eyebrow  { font-size: 11.5px; letter-spacing: .04em; margin-bottom: 6px; }
  .section-title    { font-size: 25px; line-height: 1.34; letter-spacing: -0.045em; }
  .section-subtitle { font-size: 14px; line-height: 1.75; margin-top: 8px; }

  /* 강좌 카드 — 제목이 13~15px 이라 가격·라벨과 구분이 안 됐다 */
  .course-body       { padding: 14px 15px 16px; }
  .course-cat        { font-size: 11.5px; margin-bottom: 5px; }
  .course-title      { font-size: 15.5px; font-weight: 700; line-height: 1.5; margin-bottom: 8px; }
  .course-instructor { font-size: 12.5px; margin-bottom: 8px; }
  .course-students   { font-size: 12px; }
  .course-price      { font-size: 16.5px; }

  .stat-num   { font-size: 25px; letter-spacing: -0.04em; }
  .stat-label { font-size: 11.5px; margin-top: 3px; }

  /* 손가락으로 누르는 것들은 최소 44px 을 준다 */
  .btn     { padding: 12px 20px; font-size: 14.5px; }
  .btn-sm  { padding: 10px 16px; font-size: 13px; }
  .btn-lg  { padding: 15px 26px; font-size: 15.5px; }
  .cat-tab { padding: 10px 16px; font-size: 13px; }
}
@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .courses-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }

  /* 한 줄에 카드 하나가 되면 폭이 넓어지므로 제목을 한 단계 더 키운다 */
  .course-title { font-size: 16px; -webkit-line-clamp: 3; }
  .section-title { font-size: 23.5px; }
}

/* ── 후기 별점 ────────────────────────────────────────────────────────
   글자(★)로 찍으면 기기·브라우저마다 모양이 제각각이고 이모지(⭐)는
   플랫폼 그림이 그대로 나온다. 그래서 별을 도형으로 직접 그린다.
   모서리를 둥글린 통통한 별이고, 색은 받은 시안의 #FFCB11 이다.

   .im-stars  는 다섯 개를 한 덩어리로 그리고 --im-star-fill 만큼만
   노랗게 채운다. 4.5점 같은 소수점도 그대로 표현된다.
   .im-star   는 한 개짜리. 별점을 고르는 UI 처럼 낱개로 눌러야 할 때 쓴다.
   ------------------------------------------------------------------ */
.im-stars, .im-star {
  --im-star-size: 1em;
  --im-star-gap: .14em;
  --im-star-on: #FFCB11;
  --im-star-off: #E3E6EA;
  /* 별 하나. 획을 굵게 두르고 이음새를 둥글려 통통한 모양을 만든다. */
  --im-star-one: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 12 61.2 36.6 88 39.6 68.1 57.9 73.5 84.4 50 71 26.5 84.4 31.9 57.9 12 39.6 38.8 36.6Z' fill='%23000' stroke='%23000' stroke-width='11' stroke-linejoin='round' stroke-linecap='round'/%3E%3C/svg%3E");
  /* 같은 별에 오른쪽 여백을 붙인 것. 이걸 가로로 반복해 다섯 개를 만든다. */
  --im-star-tile: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 114 100'%3E%3Cpath d='M50 12 61.2 36.6 88 39.6 68.1 57.9 73.5 84.4 50 71 26.5 84.4 31.9 57.9 12 39.6 38.8 36.6Z' fill='%23000' stroke='%23000' stroke-width='11' stroke-linejoin='round' stroke-linecap='round'/%3E%3C/svg%3E");
}

.im-stars {
  --im-star-n: 5;
  --im-star-fill: 100%;
  display: inline-block;
  position: relative;
  vertical-align: -.15em;
  width: calc(var(--im-star-n) * (var(--im-star-size) + var(--im-star-gap)));
  height: var(--im-star-size);
  background: var(--im-star-off);
  -webkit-mask-image: var(--im-star-tile);
          mask-image: var(--im-star-tile);
  -webkit-mask-size: calc(var(--im-star-size) + var(--im-star-gap)) 100%;
          mask-size: calc(var(--im-star-size) + var(--im-star-gap)) 100%;
  -webkit-mask-repeat: repeat-x;
          mask-repeat: repeat-x;
}
/* 채워진 만큼만 노랗게. 부모의 마스크가 이 덧칠에도 그대로 걸린다. */
.im-stars::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: var(--im-star-fill);
  background: var(--im-star-on);
}

.im-star {
  display: inline-block;
  width: var(--im-star-size);
  height: var(--im-star-size);
  background: var(--im-star-off);
  -webkit-mask: var(--im-star-one) center / contain no-repeat;
          mask: var(--im-star-one) center / contain no-repeat;
}
.im-star.on { background: var(--im-star-on); }


/* ── 공지 본문 강조 ──
   [소제목] · **굵게** · !!형광펜!! 세 가지만 알아본다.
   관리자가 외울 것이 적어야 실제로 쓰인다. */
.nc-h { display:inline-block; margin-top:4px; font-size:1.02em; font-weight:800;
        color:#1F5C43; letter-spacing:-0.01em; }
.nc-b { font-weight:800; color:#14603F; }
.nc-m { background:#FFF3C4; color:#5C4708; font-weight:700;
        padding:1px 4px; border-radius:4px; box-decoration-break:clone;
        -webkit-box-decoration-break:clone; }
