/* 서브 페이지 공통 스타일 (진학 대학 · 교육철학 · 프로그램 · 강점 등) */
:root {
  --navy: #010d51;
  --navy-2: #00288c;
  --soft: #eef2fb;
  --text: #1d2733;
  --muted: #5d6b7a;
  --line: #e3e8ee;
  --bg-alt: #f6f8fb;
  --red: #b3122e; /* 포인트 색: 작은 제목 · 강조 · 번호에만 */
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: "Noto Sans KR", sans-serif; color: var(--text); background: #fff; line-height: 1.7; word-break: keep-all; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1140px, 100% - 32px); margin-inline: auto; }
.serif { font-family: "Libre Baskerville", "Noto Serif KR", serif; }

/* Header */
header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
header .container { width: min(1280px, 100% - 32px); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 96px; }
.logo img { height: 48px; width: auto; }
.menu { display: flex; gap: 32px; font-size: 16px; font-weight: 500; white-space: nowrap; }
.menu a { position: relative; padding: 6px 0; }
.menu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--navy-2); transform: scaleX(0); transition: transform .2s; }
.menu a:hover, .menu a.active { color: var(--navy-2); }
.menu a:hover::after, .menu a.active::after { transform: scaleX(1); }
.hamburger { display: none; background: none; border: 0; font-size: 26px; color: var(--navy); cursor: pointer; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 18px 28px; font-size: 16px; font-weight: 700; border: 0; cursor: pointer; white-space: nowrap; transition: background .2s; }
.btn-primary { background: var(--navy-2); color: #fff; }
.btn-primary:hover { background: var(--navy); }
.nav .btn { padding: 12px 22px; font-size: 15px; }

/* Page top */
.page-top { background: linear-gradient(180deg, #f3f6fc 0%, #fff 100%); border-bottom: 1px solid var(--line); padding: 88px 0 72px; position: relative; overflow: hidden; }
.page-top::before {
  content: ""; position: absolute; right: -60px; top: 50%; transform: translateY(-50%);
  width: min(560px, 50vw); height: min(460px, 42vw); opacity: .05;
  background: url("images/emblem.png") no-repeat center / contain;
}
.page-top .container { position: relative; }
.eyebrow { font-family: "Libre Baskerville", serif; font-weight: 700; font-size: 16px; letter-spacing: 1px; color: var(--red); }
.page-top .eyebrow { color: var(--navy-2); } /* 페이지 맨 위 작은 제목은 파란색 */
.page-top h1 { font-size: clamp(32px, 5vw, 52px); color: var(--navy); font-weight: 700; line-height: 1.3; margin: 10px 0 16px; }
.page-top p { font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); max-width: 640px; }

/* Sections */
section { padding: 88px 0; }
.alt { background: var(--bg-alt); }
.sec-head { margin-bottom: 40px; }
.sec-head h2 { font-size: clamp(24px, 3vw, 32px); color: var(--navy); font-weight: 700; margin-top: 6px; }
.sec-head p { color: var(--muted); margin-top: 8px; }

/* CTA */
/* 상담 띠: 화면 전체가 아니라 박스로, 아래 푸터(남색)와 흰 여백으로 분리 */
.cta-band { background: #fff; color: #fff; padding: 0 0 96px; }
.cta-band .container {
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
  background: var(--navy); padding: 52px 56px;
}
.cta-band h3 { font-size: clamp(22px, 3vw, 28px); font-weight: 700; }
.cta-band p { opacity: .8; }
.cta-band .btn { background: #fff; color: var(--navy); }
.cta-band .btn:hover { background: var(--soft); }

/* Footer */
footer { background: var(--navy); color: rgba(255,255,255,.7); padding: 48px 0; font-size: 14px; border-top: 1px solid rgba(255,255,255,.1); }
.foot { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot img { height: 34px; margin-bottom: 16px; }
.foot a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* 카카오톡 상담 버튼 */
.kakao-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  display: flex; align-items: center; gap: 8px; padding: 14px 20px; border-radius: 2px;
  background: #fee500; color: #3c1e1e; font-weight: 700; font-size: 15px; box-shadow: 0 8px 24px rgba(0,0,0,.18);
}

@media (max-width: 1240px) { .menu { gap: 22px; font-size: 15px; } }
@media (max-width: 1100px) {
  .nav { height: 72px; }
  .logo img { height: 36px; }
  .menu, .nav .btn { display: none; }
  .hamburger { display: block; }
  .menu.open {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 72px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line);
  }
  .menu.open a { padding: 16px 24px; border-top: 1px solid var(--line); }
  .menu.open a::after { display: none; }
  section { padding: 64px 0; }
  .page-top { padding: 64px 0 52px; }
  .cta-band { padding-bottom: 64px; }
  .cta-band .container { padding: 40px 28px; }
}
@media (max-width: 600px) {
  .kakao-float { right: 16px; bottom: 16px; padding: 14px; }
  .kakao-float span { display: none; }
}
@media (max-width: 420px) { .logo img { height: 28px; } }
