/* ============================================
   연세 해법 영,수학원 — Final Complete Stylesheet
   ============================================ */

:root {
  --primary:        #1a3a6b;
  --primary-light:  #2655a0;
  --primary-dark:   #0d1f3c;
  --accent:         #e8952f;
  --accent-light:   #f5b95a;
  --accent-dark:    #c97820;
  --english:        #2563eb;
  --english-light:  #dbeafe;
  --math:           #059669;
  --math-light:     #d1fae5;
  --kakao:          #fee500;
  --kakao-text:     #3c1e1e;
  --blog:           #03c75a;
  --text-dark:      #111827;
  --text-mid:       #374151;
  --text-light:     #6b7280;
  --text-xlight:    #9ca3af;
  --border:         #e5e7eb;
  --border-light:   #f3f4f6;
  --bg-light:       #f6f9ff;
  --bg-dark:        #0d1f3c;
  --white:          #ffffff;
  --shadow-xs:  0 1px 4px rgba(0,0,0,0.05);
  --shadow-sm:  0 2px 14px rgba(0,0,0,0.08);
  --shadow-md:  0 8px 32px rgba(0,0,0,0.12);
  --shadow-lg:  0 20px 56px rgba(0,0,0,0.16);
  --shadow-xl:  0 32px 80px rgba(0,0,0,0.2);
  --r-xs:   6px;
  --r-sm:   10px;
  --r:      16px;
  --r-lg:   24px;
  --r-xl:   32px;
  --ease:   cubic-bezier(0.4, 0, 0.2, 1);
  --tx:     all 0.32s var(--ease);
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Noto Sans KR', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.section-pad { padding: 110px 0; }
.bg-light { background: var(--bg-light); }
.bg-dark-blue { background: var(--bg-dark); }
.br-pc { display: block; }

/* ─── Section Labels ─── */
.section-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 800;
  letter-spacing: 4px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
}
.section-label::before,
.section-label::after {
  content: ''; display: block;
  height: 1px; background: var(--accent);
  flex-shrink: 0;
}
.section-label::before { width: 20px; }
.section-label::after  { width: 8px; }
.section-label.white { color: var(--accent-light); }
.section-label.white::before,
.section-label.white::after { background: var(--accent-light); }

.section-header.center .section-label { justify-content: center; }
.section-header.center { text-align: center; margin-bottom: 60px; }

.section-title {
  font-family: 'Noto Serif KR', serif;
  font-size: clamp(26px, 3.4vw, 42px);
  font-weight: 700; line-height: 1.3; color: var(--text-dark);
  word-break: keep-all;
}
.section-title em   { color: var(--primary); font-style: normal; }
.section-title.white { color: var(--white); }
.section-desc {
  font-size: 16px; color: var(--text-light);
  margin-top: 16px; line-height: 1.85; word-break: keep-all;
}
.section-desc.white-60 { color: rgba(255,255,255,0.6); }


/* ══════════════════════════════════════
   ANIMATION
══════════════════════════════════════ */
.fade-up {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.72s var(--ease), transform 0.72s var(--ease);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

.reveal-up {
  opacity: 0; transform: translateY(36px);
  transition: opacity 0.64s var(--ease), transform 0.64s var(--ease);
}
.reveal-up.visible { opacity: 1; transform: translateY(0); }

.reveal-left {
  opacity: 0; transform: translateX(-48px);
  transition: opacity 0.68s var(--ease), transform 0.68s var(--ease);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0; transform: translateX(48px);
  transition: opacity 0.68s var(--ease), transform 0.68s var(--ease);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }


/* ══════════════════════════════════════
   HEADER
══════════════════════════════════════ */
#header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000; padding: 22px 0;
  transition: var(--tx);
}
#header.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 24px rgba(0,0,0,0.07);
  padding: 12px 0;
}
#header.scrolled .logo-mark  { background: var(--primary); border-color: transparent; }
#header.scrolled .logo-ko    { color: var(--primary); }
#header.scrolled .logo-sub   { color: var(--accent); }
#header.scrolled #gnb a      { color: var(--text-mid); }
#header.scrolled #gnb a:hover { color: var(--primary); background: rgba(26,58,107,0.06); }
#header.scrolled .hamburger span { background: var(--primary); }

.header-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 28px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 11px; }
.logo-mark {
  width: 40px; height: 40px; border-radius: var(--r-sm);
  background: rgba(255,255,255,0.12); border: 1.5px solid rgba(255,255,255,0.22);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Noto Serif KR', serif;
  font-size: 18px; font-weight: 900; color: var(--white);
  transition: var(--tx); flex-shrink: 0;
}
.logo-mark.sm {
  width: 34px; height: 34px; font-size: 14px;
  background: var(--primary); border-color: transparent; color: var(--white);
}
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-ko {
  font-family: 'Noto Serif KR', serif;
  font-size: 19px; font-weight: 900; color: var(--white);
  letter-spacing: -0.3px; transition: var(--tx);
}
.logo-sub {
  font-size: 12px; font-weight: 600; color: var(--accent-light);
  margin-top: 2px; transition: var(--tx);
}

#gnb ul { display: flex; gap: 2px; align-items: center; }
#gnb a {
  font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.88);
  padding: 8px 14px; border-radius: var(--r-sm); transition: var(--tx);
}
#gnb a:hover { color: var(--white); background: rgba(255,255,255,0.1); }
#gnb a.nav-cta {
  background: var(--accent); color: var(--white); font-weight: 700;
  padding: 9px 22px; display: flex; align-items: center; gap: 7px;
  margin-left: 8px; border-radius: 50px;
}
#gnb a.nav-cta:hover {
  background: var(--accent-light); transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(232,149,47,0.42);
}

