/* 크리스토퍼리더십센터 — Claude Design 시안(남색·금색·고딕) 기반 */
:root {
  /* 브로셔 2026(D안)과 같은 팔레트: 잉크 남색 · 밤 남색 · 촛불 노랑 · 종이색 */
  --navy: #1C2066; --navy-deep: #12143F; --navy-line: #3A3F7A;
  --gold: #FFC53D; --gold-light: #FFC53D; --gold-dark: #946600; --gold-soft: #FFF0C2;
  --cream: #F2F1ED; --line: #E1E0E6; --line-2: #D6D5DF;
  --ink: #1C2066; --text: #22254A; --muted: #4F5378; --muted-2: #5E6283;
  --on-dark: #C6C9E3; --on-dark-2: #A0A4C9; --white: #FFFFFF;
  --radius: 12px; --wrap: 1280px;
  --font: 'Pretendard Variable', Pretendard, -apple-system, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); line-height: 1.6; word-break: keep-all; overflow-wrap: anywhere; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--gold-dark); }
h1, h2, h3 { line-height: 1.25; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 40px; }
.narrow { max-width: 860px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--navy); padding: 8px 14px; z-index: 100; font-weight: 700; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* 버튼 */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 8px; font-weight: 700; font-size: 16px; border: 1px solid transparent; cursor: pointer; font-family: inherit; transition: background .15s, color .15s; }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 17px; }
.btn-block { width: 100%; }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-light); color: var(--navy); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: #262B80; color: var(--white); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--cream); }
.btn-outline-light { border-color: #5A5FA0; color: var(--white); background: transparent; font-weight: 500; }
.btn-outline-light:hover { background: rgba(255,255,255,.08); color: var(--white); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-row.center { justify-content: center; }
.link { font-weight: 700; }
.link-gold { color: var(--gold-light); font-weight: 700; }
.link-gold:hover { color: var(--white); }

/* 헤더 */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand img { height: 52px; width: auto; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; color: var(--navy); cursor: pointer; }
.site-nav { display: flex; align-items: center; gap: 36px; }
.site-nav > ul { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
.site-nav > ul > li { position: relative; }
.site-nav > ul > li > a { display: block; padding: 28px 14px; font-weight: 500; font-size: 16px; }
.site-nav > ul > li.is-active > a { font-weight: 700; box-shadow: inset 0 -3px 0 var(--gold); }
.sub { display: none; position: absolute; top: 100%; left: 0; min-width: 200px; background: var(--white); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 16px 40px rgba(28,32,102,.12); list-style: none; margin: 0; padding: 8px; }
.sub a { display: block; padding: 10px 14px; border-radius: 6px; font-size: 15px; }
.sub a:hover { background: var(--cream); }
.sub-grid { display: none; grid-template-columns: repeat(3, minmax(0, 1fr)); min-width: 360px; }
.has-sub:hover > .sub, .has-sub:focus-within > .sub { display: block; }
.has-sub:hover > .sub-grid, .has-sub:focus-within > .sub-grid { display: grid; }
.sub-grid li:first-child { grid-column: 1 / -1; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.nav-cta { min-height: 46px; }

/* 공통 섹션 */
.section { padding: 104px 0; }
.section.tight { padding: 56px 0 96px; }
.section.cream { background: var(--cream); }
.section.navy { background: var(--navy); color: var(--white); }
.eyebrow { font-size: 14px; letter-spacing: .22em; color: var(--gold); font-weight: 700; margin-bottom: 14px; }
.eyebrow.dark { color: var(--gold-dark); }
.h-xl { font-size: 48px; font-weight: 900; }
.h-lg { font-size: 38px; font-weight: 900; margin-bottom: 24px; }
.h-md { font-size: 28px; font-weight: 900; }
.navy .h-xl, .navy .h-lg { color: var(--white); }
.h-xl, .h-lg, .h-md { color: var(--navy); }
.muted { color: var(--muted); }
.muted-lg { font-size: 18px; color: var(--muted); margin-top: 16px; line-height: 1.7; }
.lead-dark { font-size: 21px; font-weight: 500; color: var(--navy); line-height: 1.7; }
.on-dark { color: var(--on-dark); font-size: 17px; line-height: 1.8; }
.stack { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.two-col { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 40px; align-items: center; }
.two-col > :first-child { grid-column: span 6; }
.two-col > :last-child { grid-column: 8 / span 5; }
.two-col.top { align-items: start; }
.rounded { border-radius: var(--radius); }
.photo img { border-radius: var(--radius); width: 100%; object-fit: cover; }
.photo figcaption { margin-top: 10px; font-size: 14px; color: var(--muted-2); }
.navy .photo figcaption { color: var(--on-dark-2); }
figure { margin: 0; }
.section-head { margin-bottom: 44px; }
.section-head.row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.section-head.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end; }
.section-head.split > :first-child { grid-column: span 7; }
.section-head.split > :last-child { grid-column: 9 / span 4; }

/* 히어로 */
.hero { background: var(--navy); color: var(--white); padding: 96px 0 120px; }
.hero-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center; }
.hero-copy { grid-column: span 7; display: flex; flex-direction: column; gap: 26px; }
.hero h1 { font-size: 72px; font-weight: 900; line-height: 1.12; letter-spacing: -0.03em; }
.gold { color: var(--gold-light); }
.lead { font-size: 21px; color: #D3D6EC; max-width: 620px; line-height: 1.65; }
.hero-media { grid-column: span 5; position: relative; }
.hero-media > img { width: 100%; height: 520px; object-fit: cover; border-radius: 16px; }
.hero-card { position: absolute; left: -40px; bottom: -40px; width: 340px; background: var(--white); border-radius: 12px; padding: 22px 26px; box-shadow: 0 20px 48px rgba(18,20,63,.35); display: flex; flex-direction: column; gap: 6px; color: var(--navy); }
.hero-card strong { font-size: 21px; font-weight: 900; }
.hero-card span { font-size: 15px; color: var(--muted); }
.hero-card .hero-card-kicker { font-size: 13px; font-weight: 700; color: var(--gold-dark); letter-spacing: .08em; }

.facts { border-bottom: 1px solid var(--line); padding: 52px 0; }
.facts-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.facts-grid > div { display: flex; flex-direction: column; gap: 4px; padding-left: 20px; border-left: 2px solid var(--gold); }
.facts-grid span { font-size: 14px; color: var(--muted-2); }
.facts-grid strong { font-size: 25px; font-weight: 900; color: var(--navy); }

/* 센터 선택 */
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 16px; color: var(--navy); }
.steps li { display: flex; gap: 12px; align-items: center; }
.steps span { width: 28px; height: 28px; border-radius: 14px; background: var(--navy); color: var(--gold-light); font-size: 13px; font-weight: 900; display: inline-flex; align-items: center; justify-content: center; }
.center-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.center-card { min-height: 116px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--white); display: flex; flex-direction: column; justify-content: space-between; padding: 20px 22px; transition: border-color .15s, transform .15s; }
.center-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.center-card span { display: flex; flex-direction: column; gap: 4px; }
.center-card strong { font-size: 21px; font-weight: 900; color: var(--navy); }
.center-card small { font-size: 13px; color: var(--muted-2); }
.center-card em { font-style: normal; font-size: 14px; font-weight: 700; color: var(--gold-dark); }
.center-card.dashed { border-style: dashed; border-color: var(--gold); background: #FFF8E1; }

/* 좌우명 */
.quote-en { color: var(--gold-light); font-style: italic; font-size: 18px; }
.candle { flex: none; }
.motto-block { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.motto-block .on-dark { max-width: 680px; }

/* 기대효과 */
.effects { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--navy); }
.effects li { padding: 30px 24px; border-bottom: 1px solid var(--line); border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; font-size: 21px; font-weight: 700; color: var(--navy); }
.effects li:nth-child(4n+1) { border-left: 0; padding-left: 0; }
.effects li span { font-size: 15px; font-weight: 900; color: var(--gold-dark); }
.effects li.effects-note { background: var(--cream); font-size: 16px; font-weight: 400; color: var(--text); justify-content: center; padding-left: 24px; }
.effects.compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.effects.compact li { font-size: 18px; padding: 18px 16px; }
.effects.compact li:nth-child(4n+1) { border-left: 1px solid var(--line); padding-left: 16px; }
.effects.compact li:nth-child(2n+1) { border-left: 0; padding-left: 0; }

/* 원장 */
.director > :first-child { grid-column: span 4; }
.director > :last-child { grid-column: 6 / span 7; }
.director img { width: 100%; height: 400px; object-fit: cover; }
.big-quote { font-size: 28px; line-height: 1.55; font-weight: 700; color: var(--navy); }

/* 영상 */
.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 56px; }
.section > .video-grid:first-child, .wrap.video-grid { margin-top: 0; }
.section.cream .wrap.video-grid { margin-top: 64px; }
.video { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.video-frame { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--navy); }
.video-frame img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.video-frame:hover img { opacity: 1; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.video figcaption { font-size: 17px; font-weight: 700; color: var(--navy); display: flex; flex-direction: column; }
.video figcaption span { font-size: 14px; font-weight: 400; color: var(--muted-2); }
.post-body + .video { margin-top: 32px; }

/* 소식 */
.news { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; }
.news .section-head { margin-bottom: 16px; }
.post-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--navy); }
.post-list li { border-bottom: 1px solid var(--line-2); }
.post-list a { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; font-size: 17px; font-weight: 500; }
.post-list time { color: var(--muted-2); font-size: 14px; white-space: nowrap; }
.post-list .empty { padding: 18px 0; color: var(--muted-2); }
.post-list.big a { font-size: 18px; padding: 22px 4px; }
.pin, .cat { font-style: normal; display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 10px; margin-right: 8px; vertical-align: 2px; }
.pin { background: var(--navy); color: var(--white); }
.cat { background: var(--gold-soft); color: var(--gold-dark); }

/* CTA · 푸터 */
.cta-band { background: var(--navy); color: var(--white); padding: 80px 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.cta-band h2 { font-size: 36px; font-weight: 900; }
.cta-band p { color: var(--on-dark); margin-top: 10px; font-size: 17px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; flex: none; }
.site-footer { background: var(--navy-deep); color: var(--on-dark-2); padding: 48px 0; font-size: 14px; line-height: 1.9; }
.footer-inner { display: flex; justify-content: space-between; gap: 32px; }
.footer-name { color: var(--white); font-weight: 700; font-size: 16px; margin-bottom: 6px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; gap: 24px; }
.footer-links a { color: var(--on-dark); }
.footer-links a:hover { color: var(--white); }

/* 서브페이지 배너 */
.page-banner { background: var(--navy); color: var(--white); padding: 80px 0 72px; }
.page-banner h1 { font-size: 52px; font-weight: 900; }
.banner-sub { margin-top: 14px; font-size: 20px; color: var(--gold-light); font-weight: 500; }

.prose p { font-size: 18px; line-height: 1.85; color: var(--text); margin-bottom: 18px; }
.prose h2 { font-size: 24px; color: var(--navy); margin: 36px 0 12px; }
.prose h3 { font-size: 21px; color: var(--navy); margin: 32px 0 10px; }
.prose ul, .prose ol { font-size: 18px; line-height: 1.8; color: var(--text); padding-left: 1.3em; margin: 0 0 18px; }
.prose img { border-radius: 8px; margin: 12px 0; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose.on-dark p { color: var(--on-dark); }
.check-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.check-list li { position: relative; padding-left: 32px; font-size: 18px; line-height: 1.6; color: var(--text); }
.check-list li::before { content: ''; position: absolute; left: 0; top: 7px; width: 18px; height: 10px; border-left: 3px solid var(--gold-dark); border-bottom: 3px solid var(--gold-dark); transform: rotate(-45deg); }
.question-list { list-style: none; padding: 20px 24px; margin: 8px 0 24px; background: var(--cream); border-radius: var(--radius); }
.question-list li { font-size: 18px; font-weight: 700; color: var(--navy); padding: 6px 0; }
.greeting > :first-child { grid-column: span 4; }
.greeting > :last-child { grid-column: 6 / span 7; }

.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; border-top: 1px solid var(--navy-line); padding-top: 28px; }
.timeline strong { display: block; font-size: 34px; font-weight: 900; color: var(--gold-light); }
.timeline p { color: var(--on-dark); font-size: 15px; margin-top: 8px; line-height: 1.6; }
.history-more { margin-top: 40px; border-top: 1px solid var(--navy-line); padding-top: 20px; }
.history-more summary { cursor: pointer; color: var(--gold-light); font-weight: 700; font-size: 16px; }
.history-more .prose { margin-top: 20px; max-width: 860px; }

.fact-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.fact-cards > div { background: var(--white); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; gap: 8px; }
.fact-cards span { font-size: 14px; font-weight: 700; color: var(--gold-dark); }
.fact-cards strong { font-size: 22px; font-weight: 900; color: var(--navy); }
.fact-cards p { font-size: 15px; color: var(--muted); line-height: 1.6; }
.lesson-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--navy); }
.lesson-list li { display: flex; gap: 28px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 19px; font-weight: 700; color: var(--navy); }
.lesson-list span { width: 44px; flex: none; font-size: 15px; font-weight: 900; color: var(--gold-dark); }
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.chip { min-height: 44px; padding: 0 20px; border-radius: 22px; border: 1px solid var(--line-2); background: var(--white); display: inline-flex; align-items: center; font-weight: 500; }
.chip:hover { border-color: var(--gold); }
.chip.is-current { background: var(--navy); border-color: var(--navy); color: var(--white); font-weight: 700; }
.sticky-chips { position: sticky; top: 84px; background: var(--white); padding: 12px 0; margin: 0 0 24px; z-index: 5; }

