:root {
  --brand: #0a8f36;          /* JS 로고 초록 */
  --brand-soft: #e4f3e8;
  --dark: #0c2a1f;
  --dark-2: #12382a;
  --ink: #1d2b24;
  --muted: #5b6b63;
  --line: #dbe5df;
  --bg: #ffffff;
  --radius: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  font-family: "Pretendard", "Noto Sans KR", "Malgun Gothic", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  word-break: keep-all;
}
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: var(--dark);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; color: #fff; }
.logo-img { height: 32px; width: 32px; }
.logo span { font-weight: 700; font-size: 16px; letter-spacing: .01em; }
.nav { display: flex; gap: 26px; align-items: center; font-size: 15px; color: rgba(255,255,255,.88); }
.nav a:hover { color: #8fe3a8; }
.menu-btn { display: none; background: none; border: 0; font-size: 26px; cursor: pointer; color: #fff; }

/* hero */
.hero {
  position: relative; overflow: hidden; color: #fff;
  min-height: min(82vh, 720px); display: flex; align-items: center;
  background:
    linear-gradient(180deg, rgba(8,32,22,.55), rgba(8,32,22,.72)),
    url('assets/photos/hero-course.jpg') center / cover no-repeat;
  padding: 110px 0;
}
.hero-inner { position: relative; z-index: 1; text-align: center; }
.eyebrow { font-size: 13px; letter-spacing: .28em; opacity: .85; margin-bottom: 18px; }
.hero h1 { font-size: clamp(32px, 6vw, 56px); line-height: 1.25; font-weight: 800; margin-bottom: 22px; }
.lead { font-size: clamp(16px, 2.2vw, 19px); opacity: .94; margin-bottom: 34px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.hero-mark {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  width: 56px; opacity: .85; pointer-events: none;
}

.btn {
  display: inline-block; padding: 14px 28px; border-radius: 999px;
  font-weight: 700; font-size: 16px; border: 2px solid transparent; cursor: pointer;
}
.btn-primary { background: #fff; color: var(--dark); }
.btn-primary:hover { background: var(--brand-soft); }
.btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.14); }

/* facts strip */
.facts { background: var(--brand-soft); padding: 44px 0; }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.fact-num { display: block; font-size: 13px; font-weight: 800; letter-spacing: .12em; color: var(--brand); margin-bottom: 6px; }
.fact h3 { font-size: 21px; color: var(--dark); margin-bottom: 2px; }
.fact p { font-size: 14px; color: var(--muted); }

/* sections */
.section { padding: 100px 0; }
.kicker { font-size: 13px; font-weight: 800; letter-spacing: .26em; color: var(--brand); margin-bottom: 10px; }
.section h2 { font-size: clamp(28px, 4.4vw, 40px); font-weight: 800; line-height: 1.25; }
.sub { color: var(--muted); margin: 10px 0 36px; }

.light { background: #f6faf7; }
.light h2 { color: var(--dark); }

.dark { background: var(--dark); color: #fff; }
.dark h2 { color: #fff; }
.dark .sub { color: rgba(255,255,255,.7); }
.dark .kicker { color: #6fdc92; }

/* about split */
.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.about-list { display: grid; gap: 22px; }
.about-list li { padding-left: 18px; border-left: 3px solid var(--brand); }
.about-list h3 { font-size: 19px; margin-bottom: 4px; }
.about-list p { color: rgba(255,255,255,.75); font-size: 15px; }
.frame { border: 10px solid var(--dark-2); border-radius: 6px; overflow: hidden; background: var(--dark-2); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame.tall { aspect-ratio: 3 / 4; max-height: 560px; }

/* cards */
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.mt { margin-top: 18px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card h3 { font-size: 20px; color: var(--dark); margin-bottom: 8px; }
.card h3 small { font-size: 14px; font-weight: 600; color: var(--brand); margin-left: 4px; }
.card p { color: var(--muted); font-size: 15px; }
.program .num { display: block; font-size: 14px; font-weight: 800; color: var(--brand); margin-bottom: 6px; }

/* photo bands */
.photo-band {
  color: #fff;
  background:
    linear-gradient(180deg, rgba(8,32,22,.78), rgba(8,32,22,.86)),
    var(--band) center / cover no-repeat;
}
.photo-band h2 { color: #fff; }
.photo-band .sub { color: rgba(255,255,255,.78); }
.photo-band .kicker { color: #6fdc92; }
.photo-band.sunset {
  background:
    linear-gradient(180deg, rgba(8,32,22,.55), rgba(8,32,22,.8)),
    var(--band) center 62% / cover no-repeat;
}

/* care list */
.care-list { counter-reset: n; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 18px; }
.care-list li {
  counter-increment: n; display: flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(4px); border-radius: 12px; padding: 14px 18px;
}
.care-list li::before {
  content: counter(n); flex: none; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--brand); color: #fff; font-weight: 800; font-size: 14px;
}

/* staff */
.person ul { margin-top: 8px; }
.person li { position: relative; padding: 9px 0 9px 16px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.person li:first-child { border-top: 0; }
.person li::before { content: ""; position: absolute; left: 0; top: 19px; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.person .role { color: var(--brand); font-weight: 700; margin-bottom: 8px; }
.mini { padding: 22px; }
.mini h3 { margin-bottom: 4px; font-size: 18px; }
.mini p { font-size: 13.5px; }

/* alumni */
.card.glass { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.2); backdrop-filter: blur(6px); }
.card.glass h3 { color: #fff; }
.card.glass .names { color: #fff; font-weight: 700; font-size: 17px; }

/* branch */
.branch .tag { color: var(--brand); font-weight: 700; font-size: 14px; margin-bottom: 6px; }

/* footer */
.site-footer { padding: 40px 0; background: #07190f; color: rgba(255,255,255,.75); font-size: 14px; }
.site-footer strong { color: #fff; }
.footer-logo { height: 40px; width: 40px; margin-bottom: 12px; }
.site-footer .credit { margin-top: 10px; font-size: 12px; opacity: .55; }

/* news */
.ig-grid { max-width: 720px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: #fff; border-radius: var(--radius); overflow: hidden; }
.ig-more { display: flex; justify-content: center; margin-top: 28px; }
.btn-outline { border-color: var(--brand); color: var(--brand); }
.btn-outline:hover { background: var(--brand); color: #fff; }
.ig-status { grid-column: 1 / -1; padding: 40px 0; text-align: center; color: var(--muted); }
.ig-item { position: relative; display: block; aspect-ratio: 3 / 4; background: #000; overflow: hidden; }
.ig-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s, opacity .25s; }
.ig-item:hover img { transform: scale(1.04); opacity: .88; }
.ig-item.video::after {
  content: ""; position: absolute; top: 8px; right: 8px; width: 22px; height: 22px;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M6 3.5l15 8.5-15 8.5z'/%3E%3C/svg%3E");
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.5));
}

/* 따라다니는 카카오톡 상담 버튼 */
.kakao-fab {
  position: fixed; z-index: 20;
  right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 20px; border-radius: 999px;
  background: #fee500; color: #191919; font-weight: 800; font-size: 15px;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
  transition: transform .15s, box-shadow .15s;
}
.kakao-fab:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(0,0,0,.3); }
@media (max-width: 760px) {
  .kakao-fab { right: 14px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); padding: 12px 16px; font-size: 14px; }
}

/* tablet / mobile */
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 36px; }
  .frame.tall { max-height: 420px; aspect-ratio: 4 / 3; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .facts-grid { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
}
@media (max-width: 760px) {
  .menu-btn { display: block; }
  .nav {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--dark); border-top: 1px solid rgba(255,255,255,.08); padding: 6px 20px 14px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .logo span { display: none; }
  .hero { padding: 80px 0 100px; }
  .section { padding: 72px 0; }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4, .care-list { grid-template-columns: 1fr; }
}