.hamburger { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--tx); }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile Menu */
.mob-overlay {
  position: fixed; inset: 0; z-index: 998;
  background: rgba(0,0,0,0.6); opacity: 0; pointer-events: none;
  transition: opacity 0.35s ease;
}
.mob-overlay.show { opacity: 1; pointer-events: all; }
.mobile-menu {
  position: fixed; top: 0; right: -100%;
  width: 82%; max-width: 340px; height: 100vh;
  background: var(--primary-dark);
  z-index: 999; display: flex; flex-direction: column;
  transition: right 0.4s var(--ease); overflow-y: auto;
}
.mobile-menu.open { right: 0; }
.mob-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 22px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.mob-logo { display: flex; align-items: center; gap: 9px; }
.mob-logo .logo-ko { font-size: 16px; color: var(--white); }
.mob-close {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.08); color: var(--white); font-size: 15px;
  display: flex; align-items: center; justify-content: center; transition: var(--tx);
}
.mob-close:hover { background: rgba(255,255,255,0.16); }
.mobile-menu ul { padding: 14px; flex: 1; display: flex; flex-direction: column; gap: 3px; }
.mobile-menu a {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 14px; color: rgba(255,255,255,0.75);
  font-size: 15px; font-weight: 500;
  border-radius: var(--r-sm); transition: var(--tx);
}
.mobile-menu a i { width: 18px; font-size: 14px; opacity: 0.6; }
.mobile-menu a:hover { color: var(--white); background: rgba(255,255,255,0.07); }
.mobile-menu a.mob-cta {
  background: var(--accent); color: var(--white); font-weight: 700; margin-top: 10px;
}
.mobile-menu a.mob-cta i { opacity: 1; }
.mobile-menu a.mob-cta:hover { background: var(--accent-light); }
.mob-footer-info {
  padding: 18px 22px; border-top: 1px solid rgba(255,255,255,0.07);
  display: flex; flex-direction: column; gap: 8px;
}
.mob-footer-info a,
.mob-footer-info span {
  font-size: 13px; color: rgba(255,255,255,0.42);
  display: flex; align-items: center; gap: 9px;
}
.mob-footer-info a { color: rgba(255,255,255,0.58); transition: var(--tx); }
.mob-footer-info a:hover { color: var(--white); }
.mob-footer-info i { color: var(--accent-light); font-size: 12px; }


/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(145deg, #040d1e 0%, #0b1d4a 38%, #152f67 68%, #1a3a7c 100%);
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 75% 55% at 88% 18%, rgba(232,149,47,0.15) 0%, transparent 58%),
    radial-gradient(ellipse 55% 65% at 12% 82%, rgba(37,99,235,0.18) 0%, transparent 52%),
    radial-gradient(ellipse 40% 40% at 50% 50%, rgba(26,58,107,0.2) 0%, transparent 70%);
}
.hero-grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 72px 72px;
}
.hero-particles { position: absolute; inset: 0; overflow: hidden; }
.particle {
  position: absolute; border-radius: 50%;
  animation: float-particle linear infinite; opacity: 0;
}
@keyframes float-particle {
  0%   { transform: translateY(110vh) rotate(0deg);   opacity: 0; }
  8%   { opacity: 1; }
  92%  { opacity: 0.4; }
  100% { transform: translateY(-10vh) rotate(720deg); opacity: 0; }
}

.hero-content {
  position: relative; z-index: 2;
  text-align: center; max-width: 900px;
  padding: 148px 28px 88px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(12px);
  color: rgba(255,255,255,0.86); font-size: 13.5px; font-weight: 500;
  padding: 10px 24px; border-radius: 50px; margin-bottom: 32px;
  letter-spacing: 0.2px;
}
.badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent-light);
  animation: pulse-dot 2.2s ease-in-out infinite; flex-shrink: 0;
}
@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.6); opacity: 0.6; }
}
.hero-title {
  font-family: 'Noto Serif KR', serif;
  font-size: clamp(32px, 5.6vw, 64px);
  font-weight: 900; color: var(--white);
  line-height: 1.2; margin-bottom: 28px; word-break: keep-all;
}
.hero-title em {
  font-style: normal;
  color: rgba(255,255,255,0.68);
  font-size: 0.92em;
}
.hero-title strong {
  font-style: normal;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 50%, #ffd98a 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: clamp(15px, 1.8vw, 18px); color: rgba(255,255,255,0.7);
  line-height: 2; margin-bottom: 46px; word-break: keep-all;
}
.hero-sub b { color: var(--accent-light); font-weight: 700; }

.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 56px; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, var(--accent) 0%, #d4821b 100%);
  color: var(--white); font-size: 16px; font-weight: 700;
  padding: 16px 40px; border-radius: 50px;
  box-shadow: 0 8px 30px rgba(232,149,47,0.46); transition: var(--tx);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 44px rgba(232,149,47,0.58); }
.pulse-btn { animation: pulse-glow 3.2s ease-in-out infinite; }
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 8px 30px rgba(232,149,47,0.46); }
  50%       { box-shadow: 0 8px 48px rgba(232,149,47,0.72), 0 0 0 10px rgba(232,149,47,0.08); }
}
.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.07); border: 1.5px solid rgba(255,255,255,0.26);
  color: var(--white); font-size: 16px; font-weight: 600;
  padding: 15px 36px; border-radius: 50px; transition: var(--tx);
}
.btn-ghost:hover { background: rgba(255,255,255,0.13); transform: translateY(-3px); border-color: rgba(255,255,255,0.48); }

.hero-stats {
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.065); border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(16px);
  border-radius: var(--r-lg); padding: 28px 48px;
  max-width: 560px; margin: 0 auto;
}
.stat-item { flex: 1; text-align: center; }
.stat-num {
  display: block; font-family: 'Noto Serif KR', serif;
  font-size: 40px; font-weight: 900; color: var(--white); line-height: 1;
}
.stat-num em { font-family: 'Noto Sans KR', sans-serif; font-size: 14px; font-weight: 700; font-style: normal; color: var(--accent-light); }
.stat-label { display: block; font-size: 11.5px; color: rgba(255,255,255,0.55); margin-top: 7px; font-weight: 500; letter-spacing: -0.1px; }
.stat-divider { width: 1px; height: 50px; background: rgba(255,255,255,0.12); flex-shrink: 0; margin: 0 8px; }

