@charset "UTF-8";
/* ══════════════════════════════════════════════════════════
   중앙SKY학원 — 공용 스타일시트
   브랜드 컬러: #2E3192 (학원 로고 추출값)
   ══════════════════════════════════════════════════════════ */

/* ───────── RESET / BASE ───────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  background: #fff;
  color: var(--ink);
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', 'Noto Sans KR', sans-serif;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; }

:root {
  --navy: #2E3192;
  --navy-d: #1C1E63;
  --navy-l: #4E52C4;
  --tint: #EEEFF9;
  --tint2: #F6F7FD;
  --warm: #F8F6F2;
  --ink: #14162B;
  --ink2: #383C57;
  --muted: #6B7089;
  --muted2: #9096AB;
  --line: #E4E5F0;
  --gold: #A8823A;
  --shadow-s: 0 2px 8px rgba(20,22,43,0.05);
  --shadow-m: 0 14px 40px -18px rgba(28,30,99,0.28);
  --shadow-l: 0 34px 70px -30px rgba(28,30,99,0.38);
  --r: 18px;
}

/* ───────── LAYOUT ───────── */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
section { position: relative; }
.pad { padding: 116px 0; }
.pad-sm { padding: 84px 0; }
.bg-tint { background: var(--tint2); }
.bg-warm { background: var(--warm); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12.5px; font-weight: 800; letter-spacing: 0.14em;
  color: var(--navy); text-transform: uppercase; margin-bottom: 20px;
}
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; }
.sec-title {
  font-size: clamp(29px, 4vw, 47px); font-weight: 800;
  letter-spacing: -0.04em; line-height: 1.24; color: var(--ink);
}
.sec-title em { font-style: normal; color: var(--navy); }
.sec-sub { margin-top: 20px; font-size: clamp(15px, 1.5vw, 17.5px); line-height: 1.75; color: var(--muted); max-width: 640px; }
.sec-sub b { color: var(--ink2); font-weight: 700; }
.sec-head { margin-bottom: 56px; }
.sec-head.center { text-align: center; }
.sec-head.center .sec-sub { margin-left: auto; margin-right: auto; }
.sec-head.center .eyebrow::before { display: none; }

/* 스크롤 중에는 호버가 걸리지 않게 한다 (main.js 가 body.is-scrolling 을 붙인다) */
@media (hover: hover) {
  body.is-scrolling .menu-card,
  body.is-scrolling .prob-card,
  body.is-scrolling .prog-card,
  body.is-scrolling .grade-point,
  body.is-scrolling .shot,
  body.is-scrolling .post-item,
  body.is-scrolling .board-item,
  body.is-scrolling .fac-thumb,
  body.is-scrolling .phil-tab,
  body.is-scrolling .proc-step,
  body.is-scrolling .filter-btn,
  body.is-scrolling .btn,
  body.is-scrolling table.tui tbody tr { pointer-events: none; }
}