/* 전국센터 */
.center-list { display: flex; flex-direction: column; gap: 20px; }
.center-block { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 32px; scroll-margin-top: 170px; }
.center-block header { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 16px; }
.center-block h2 { font-size: 26px; font-weight: 900; color: var(--navy); }
.center-block h2 small { font-size: 16px; font-weight: 500; color: var(--muted-2); margin-left: 8px; }
.branch-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 32px; }
.branch-list li { display: flex; flex-direction: column; gap: 2px; font-size: 15px; color: var(--text); }
.branch-list strong { font-size: 17px; color: var(--navy); }
.branch-list em { font-style: normal; color: var(--gold-dark); font-size: 14px; }

/* 수강신청 */
.region-tabs { background: var(--navy); padding: 0 0 36px; }
.region-tabs .chip-row { margin-top: 0; }
.region-tabs .chip { background: transparent; border-color: var(--navy-line); color: var(--on-dark); }
.region-tabs .chip:hover { border-color: var(--gold); color: var(--white); }
.region-tabs .chip.is-current { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.apply-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 24px; align-items: start; }
.apply-grid > * { min-width: 0; }
.apply-main { grid-column: span 8; display: flex; flex-direction: column; gap: 24px; }
.apply-side { grid-column: 9 / span 4; display: flex; flex-direction: column; gap: 24px; position: sticky; top: 108px; }
.card { background: var(--white); border-radius: var(--radius); padding: 34px 38px; }
.card h2 { font-size: 25px; font-weight: 900; color: var(--navy); }
.card h3 { font-size: 20px; font-weight: 900; color: var(--navy); margin-bottom: 12px; }
.card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.badge { font-size: 14px; font-weight: 700; color: var(--gold-dark); background: var(--gold-soft); padding: 5px 12px; border-radius: 14px; }
.table-wrap { overflow-x: auto; }
.schedule { width: 100%; border-collapse: collapse; font-size: 16px; text-align: left; min-width: 520px; }
.schedule thead th { border-bottom: 2px solid var(--navy); padding: 10px 8px 10px 0; font-size: 14px; font-weight: 500; color: var(--muted-2); }
.schedule tbody th, .schedule td { border-bottom: 1px solid var(--line); padding: 16px 8px 16px 0; vertical-align: top; }
.schedule tbody th { color: var(--navy); font-weight: 700; }
.schedule .note { display: block; font-size: 14px; color: var(--muted-2); }
.schedule tr.closed { opacity: .55; }
.poster { margin-top: 24px; }
.poster img { border-radius: 8px; width: 100%; height: auto; }
.navy-card { background: var(--navy); color: var(--white); }
.navy-card .kicker { font-size: 14px; color: var(--gold-light); font-weight: 700; }
.navy-card .fee { display: block; font-size: 30px; font-weight: 900; margin: 6px 0 4px; line-height: 1.3; }
.navy-card .bank { border-top: 1px solid var(--navy-line); margin-top: 16px; padding-top: 16px; font-weight: 700; font-size: 17px; }
.navy-card .bank span { display: block; font-size: 14px; color: var(--on-dark); font-weight: 400; }
.small-on-dark { color: var(--on-dark); font-size: 14px; margin-top: 8px; }
.branch { padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 15px; color: var(--text); }
.branch:last-of-type { border-bottom: 0; }
.notice-text { font-size: 15px; color: var(--text); margin: 12px 0; line-height: 1.7; }
.plain { list-style: none; margin: 0 0 12px; padding: 0; font-size: 15px; color: var(--muted); display: flex; flex-direction: column; gap: 6px; }
.plain.numbered { list-style: decimal; padding-left: 1.2em; }
.card .btn-block { margin-top: 12px; }