.hero-scroll-hint {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  color: rgba(255,255,255,0.32); font-size: 9.5px; letter-spacing: 2.5px; text-transform: uppercase;
  animation: scroll-bounce 2.6s ease-in-out infinite;
}
@keyframes scroll-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(9px); }
}


/* ══════════════════════════════════════
   NOTICE BAND
══════════════════════════════════════ */
.notice-band {
  background: linear-gradient(90deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 14px 28px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.notice-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap;
}
.notice-tag {
  background: var(--accent); color: var(--white);
  font-size: 11px; font-weight: 800; padding: 4px 12px;
  border-radius: var(--r-xs); letter-spacing: 0.3px; white-space: nowrap;
  display: flex; align-items: center; gap: 5px;
}
.notice-inner > span { font-size: 13.5px; color: rgba(255,255,255,0.8); }
.notice-inner b { color: var(--accent-light); font-weight: 700; }
.notice-btn {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,0.09); border: 1px solid rgba(255,255,255,0.16);
  color: var(--white); font-size: 13px; font-weight: 700;
  padding: 6px 18px; border-radius: 50px; transition: var(--tx); white-space: nowrap;
}
.notice-btn:hover { background: var(--accent); border-color: var(--accent); }


/* ══════════════════════════════════════
   ABOUT
══════════════════════════════════════ */
.about-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 88px; align-items: center; }

.about-img-wrap {
  position: relative; height: 520px;
  display: flex; align-items: center; justify-content: center;
}
.about-img-wrap::before {
  content: ''; position: absolute;
  width: 340px; height: 340px; border-radius: 50%;
  border: 2px dashed rgba(26,58,107,0.1);
  animation: rotate-slow 38s linear infinite;
}
.about-img-wrap::after {
  content: ''; position: absolute;
  width: 460px; height: 460px; border-radius: 50%;
  border: 1px solid rgba(232,149,47,0.07);
  animation: rotate-slow 60s linear infinite reverse;
}
@keyframes rotate-slow { to { transform: rotate(360deg); } }

.about-center-badge {
  width: 196px; height: 196px; border-radius: 50%;
  background: linear-gradient(145deg, var(--primary), var(--primary-light));
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  box-shadow: 0 28px 64px rgba(26,58,107,0.4); z-index: 3;
}
.about-center-badge i { font-size: 28px; color: var(--accent-light); margin-bottom: 5px; }
.about-center-badge .big { font-family: 'Noto Serif KR', serif; font-size: 21px; font-weight: 900; color: var(--white); }
.about-center-badge .small { font-size: 12px; color: rgba(255,255,255,0.65); font-weight: 500; }

.about-img-card {
  position: absolute; background: var(--white); border-radius: var(--r);
  padding: 13px 18px; box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 11px;
  font-size: 13.5px; font-weight: 600; color: var(--primary);
  white-space: nowrap; z-index: 4; transition: var(--tx);
  border: 1px solid var(--border);
}
.about-img-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
}
.card-icon i { font-size: 15px; color: var(--white); }
.about-img-card.card1 { top: 68px; left: 0; }
.about-img-card.card2 { top: 50%; right: -14px; transform: translateY(-50%); }
.about-img-card.card2:hover { transform: translateY(calc(-50% - 5px)); }
.about-img-card.card3 { bottom: 76px; left: 16px; }

.about-desc { font-size: 15.5px; color: var(--text-mid); line-height: 1.9; margin-bottom: 16px; word-break: keep-all; }
.about-desc b { color: var(--primary); font-weight: 700; }

.about-check-list { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.about-check-list li {
  display: flex; align-items: center; gap: 12px;
  font-size: 15px; font-weight: 500; color: var(--text-mid);
}
.about-check-list li i {
  width: 24px; height: 24px; flex-shrink: 0; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white); font-size: 10px;
  display: flex; align-items: center; justify-content: center;
}
.about-btns { display: flex; align-items: center; gap: 18px; margin-top: 36px; flex-wrap: wrap; }
.about-cta-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--primary); color: var(--white);
  font-size: 15px; font-weight: 700;
  padding: 14px 30px; border-radius: 50px;
  box-shadow: 0 6px 22px rgba(26,58,107,0.3); transition: var(--tx);
}
.about-cta-btn:hover { background: var(--primary-light); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(26,58,107,0.42); }
.about-ghost-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--primary);
  border-bottom: 1.5px solid rgba(26,58,107,0.3); padding-bottom: 2px;
  transition: var(--tx);
}
.about-ghost-btn:hover { color: var(--primary-light); border-color: var(--primary-light); gap: 14px; }


/* ══════════════════════════════════════
   NUMBER BAND
══════════════════════════════════════ */
.number-band {
  background: var(--primary-dark);
  padding: 48px 0;
}
.number-band-grid {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 28px;
}
.nb-item { flex: 1; min-width: 140px; text-align: center; }
.nb-num {
  display: block;
  font-family: 'Noto Serif KR', serif;
  font-size: 42px; font-weight: 900; color: var(--white); line-height: 1;
  margin-bottom: 8px;
}
.nb-num em { font-family: 'Noto Sans KR', sans-serif; font-size: 16px; font-weight: 700; font-style: normal; color: var(--accent-light); }
.nb-label { font-size: 13px; color: rgba(255,255,255,0.5); font-weight: 500; }
.nb-divider { width: 1px; height: 52px; background: rgba(255,255,255,0.1); flex-shrink: 0; }


