/* ==========================================================================
   전남대학교 합성생물학 산업화기술 교육센터 - 공통 스타일
   ========================================================================== */

:root {
  --green-900: #0B3D24;
  --green-800: #0F4D2E;
  --green-700: #145A32;
  --green-600: #1B7A45;
  --green-500: #279E5C;
  --green-100: #E4F3EA;
  --teal-500: #12A594;
  --yellow-400: #F4C430;
  --yellow-300: #F9D96B;

  --bg: #F6FAF7;
  --surface: #FFFFFF;
  --surface-glass: rgba(255, 255, 255, 0.62);

  --text-900: #0E1F16;
  --text-700: #33473C;
  --text-500: #64796E;

  --border: rgba(11, 61, 36, 0.12);
  --shadow-sm: 0 2px 10px rgba(11, 61, 36, 0.06);
  --shadow-md: 0 12px 32px rgba(11, 61, 36, 0.10);
  --shadow-lg: 0 24px 60px rgba(11, 61, 36, 0.16);

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;

  --max-width: 1180px;
  --header-h: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Pretendard Variable", "Pretendard", "Noto Sans KR", -apple-system,
    BlinkMacSystemFont, "Malgun Gothic", sans-serif;
  background: var(--bg);
  color: var(--text-900);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- 배경 장식 (합성생물학 느낌의 은은한 헬릭스/노드 패턴) ---------- */
.mesh-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 82% -6%, rgba(18, 165, 148, 0.16), transparent 42%),
    radial-gradient(circle at -6% 18%, rgba(39, 158, 92, 0.16), transparent 40%),
    radial-gradient(circle at 50% 100%, rgba(244, 196, 48, 0.10), transparent 45%),
    var(--bg);
}

/* ---------- 헤더 / 내비게이션 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(246, 250, 247, 0.78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.brand .brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--green-600), var(--teal-500));
  position: relative;
  flex: none;
}
.brand .brand-mark::before,
.brand .brand-mark::after {
  content: "";
  position: absolute;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
}
.brand .brand-mark::before { width: 14px; height: 14px; top: 6px; left: 6px; }
.brand .brand-mark::after { width: 8px; height: 8px; bottom: 7px; right: 7px; border-color: var(--yellow-300); }

.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text .brand-en { font-size: 11px; font-weight: 600; color: var(--teal-500); letter-spacing: 0.06em; }
.brand-text .brand-kr { font-size: 15px; font-weight: 800; color: var(--text-900); }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-700);
  transition: background 0.2s ease, color 0.2s ease;
}
.main-nav a:hover { background: var(--green-100); color: var(--green-800); }
.main-nav a.active { background: var(--green-700); color: #fff; }

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--text-900);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}
.header-cta:hover { background: var(--green-800); }

.nav-toggle {
  display: none;
  border: none;
  background: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-900);
  position: relative;
  transition: transform 0.2s ease;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

/* ---------- 히어로 ---------- */
.hero {
  position: relative;
  padding: 96px 0 88px;
  overflow: hidden;
}
.hero .container { position: relative; z-index: 1; }
.hero.hero-compact { padding: 56px 0 32px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--surface-glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(6px);
  font-size: 13px;
  font-weight: 700;
  color: var(--green-700);
  margin-bottom: 22px;
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal-500);
}

.hero h1 {
  font-size: clamp(34px, 5.2vw, 62px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  font-weight: 800;
  margin: 0 0 22px;
  max-width: 820px;
}
.hero h1 .accent {
  background: linear-gradient(100deg, var(--green-700), var(--teal-500) 60%, var(--green-600));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  font-size: 18px;
  color: var(--text-700);
  max-width: 620px;
  margin: 0 0 36px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.btn-primary { background: var(--green-700); color: #fff; box-shadow: var(--shadow-md); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); background: var(--green-800); }
.btn-ghost { background: var(--surface-glass); border-color: var(--border); color: var(--text-900); backdrop-filter: blur(6px); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--green-600); }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.hero-stats div {
  background: var(--surface-glass);
  backdrop-filter: blur(8px);
  padding: 22px 20px;
}
.hero-stats strong { display: block; font-size: 26px; font-weight: 800; color: var(--green-800); }
.hero-stats span { font-size: 13px; color: var(--text-500); }

/* ---------- 섹션 공통 ---------- */
section { padding: 84px 0; }
.section-head { max-width: 640px; margin: 0 0 46px; }
.section-tag {
  font-size: 13px;
  font-weight: 800;
  color: var(--teal-500);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}
.section-head h2 {
  font-size: clamp(26px, 3.4vw, 38px);
  letter-spacing: -0.01em;
  font-weight: 800;
  margin: 0 0 14px;
}
.section-head p { color: var(--text-500); font-size: 16px; margin: 0; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- 카드 그리드 ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--surface-glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(27, 122, 69, 0.35); }

.card .icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--green-600), var(--teal-500));
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 18px;
}
.card h3 { font-size: 19px; font-weight: 800; margin: 0 0 10px; }
.card p { font-size: 14.5px; color: var(--text-500); margin: 0; }