.form { display: flex; flex-direction: column; gap: 22px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.span-2 { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 15px; font-weight: 700; color: var(--navy); border: 0; margin: 0; padding: 0; min-width: 0; }
.field b { color: #B3261E; }
.field legend { padding: 0; margin-bottom: 8px; }
.field input, .field select, .field textarea { font-family: inherit; font-size: 16px; font-weight: 400; color: var(--ink); min-height: 52px; border: 1px solid #CFCEDA; border-radius: 8px; padding: 0 14px; background: var(--white); width: 100%; }
.field textarea { padding: 12px 14px; min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold-dark); outline: 2px solid var(--gold-soft); }
[aria-invalid="true"] { border-color: #B3261E !important; }
.field-error { font-size: 14px; font-weight: 500; color: #B3261E; }
.pill-row { display: flex; gap: 8px; flex-wrap: wrap; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; inset: 0; }
.pill span { min-height: 44px; padding: 0 18px; border: 1px solid #CFCEDA; border-radius: 22px; display: inline-flex; align-items: center; font-weight: 500; font-size: 15px; color: var(--text); cursor: pointer; }
.pill input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--white); font-weight: 700; }
.pill input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--text); }
.consent input { width: 20px; height: 20px; margin-top: 2px; flex: none; }
.consent small { color: var(--muted-2); }
.flash { padding: 14px 18px; border-radius: 8px; font-size: 15px; margin: 16px 0; }
.flash-error { background: #FBEAEA; color: #8A1C15; }
.flash-ok { background: #EAF5EC; color: #1E5A2B; }

/* 게시판 */
.board-tabs { display: flex; gap: 28px; border-bottom: 1px solid var(--line); margin-bottom: 32px; }
.board-tabs a { padding: 12px 2px; font-size: 18px; font-weight: 500; color: var(--muted); }
.board-tabs a[aria-current] { color: var(--navy); font-weight: 900; box-shadow: inset 0 -3px 0 var(--gold); }
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; }
.blog-card { display: flex; flex-direction: column; gap: 8px; }
.blog-card .thumb { aspect-ratio: 4 / 3; background: var(--cream); border-radius: var(--radius); overflow: hidden; }
.blog-card .thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .3s; }
.blog-card:hover .thumb img { transform: scale(1.03); }
.blog-card .cat { align-self: flex-start; margin-top: 6px; }
.blog-card strong { font-size: 19px; color: var(--navy); line-height: 1.4; }
.blog-card time { font-size: 14px; color: var(--muted-2); }
.pager { display: flex; gap: 6px; justify-content: center; margin-top: 40px; }
.pager a { min-width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; border: 1px solid var(--line); }
.pager a[aria-current] { background: var(--navy); color: var(--white); border-color: var(--navy); }
.empty-box { padding: 60px 0; text-align: center; }
.crumbs { font-size: 15px; color: var(--muted-2); margin-bottom: 12px; }
.crumbs a { color: var(--gold-dark); font-weight: 700; }
.post-title { font-size: 40px; font-weight: 900; color: var(--navy); }
.post-meta { color: var(--muted-2); font-size: 14px; margin: 12px 0 32px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.post-cover img { border-radius: var(--radius); margin-bottom: 28px; }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.gallery img { border-radius: 8px; border: 1px solid var(--line); width: 100%; }
.gallery.single { grid-template-columns: 1fr; }
.post-nav { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); }
.post-nav a:not(.btn) { display: flex; flex-direction: column; font-weight: 700; font-size: 15px; }
.post-nav a:not(.btn) span { font-size: 13px; color: var(--muted-2); font-weight: 400; }
.post-nav a:last-child:not(.btn) { text-align: right; }
.message-box { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 40px 0; }
.message-box h1 { font-size: 36px; font-weight: 900; color: var(--navy); }
.message-box p { font-size: 18px; color: var(--muted); }

/* 과정 상세 */
.lesson-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.lesson-card { background: var(--white); border-radius: var(--radius); padding: 26px 28px; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; align-items: start; }
.lesson-no { width: 52px; height: 52px; border-radius: 26px; background: var(--navy); color: var(--gold-light); font-weight: 900; font-size: 15px; display: inline-flex; align-items: center; justify-content: center; }
.lesson-card h3 { font-size: 20px; font-weight: 900; color: var(--navy); }
.lesson-official, .lesson-official-inline { color: var(--muted-2); font-size: 14px; font-weight: 500; }
.lesson-official { margin: 4px 0 10px; }
.lesson-virtue { font-size: 13px; font-weight: 700; color: var(--gold-dark); letter-spacing: .04em; margin-bottom: 4px; }
.lesson-goal { font-size: 16px; line-height: 1.7; color: var(--text); margin: 8px 0 12px; }
.lesson-points { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.lesson-points li { position: relative; padding-left: 16px; font-size: 15px; line-height: 1.6; color: var(--muted); }
.lesson-points li::before { content: ''; position: absolute; left: 0; top: 10px; width: 6px; height: 6px; border-radius: 3px; background: var(--gold); }
.lesson-practice { font-size: 15px; font-weight: 700; color: var(--navy); background: var(--cream); border-radius: 8px; padding: 10px 14px; display: flex; gap: 10px; align-items: baseline; }
.lesson-practice span { flex: none; font-size: 12px; font-weight: 900; color: var(--white); background: var(--navy); border-radius: 10px; padding: 2px 8px; }
.small-note { font-size: 14px; margin-top: 20px; }
.testimonials { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.testimonial { background: var(--cream); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.testimonial blockquote { margin: 0; font-size: 17px; line-height: 1.7; color: var(--navy); font-weight: 500; }
.testimonial figcaption { font-size: 14px; color: var(--gold-dark); font-weight: 700; }

/* 전화번호: PC 는 링크, 모바일은 번호마다 전화 버튼 */
.tel { display: inline-flex; align-items: center; gap: 4px; color: var(--navy); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.tel svg { flex: none; color: var(--gold-dark); }
.phones { display: flex; flex-wrap: wrap; gap: 4px 14px; }

/* ── 반응형 ── */
@media (max-width: 1100px) {
  .wrap { padding: 0 28px; }
  .hero h1 { font-size: 56px; }
  .center-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .effects { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .effects li:nth-child(4n+1) { border-left: 1px solid var(--line); padding-left: 24px; }
  .effects li:nth-child(2n+1) { border-left: 0; padding-left: 0; }
  .timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; max-height: calc(100vh - 72px); overflow-y: auto; box-shadow: 0 20px 40px rgba(28,32,102,.12); }
  .site-nav.is-open { display: flex; }
  .site-nav > ul { flex-direction: column; gap: 0; }
  .site-nav > ul > li > a { padding: 14px 0; font-weight: 700; border-bottom: 1px solid var(--line); }
  .site-nav > ul > li.is-active > a { box-shadow: none; color: var(--gold-dark); }
  .sub, .sub-grid, .has-sub:hover > .sub, .has-sub:hover > .sub-grid { display: grid; position: static; box-shadow: none; border: 0; padding: 4px 0 8px; min-width: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sub a { padding: 10px 8px; }
  .nav-cta { margin-top: 16px; }
  .header-inner { height: 72px; }
  .brand img { height: 42px; }
  .section { padding: 72px 0; }
  .hero { padding: 48px 0 64px; }
  .hero-grid, .two-col, .section-head.split, .apply-grid { grid-template-columns: 1fr; }
  .hero-copy, .hero-media, .two-col > :first-child, .two-col > :last-child, .section-head.split > :first-child, .section-head.split > :last-child,
  .director > :first-child, .director > :last-child, .greeting > :first-child, .greeting > :last-child, .apply-main, .apply-side { grid-column: auto; }
  .hero-media { margin-top: 40px; }
  .hero-media > img { height: 320px; }
  .hero-card { position: relative; left: auto; bottom: auto; width: auto; margin: -40px 16px 0; }
  .facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .center-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .video-grid, .news, .blog-grid, .fact-cards, .lesson-cards, .testimonials { grid-template-columns: 1fr; }
  .news { gap: 48px; }
  .cta-inner, .footer-inner { flex-direction: column; align-items: flex-start; }
  .apply-side { position: static; }
  .branch-list { grid-template-columns: 1fr; }
  .sticky-chips { top: 72px; }
}
@media (max-width: 900px) {
  .phones { display: grid; grid-template-columns: 1fr; gap: 8px; margin: 8px 0; }
  .phones .ph-sep { display: none; }
  .tel { justify-content: center; min-height: 48px; padding: 0 16px; border: 1px solid var(--navy); border-radius: 8px; text-decoration: none; background: var(--white); font-size: 16px; }
  .tel:hover, .tel:active { background: var(--cream); color: var(--navy); }
  .notice-text .tel { display: flex; margin: 6px 0; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .hero h1 { font-size: 38px; }
  .lead { font-size: 17px; }
  .h-xl { font-size: 32px; }
  .h-lg { font-size: 28px; }
  .page-banner { padding: 48px 0 44px; }
  .page-banner h1 { font-size: 34px; }
  .banner-sub { font-size: 16px; }
  .facts-grid strong { font-size: 18px; }
  .effects, .effects.compact { grid-template-columns: 1fr; }
  .effects li, .effects.compact li { border-left: 0 !important; padding-left: 0 !important; font-size: 18px; padding: 16px 0; }
  .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .big-quote { font-size: 21px; }
  .director img { height: 260px; }
  .card { padding: 24px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .center-block { padding: 22px 20px; }
  .center-block header { flex-direction: column; align-items: flex-start; }
  .cta-band h2 { font-size: 26px; }
  .post-title { font-size: 28px; }
  .gallery { grid-template-columns: 1fr; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav a:last-child:not(.btn) { text-align: left; }
  .btn-row .btn { flex: 1 1 auto; }
  .sub, .sub-grid, .has-sub:hover > .sub, .has-sub:hover > .sub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