/* ══════════════════════════════════════
   STRENGTHS
══════════════════════════════════════ */
.strengths-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.strength-card {
  background: var(--white); border-radius: var(--r-lg);
  border: 1.5px solid var(--border);
  padding: 36px 30px 32px; transition: var(--tx);
  position: relative; overflow: hidden;
}
.strength-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease);
}
.strength-card:hover {
  border-color: transparent; transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.strength-card:hover::before { transform: scaleX(1); }
.str-icon-wrap { margin-bottom: 20px; }
.str-icon {
  width: 54px; height: 54px;
  background: linear-gradient(135deg, rgba(26,58,107,0.08), rgba(37,85,160,0.13));
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  transition: var(--tx);
}
.strength-card:hover .str-icon {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
}
.str-icon i { font-size: 22px; color: var(--primary); transition: var(--tx); }
.strength-card:hover .str-icon i { color: var(--white); }
.strength-card h3 { font-family: 'Noto Serif KR', serif; font-size: 19px; font-weight: 700; color: var(--text-dark); margin-bottom: 13px; }
.strength-card p { font-size: 14.5px; color: var(--text-light); line-height: 1.82; word-break: keep-all; }
.strength-card p b { color: var(--primary); font-weight: 700; }
.str-tag {
  display: inline-block; margin-top: 20px;
  background: var(--bg-light); color: var(--primary);
  font-size: 11px; font-weight: 700; letter-spacing: 0.5px;
  padding: 4px 12px; border-radius: 50px;
  border: 1px solid rgba(26,58,107,0.12);
  transition: var(--tx);
}
.strength-card:hover .str-tag {
  background: rgba(26,58,107,0.08); border-color: rgba(26,58,107,0.2);
}


/* ══════════════════════════════════════
   CURRICULUM
══════════════════════════════════════ */
.curr-tabs {
  display: flex; gap: 10px; justify-content: center; margin-bottom: 48px;
}
.curr-tab {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 32px; border-radius: 50px;
  background: var(--white); border: 2px solid var(--border);
  font-size: 15px; font-weight: 700; color: var(--text-light);
  transition: var(--tx); box-shadow: var(--shadow-xs);
}
.curr-tab:hover { border-color: var(--primary); color: var(--primary); }
.curr-tab.active {
  background: var(--primary); border-color: var(--primary);
  color: var(--white);
  box-shadow: 0 6px 24px rgba(26,58,107,0.36);
}

.curr-content { display: none; }
.curr-content.active { display: block; }

.curr-steps {
  display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: start; gap: 0;
}
.curr-step {
  background: var(--white); border-radius: var(--r-lg);
  border: 1.5px solid var(--border); padding: 34px 28px 28px;
  transition: var(--tx);
}
.curr-step:hover { box-shadow: var(--shadow-md); border-color: rgba(26,58,107,0.18); transform: translateY(-4px); }

.step-top {
  display: flex; align-items: center; gap: 14px; margin-bottom: 18px;
}
.step-badge {
  display: inline-block;
  font-size: 10px; font-weight: 900; letter-spacing: 1.5px;
  padding: 5px 12px; border-radius: 50px;
}
.step-badge.english { background: var(--english-light); color: var(--english); }
.step-badge.math    { background: var(--math-light); color: var(--math); }

.step-icon {
  width: 44px; height: 44px; border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.english-icon { background: linear-gradient(135deg, var(--english), #1d4ed8); }
.math-icon    { background: linear-gradient(135deg, var(--math), #047857); }
.step-icon i  { font-size: 20px; color: var(--white); }

.curr-step h3 { font-family: 'Noto Serif KR', serif; font-size: 20px; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; }
.step-summary { font-size: 13px; color: var(--text-light); margin-bottom: 18px; line-height: 1.65; }

.curr-step ul { display: flex; flex-direction: column; gap: 9px; margin-bottom: 22px; }
.curr-step ul li {
  display: flex; align-items: flex-start; gap: 9px;
  font-size: 14px; color: var(--text-mid); line-height: 1.6;
}
.curr-step ul li i {
  font-size: 12px; margin-top: 3px; flex-shrink: 0;
}
#tab-english .curr-step ul li i { color: var(--english); }
#tab-math    .curr-step ul li i { color: var(--math); }

.step-target {
  display: flex; align-items: center; gap: 8px;
  font-size: 12.5px; color: var(--text-light);
  background: var(--bg-light); padding: 10px 14px; border-radius: var(--r-sm);
  border-left: 3px solid var(--accent);
  line-height: 1.5;
}
.step-target i { color: var(--accent); font-size: 12px; flex-shrink: 0; }

.curr-connector {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 0 12px; margin-top: 80px;
  color: var(--text-xlight); font-size: 20px;
  position: relative;
}
.conn-line {
  position: absolute; top: 50%; left: 50%;
  width: 100%; height: 1px;
  background: var(--border); z-index: 0;
}
.curr-connector i { position: relative; z-index: 1; background: var(--bg-light); padding: 4px; }


/* ══════════════════════════════════════
   MANAGEMENT SYSTEM
══════════════════════════════════════ */
.mgmt-flow {
  display: flex; align-items: flex-start; justify-content: center;
  gap: 0; flex-wrap: wrap; margin-bottom: 56px;
}
.mgmt-step {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  flex: 1; min-width: 120px; max-width: 170px; padding: 32px 14px 28px;
  border-radius: var(--r);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  transition: var(--tx);
}
.mgmt-step:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.14);
  transform: translateY(-5px);
}
.mgmt-step.highlight {
  background: linear-gradient(145deg, rgba(232,149,47,0.22), rgba(245,185,90,0.12));
  border-color: rgba(232,149,47,0.32);
}
.mgmt-icon {
  width: 56px; height: 56px;
  background: rgba(255,255,255,0.09); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; transition: var(--tx);
}
.mgmt-step:hover .mgmt-icon {
  background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.22);
}
.mgmt-step.highlight .mgmt-icon {
  background: rgba(232,149,47,0.25); border-color: rgba(232,149,47,0.4);
}
.mgmt-icon i { font-size: 22px; color: rgba(255,255,255,0.82); }
.mgmt-step.highlight .mgmt-icon i { color: var(--accent-light); }
.mgmt-num {
  font-family: 'Noto Serif KR', serif;
  font-size: 11px; font-weight: 900; color: rgba(255,255,255,0.3);
  letter-spacing: 1px; margin-bottom: 5px;
}
.mgmt-label {
  font-size: 14px; font-weight: 700; color: var(--white);
  margin-bottom: 10px; white-space: nowrap;
}
.mgmt-step.highlight .mgmt-label { color: var(--accent-light); }
.mgmt-desc { font-size: 12.5px; color: rgba(255,255,255,0.48); line-height: 1.6; word-break: keep-all; }

.mgmt-arrow {
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.2); font-size: 16px; padding: 0 8px; align-self: center;
  flex-shrink: 0;
}

.mgmt-quote {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
  border-left: 3px solid var(--accent);
  border-radius: var(--r); padding: 28px 36px;
  display: flex; gap: 16px; align-items: flex-start; max-width: 720px; margin: 0 auto;
}
.quote-icon { color: var(--accent-light); font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.mgmt-quote p { font-size: 15.5px; color: rgba(255,255,255,0.72); line-height: 1.85; word-break: keep-all; }
.mgmt-quote p b { color: var(--white); font-weight: 700; }


/* ══════════════════════════════════════
   FACULTY
══════════════════════════════════════ */
.faculty-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }

.faculty-card {
  background: var(--white); border-radius: var(--r-xl);
  border: 1.5px solid var(--border);
  overflow: hidden; transition: var(--tx);
}
.faculty-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: transparent; }

.faculty-header {
  display: flex; align-items: center; gap: 22px;
  padding: 32px 32px 28px;
  border-bottom: 1px solid var(--border);
}
.english-header { background: linear-gradient(135deg, rgba(37,99,235,0.06), rgba(219,234,254,0.4)); }
.math-header    { background: linear-gradient(135deg, rgba(5,150,105,0.06), rgba(209,250,229,0.4)); }

.faculty-avatar-wrap { flex-shrink: 0; }
.faculty-avatar {
  width: 72px; height: 72px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.english-avatar { background: linear-gradient(135deg, var(--english), #1d4ed8); box-shadow: 0 8px 24px rgba(37,99,235,0.36); }
.math-avatar    { background: linear-gradient(135deg, var(--math), #047857); box-shadow: 0 8px 24px rgba(5,150,105,0.36); }
.faculty-avatar i { font-size: 28px; color: var(--white); }

.faculty-title-area { flex: 1; }
.faculty-badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 700; padding: 4px 12px;
  border-radius: 50px; margin-bottom: 8px; letter-spacing: 0.3px;
}
.english-badge { background: var(--english-light); color: var(--english); }
.math-badge    { background: var(--math-light); color: var(--math); }

.faculty-title-area h3 { font-family: 'Noto Serif KR', serif; font-size: 22px; font-weight: 900; color: var(--text-dark); margin-bottom: 5px; }
.faculty-tagline { font-size: 13px; color: var(--text-light); line-height: 1.6; font-style: italic; }

.faculty-body { padding: 28px 32px; display: flex; flex-direction: column; gap: 20px; }
.faculty-info-row {}
.fi-label {
  display: flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 800; color: var(--text-dark);
  letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 8px;
}
.fi-label i { font-size: 12px; color: var(--primary); }

.fi-list { display: flex; flex-direction: column; gap: 5px; }
.fi-list li {
  font-size: 14px; color: var(--text-mid); padding-left: 14px;
  position: relative; line-height: 1.65;
  display: flex; align-items: baseline; gap: 6px;
}
.fi-list li::before {
  content: '·'; position: absolute; left: 0; color: var(--text-xlight); font-weight: 900;
}
.fi-list.specialty li { color: var(--primary); font-weight: 500; }
.fi-list.specialty li::before { color: var(--primary); }
.fi-highlight {
  display: inline-block; background: var(--accent); color: var(--white);
  font-size: 10px; font-weight: 800; padding: 1px 7px; border-radius: 50px;
  vertical-align: middle; margin-left: 4px; letter-spacing: 0.3px;
}

.faculty-quote {
  margin: 0 32px 28px; padding: 18px 22px;
  background: var(--bg-light);
  border-left: 3px solid var(--accent); border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-size: 13.5px; color: var(--text-mid); line-height: 1.8; display: flex; gap: 12px;
}
.faculty-quote i { color: var(--accent); font-size: 14px; flex-shrink: 0; margin-top: 2px; }


/* ══════════════════════════════════════
   FACILITY
══════════════════════════════════════ */
.facility-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 280px 220px;
  gap: 14px; margin-bottom: 48px;
}
.fac-gallery-card {
  position: relative; border-radius: var(--r);
  overflow: hidden; cursor: pointer;
  background: var(--bg-dark);
}
.fac-gallery-card:nth-child(1) {
  grid-column: 1; grid-row: 1 / 3;
}
.fac-gallery-card:nth-child(2) { grid-column: 2; grid-row: 1; }
.fac-gallery-card:nth-child(3) { grid-column: 3; grid-row: 1; }
.fac-gallery-card:nth-child(4) { grid-column: 2; grid-row: 2; }
.fac-gallery-card:nth-child(5) { grid-column: 3; grid-row: 2; }

.fac-gallery-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.fac-gallery-card:hover img { transform: scale(1.05); }
.fac-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(7,20,50,0.88) 0%, rgba(7,20,50,0.2) 50%, rgba(7,20,50,0.04) 100%);
  display: flex; align-items: flex-end;
  padding: 24px; transition: var(--tx);
}
.fac-gallery-card:hover .fac-overlay {
  background: linear-gradient(to top, rgba(7,20,50,0.94) 0%, rgba(7,20,50,0.4) 60%, rgba(7,20,50,0.1) 100%);
}
.fac-overlay-content { color: var(--white); }
.fac-num { font-size: 11px; font-weight: 900; color: var(--accent-light); letter-spacing: 2px; display: block; margin-bottom: 4px; }
.fac-overlay-content h3 { font-family: 'Noto Serif KR', serif; font-size: 18px; font-weight: 700; margin-bottom: 6px; line-height: 1.3; }
.fac-gallery-card:nth-child(1) .fac-overlay-content h3 { font-size: 22px; }
.fac-overlay-content p { font-size: 13px; color: rgba(255,255,255,0.68); line-height: 1.55; display: none; }
.fac-gallery-card:nth-child(1) .fac-overlay-content p { display: block; }
.fac-gallery-card:hover .fac-overlay-content p { display: block; }
.fac-view-hint {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11.5px; color: rgba(255,255,255,0.5);
  margin-top: 8px; opacity: 0; transition: var(--tx);
}
.fac-gallery-card:hover .fac-view-hint { opacity: 1; }

/* Lightbox */
.fac-lightbox {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.fac-lightbox.open { opacity: 1; pointer-events: all; }
.lightbox-backdrop {
  position: absolute; inset: 0; background: rgba(4,12,30,0.94);
  backdrop-filter: blur(6px); cursor: pointer;
}
.lightbox-content {
  position: relative; z-index: 1; max-width: 90vw; max-height: 90vh;
  display: flex; flex-direction: column; align-items: center;
}
.lightbox-img-wrap { max-width: 100%; max-height: 78vh; overflow: hidden; border-radius: var(--r); }
.lightbox-img-wrap img { max-width: 90vw; max-height: 78vh; object-fit: contain; display: block; }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute; width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,0.1); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; transition: var(--tx); z-index: 2;
  border: 1px solid rgba(255,255,255,0.18);
}
.lightbox-close { top: -52px; right: 0; }
.lightbox-prev  { left: -62px; top: 50%; transform: translateY(-50%); }
.lightbox-next  { right: -62px; top: 50%; transform: translateY(-50%); }
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover {
  background: rgba(255,255,255,0.22); transform: translateY(-50%);
}
.lightbox-close:hover { transform: none; background: rgba(232,149,47,0.7); }
.lightbox-caption {
  margin-top: 16px; display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 0 4px;
  font-size: 14px; color: rgba(255,255,255,0.72);
}
#lightboxTitle { font-weight: 600; }
#lightboxCounter { color: rgba(255,255,255,0.42); font-size: 13px; }

/* Facility Features */
.facility-features {
  display: grid; grid-template-columns: repeat(6,1fr); gap: 14px;
}
.fac-feat-item {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--r); padding: 22px 16px;
  text-align: center; transition: var(--tx);
}
.fac-feat-item:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.fac-feat-icon {
  width: 44px; height: 44px; margin: 0 auto 12px;
  background: linear-gradient(135deg, rgba(26,58,107,0.08), rgba(37,85,160,0.14));
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center; transition: var(--tx);
}
.fac-feat-item:hover .fac-feat-icon { background: linear-gradient(135deg, var(--primary), var(--primary-light)); }
.fac-feat-icon i { font-size: 18px; color: var(--primary); transition: var(--tx); }
.fac-feat-item:hover .fac-feat-icon i { color: var(--white); }
.fac-feat-item span { font-size: 12.5px; font-weight: 600; color: var(--text-mid); line-height: 1.4; }