/* ---------- 타임라인 / 프로세스 ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: step;
}
.process .step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px 22px;
}
.process .step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-size: 13px;
  font-weight: 800;
  color: var(--teal-500);
  display: block;
  margin-bottom: 10px;
}
.process .step h4 { margin: 0 0 8px; font-size: 16px; font-weight: 800; }
.process .step p { margin: 0; font-size: 13.5px; color: var(--text-500); }
.process .step ul.step-list { margin: 0; padding: 0; list-style: none; }
.process .step ul.step-list li {
  position: relative;
  padding-left: 14px;
  font-size: 13.5px;
  color: var(--text-500);
  margin-bottom: 6px;
  line-height: 1.5;
}
.process .step ul.step-list li:last-child { margin-bottom: 0; }
.process .step ul.step-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal-500);
}

.step-facts { display: flex; flex-direction: column; gap: 6px; }
.step-facts .fact { display: flex; gap: 8px; font-size: 13.5px; color: var(--text-500); }
.step-facts .fact .fact-label { flex: 0 0 32px; font-weight: 800; color: var(--green-800); }
.step-facts .fact .fact-value { flex: 1; line-height: 1.35; }

/* 메달 아이콘 / 파트너 배지 등 공용 아이콘 스타일 */
.icon svg { width: 22px; height: 22px; }
.course-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.course-tags .tag-pill {
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--green-100);
  color: var(--green-800);
  font-size: 13px;
  font-weight: 700;
}

/* 써모피셔 파트너십 카드 (브랜드 레드 포인트) */
.partner-card {
  border: 1px solid rgba(228, 0, 43, 0.18);
  background: linear-gradient(135deg, rgba(228, 0, 43, 0.05), rgba(228, 0, 43, 0.01));
  border-radius: var(--radius-md);
  padding: 30px 32px;
}
.partner-card .partner-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: #E4002B;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 16px;
}
.partner-card h3 { margin: 0 0 12px; font-size: 19px; font-weight: 800; }
.partner-card p { margin: 0 0 10px; font-size: 14.5px; color: var(--text-700); line-height: 1.8; }
.partner-card p:last-child { margin-bottom: 0; }
.partner-card .partner-logo { height: 34px; width: auto; display: block; margin-bottom: 18px; }

/* ---------- CTA 배너 ---------- */
.cta-banner {
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  background: linear-gradient(120deg, var(--green-800), var(--green-600) 55%, var(--teal-500));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-banner::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  right: -80px;
  top: -120px;
}
.cta-banner h2 { font-size: clamp(22px, 3vw, 30px); margin: 0 0 10px; font-weight: 800; }
.cta-banner p { margin: 0; opacity: 0.85; max-width: 460px; }
.cta-banner .btn-ghost { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.3); color: #fff; }
.cta-banner .btn-ghost:hover { background: rgba(255, 255, 255, 0.24); }
.cta-banner.cta-compact { padding: 28px 40px; }
.cta-banner.cta-compact h2 { margin: 0; }

/* ---------- 왜 필요한가 (세로 리스트) ---------- */
.why-list { display: flex; flex-direction: column; gap: 22px; }
.why-row {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  background: var(--surface-glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 30px;
  box-shadow: var(--shadow-sm);
}
.why-icon {
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--green-600), var(--teal-500));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.why-icon svg { width: 30px; height: 30px; }
.why-text h3 { margin: 2px 0 10px; font-size: 19px; font-weight: 800; }
.why-text p { margin: 0; font-size: 14.5px; color: var(--text-700); line-height: 1.85; }