.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.75s cubic-bezier(0.16,1,0.3,1), transform 0.75s cubic-bezier(0.16,1,0.3,1); }
.reveal.show { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ───────── BUTTONS ───────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 54px; padding: 0 28px; border-radius: 100px;
  font-size: 15.5px; font-weight: 700; letter-spacing: -0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn svg { width: 17px; height: 17px; flex-shrink: 0; }
.btn-primary { background: var(--navy); color: #fff; box-shadow: var(--shadow-m); }
.btn-primary:hover { background: var(--navy-d); transform: translateY(-2px); }
.btn-ghost { background: #fff; color: var(--navy); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--navy); transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { transform: translateY(-2px); }
.btn-outline-w { border: 1.5px solid rgba(255,255,255,0.4); color: #fff; }
.btn-outline-w:hover { background: rgba(255,255,255,0.1); transform: translateY(-2px); }
.btn-sm { height: 46px; padding: 0 22px; font-size: 14.5px; }

/* ───────── NAV ───────── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 120;
  height: 78px; background: rgba(255,255,255,0.88);
  -webkit-backdrop-filter: blur(16px) saturate(180%); backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--line);
}
.nav-in { max-width: 1200px; margin: 0 auto; padding: 0 28px; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo img { height: 38px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: 15px; font-weight: 600; color: var(--ink2); position: relative; padding: 6px 0; transition: color 0.2s; }
.nav-links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--navy); border-radius: 2px; transform: scaleX(0); transition: transform 0.25s cubic-bezier(0.16,1,0.3,1); }
.nav-links a:hover { color: var(--navy); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.on { color: var(--navy); font-weight: 700; }
.nav-links a.on::after { transform: scaleX(1); }
.nav-right { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-tel {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--navy); color: #fff; height: 44px; padding: 0 20px;
  border-radius: 100px; font-size: 14.5px; font-weight: 700; letter-spacing: -0.01em;
  transition: background 0.2s, transform 0.2s;
}
.nav-tel:hover { background: var(--navy-d); transform: translateY(-1px); }
.nav-tel svg { width: 15px; height: 15px; }
.nav-burger { display: none; width: 44px; height: 44px; border-radius: 12px; align-items: center; justify-content: center; color: var(--ink); }
.nav-burger:hover { background: var(--tint); }

.drawer {
  position: fixed; inset: 0; z-index: 200; background: #fff;
  display: flex; flex-direction: column; padding: 22px 26px 34px;
  opacity: 0; pointer-events: none; transform: translateY(-10px);
  transition: opacity 0.28s ease, transform 0.28s ease;
  overflow-y: auto;
}
.drawer.open { opacity: 1; pointer-events: auto; transform: none; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.drawer-top img { height: 34px; }
.drawer-close { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 30px; line-height: 1; color: var(--ink); }
.drawer nav { display: flex; flex-direction: column; }
.drawer nav a { font-size: 20px; font-weight: 700; padding: 16px 0; border-bottom: 1px solid var(--line); letter-spacing: -0.03em; }
.drawer nav a.on { color: var(--navy); }
.drawer-foot { margin-top: auto; padding-top: 26px; display: grid; gap: 10px; }

/* ───────── PAGE HERO (서브페이지 상단 배너) ───────── */
.page-hero {
  position: relative; overflow: hidden;
  background: var(--navy-d); color: #fff;
  padding: 152px 0 68px;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(760px 420px at 82% -20%, rgba(120,126,255,0.34), transparent 62%),
    radial-gradient(560px 380px at 8% 120%, rgba(78,82,196,0.32), transparent 62%);
}
.page-hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: radial-gradient(ellipse 80% 90% at 50% 0%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 50% 0%, #000 20%, transparent 78%);
}
.page-hero .wrap { position: relative; z-index: 1; }
.crumb { display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.55); margin-bottom: 18px; }
.crumb a:hover { color: #fff; }
.crumb span { color: rgba(255,255,255,0.3); }
.crumb b { color: #fff; font-weight: 700; }
.page-hero h1 { font-size: clamp(31px, 4.4vw, 52px); font-weight: 800; letter-spacing: -0.045em; line-height: 1.2; }
.page-hero p { margin-top: 18px; font-size: clamp(15px, 1.6vw, 17.5px); line-height: 1.75; color: rgba(255,255,255,0.68); max-width: 620px; }

/* 서브페이지 로컬 내비게이션 */
.subnav { border-bottom: 1px solid var(--line); background: #fff; }
.subnav-in { max-width: 1200px; margin: 0 auto; padding: 0 28px; display: flex; gap: 6px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.subnav-in::-webkit-scrollbar { display: none; }
.subnav-in a {
  flex-shrink: 0; padding: 19px 18px; font-size: 15px; font-weight: 600; color: var(--muted);
  border-bottom: 2px solid transparent; transition: color 0.2s, border-color 0.2s;
}
.subnav-in a:hover { color: var(--ink); }
.subnav-in a.on { color: var(--navy); font-weight: 700; border-bottom-color: var(--navy); }

/* ───────── HOME HERO ───────── */
#hero { position: relative; padding: 148px 0 92px; overflow: hidden; background: #fff; }
#hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(700px 460px at 88% -8%, rgba(46,49,146,0.10), transparent 62%),
    radial-gradient(560px 420px at -8% 84%, rgba(46,49,146,0.06), transparent 62%);
}
#hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    linear-gradient(rgba(46,49,146,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46,49,146,0.045) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: radial-gradient(ellipse 80% 70% at 45% 20%, #000 20%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 45% 20%, #000 20%, transparent 72%);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 56px; align-items: center; }
.hero-h1 {
  font-size: clamp(34px, 4.3vw, 56px); font-weight: 800;
  letter-spacing: -0.05em; line-height: 1.2; color: var(--ink);
  animation: up 0.9s cubic-bezier(0.16,1,0.3,1) 0.08s both;
}
.hero-h1 em { font-style: normal; color: var(--navy); position: relative; white-space: nowrap; }
.hero-h1 em::after {
  content: ''; position: absolute; left: -2px; right: -2px; bottom: 4px; height: 12px; z-index: -1;
  background: rgba(46,49,146,0.13); border-radius: 3px;
}
.hero-sub {
  margin-top: 26px; font-size: clamp(15.5px, 1.6vw, 18px); line-height: 1.78; color: var(--muted);
  max-width: 520px; animation: up 0.9s cubic-bezier(0.16,1,0.3,1) 0.16s both;
}
.hero-sub b { color: var(--ink); font-weight: 700; }
.hero-btns { margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; animation: up 0.9s cubic-bezier(0.16,1,0.3,1) 0.24s both; }
.hero-facts {
  margin-top: 44px; padding-top: 30px; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  animation: up 0.9s cubic-bezier(0.16,1,0.3,1) 0.32s both;
}
.hero-fact strong { display: block; font-size: clamp(20px, 2.3vw, 26px); font-weight: 800; color: var(--navy); letter-spacing: -0.035em; line-height: 1.2; }
.hero-fact span { display: block; margin-top: 7px; font-size: 13px; color: var(--muted); line-height: 1.5; }
@keyframes up { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .hero-h1, .hero-sub, .hero-btns, .hero-facts, .hero-visual { animation: none !important; }
}
.hero-visual { position: relative; animation: up 1s cubic-bezier(0.16,1,0.3,1) 0.2s both; }
.hero-shot { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-l); aspect-ratio: 4/3; background: var(--tint); }
.hero-shot img { width: 100%; height: 100%; object-fit: cover; }
.hero-quote {
  position: absolute; left: -30px; bottom: -26px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 20px 24px; box-shadow: var(--shadow-m); max-width: 300px;
}
.hero-quote .q { font-size: 15.5px; font-weight: 700; line-height: 1.5; color: var(--ink); letter-spacing: -0.02em; }
.hero-quote .c { margin-top: 9px; font-size: 12px; color: var(--muted2); font-weight: 600; }

/* ───────── 메뉴 카드 (홈에서 각 페이지로 유도) ───────── */
.menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.menu-card {
  display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 32px 30px 30px; position: relative; overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), box-shadow 0.3s ease, border-color 0.3s ease;
}
.menu-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-m); border-color: rgba(46,49,146,0.22); }
.menu-card .ic { width: 44px; height: 44px; border-radius: 13px; background: var(--tint); color: var(--navy); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.menu-card .ic svg { width: 21px; height: 21px; }
.menu-card h3 { font-size: 21px; font-weight: 800; letter-spacing: -0.035em; color: var(--ink); }
.menu-card p { margin-top: 10px; font-size: 14.6px; line-height: 1.72; color: var(--muted); }
.menu-card .go { margin-top: 18px; display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; color: var(--navy); }
.menu-card:hover .go { gap: 10px; }
.menu-card .go { transition: gap 0.25s ease; }

/* ───────── PROBLEM ───────── */
.prob-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 8px; }
.prob-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 32px 28px 30px; box-shadow: var(--shadow-s);
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), box-shadow 0.3s ease;
}
.prob-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-m); }
.prob-q { font-size: 12px; font-weight: 800; color: var(--navy); letter-spacing: 0.1em; margin-bottom: 16px; }
.prob-card h3 { font-size: 19px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.45; color: var(--ink); }
.prob-card p { margin-top: 12px; font-size: 14.8px; line-height: 1.72; color: var(--muted); }
.prob-answer {
  margin-top: 34px; background: var(--navy); border-radius: var(--r); color: #fff;
  padding: 40px 44px; display: flex; align-items: center; gap: 30px; flex-wrap: wrap;
}
.prob-answer p { font-size: clamp(18px, 2.2vw, 25px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.5; flex: 1; min-width: 280px; }
.prob-answer p em { font-style: normal; color: #fff; border-bottom: 3px solid rgba(255,255,255,0.5); padding-bottom: 1px; }

/* ───────── PHILOSOPHY (탭) ───────── */
.phil-layout { display: grid; grid-template-columns: 340px 1fr; gap: 46px; align-items: start; }
.phil-tabs { display: flex; flex-direction: column; gap: 10px; position: sticky; top: 108px; }
.phil-tab {
  text-align: left; padding: 22px 24px; border-radius: 15px;
  border: 1px solid var(--line); background: #fff; display: block; width: 100%;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}
.phil-tab:hover { border-color: rgba(46,49,146,0.4); }
.phil-tab.on { background: var(--navy); border-color: var(--navy); transform: translateX(4px); }
.phil-tab .n { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: 0.13em; color: var(--muted2); }
.phil-tab .t { display: block; margin-top: 8px; font-size: 19px; font-weight: 800; letter-spacing: -0.035em; color: var(--ink); }
.phil-tab .d { display: block; margin-top: 8px; font-size: 13.5px; line-height: 1.6; color: var(--muted); }
.phil-tab.on .n { color: rgba(255,255,255,0.6); }
.phil-tab.on .t { color: #fff; }
.phil-tab.on .d { color: rgba(255,255,255,0.78); }
.phil-panel { display: none; }
.phil-panel.on { display: grid; gap: 14px; animation: fade 0.45s ease both; }
@keyframes fade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.phil-item { background: #fff; border: 1px solid var(--line); border-radius: 15px; padding: 30px 32px; box-shadow: var(--shadow-s); }
.phil-item .tag { display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: 0.06em; color: var(--navy); background: var(--tint); padding: 5px 11px; border-radius: 100px; margin-bottom: 15px; }
.phil-item h4 { font-size: clamp(18px, 2vw, 22px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.45; color: var(--ink); }
.phil-item h4 .hl { color: var(--navy); }
.phil-item p { margin-top: 11px; font-size: 15px; line-height: 1.75; color: var(--muted); }

/* ───────── PROGRAMS ───────── */
.prog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.prog-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 32px 28px 34px; position: relative; overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), box-shadow 0.3s ease, border-color 0.3s ease;
}
.prog-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--navy); transform: scaleY(0); transform-origin: top; transition: transform 0.35s cubic-bezier(0.16,1,0.3,1); }
.prog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-m); border-color: rgba(46,49,146,0.22); }
.prog-card:hover::before { transform: scaleY(1); }
.prog-num { font-size: 11.5px; font-weight: 800; letter-spacing: 0.13em; color: var(--muted2); }
.prog-name { margin-top: 15px; font-size: 23px; font-weight: 800; letter-spacing: -0.04em; color: var(--ink); }
.prog-copy { margin-top: 8px; font-size: 14.5px; font-weight: 700; color: var(--navy); letter-spacing: -0.02em; }
.prog-desc { margin-top: 14px; font-size: 14.6px; line-height: 1.72; color: var(--muted); }
.prog-tags { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.prog-tags span { font-size: 12px; font-weight: 600; color: var(--ink2); background: var(--tint2); border: 1px solid var(--line); padding: 5px 10px; border-radius: 100px; }

/* 학년별 상세 블록 (program.html) */
.grade-block { display: grid; grid-template-columns: 300px 1fr; gap: 44px; align-items: start; padding: 46px 0; border-top: 1px solid var(--line); }
.grade-block:first-of-type { border-top: none; padding-top: 0; }
.grade-tag { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 0.1em; color: var(--navy); background: var(--tint); padding: 6px 13px; border-radius: 100px; }
.grade-block h3 { margin-top: 16px; font-size: clamp(25px, 3vw, 34px); font-weight: 800; letter-spacing: -0.045em; color: var(--ink); }
.grade-block .lead { margin-top: 12px; font-size: 15.5px; line-height: 1.75; color: var(--muted); }
.grade-points { display: grid; gap: 12px; }
.grade-point { background: #fff; border: 1px solid var(--line); border-radius: 15px; padding: 24px 28px; box-shadow: var(--shadow-s); }
.grade-point strong { display: block; font-size: 17px; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); }
.grade-point p { margin-top: 8px; font-size: 14.8px; line-height: 1.72; color: var(--muted); }

/* ───────── SCHEDULE ───────── */
.sch-layout { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 46px; align-items: start; }
.sch-table { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-s); }
.sch-row { display: grid; grid-template-columns: 132px 1fr; align-items: center; gap: 18px; padding: 19px 26px; border-bottom: 1px solid var(--line); }
.sch-row:last-child { border-bottom: none; }
.sch-row.break { background: var(--tint2); }
.sch-time { font-size: 14.5px; font-weight: 800; color: var(--navy); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.sch-row.break .sch-time { color: var(--muted2); }
.sch-what { font-size: 15.2px; font-weight: 600; color: var(--ink2); line-height: 1.55; }
.sch-what .opt { color: var(--muted2); font-weight: 500; }
.sch-row.break .sch-what { color: var(--muted); font-weight: 500; }
.sch-note { margin-top: 16px; font-size: 13px; line-height: 1.7; color: var(--muted2); }
.sch-points { display: grid; gap: 11px; }
.sch-point { display: flex; gap: 15px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; }
.sch-point .i {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 9px; background: var(--tint);
  color: var(--navy); font-size: 13px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.sch-point strong { display: block; font-size: 15.5px; font-weight: 700; letter-spacing: -0.025em; color: var(--ink); }
.sch-point span { display: block; margin-top: 5px; font-size: 13.6px; line-height: 1.6; color: var(--muted); }

/* ───────── FACILITY ───────── */
.fac-layout { display: grid; grid-template-columns: 1fr 340px; gap: 34px; align-items: start; }
.fac-main { position: relative; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-l); aspect-ratio: 16/10; background: var(--tint); }
.fac-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.5s ease; }
.fac-main img.on { opacity: 1; }
.fac-cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 46px 30px 26px; color: #fff;
  background: linear-gradient(transparent, rgba(12,13,40,0.82));
}
.fac-cap .t { font-size: 12px; font-weight: 800; letter-spacing: 0.1em; color: rgba(255,255,255,0.72); }
.fac-cap .n { margin-top: 6px; font-size: clamp(19px, 2.2vw, 25px); font-weight: 800; letter-spacing: -0.035em; }
.fac-thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 9px; margin-top: 12px; }
.fac-thumb { border-radius: 11px; overflow: hidden; aspect-ratio: 4/3; border: 2px solid transparent; opacity: 0.55; transition: opacity 0.25s ease, border-color 0.25s ease, transform 0.25s ease; padding: 0; display: block; }
.fac-thumb img { width: 100%; height: 100%; object-fit: cover; }
.fac-thumb:hover { opacity: 0.85; transform: translateY(-2px); }
.fac-thumb.on { opacity: 1; border-color: var(--navy); }
.fac-floors { display: grid; gap: 10px; }
.fac-floor { background: #fff; border: 1px solid var(--line); border-radius: 15px; padding: 22px 24px; display: flex; gap: 16px; align-items: flex-start; }
.fac-floor .lv {
  flex-shrink: 0; min-width: 46px; height: 46px; padding: 0 10px; border-radius: 12px;
  background: var(--navy); color: #fff; font-size: 14px; font-weight: 800; letter-spacing: -0.02em;
  display: flex; align-items: center; justify-content: center;
}
.fac-floor strong { display: block; font-size: 16px; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); }
.fac-floor span { display: block; margin-top: 5px; font-size: 13.6px; line-height: 1.6; color: var(--muted); }
.fac-callout { background: var(--tint); border: 1px solid rgba(46,49,146,0.14); border-radius: 15px; padding: 20px 24px; font-size: 14px; line-height: 1.68; color: var(--ink2); }
.fac-callout b { color: var(--navy); font-weight: 800; }