/* ══════════════════════════════════════
   CTA BAND
══════════════════════════════════════ */
.cta-band {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, #1e4f9c 100%);
  padding: 80px 0;
}
.cta-band-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 60px;
}
.cta-kicker {
  display: inline-block;
  font-size: 11px; font-weight: 800; letter-spacing: 3px; text-transform: uppercase;
  color: var(--accent-light); margin-bottom: 14px;
}
.cta-text h2 {
  font-family: 'Noto Serif KR', serif;
  font-size: clamp(22px, 2.8vw, 36px); font-weight: 700; color: var(--white);
  line-height: 1.35; margin-bottom: 14px; word-break: keep-all;
}
.cta-text p { font-size: 15.5px; color: rgba(255,255,255,0.7); line-height: 1.8; word-break: keep-all; }
.cta-btns { display: flex; gap: 14px; flex-shrink: 0; flex-wrap: wrap; }
.cta-btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--white); color: var(--primary);
  font-size: 15px; font-weight: 800;
  padding: 15px 34px; border-radius: 50px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.2); transition: var(--tx);
}
.cta-btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 36px rgba(0,0,0,0.28); background: var(--accent); color: var(--white); }
.cta-btn-outline {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.1); border: 2px solid rgba(255,255,255,0.28);
  color: var(--white); font-size: 15px; font-weight: 700;
  padding: 14px 30px; border-radius: 50px; transition: var(--tx);
}
.cta-btn-outline:hover { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.52); transform: translateY(-3px); }