/* ---------- 푸터 ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 56px 0 32px; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-grid h5 { font-size: 13px; letter-spacing: 0.04em; color: var(--text-500); margin: 0 0 16px; text-transform: uppercase; }
.footer-grid li { margin-bottom: 10px; font-size: 14.5px; color: var(--text-700); }
.footer-grid li a:hover { color: var(--green-700); }
.footer-grid.cols-2 { grid-template-columns: 1fr 1fr; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-500);
  flex-wrap: wrap;
  gap: 10px;
}
.footer-credit {
  text-align: center;
  font-size: 12px;
  color: var(--text-500);
  margin-top: 14px;
}

/* ---------- 스크롤 리빌 애니메이션 ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- 페이지 헤더 (서브페이지 공통) ---------- */
.page-hero {
  padding: 60px 0 48px;
  border-bottom: 1px solid var(--border);
}
.breadcrumb { font-size: 13px; color: var(--text-500); margin-bottom: 16px; }
.breadcrumb a:hover { color: var(--green-700); }
.page-hero h1 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; margin: 0 0 12px; letter-spacing: -0.01em; }
.page-hero p { color: var(--text-500); font-size: 16px; max-width: 620px; margin: 0; }

/* ---------- 리스트/테이블 (공지사항, 교육과정 상세) ---------- */
.notice-list { border-top: 1px solid var(--border); }
.notice-item { border-bottom: 1px solid var(--border); }

.notice-summary {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 6px;
  background: none;
  border: none;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.notice-summary .badge {
  flex: none;
  font-size: 12px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--green-100);
  color: var(--green-800);
}
.notice-summary .badge.important { background: #FCEBD5; color: #A85A00; }
.notice-summary .title { flex: 1; font-weight: 700; font-size: 15.5px; }
.notice-summary .date { flex: none; font-size: 13.5px; color: var(--text-500); }
.notice-summary .chevron {
  flex: none;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-500);
  transition: transform 0.2s ease;
}
.notice-item:hover .notice-summary .title { color: var(--green-700); }
.notice-summary[aria-expanded="true"] .chevron { transform: rotate(180deg); }

.notice-body {
  padding: 0 6px 22px 6px;
  color: var(--text-700);
  font-size: 14px;
  line-height: 1.8;
}
.notice-body[hidden] { display: none; }
.notice-body a { color: var(--green-700); font-weight: 700; text-decoration: underline; }

.curriculum-block {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  overflow: hidden;
  margin-bottom: 20px;
}
.curriculum-block .head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  background: linear-gradient(90deg, var(--green-100), transparent);
}
.curriculum-block .head h3 { margin: 0; font-size: 18px; font-weight: 800; }
.curriculum-block .head span { font-size: 13px; font-weight: 700; color: var(--teal-500); }
.curriculum-block .body { padding: 8px 28px 26px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 30px; }
.curriculum-block .body div { font-size: 14px; color: var(--text-700); padding: 10px 0; border-bottom: 1px dashed var(--border); }

.info-table { width: 100%; border-collapse: collapse; }
.info-table th, .info-table td {
  text-align: left;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 14.5px;
}
.info-table th { width: 160px; color: var(--text-500); font-weight: 700; background: var(--green-100); vertical-align: top; }
.info-table td { vertical-align: top; }
.mini-fact { display: flex; gap: 8px; margin-bottom: 6px; }
.mini-fact:last-child { margin-bottom: 0; }
.mini-fact b { flex: 0 0 34px; color: var(--green-800); font-weight: 800; }
.mini-fact span { flex: 1; color: var(--text-700); }

.map-box {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  height: 320px;
  background:
    linear-gradient(135deg, rgba(27,122,69,0.14), rgba(18,165,148,0.14)),
    repeating-linear-gradient(45deg, rgba(11,61,36,0.05) 0 2px, transparent 2px 14px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-500);
  font-weight: 700;
  font-size: 14px;
  text-align: center;
  padding: 20px;
}