/* ───────── 전화번호 값 ─────────
   크기·굵기는 다른 정보 행과 동일하게 상속받고, 자릿수 정렬과 호버 색만 더한다 */
.tel-num {
  white-space: nowrap; font-variant-numeric: tabular-nums;
  transition: color 0.2s ease;
}
.tel-num:hover { color: var(--navy); }
.loc-card .tel-num:hover { color: rgba(255,255,255,0.72); }

/* 본문 + 사이드 2단 (about.html 인사말 등) */
.split { display: grid; grid-template-columns: 1fr 420px; gap: 44px; align-items: start; }

/* 시설 페이지 전용 — 사진 그리드 */
.shot-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.shot { border-radius: var(--r); overflow: hidden; background: var(--tint); border: 1px solid var(--line); }
.shot img { width: 100%; aspect-ratio: 16/9; object-fit: cover; transition: transform 0.5s cubic-bezier(0.16,1,0.3,1); }
.shot:hover img { transform: scale(1.03); }
.shot .meta { padding: 20px 24px 22px; background: #fff; }
.shot .meta .t { font-size: 11.5px; font-weight: 800; letter-spacing: 0.11em; color: var(--navy); }
.shot .meta .n { margin-top: 7px; font-size: 18px; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); }
.shot .meta p { margin-top: 8px; font-size: 14.2px; line-height: 1.7; color: var(--muted); }
.shot.wide { grid-column: 1 / -1; }
.shot.wide img { aspect-ratio: 21/9; }