/* ══════════════════════════════════════
   CONTACT
══════════════════════════════════════ */
.contact-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin-bottom: 64px;
}
.contact-card {
  border-radius: var(--r-lg); border: 1.5px solid var(--border);
  background: var(--white); overflow: hidden; transition: var(--tx);
  display: flex; flex-direction: column;
}
.contact-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: transparent; }
.contact-icon-wrap {
  padding: 28px; display: flex; align-items: center; justify-content: center;
  font-size: 36px; color: var(--white);
}
.kakao-bg  { background: var(--kakao); }
.phone-bg  { background: linear-gradient(135deg, var(--primary), var(--primary-light)); }
.insta-bg  { background: linear-gradient(135deg, #e1306c, #c13584, #833ab4); }
.blog-bg   { background: var(--blog); }
.kakao-icon-img { width: 44px; height: 44px; filter: invert(0); }

.contact-body { padding: 22px 22px 8px; flex: 1; }
.contact-type {
  display: block; font-size: 11px; font-weight: 800;
  color: var(--text-xlight); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 6px;
}
.contact-name {
  display: block; font-family: 'Noto Serif KR', serif;
  font-size: 17px; font-weight: 900; color: var(--text-dark); margin-bottom: 10px;
}
.contact-body p { font-size: 13.5px; color: var(--text-light); line-height: 1.7; margin-bottom: 12px; }
.contact-tip {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; color: var(--text-xlight);
  background: var(--bg-light); padding: 5px 10px; border-radius: 50px;
}
.contact-tip i { font-size: 10px; }

.contact-btn {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 22px; font-size: 13.5px; font-weight: 700;
  margin: 12px 0 0; border-top: 1px solid var(--border);
  transition: var(--tx);
}
.kakao-btn { color: #b8960c; }
.phone-btn { color: var(--primary); }
.insta-btn { color: #c13584; }
.blog-btn  { color: #00a046; }
.contact-btn:hover { padding-left: 28px; }
.contact-card:hover .contact-btn { opacity: 0.85; }

/* Location */
.location-box {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  background: var(--bg-light); border-radius: var(--r-xl);
  padding: 48px; border: 1.5px solid var(--border);
}
.location-info h3 {
  font-family: 'Noto Serif KR', serif;
  font-size: 22px; font-weight: 700; color: var(--text-dark);
  margin-bottom: 28px; display: flex; align-items: center; gap: 10px;
}
.location-info h3 i { color: var(--accent); }
.location-list { display: flex; flex-direction: column; gap: 16px; }
.location-list li {
  display: flex; align-items: flex-start; gap: 14px;
  font-size: 14.5px; line-height: 1.7;
}
.loc-icon {
  width: 36px; height: 36px; border-radius: var(--r-sm); flex-shrink: 0;
  background: var(--white); border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-xs);
}
.loc-icon i { font-size: 14px; color: var(--primary); }
.location-list strong { font-weight: 700; color: var(--text-dark); display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 2px; }
.location-list span { color: var(--text-mid); }

.location-map {
  border-radius: var(--r-lg); overflow: hidden;
  background: linear-gradient(145deg, #e8eef8, #d4dff2);
  display: flex; align-items: center; justify-content: center; min-height: 280px;
}
.map-placeholder {
  text-align: center; padding: 40px 30px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.map-pin-anim {
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(26,58,107,0.36);
  animation: pin-bounce 2.4s ease-in-out infinite;
}
@keyframes pin-bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); box-shadow: 0 18px 36px rgba(26,58,107,0.28); }
}
.map-pin-anim i { font-size: 24px; color: var(--white); }
.map-placeholder strong { font-family: 'Noto Serif KR', serif; font-size: 18px; font-weight: 700; color: var(--primary); }
.map-placeholder span { font-size: 13.5px; color: var(--text-mid); line-height: 1.65; }
.map-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }
.map-call-btn, .map-kakao-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; padding: 10px 20px; border-radius: 50px; transition: var(--tx);
}
.map-call-btn {
  background: var(--primary); color: var(--white);
  box-shadow: 0 4px 14px rgba(26,58,107,0.3);
}
.map-call-btn:hover { background: var(--primary-light); transform: translateY(-2px); }
.map-kakao-btn {
  background: var(--kakao); color: var(--kakao-text);
  box-shadow: 0 4px 14px rgba(254,229,0,0.4);
}
.map-kakao-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(254,229,0,0.5); }