.contact-form { display: grid; gap: 16px; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { font-size: 13.5px; font-weight: 700; color: var(--text-700); margin-bottom: 8px; display: block; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 14.5px;
  font-family: inherit;
}
.contact-form input:focus,
.contact-form textarea:focus { outline: 2px solid var(--green-500); outline-offset: 1px; }

/* ---------- 포스터 캐러셀 ---------- */
.poster-carousel {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}
.poster-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.poster-slide {
  flex: 0 0 100%;
  min-width: 100%;
  aspect-ratio: 16 / 7;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  text-align: center;
  color: #fff;
}
.poster-slide.tone-a { background: linear-gradient(135deg, var(--green-700), var(--teal-500)); }
.poster-slide.tone-b { background: linear-gradient(135deg, var(--green-800), var(--green-500)); }
.poster-slide.tone-c { background: linear-gradient(135deg, var(--teal-500), var(--green-600)); }
.poster-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.poster-slide .poster-placeholder { max-width: 380px; }
.poster-slide .poster-placeholder.wide { max-width: 640px; }
.poster-slide .poster-placeholder.wide p { white-space: nowrap; }
@media (max-width: 700px) {
  .poster-slide .poster-placeholder.wide p { white-space: normal; }
}
.poster-slide .poster-placeholder .tag {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 14px;
}
.poster-slide .poster-placeholder h4 { font-size: 21px; font-weight: 800; margin: 0 0 10px; }
.poster-slide .poster-placeholder p { font-size: 13.5px; opacity: 0.85; margin: 0; }

.poster-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.85);
  color: var(--text-900);
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: background 0.2s ease, transform 0.2s ease;
  z-index: 2;
}
.poster-nav:hover { background: #fff; transform: translateY(-50%) scale(1.06); }
.poster-nav.prev { left: 16px; }
.poster-nav.next { right: 16px; }

.poster-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 16px 0;
  background: var(--surface);
}
.poster-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}
.poster-dots button.active { background: var(--green-700); transform: scale(1.35); }

@media (max-width: 760px) {
  .poster-slide { padding: 24px; aspect-ratio: 4 / 5; }
  .poster-slide .poster-placeholder h4 { font-size: 17px; }
  .poster-nav { width: 36px; height: 36px; font-size: 18px; }
}

/* ---------- 운영일정 달력 ---------- */
.cal-list { display: flex; flex-direction: column; gap: 30px; }
.cal-month-title { font-size: 17px; font-weight: 800; margin-bottom: 12px; color: var(--text-900); }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.cal-grid.cal-head { border-radius: var(--radius-sm) var(--radius-sm) 0 0; }
.cal-dow { background: var(--green-100); color: var(--green-800); text-align: center; font-size: 12px; font-weight: 800; padding: 7px 0; }
.cal-week { border-left: 1px solid var(--border); border-right: 1px solid var(--border); }
.cal-week:last-child { border-radius: 0 0 var(--radius-sm) var(--radius-sm); overflow: hidden; }
.cal-week .cal-grid { border: none; border-bottom: 1px solid var(--border); }
.cal-cell { background: var(--surface); min-height: 30px; padding: 5px 6px 2px; }
.cal-cell.empty { background: var(--bg); }
.cal-date { font-size: 11.5px; font-weight: 700; color: var(--text-500); }
.cal-bars { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; padding: 2px 3px 6px; background: var(--surface); }
.cal-bar {
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 5px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ev-notice { background: var(--green-100); color: var(--green-800); }
.ev-recruit { background: #FCEBD5; color: #A85A00; }
.ev-holiday { background: #F1F0EE; color: #5F5E5A; }
.ev-lecture { background: rgba(18, 165, 148, 0.14); color: var(--teal-500); }
.ev-exam { background: #FBEAF0; color: #99355A; }
.ev-practice { background: rgba(27, 122, 69, 0.14); color: var(--green-700); }
.ev-complete { background: var(--green-700); color: #fff; }

@media (max-width: 760px) {
  .cal-cell { min-height: 24px; padding: 4px; }
  .cal-date { font-size: 10px; }
  .cal-bar { font-size: 8.5px; padding: 2px 4px; }
  .cal-dow { font-size: 11px; padding: 6px 0; }
}

/* ---------- 반응형 ---------- */
@media (max-width: 960px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .curriculum-block .body { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .main-nav.open {
    display: flex;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--surface);
    flex-direction: column;
    padding: 12px;
    border-bottom: 1px solid var(--border);
    gap: 4px;
  }
  .hero { padding: 56px 0 56px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .cta-banner { padding: 40px 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .contact-form .row { grid-template-columns: 1fr; }
  section { padding: 60px 0; }
  .why-row { flex-direction: column; padding: 22px 20px; gap: 14px; }
  .why-icon { width: 46px; height: 46px; }
  .why-icon svg { width: 24px; height: 24px; }
  .footer-grid.cols-2 { grid-template-columns: 1fr; }
  .cta-banner.cta-compact { flex-direction: column; align-items: flex-start; gap: 16px; }
}
