/* =========================================================
   UPGLISH — 표지의 노을 그림에서 가져온 아련한 팔레트를 씁니다.
   색을 바꾸고 싶으면 아래 :root 값만 수정하면 전체에 반영됩니다.
   ========================================================= */
:root {
  /* 표지(노을 그림)에서 뽑은 아련한 팔레트 */
  --cream: #fbf3ee;
  --paper: #fffaf7;
  --ink: #3a2c31;
  --green: #4a3346;
  --green-2: #6f9799;
  --coral: #e0755a;
  --coral-deep: #c95c43;
  --sea: #6f9799;
  --red: #e2401c;
  --red-dark: #c7340f;
  --sun: #f5b400;
  --sun-soft: #ffe7a3;
  --muted: #7d6b6d;
  --line: rgba(90, 60, 60, .12);
  --glass: rgba(255, 255, 255, .62);
  --glass-line: rgba(255, 255, 255, .85);
  --shadow: 0 1px 2px rgba(120,70,60,.05), 0 18px 40px -22px rgba(120,70,60,.28);
  --shadow-lg: 0 30px 60px -28px rgba(120,70,60,.42);
  --radius: 24px;
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --display: "Bebas Neue", "Oswald", sans-serif;
  --ko-serif: "Noto Serif KR", "Nanum Myeongjo", serif;
  --serif: var(--display);
  --header-h: 72px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: var(--font); font-size: 17px; line-height: 1.7; letter-spacing: -0.01em;
  word-break: keep-all; overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
button, input, textarea { font: inherit; color: inherit; }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.container.narrow { width: min(860px, 100% - 40px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: 16px; line-height: 1.2; cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 10px 18px; font-size: 15px; }
.btn-lg { padding: 17px 30px; font-size: 17px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 10px 24px -10px rgba(226,64,28,.7); }
.btn-primary:hover { background: var(--red-dark); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.55); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,.22); }
.btn-dark { background: var(--ink); color: #fff3ec; }
.btn-dark:hover { background: var(--coral-deep); }
.btn:focus-visible, a:focus-visible, input:focus-visible + span, textarea:focus-visible, input:focus-visible {
  outline: 3px solid var(--sun); outline-offset: 2px;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  transition: background-color .3s ease, box-shadow .3s ease;
}
.site-header.scrolled { background: rgba(251,243,238,.86); backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; font-size: 22px; letter-spacing: .02em; color: #fff; transition: color .3s; }
.brand img { width: 40px; height: 40px; }
.site-header.scrolled .brand { color: var(--ink); }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a:not(.btn) { padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: 15.5px; color: rgba(255,255,255,.92); transition: background-color .2s, color .2s; }
.nav a:not(.btn):hover { background: rgba(255,255,255,.16); }
.site-header.scrolled .nav a:not(.btn) { color: var(--ink); }
.site-header.scrolled .nav a:not(.btn):hover { background: rgba(18,48,43,.07); }
.nav-cta { margin-left: 8px; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 10px; border-radius: 12px; }
.menu-toggle span { display: block; height: 2px; margin: 5px 0; background: #fff; border-radius: 2px; transition: transform .3s, opacity .3s, background-color .3s; }
.site-header.scrolled .menu-toggle span, .site-header.open .menu-toggle span { background: var(--ink); }
.site-header.open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.open .menu-toggle span:nth-child(2) { opacity: 0; }
.site-header.open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 서브 페이지(수강규정 등)는 처음부터 밝은 헤더 */
.page .site-header { background: rgba(251,243,238,.92); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.page .brand, .page .nav a:not(.btn) { color: var(--ink); }
.page .menu-toggle span { background: var(--ink); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; text-align: center; color: #fff; overflow: hidden; isolation: isolate; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 70% 45% at 50% 42%, rgba(70,40,30,.18), transparent 70%),
    linear-gradient(180deg, rgba(40,30,35,.32) 0%, rgba(40,30,35,0) 22%, rgba(40,30,35,0) 50%, rgba(18,30,30,.78) 100%),
    url("../assets/img/hero.jpg") center 35% / cover no-repeat;
  transform: scale(1.06); animation: heroZoom 14s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero-inner { padding: calc(var(--header-h) + 40px) 0 56px; display: flex; flex-direction: column; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--display); font-weight: 400; font-size: clamp(18px, 1.8vw, 22px); letter-spacing: .24em; text-transform: uppercase;
  color: var(--coral); margin-bottom: 12px;
}
.eyebrow::before, .section-head.center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow-light { color: #ffd9b8; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; margin-bottom: 22px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(8px); font-size: 15px; font-weight: 600; color: #fff; }
.hero-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 4px rgba(245,180,0,.3); }
/* 아련한 무드: 얇은 외곽선의 콘덴스드 영문 + 손글씨 느낌 한글, 은은한 글로우 */
.hero-title { display: grid; justify-items: center; gap: .1em; margin: 0; }
.hero-en {
  font-family: "Bebas Neue", "Oswald", sans-serif; font-weight: 400; text-transform: uppercase;
  font-size: clamp(52px, 7.4vw, 112px); line-height: .95; letter-spacing: .035em; white-space: nowrap;
  color: #fff3dc; -webkit-text-stroke: 1.2px rgba(58,38,30,.85); paint-order: stroke fill;
  text-shadow: 0 0 28px rgba(255,236,205,.55), 0 4px 30px rgba(90,50,30,.25);
  animation: dreamIn 2.2s cubic-bezier(.2,.6,.2,1) .2s both;
}
.hero-en b { font-weight: 400; color: #fffdf8; }
.hero-ko {
  font-family: var(--ko-serif); font-weight: 300;
  font-size: clamp(22px, 2.7vw, 38px); line-height: 1.4; letter-spacing: .14em; color: #fff; margin-top: .45em;
  text-shadow: 0 0 16px rgba(255,240,220,.75), 0 2px 14px rgba(90,50,30,.45);
  animation: dreamIn 2.2s cubic-bezier(.2,.6,.2,1) .9s both;
}
@keyframes dreamIn { from { opacity: 0; filter: blur(12px); transform: translateY(14px); } }
.br-mobile { display: none; }
.hero-sub { margin-top: 26px; text-shadow: 0 1px 12px rgba(40,25,20,.45); font-size: clamp(17px, 2vw, 21px); line-height: 1.65; color: rgba(255,255,255,.9); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }
.hero-stats { list-style: none; padding: 0; margin: 52px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 44px; align-self: stretch; border-top: 1px solid rgba(255,255,255,.25); padding-top: 26px; }
.hero-stats li { display: flex; align-items: baseline; gap: 10px; }
.hero-stats strong { font-family: "Bebas Neue", sans-serif; font-size: 42px; font-weight: 400; line-height: 1; color: #fff3dc; letter-spacing: .03em; }
.hero-stats span { font-size: 15px; color: rgba(255,255,255,.78); }

/* ---------- Section basics (표지 아래: 노을빛 아련한 무드) ---------- */
.section { padding: clamp(88px, 11vw, 150px) 0; position: relative; }
.section-head { margin-bottom: clamp(44px, 6vw, 72px); }
.section-head.center { text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.split { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; flex-wrap: wrap; }
.section-head.split .section-lead { max-width: 30em; }
.section-title { font-size: clamp(28px, 4vw, 46px); line-height: 1.35; font-weight: 600; letter-spacing: -0.03em; color: var(--ink); }
.section-lead { margin-top: 18px; font-size: clamp(16.5px, 1.8vw, 19px); color: var(--muted); }
.section-head.split .section-lead { margin-top: 0; }
/* 강조 단어는 표지 부제와 같은 명조체 + 노을 코랄 */
mark {
  background: none; color: var(--coral); padding: 0 .04em;
  font-family: var(--ko-serif); font-weight: 500; font-size: 1em; letter-spacing: -0.01em;
}

/* 글래스 카드 공통 */
.problem-card, .trio-card, .content-card, .review, .step, .notice-list {
  background: var(--glass); border: 1px solid var(--glass-line);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}

/* ---------- Problem ---------- */
.problem { background: linear-gradient(180deg, #f3e2dc 0%, var(--cream) 70%); overflow: hidden; }
.problem::before {
  content: ""; position: absolute; width: 720px; height: 720px; right: -220px; top: -260px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(244,170,130,.35), transparent); pointer-events: none;
}
.problem .section-lead strong { color: var(--ink); font-weight: 600; }
.problem .section-lead .num { font-family: var(--display); font-weight: 400; color: var(--coral); font-size: 1.7em; letter-spacing: .02em; line-height: 1; }
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; position: relative; }
.problem-card { position: relative; padding: 38px 32px 36px; border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .4s ease, box-shadow .4s ease; }
.problem-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.problem-no {
  font-family: var(--display); font-size: 64px; line-height: .9; display: block; margin-bottom: 18px;
  color: transparent; -webkit-text-stroke: 1.2px var(--coral); letter-spacing: .02em;
}
.problem-card h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.03em; margin-bottom: 12px; }
.problem-card p { color: var(--muted); font-size: 15.5px; }

/* ---------- Answer (노을 그림 띠) ---------- */
.answer, .process, .band { position: relative; overflow: hidden; isolation: isolate; color: #fff; }
.answer::before, .process::before, .band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
}
.answer { padding: clamp(96px, 13vw, 170px) 0; }
.answer::before { background: linear-gradient(180deg, rgba(58,40,50,.25), rgba(58,40,50,.45)), url("../assets/img/hero.jpg") center 30% / cover no-repeat; background-attachment: scroll; }
.answer-inner { text-align: center; display: grid; justify-items: center; gap: 14px; }
.answer-en, .band-en, .process-en {
  font-family: var(--display); font-size: clamp(40px, 6vw, 86px); line-height: .95; letter-spacing: .05em;
  color: #fff3dc; -webkit-text-stroke: 1px rgba(58,38,30,.7); paint-order: stroke fill;
  text-shadow: 0 0 28px rgba(255,236,205,.5);
}
.answer-text { font-size: clamp(18px, 2.2vw, 24px); font-weight: 500; letter-spacing: -0.02em; text-shadow: 0 1px 14px rgba(40,25,20,.5); margin-top: 8px; }
.answer-text strong { font-weight: 700; }
.answer-ko, .band-ko {
  font-family: var(--ko-serif); font-weight: 300; font-size: clamp(20px, 2.4vw, 32px); line-height: 1.5; letter-spacing: .1em; color: #fff;
  text-shadow: 0 0 16px rgba(255,240,220,.7), 0 2px 14px rgba(90,50,30,.45);
}

/* ---------- System ---------- */
.system { background: radial-gradient(ellipse 60% 50% at 15% 20%, rgba(233,214,232,.7), transparent 70%), radial-gradient(ellipse 50% 50% at 90% 85%, rgba(248,214,190,.6), transparent 70%), var(--cream); }
.trio { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 36px; }
.trio-card { border-radius: var(--radius); padding: 34px 32px; box-shadow: var(--shadow); }
.trio-card h3 { font-size: 23px; font-weight: 700; margin: 4px 0 10px; letter-spacing: -0.03em; }
.trio-card p { color: var(--muted); }
.trio-card p strong { color: var(--coral-deep); font-weight: 700; }
.trio-tag { font-family: var(--display); font-size: 20px; letter-spacing: .14em; color: var(--sea); }
.trio-center { display: grid; place-items: center; }
.trio-ring {
  width: 210px; height: 210px; border-radius: 50%; display: grid; place-content: center; justify-items: center; gap: 0;
  background: radial-gradient(circle at 50% 38%, #fff1d6 0%, #f8c99c 38%, #ec9d84 66%, #b98aa8 100%);
  box-shadow: 0 0 0 10px rgba(255,255,255,.45), 0 0 60px 10px rgba(244,170,130,.45);
  position: relative; color: #fff; animation: orb 6s ease-in-out infinite;
}
@keyframes orb { 50% { box-shadow: 0 0 0 14px rgba(255,255,255,.35), 0 0 80px 18px rgba(244,170,130,.55); } }
.trio-ring::before, .trio-ring::after { content: ""; position: absolute; top: 50%; width: 30px; height: 1.5px; background: linear-gradient(90deg, transparent, var(--coral)); }
.trio-ring::before { left: -42px; transform: rotate(180deg); }
.trio-ring::after { right: -42px; }
.trio-ring img { display: none; }
.trio-ring .trio-tag { color: rgba(110,52,38,.75); font-size: 22px; }
.trio-ring strong { font-family: var(--ko-serif); font-weight: 500; font-size: 28px; letter-spacing: .08em; line-height: 1.1; color: #fff; text-shadow: 0 1px 2px rgba(120,50,35,.5), 0 2px 14px rgba(150,70,50,.5); }

.mentoring { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 80px); align-items: center; margin-top: clamp(90px, 11vw, 140px); }
.sub-title { font-size: clamp(23px, 3vw, 32px); line-height: 1.4; font-weight: 600; letter-spacing: -0.03em; margin-bottom: 22px; }
.mentoring-copy p:not(.eyebrow) { color: var(--muted); margin-top: 14px; }
.mentoring-copy mark { font-family: inherit; font-size: 1em; font-weight: 600; color: var(--ink); text-shadow: none; background: linear-gradient(transparent 60%, rgba(244,177,131,.45) 60%); }
.mentoring-copy strong { color: var(--ink); font-weight: 700; }

/* 주간 학습 계획표 카드 (노을 그라데이션 프레임) */
.plan {
  background: #fffdfb; border-radius: 22px; padding: 22px; position: relative;
  box-shadow: var(--shadow-lg);
  background-image: linear-gradient(#fffdfb, #fffdfb), linear-gradient(135deg, #f4b183, #e0755a 40%, #b98aa8 75%, #7aa3a4);
  background-origin: border-box; background-clip: padding-box, border-box; border: 8px solid transparent;
  transform: rotate(-1.5deg);
}
.plan-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.plan-name { font-family: var(--display); color: var(--coral); font-size: 18px; letter-spacing: .12em; line-height: 1; }
.plan-title { font-family: var(--display); font-size: 30px; line-height: 1; letter-spacing: .06em; color: var(--ink); }
.plan-info { margin: 0 0 0 auto; font-size: 12px; border: 1px solid var(--line); background: var(--cream); padding: 6px 10px; border-radius: 10px; }
.plan-info div { display: flex; gap: 8px; }
.plan-info dt { font-weight: 700; }
.plan-info dd { margin: 0; color: var(--muted); }
.plan-grid { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); font-size: 12.5px; text-align: center; color: #5a4a4c; }
.plan-grid span { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 10px 4px; min-height: 44px; display: grid; place-items: center; line-height: 1.3; }
.plan-grid .d { font-family: var(--display); font-size: 16px; letter-spacing: .08em; min-height: 0; padding: 8px 4px 6px; color: var(--ink); }
.plan-grid .sat { color: var(--sea); }
.plan-grid .live { color: var(--coral-deep); font-weight: 700; background: #fdeee8; }

/* ---------- Band ---------- */
.band { padding: 28px 0; }
.band::before { background: linear-gradient(180deg, rgba(48,34,48,.72), rgba(70,46,60,.62)), url("../assets/img/hero.jpg") center 55% / cover no-repeat; }
.marquee { overflow: hidden; white-space: nowrap; }
.marquee-track { display: inline-flex; animation: marquee 48s linear infinite; }
.marquee.reverse .marquee-track { animation-direction: reverse; }
.marquee span { font-family: var(--display); font-size: clamp(34px, 5.4vw, 64px); color: transparent; -webkit-text-stroke: 1px rgba(255,226,196,.35); padding-right: .3em; letter-spacing: .08em; }
@keyframes marquee { to { transform: translateX(-50%); } }
.band-inner { text-align: center; padding: clamp(36px, 5vw, 60px) 0; display: grid; justify-items: center; gap: 10px; }
.band h2 { font-weight: 400; letter-spacing: 0; }

/* ---------- Contents ---------- */
.contents { background: var(--cream); }
.content-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.content-card { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .4s ease, box-shadow .4s ease; display: flex; flex-direction: column; }
.content-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.content-img { aspect-ratio: 4 / 3; overflow: hidden; margin: 10px 10px 0; border-radius: calc(var(--radius) - 8px); }
.content-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; filter: saturate(.9) sepia(.08); }
.content-card:hover .content-img img { transform: scale(1.06); }
.content-body { padding: 22px 22px 28px; }
.content-body h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.03em; }
.content-hl { font-size: 14.5px; font-weight: 600; color: var(--coral-deep); margin: 4px 0 12px !important; }
.content-body p:last-child { font-size: 15px; color: var(--muted); line-height: 1.7; }

/* ---------- Features ---------- */
.features { background: linear-gradient(180deg, var(--cream) 0%, #f1e4ec 50%, #f8e6dc 100%); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px 32px; }
.feature { text-align: center; }
.feature-img {
  width: min(210px, 70%); aspect-ratio: 1; margin: 0 auto 24px; border-radius: 50%; overflow: hidden; position: relative;
  box-shadow: 0 0 0 8px rgba(255,255,255,.6), 0 0 0 9px rgba(224,117,90,.25), 0 24px 50px -20px rgba(150,80,70,.45);
}
.feature-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; filter: saturate(.92); }
.feature:hover .feature-img img { transform: scale(1.08); }
.feature h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.03em; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 15px; }

/* ---------- Curriculum ---------- */
.cur-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cur { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 640 / 580; isolation: isolate; box-shadow: var(--shadow); transition: box-shadow .4s, transform .4s; }
.cur img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease, filter .4s; filter: saturate(.9) sepia(.1); }
.cur::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,214,180,.12), rgba(120,70,90,.12)); pointer-events: none; }
/* 이미지 안에 과정명이 이미 들어 있으므로 텍스트는 스크린리더용으로만 */
.cur span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cur:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.cur:hover img { transform: scale(1.05); filter: none; }

/* ---------- Process ---------- */
.process::before { background: linear-gradient(180deg, rgba(52,38,52,.78) 0%, rgba(60,44,60,.66) 50%, rgba(40,48,58,.82) 100%), url("../assets/img/hero.jpg") center 60% / cover no-repeat; }
.process .section-title { color: #fff; font-weight: 500; }
.process .eyebrow { color: #ffd9b8; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { position: relative; padding: 40px 32px 38px; border-radius: var(--radius); background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); overflow: hidden; }
.step-en { position: absolute; right: 18px; top: 18px; font-family: var(--display); font-size: 20px; letter-spacing: .2em; color: rgba(255,226,196,.55); }
.step h3 { font-size: 21px; font-weight: 600; letter-spacing: -0.03em; display: flex; align-items: center; gap: 14px; margin-bottom: 14px; position: relative; }
.step h3 b {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; flex: none;
  background: radial-gradient(circle at 50% 35%, #fff1d6, #f4b183 60%, #e0755a); color: #5a2e22;
  font-family: var(--display); font-weight: 400; font-size: 22px; box-shadow: 0 0 22px rgba(244,177,131,.55);
}
.step p { color: rgba(255,244,236,.82); position: relative; }

/* ---------- Reviews ---------- */
.reviews { background: linear-gradient(180deg, #f8e6dc 0%, var(--cream) 60%); }
.review-wall { columns: 3 300px; column-gap: 22px; }
.review { break-inside: avoid; margin: 0 0 22px; padding: 30px 28px 26px; border-radius: var(--radius); position: relative; box-shadow: var(--shadow); }
.review::before { content: "“"; position: absolute; top: 2px; right: 22px; font-family: Georgia, serif; font-size: 72px; line-height: 1; color: var(--coral); opacity: .3; }
.review blockquote { margin: 0 0 20px; font-size: 15.5px; line-height: 1.8; color: #574749; }
.review figcaption { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.review small { display: block; font-weight: 400; color: var(--muted); font-size: 13px; }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; flex: none; color: #fff; background: linear-gradient(135deg, #f4b183, #e0755a); }
.review:nth-child(3n+2) .avatar { background: linear-gradient(135deg, #d8b4d0, #a0809e); }
.review:nth-child(3n) .avatar { background: linear-gradient(135deg, #a9c9c6, #6f9799); }

/* ---------- Notice ---------- */
.notice { background: var(--cream); }
.notice-list { border-radius: var(--radius); padding: 6px 28px; box-shadow: var(--shadow); }
.notice-item { border-bottom: 1px solid var(--line); }
.notice-item:last-child { border-bottom: 0; }
.notice-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px; padding: 22px 0; font-weight: 600; font-size: 17px; }
.notice-item summary::-webkit-details-marker { display: none; }
.notice-item summary::after { content: "+"; margin-left: auto; font-size: 26px; font-weight: 300; line-height: 1; color: var(--coral); transition: transform .3s; }
.notice-item[open] summary::after { transform: rotate(45deg); }
.notice-tag { flex: none; font-size: 12.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: #efe3ee; color: #7a5878; }
.notice-tag.event { background: #fde4da; color: var(--coral-deep); }
.notice-date { flex: none; font-size: 14px; color: var(--muted); font-weight: 400; }
.notice-body { padding: 0 0 26px; color: #574749; white-space: pre-line; font-size: 16px; }
.notice-empty { padding: 28px 0; color: var(--muted); }

/* ---------- Consult ---------- */
.consult { color: #fff4ec; background: linear-gradient(160deg, #3a2a38 0%, #4a3346 45%, #2f3a48 100%); }
.consult::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 50% 40% at 15% 15%, rgba(244,170,130,.28), transparent 70%), radial-gradient(ellipse 50% 50% at 90% 100%, rgba(185,138,168,.3), transparent 70%);
}
.consult-inner { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.consult-side { position: sticky; top: calc(var(--header-h) + 32px); }
.consult .section-title { color: #fff; font-weight: 500; }
.consult-ko { font-family: var(--ko-serif); font-weight: 300; font-size: clamp(19px, 2vw, 24px); letter-spacing: .06em; line-height: 1.5; color: #ffe2c8; margin-top: 10px; text-shadow: 0 0 16px rgba(255,200,160,.35); }
.consult-side > p:not(.eyebrow):not(.consult-ko) { color: rgba(255,240,232,.78); margin-top: 18px; }
.consult-points { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 12px; }
.consult-points li { position: relative; padding-left: 34px; color: rgba(255,240,232,.82); }
.consult-points li::before { content: "✓"; color: #5a2e22; background: radial-gradient(circle at 50% 35%, #fff1d6, #f4b183); width: 22px; height: 22px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 12px; font-weight: 900; position: absolute; left: 0; top: 3px; }
.consult-points b { color: #fff; font-weight: 600; }
.consult-contact { display: flex; flex-wrap: wrap; gap: 10px; }
.consult-contact a { padding: 11px 18px; border-radius: 999px; border: 1px solid rgba(255,240,232,.28); font-weight: 500; font-size: 15px; transition: background-color .2s; }
.consult-contact a:hover { background: rgba(255,240,232,.1); }

.consult-form { background: rgba(255,250,246,.96); color: var(--ink); border-radius: 28px; padding: clamp(24px, 4vw, 44px); display: grid; gap: 22px; box-shadow: 0 40px 90px -40px rgba(0,0,0,.6); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field > span, .field > legend { font-weight: 600; font-size: 15px; padding: 0; margin-bottom: 0; }
.field legend { margin-bottom: 8px; }
.field i { color: var(--coral); font-style: normal; }
.field small { color: var(--muted); font-weight: 400; }
.field input[type=text], .field input[type=tel], .field input[type=number], .field input[type=date], .field textarea, .other-input {
  width: 100%; padding: 13px 16px; border: 1px solid rgba(90,60,60,.16); border-radius: 14px; background: #fff; font-size: 16px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 56px; }
.field input:focus, .field textarea:focus, .other-input:focus { outline: none; border-color: var(--coral); box-shadow: 0 0 0 4px rgba(224,117,90,.15); }
.field .invalid, .invalid { border-color: var(--red) !important; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span { display: inline-block; padding: 9px 15px; border-radius: 999px; border: 1px solid rgba(90,60,60,.16); background: #fff; font-size: 14.5px; font-weight: 500; transition: all .15s; user-select: none; }
.chips label:hover span { border-color: rgba(224,117,90,.5); }
.chips input:checked + span { background: linear-gradient(135deg, #f0956f, #d9654d); border-color: transparent; color: #fff; box-shadow: 0 6px 16px -6px rgba(217,101,77,.6); }
.chips input:disabled + span { opacity: .4; cursor: not-allowed; }
.other-input { margin-top: 10px; }
.agree { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; cursor: pointer; }
.agree input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--coral); flex: none; }
.agree a { color: var(--coral-deep); text-decoration: underline; text-underline-offset: 3px; }
.form-msg { min-height: 0; font-size: 15px; font-weight: 600; }
.form-msg:empty { display: none; }
.form-msg.error { color: var(--coral-deep); }
.form-msg.ok { color: #3f6f6c; background: #e7f1ef; padding: 14px 16px; border-radius: 12px; }
.btn[disabled] { opacity: .6; pointer-events: none; }
/* 항목별 오류 */
.field-err { margin: 2px 0 0; font-size: 13.5px; font-weight: 600; color: var(--red-dark); }
.agree .field-err { flex-basis: 100%; margin-left: 30px; }
.agree { flex-wrap: wrap; }
.has-error > span, .has-error > legend { color: var(--red-dark); }
.has-error .chips span { border-color: rgba(199,52,15,.45); }
.agree.has-error input { outline: 2px solid var(--red-dark); outline-offset: 2px; }
.form-msg.error { background: #fdeee8; padding: 12px 16px; border-radius: 12px; }
/* 접수 완료 화면 */
.form-done { display: none; text-align: center; padding: 40px 10px; }
.consult-form.is-done > *:not(.form-done) { display: none; }
.consult-form.is-done .form-done { display: grid; justify-items: center; gap: 12px; animation: doneIn .6s cubic-bezier(.2,.7,.2,1); }
@keyframes doneIn { from { opacity: 0; transform: translateY(10px); } }
.form-done-icon { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; font-size: 34px; font-weight: 800; color: #fff; background: radial-gradient(circle at 50% 35%, #f8c99c, var(--coral)); box-shadow: 0 0 40px rgba(244,170,130,.6); }
.form-done h3 { font-size: 24px; font-weight: 700; letter-spacing: -0.03em; margin-top: 6px; }
.form-done p { color: var(--muted); }
.form-done .btn { margin-top: 10px; }

/* ---------- Footer ---------- */
.site-footer { background: #251b23; color: rgba(255,240,232,.62); padding: 64px 0 40px; font-size: 14.5px; }
.footer-inner { display: grid; grid-template-columns: 1fr 1.6fr; gap: 40px; }
.brand-light { color: #fff3e8; }
.footer-brand p { margin: 14px 0 18px; font-family: var(--ko-serif); font-weight: 300; font-size: 16px; letter-spacing: .06em; color: #ffd9bd; }
.footer-sns { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-sns a { padding: 8px 14px; border: 1px solid rgba(255,240,232,.2); border-radius: 999px; font-size: 13.5px; }
.footer-sns a:hover { background: rgba(255,240,232,.08); }
.footer-info p { margin-bottom: 4px; }
.footer-info b { color: #fff3e8; font-size: 16px; font-weight: 600; }
.footer-info i { font-style: normal; opacity: .35; margin: 0 6px; }
.footer-info a:hover { color: #fff3e8; }
.footer-links { margin-top: 16px !important; display: flex; gap: 18px; }
.footer-links a { color: #fff3e8; font-weight: 500; }
.copy { margin-top: 18px !important; font-size: 13px; opacity: .6; }

/* ---------- Kakao floating ---------- */
.kakao-float {
  position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: #fee500; color: #191600; box-shadow: 0 10px 28px -8px rgba(0,0,0,.4); transition: transform .2s;
}
.kakao-float:hover { transform: scale(1.08) rotate(-6deg); }

/* ---------- Sub pages (수강규정 / 개인정보) ---------- */
.page-hero { padding: calc(var(--header-h) + 64px) 0 40px; }
.page-hero h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.2; }
.page-hero p { color: var(--muted); margin-top: 12px; }
.doc { padding-bottom: 120px; }
.doc-toc { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.doc-toc a { padding: 8px 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.doc-toc a:hover { border-color: var(--coral); color: var(--coral-deep); }
.doc-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); margin-bottom: 18px; }
.doc-card h2 { font-size: 22px; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.doc-card h2::before { content: ""; width: 8px; height: 22px; border-radius: 4px; background: linear-gradient(180deg, #f4b183, var(--coral)); }
.doc-card h3 { font-size: 17px; font-weight: 800; margin: 18px 0 6px; }
.doc-card ul { margin: 0; padding-left: 1.2em; }
.doc-card li { margin: 4px 0; color: #33433f; }
.doc-card p { color: #33433f; margin: 6px 0; }
.doc-card .ex { background: var(--cream); border-radius: 10px; padding: 10px 14px; font-size: 15px; color: var(--muted); margin-top: 8px; }
.doc-text { white-space: pre-line; color: #33433f; font-size: 15.5px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-bg, .hero-en, .hero-ko { animation: none; transform: none; }
  .marquee-track, .trio-ring { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .content-grid { grid-template-columns: repeat(2, 1fr); }
  .trio { grid-template-columns: 1fr; }
  .trio-center { order: -1; }
  .trio-ring { width: 180px; height: 180px; }
  .trio-ring::before, .trio-ring::after { display: none; }
  .mentoring { grid-template-columns: 1fr; }
  .plan { transform: none; }
}

@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .menu-toggle { display: block; position: relative; z-index: 2; }
  .nav {
    position: fixed; inset: 0; z-index: 1; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 4px;
    padding: calc(var(--header-h) + 20px) 24px 32px; background: var(--cream);
    opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .3s, transform .3s, visibility .3s;
  }
  .site-header.open .nav { opacity: 1; visibility: visible; transform: none; }
  .site-header.open .brand { color: var(--ink); position: relative; z-index: 2; }
  .nav a:not(.btn) { color: var(--ink) !important; font-size: 20px; padding: 14px 8px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav-cta { margin: 20px 0 0; padding: 16px; font-size: 17px; }
  .problem-grid, .steps { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
  .cur-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .consult-inner { grid-template-columns: 1fr; }
  .consult-side { position: static; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .container, .container.narrow { width: calc(100% - 32px); }
  .hero-inner { padding-bottom: 48px; }
  .br-mobile { display: inline; }
  .hero-actions { align-self: stretch; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-stats { gap: 10px 24px; margin-top: 36px; }
  .hero-stats li { flex-direction: column; align-items: center; gap: 0; }
  .hero-stats strong { font-size: 32px; }
  .hero-stats span { font-size: 13px; }
  .content-grid { grid-template-columns: 1fr; }
  .content-img { aspect-ratio: 16 / 9; }
  .feature-grid { gap: 32px 14px; }
  .feature h3 { font-size: 16.5px; }
  .feature p { font-size: 14px; }
    .field-row { grid-template-columns: 1fr; }
  .plan { padding: 12px; border-width: 7px; }
  .plan-info { display: none; }
  .plan-grid { font-size: 10.5px; }
  .plan-grid span { padding: 7px 2px; min-height: 38px; }
  .notice-item summary { flex-wrap: wrap; gap: 6px 10px; font-size: 16px; }
  .notice-date { order: 3; width: 100%; }
  .kakao-float { width: 52px; height: 52px; right: 14px; }
}