/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.footer { background: var(--primary-dark); }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.footer-top {
  display: flex; gap: 64px; padding: 64px 0 48px; align-items: flex-start;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-brand { flex-shrink: 0; max-width: 260px; }
.footer-logo { display: flex; align-items: center; gap: 11px; margin-bottom: 18px; }
.footer-logo .logo-ko { font-size: 18px; color: var(--white); }
.footer-logo .logo-sub { color: var(--accent-light); }
.footer-tagline { font-size: 14px; color: rgba(255,255,255,0.52); line-height: 1.7; margin-bottom: 6px; }
.footer-copy-small { font-size: 12px; color: rgba(255,255,255,0.3); margin-bottom: 22px; line-height: 1.6; }
.footer-social { display: flex; gap: 8px; }
.fsoc-btn {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; color: rgba(255,255,255,0.62); transition: var(--tx);
}
.fsoc-btn:hover { background: rgba(255,255,255,0.15); color: var(--white); transform: translateY(-2px); }
.fsoc-btn.kakao:hover  { background: var(--kakao); color: var(--kakao-text); }
.fsoc-btn.insta:hover  { background: #e1306c; color: var(--white); }
.fsoc-btn.blog:hover   { background: var(--blog); color: var(--white); }
.fsoc-btn.phone:hover  { background: var(--primary-light); color: var(--white); }

.footer-links-wrap { flex: 1; display: flex; gap: 48px; }
.footer-link-col { display: flex; flex-direction: column; gap: 10px; min-width: 100px; }
.footer-link-col h4 { font-size: 12px; font-weight: 800; color: var(--white); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 6px; }
.footer-link-col a,
.footer-link-col span {
  font-size: 13.5px; color: rgba(255,255,255,0.46); transition: var(--tx);
  display: flex; align-items: center; gap: 8px; line-height: 1.5;
}
.footer-link-col a:hover { color: rgba(255,255,255,0.86); padding-left: 4px; }
.footer-link-col i { font-size: 11px; width: 14px; color: rgba(255,255,255,0.3); }

.footer-bottom {
  padding: 22px 0 28px; text-align: center;
  display: flex; flex-direction: column; gap: 6px;
}
.footer-bottom p { font-size: 12.5px; color: rgba(255,255,255,0.3); line-height: 1.7; }
.footer-bottom b { color: var(--accent-light); }
.copyright { font-size: 12px; color: rgba(255,255,255,0.22); }


/* ══════════════════════════════════════
   FLOATING BUTTONS
══════════════════════════════════════ */
.float-cta {
  position: fixed; bottom: 28px; right: 28px; z-index: 900;
  opacity: 0; transform: translateY(16px) scale(0.9);
  pointer-events: none; transition: var(--tx);
}
.float-cta.show { opacity: 1; transform: translateY(0) scale(1); pointer-events: all; }
.float-btn {
  display: flex; align-items: center; gap: 9px;
  padding: 14px 22px; border-radius: 50px; font-size: 14px; font-weight: 700;
  box-shadow: 0 8px 28px rgba(0,0,0,0.26); transition: var(--tx);
}
.float-btn:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(0,0,0,0.32); }
.kakao-float { background: var(--kakao); color: var(--kakao-text); }

.scroll-top {
  position: fixed; bottom: 92px; right: 28px; z-index: 900;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--white); color: var(--primary);
  box-shadow: 0 4px 18px rgba(0,0,0,0.14);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; transition: var(--tx);
  opacity: 0; transform: translateY(12px); pointer-events: none;
  border: 1.5px solid var(--border);
}
.scroll-top.show { opacity: 1; transform: translateY(0); pointer-events: all; }
.scroll-top:hover { background: var(--primary); color: var(--white); transform: translateY(-3px); box-shadow: 0 8px 28px rgba(26,58,107,0.36); }