/* ───────── TUITION ───────── */
.tui-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 26px; flex-wrap: wrap; }
.tui-reg { font-size: 13px; font-weight: 700; color: var(--navy); background: var(--tint); border: 1px solid rgba(46,49,146,0.14); padding: 10px 18px; border-radius: 100px; white-space: nowrap; }
.tui-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: #fff; box-shadow: var(--shadow-s); -webkit-overflow-scrolling: touch; }
table.tui { width: 100%; border-collapse: collapse; min-width: 640px; }
table.tui caption { text-align: left; padding: 24px 28px 0; font-size: 13px; color: var(--muted2); }
table.tui th, table.tui td { padding: 16px 20px; text-align: center; font-size: 14.8px; border-bottom: 1px solid var(--line); }
table.tui thead th { background: var(--navy); color: #fff; font-size: 13.5px; font-weight: 700; letter-spacing: -0.01em; border-bottom: none; }
table.tui thead th:first-child { text-align: left; }
table.tui tbody th { text-align: left; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }
table.tui td { color: var(--ink2); font-variant-numeric: tabular-nums; }
table.tui td.fee { font-weight: 800; color: var(--navy); }
table.tui tbody tr:hover { background: var(--tint2); }
table.tui tbody tr:last-child th, table.tui tbody tr:last-child td { border-bottom: none; }
table.tui tr.grp th { background: var(--tint2); font-size: 12.5px; font-weight: 800; letter-spacing: 0.08em; color: var(--navy); padding: 12px 20px; }
.badge-unit { display: inline-block; font-size: 12px; font-weight: 700; padding: 4px 11px; border-radius: 100px; }
.badge-unit.m { background: var(--tint); color: var(--navy); }
.badge-unit.s { background: #FDF3E2; color: var(--gold); }
.tui-foot { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tui-note { background: #fff; border: 1px solid var(--line); border-radius: 15px; padding: 22px 26px; font-size: 13.6px; line-height: 1.72; color: var(--muted); }
.tui-note strong { display: block; font-size: 14.5px; font-weight: 800; color: var(--ink); margin-bottom: 8px; letter-spacing: -0.02em; }
.tui-note a { color: var(--navy); font-weight: 700; }
.tui-orig { display: grid; grid-template-columns: 340px 1fr; gap: 34px; align-items: center; }
.tui-orig img { border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-s); background: #fff; }

/* ───────── PROCESS ───────── */
.proc-steps { display: flex; gap: 9px; flex-wrap: wrap; margin-bottom: 26px; }
.proc-step {
  flex: 1 1 170px; text-align: left; padding: 19px 22px; border-radius: 14px;
  border: 1px solid var(--line); background: #fff;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.proc-step:hover { border-color: rgba(46,49,146,0.4); }
.proc-step.on { background: var(--navy); border-color: var(--navy); transform: translateY(-3px); }
.proc-step .n { display: block; font-size: 11px; font-weight: 800; letter-spacing: 0.12em; color: var(--muted2); }
.proc-step .t { display: block; margin-top: 7px; font-size: 16px; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); }
.proc-step.on .n { color: rgba(255,255,255,0.6); }
.proc-step.on .t { color: #fff; }
.proc-panel { display: none; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 42px 46px; box-shadow: var(--shadow-s); }
.proc-panel.on { display: block; animation: fade 0.4s ease both; }
.proc-panel h3 { display: flex; align-items: baseline; gap: 14px; font-size: clamp(20px, 2.3vw, 26px); font-weight: 800; letter-spacing: -0.04em; color: var(--ink); }
.proc-panel h3 b { font-size: 14px; font-weight: 800; color: var(--navy); letter-spacing: 0.06em; }
.proc-panel p { margin-top: 14px; font-size: 15.5px; line-height: 1.78; color: var(--muted); max-width: 720px; }

/* ───────── POSTS ───────── */
.post-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }
.post-colhead { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.post-colhead h3 { font-size: 19px; font-weight: 800; letter-spacing: -0.035em; }
.post-colhead a { font-size: 13px; font-weight: 700; color: var(--navy); white-space: nowrap; }
.post-colhead a:hover { text-decoration: underline; }
.post-list { display: grid; }
.post-item { display: flex; align-items: center; gap: 16px; padding: 17px 4px; border-bottom: 1px solid var(--line); transition: padding 0.25s ease, background 0.25s ease; }
.post-item:hover { padding-left: 12px; padding-right: 12px; background: var(--tint2); }
.post-item .tt { flex: 1; font-size: 15.2px; font-weight: 600; color: var(--ink2); letter-spacing: -0.02em; line-height: 1.5; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.post-item:hover .tt { color: var(--navy); }
.post-item .dd { flex-shrink: 0; font-size: 12.5px; color: var(--muted2); font-variant-numeric: tabular-nums; }
.post-item .cat { flex-shrink: 0; font-size: 11.5px; font-weight: 800; color: var(--navy); background: var(--tint); padding: 4px 9px; border-radius: 6px; }

/* 소식 페이지 — 필터 + 전체 목록 */
.filter-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.filter-btn { padding: 10px 20px; border-radius: 100px; border: 1px solid var(--line); background: #fff; font-size: 14px; font-weight: 600; color: var(--ink2); transition: all 0.2s ease; }
.filter-btn:hover { border-color: var(--navy); color: var(--navy); }
.filter-btn.on { background: var(--navy); border-color: var(--navy); color: #fff; font-weight: 700; }
.board { border-top: 2px solid var(--ink); }
.board-item { display: flex; align-items: center; gap: 20px; padding: 22px 8px; border-bottom: 1px solid var(--line); transition: background 0.2s ease, padding 0.2s ease; }
.board-item:hover { background: var(--tint2); padding-left: 16px; padding-right: 16px; }
.board-item .cat { flex-shrink: 0; width: 62px; text-align: center; font-size: 12px; font-weight: 800; color: var(--navy); background: var(--tint); padding: 5px 0; border-radius: 6px; }
.board-item .tt { flex: 1; font-size: 16px; font-weight: 600; color: var(--ink); letter-spacing: -0.025em; line-height: 1.5; }
.board-item:hover .tt { color: var(--navy); }
.board-item .dd { flex-shrink: 0; font-size: 13px; color: var(--muted2); font-variant-numeric: tabular-nums; }
.board-item.hide { display: none; }
.board-empty { padding: 60px 0; text-align: center; color: var(--muted2); font-size: 15px; }

/* ───────── LOCATION ───────── */
.loc-dark { background: var(--navy-d); color: #fff; }
.loc-dark .eyebrow { color: rgba(255,255,255,0.72); }
.loc-dark .eyebrow::before { background: rgba(255,255,255,0.5); }
.loc-dark .sec-title { color: #fff; }
.loc-dark .sec-sub { color: rgba(255,255,255,0.6); }
.loc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: stretch; }
.loc-card { background: rgba(255,255,255,0.055); border: 1px solid rgba(255,255,255,0.14); border-radius: var(--r); padding: 36px 38px; }
.loc-rows { display: grid; gap: 22px; }
.loc-row { display: grid; grid-template-columns: 84px 1fr; gap: 18px; align-items: start; }
.loc-row dt { font-size: 13px; font-weight: 800; color: rgba(255,255,255,0.55); letter-spacing: 0.03em; padding-top: 3px; }
.loc-row dd { font-size: 16px; font-weight: 600; line-height: 1.6; letter-spacing: -0.02em; }
.loc-row dd .sm { display: block; margin-top: 6px; font-size: 13.6px; font-weight: 500; color: rgba(255,255,255,0.58); line-height: 1.65; }
.loc-row dd a:not(.tel-num):hover { text-decoration: underline; text-underline-offset: 4px; }
.loc-transit { display: grid; gap: 12px; }
.loc-tr { display: flex; gap: 15px; align-items: flex-start; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.loc-tr:last-child { border-bottom: none; padding-bottom: 0; }
.loc-tr .ic { flex-shrink: 0; width: 38px; height: 38px; border-radius: 11px; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; }
.loc-tr .ic svg { width: 18px; height: 18px; stroke: #fff; }
.loc-tr strong { display: block; font-size: 15.5px; font-weight: 700; letter-spacing: -0.025em; }
.loc-tr span { display: block; margin-top: 4px; font-size: 13.6px; line-height: 1.6; color: rgba(255,255,255,0.6); }
.loc-btns { margin-top: 28px; display: flex; gap: 10px; flex-wrap: wrap; }

/* 밝은 배경용 오시는길 카드 (location.html) */
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 36px 38px; box-shadow: var(--shadow-s); }
.info-rows { display: grid; gap: 22px; }
.info-row { display: grid; grid-template-columns: 84px 1fr; gap: 18px; align-items: start; }
.info-row dt { font-size: 13px; font-weight: 800; color: var(--muted2); letter-spacing: 0.03em; padding-top: 3px; }
.info-row dd { font-size: 16px; font-weight: 600; line-height: 1.6; letter-spacing: -0.02em; color: var(--ink); }
.info-row dd .sm { display: block; margin-top: 6px; font-size: 13.6px; font-weight: 500; color: var(--muted); line-height: 1.65; }
.info-row dd a:not(.tel-num) { color: var(--navy); font-weight: 700; }
.info-row dd a:not(.tel-num):hover { text-decoration: underline; text-underline-offset: 4px; }
.transit-list { display: grid; gap: 12px; }
.transit { display: flex; gap: 15px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 15px; padding: 22px 24px; }
.transit .ic { flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px; background: var(--tint); display: flex; align-items: center; justify-content: center; }
.transit .ic svg { width: 19px; height: 19px; stroke: var(--navy); }
.transit strong { display: block; font-size: 16px; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); }
.transit span { display: block; margin-top: 5px; font-size: 14px; line-height: 1.65; color: var(--muted); }

/* ───────── CTA ───────── */
.cta { background: linear-gradient(135deg, var(--navy) 0%, #3A3EAE 55%, var(--navy-d) 100%); color: #fff; text-align: center; overflow: hidden; }
.cta::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(700px 400px at 50% -10%, rgba(255,255,255,0.14), transparent 65%);
}
.cta-in { position: relative; z-index: 1; }
.cta-in h2 { font-size: clamp(29px, 4.2vw, 50px); font-weight: 800; letter-spacing: -0.045em; line-height: 1.24; }
.cta-in p { margin: 22px auto 0; font-size: clamp(15px, 1.6vw, 18px); line-height: 1.75; color: rgba(255,255,255,0.78); max-width: 560px; }
.cta-btns { margin-top: 40px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-mini { margin-top: 32px; font-size: 13.5px; color: rgba(255,255,255,0.6); }

/* ───────── FOOTER ───────── */
footer { background: #101226; color: rgba(255,255,255,0.55); padding: 62px 0 46px; font-size: 13.6px; line-height: 1.85; }
.foot-top { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; padding-bottom: 34px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.foot-brand img { height: 46px; margin-bottom: 18px; filter: brightness(0) invert(1); opacity: 0.9; }
.foot-brand p { font-size: 13.4px; line-height: 1.8; color: rgba(255,255,255,0.45); max-width: 330px; }
.foot-col h4 { font-size: 13px; font-weight: 800; color: #fff; letter-spacing: 0.06em; margin-bottom: 15px; }
.foot-col ul { display: grid; gap: 9px; }
.foot-col a:hover { color: #fff; }
.foot-col .lbl { color: rgba(255,255,255,0.35); font-size: 12.5px; }
.foot-col .val { color: rgba(255,255,255,0.72); font-weight: 600; }
.foot-bottom { padding-top: 26px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 12.5px; color: rgba(255,255,255,0.35); }
.foot-biz { line-height: 1.9; }

/* ───────── 카카오톡 채널 플로팅 버튼 ───────── */
.fab-kakao {
  position: fixed; right: 26px; bottom: 26px; z-index: 115;
  display: inline-flex; align-items: center;
  height: 58px; padding: 0 11px; border-radius: 100px;
  background: #FEE500; color: #191600;
  box-shadow: 0 14px 34px -10px rgba(0,0,0,0.30);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.fab-kakao:hover { transform: translateY(-3px); box-shadow: 0 20px 44px -12px rgba(0,0,0,0.36); }
.fab-kakao:active { transform: translateY(-1px); }
.fab-kakao .ic { flex-shrink: 0; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; }
.fab-kakao .ic svg { width: 25px; height: 25px; }
.fab-kakao .txt {
  max-width: 0; padding: 0; overflow: hidden; white-space: nowrap;
  font-size: 15px; font-weight: 800; letter-spacing: -0.02em;
  transition: max-width 0.35s cubic-bezier(0.16,1,0.3,1), padding 0.35s cubic-bezier(0.16,1,0.3,1);
}
.fab-kakao:hover .txt, .fab-kakao:focus-visible .txt { max-width: 160px; padding: 0 9px 0 5px; }
@media (prefers-reduced-motion: reduce) {
  .fab-kakao, .fab-kakao .txt { transition: none; }
  .fab-kakao:hover { transform: none; }
}

/* ───────── MOBILE CALL BAR ───────── */
.mbar { display: none; }

/* ───────── RESPONSIVE ───────── */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 46px; }
  .hero-sub { max-width: none; }
  .hero-quote { left: auto; right: 16px; bottom: -20px; }
  .phil-layout { grid-template-columns: 1fr; gap: 26px; }
  .phil-tabs { position: static; }
  .phil-tab.on { transform: none; }
  .sch-layout { grid-template-columns: 1fr; gap: 30px; }
  .fac-layout { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .prog-grid, .menu-grid { grid-template-columns: repeat(2, 1fr); }
  .grade-block { grid-template-columns: 1fr; gap: 24px; }
  .loc-grid { grid-template-columns: 1fr; }
  .post-cols { grid-template-columns: 1fr; gap: 40px; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .tui-orig { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-tel span { display: none; }
  .nav-tel { padding: 0 15px; }
  .nav-burger { display: flex; }
  .prob-grid { grid-template-columns: 1fr; }
  .tui-foot { grid-template-columns: 1fr; }
  .fac-thumbs { grid-template-columns: repeat(3, 1fr); }
  .shot-grid { grid-template-columns: 1fr; }
  .shot.wide img { aspect-ratio: 16/9; }
}
@media (max-width: 640px) {
  .wrap, .nav-in, .subnav-in { padding: 0 20px; }
  .pad { padding: 76px 0; }
  .pad-sm { padding: 60px 0; }
  #hero { padding: 116px 0 72px; }
  .page-hero { padding: 118px 0 52px; }
  .sec-head { margin-bottom: 38px; }
  .hero-facts { grid-template-columns: 1fr; gap: 14px; padding-top: 24px; margin-top: 34px; }
  .hero-fact { display: flex; align-items: baseline; gap: 12px; }
  .hero-fact strong { font-size: 20px; }
  .hero-fact span { margin-top: 0; }
  .hero-quote { position: static; margin-top: 16px; max-width: none; box-shadow: var(--shadow-s); }
  .hero-btns .btn { flex: 1 1 100%; }
  .prog-grid, .menu-grid { grid-template-columns: 1fr; }
  .prob-answer { padding: 30px 26px; }
  .proc-panel { padding: 30px 26px; }
  .phil-item { padding: 26px 24px; }
  .loc-card, .info-card { padding: 28px 24px; }
  .sch-row { grid-template-columns: 1fr; gap: 5px; padding: 16px 22px; }
  .loc-row, .info-row { grid-template-columns: 1fr; gap: 5px; }
  .board-item { flex-wrap: wrap; gap: 10px 14px; padding: 18px 8px; }
  .board-item .tt { flex: 1 1 100%; order: 2; font-size: 15.2px; }
  .board-item .cat { order: 1; }
  .board-item .dd { order: 1; }
  .foot-top { grid-template-columns: 1fr; gap: 30px; }
  body { padding-bottom: 68px; }
  .mbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 130;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,0.94);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border-top: 1px solid var(--line);
  }
  .mbar a { height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 15px; font-weight: 700; }
  .mbar a svg { width: 16px; height: 16px; }
  .mbar .m-tel { background: var(--navy); color: #fff; }
  .mbar .m-sub { background: var(--tint); color: var(--navy); }

  /* 하단 고정 바 위로 띄운다 */
  .fab-kakao {
    right: 16px; bottom: calc(80px + env(safe-area-inset-bottom));
    height: 52px; padding: 0 8px;
  }
  .fab-kakao .ic { width: 36px; height: 36px; }
  .fab-kakao .txt { display: none; }
}

/* 좁은 화면에서는 교습비 표를 카드형으로 전환 (가로 스크롤 제거) */
@media (max-width: 700px) {
  .tui-scroll { overflow-x: visible; }
  table.tui { min-width: 0; }
  table.tui thead { display: none; }
  table.tui caption { padding: 20px 22px 2px; }
  table.tui tbody, table.tui tbody tr, table.tui tbody th, table.tui tbody td { display: block; }
  table.tui tbody tr { padding: 18px 22px; border-bottom: 1px solid var(--line); }
  table.tui tbody tr:hover { background: none; }
  table.tui tbody th { padding: 0 0 10px; font-size: 16.5px; border-bottom: none; }
  table.tui tbody td {
    padding: 6px 0; border-bottom: none; text-align: right;
    display: flex; align-items: center; justify-content: space-between; gap: 14px; font-size: 14.5px;
  }
  table.tui tbody td::before { content: ''; font-size: 13px; font-weight: 600; color: var(--muted2); text-align: left; }
  table.tui tbody td:nth-of-type(1)::before { content: '총교습시간 (분/월)'; }
  table.tui tbody td:nth-of-type(2)::before { content: '교습비 (원)'; }
  table.tui tbody td:nth-of-type(3)::before { content: '징수단위'; }
  table.tui tbody td.fee { font-size: 20px; }
  table.tui tbody tr.grp { padding: 0; }
  table.tui tbody tr.grp th { padding: 13px 22px; font-size: 12.5px; }
}