/* ══════════════════════════════════════
   RESPONSIVE — 1100px
══════════════════════════════════════ */
@media (max-width: 1100px) {
  .strengths-grid { grid-template-columns: repeat(2,1fr); }
  .contact-grid { grid-template-columns: repeat(2,1fr); }
  .facility-features { grid-template-columns: repeat(3,1fr); }
  .footer-links-wrap { gap: 32px; }
  .curr-steps { gap: 6px; }
  .curr-connector { padding: 0 6px; }
  .mgmt-step { padding: 24px 10px 20px; }
}

/* ══════════════════════════════════════
   RESPONSIVE — 900px
══════════════════════════════════════ */
@media (max-width: 900px) {
  .section-pad { padding: 80px 0; }
  .about-grid { grid-template-columns: 1fr; gap: 56px; }
  .about-img-wrap { height: 360px; }
  .faculty-grid { grid-template-columns: 1fr; }
  .curr-steps {
    grid-template-columns: 1fr; gap: 20px;
  }
  .curr-connector { display: none; }
  .location-box { grid-template-columns: 1fr; gap: 32px; padding: 36px; }
  .cta-band-inner { flex-direction: column; text-align: center; gap: 36px; }
  .cta-btns { justify-content: center; }
  .footer-top { flex-direction: column; gap: 40px; padding: 48px 0 36px; }
  .footer-brand { max-width: 100%; }
  .footer-links-wrap { flex-wrap: wrap; gap: 28px; }
  .facility-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 260px 200px 200px;
    gap: 12px;
  }
  .fac-gallery-card:nth-child(1) { grid-column: 1 / 3; grid-row: 1; }
  .fac-gallery-card:nth-child(2) { grid-column: 1; grid-row: 2; }
  .fac-gallery-card:nth-child(3) { grid-column: 2; grid-row: 2; }
  .fac-gallery-card:nth-child(4) { grid-column: 1; grid-row: 3; }
  .fac-gallery-card:nth-child(5) { grid-column: 2; grid-row: 3; }
  .fac-overlay-content p { display: block; }
  .facility-features { grid-template-columns: repeat(3,1fr); }
  .mgmt-flow { gap: 6px; }
  .mgmt-arrow { font-size: 13px; padding: 0 4px; }
  .number-band-grid { justify-content: center; gap: 20px; }
  .nb-divider { display: none; }
}

/* ══════════════════════════════════════
   RESPONSIVE — 768px
══════════════════════════════════════ */
@media (max-width: 768px) {
  .section-pad { padding: 64px 0; }
  .container { padding: 0 20px; }
  #gnb { display: none; }
  .hamburger { display: flex; }
  .br-pc { display: inline; }

  .hero-content { padding: 128px 20px 72px; }
  .hero-stats { padding: 20px 24px; max-width: 320px; }
  .stat-num { font-size: 30px; }

  .strengths-grid { grid-template-columns: 1fr; gap: 16px; }
  .strength-card { padding: 28px 24px 24px; }

  .contact-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .contact-card { border-radius: var(--r); }
  .contact-icon-wrap { padding: 22px; font-size: 28px; }

  .facility-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 10px;
  }
  .fac-gallery-card { height: 220px; }
  .fac-gallery-card:nth-child(1) { grid-column: 1; grid-row: 1; height: 260px; }
  .fac-gallery-card:nth-child(2) { grid-column: 1; grid-row: 2; }
  .fac-gallery-card:nth-child(3) { grid-column: 1; grid-row: 3; }
  .fac-gallery-card:nth-child(4) { grid-column: 1; grid-row: 4; }
  .fac-gallery-card:nth-child(5) { grid-column: 1; grid-row: 5; }
  .fac-overlay-content p { display: block; }
  .fac-view-hint { opacity: 1; }

  .facility-features { grid-template-columns: repeat(2,1fr); }

  .mgmt-flow {
    flex-direction: column; align-items: center; gap: 12px;
  }
  .mgmt-arrow { transform: rotate(90deg); font-size: 14px; padding: 4px 0; }
  .mgmt-step { max-width: 320px; width: 100%; }

  .lightbox-prev { left: -50px; }
  .lightbox-next { right: -50px; }

  .float-cta { bottom: 20px; right: 20px; }
  .scroll-top { bottom: 80px; right: 20px; }

  .location-box { padding: 24px; gap: 28px; }
  .footer-bottom { text-align: left; }
  .footer-bottom p { font-size: 11.5px; }
}

/* ══════════════════════════════════════
   RESPONSIVE — 520px
══════════════════════════════════════ */
@media (max-width: 520px) {
  .hero-title { font-size: clamp(28px, 8vw, 42px); }
  .hero-sub { font-size: 14.5px; }
  .btn-primary, .btn-ghost { padding: 13px 26px; font-size: 14.5px; }
  .hero-stats { flex-direction: column; gap: 16px; max-width: 260px; }
  .stat-divider { width: 60px; height: 1px; }
  .notice-inner { gap: 10px; }
  .about-center-badge { width: 160px; height: 160px; }
  .contact-grid { grid-template-columns: 1fr; }
  .section-header.center { margin-bottom: 40px; }
  .curr-tab { padding: 11px 20px; font-size: 14px; }
  .facility-features { grid-template-columns: repeat(2,1fr); }
  .lightbox-prev { left: -40px; width: 38px; height: 38px; }
  .lightbox-next { right: -40px; width: 38px; height: 38px; }
  .faculty-header { padding: 24px; gap: 16px; }
  .faculty-avatar { width: 60px; height: 60px; }
  .faculty-body { padding: 22px 22px; }
  .faculty-quote { margin: 0 22px 22px; }
  .mgmt-quote { padding: 22px 24px; }
  .cta-band { padding: 60px 0; }
  .cta-text h2 { font-size: 22px; }
}
