:root {
  --navy: #0d2b5e;
  --royal: #1a4a9f;
  --sky: #4e8de0;
  --light-sky: #d6e8fb;
  --white: #ffffff;
  --off-white: #f4f8ff;
  --gold: #c9a84c;
  --text-dark: #0d1f3c;
  --text-mid: #3a5a8a;
  --text-light: #5a739e;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
p, h1, h2, h3, h4, li, label, span, a { word-break: keep-all; overflow-wrap: break-word; }
html { scroll-behavior: smooth; }
body { font-family: 'Noto Sans KR', 'DM Sans', sans-serif; background: var(--white); color: var(--text-dark); overflow-x: hidden; }

/* ─── FOCUS STATE ─── */
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 2px; }

/* ─── LANG TOGGLE ─── */
.lang-toggle {
  display: flex; align-items: center;
  background: rgba(255,255,255,0.1);
  border-radius: 20px; padding: 3px; gap: 2px;
  border: 1px solid rgba(255,255,255,0.15);
}
.lang-btn {
  background: none; border: none;
  color: rgba(255,255,255,0.55);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem; font-weight: 700;
  padding: 5px 13px; border-radius: 16px;
  cursor: pointer; transition: all 0.2s; letter-spacing: 0.5px;
}
.lang-btn.active { background: var(--gold); color: var(--navy); }
.lang-btn:not(.active):hover { color: var(--white); }

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 60px;
  background: rgba(13, 43, 94, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(78, 141, 224, 0.2);
  gap: 20px;
}
.nav-right { display: flex; align-items: center; gap: 28px; }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a { color: rgba(255,255,255,0.8); text-decoration: none; font-size: 0.88rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--gold); }
.nav-links a.active { color: var(--gold); }
.nav-cta { background: var(--gold); color: var(--navy) !important; padding: 10px 22px; border-radius: 4px; font-weight: 700 !important; }
.nav-cta:hover { background: #e0be70 !important; }

/* hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: rgba(255,255,255,0.85); border-radius: 2px; transition: all 0.25s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none; position: fixed; top: 70px; left: 0; right: 0; z-index: 99;
  background: rgba(13,43,94,0.98); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(78,141,224,0.2);
  flex-direction: column; padding: 20px 24px 28px; gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { color: rgba(255,255,255,0.85); text-decoration: none; font-size: 1rem; font-weight: 500; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.mobile-menu a:last-child { border-bottom: none; margin-top: 8px; }
.mobile-menu a.active { color: var(--gold); }
.mobile-menu .nav-cta { border: none; background: var(--gold); color: var(--navy) !important; border-radius: 4px; padding: 14px 0; text-align: center; font-weight: 700 !important; }

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--navy) 0%, #163a80 55%, #1f5499 100%);
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 120px 60px 80px;
}
.hero::before {
  content: ''; position: absolute; top: -200px; right: -200px;
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(78,141,224,0.15) 0%, transparent 70%);
  animation: pulse 6s ease-in-out infinite;
}
.hero::after {
  content: ''; position: absolute; bottom: -150px; left: -100px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 70%);
}
@keyframes pulse { 0%,100%{transform:scale(1);opacity:1} 50%{transform:scale(1.1);opacity:0.7} }
.hero-content { max-width: 650px; position: relative; z-index: 2; animation: fadeUp 0.9s ease both; }
@keyframes fadeUp { from{opacity:0;transform:translateY(30px)} to{opacity:1;transform:translateY(0)} }
.hero-badge {
  display: inline-block;
  background: rgba(201,168,76,0.15); border: 1px solid rgba(201,168,76,0.4);
  color: var(--gold); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  padding: 6px 16px; border-radius: 20px; margin-bottom: 28px;
}
.hero h1 { font-family: 'DM Sans', sans-serif; font-size: clamp(2.8rem, 5vw, 4.2rem); font-weight: 900; color: var(--white); line-height: 1.1; margin-bottom: 12px; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero-sub { font-size: 1.05rem; color: rgba(255,255,255,0.7); margin-bottom: 14px; font-weight: 300; }
.hero-desc { font-size: 1.05rem; color: rgba(255,255,255,0.65); line-height: 1.75; margin-bottom: 42px; font-weight: 300; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary { background: var(--gold); color: var(--navy); padding: 16px 36px; border-radius: 4px; text-decoration: none; font-weight: 700; font-size: 0.95rem; transition: transform 0.2s, box-shadow 0.2s; box-shadow: 0 4px 20px rgba(201,168,76,0.3); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(201,168,76,0.4); }
.btn-secondary { border: 2px solid rgba(255,255,255,0.4); color: var(--white); padding: 14px 34px; border-radius: 4px; text-decoration: none; font-weight: 500; font-size: 0.95rem; transition: border-color 0.2s, background 0.2s; }
.btn-secondary:hover { border-color: var(--white); background: rgba(255,255,255,0.07); }
.hero-stats { position: absolute; right: 60px; bottom: 80px; display: flex; gap: 40px; animation: fadeUp 0.9s 0.3s ease both; }
.stat { text-align: center; }
.stat-num { font-family: 'DM Sans', sans-serif; font-size: 2.6rem; font-weight: 700; color: var(--gold); line-height: 1; }
.stat-label { font-size: 0.78rem; color: rgba(255,255,255,0.6); margin-top: 4px; }

/* ─── PAGE HERO (subpages) ─── */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #163a80 55%, #1f5499 100%);
  padding: 160px 60px 90px;
  text-align: center;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; top: -180px; right: -180px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(78,141,224,0.15) 0%, transparent 70%);
}
.page-hero-inner { max-width: 700px; margin: 0 auto; position: relative; z-index: 1; }
.page-hero .section-title { color: var(--white); }
.page-hero .section-desc { color: rgba(255,255,255,0.65); margin: 0 auto; }

/* ─── SECTIONS ─── */
section { padding: 100px 60px; }
.section-tag { font-size: 0.75rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--sky); margin-bottom: 14px; }
.section-title { font-family: 'DM Sans', sans-serif; font-size: clamp(2rem, 3.5vw, 2.8rem); font-weight: 700; color: var(--navy); line-height: 1.2; margin-bottom: 18px; }
.section-desc { font-size: 1.05rem; color: var(--text-mid); line-height: 1.8; max-width: 560px; }

/* ─── ABOUT ─── */
.about { background: var(--off-white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; max-width: 1100px; margin: 0 auto; }
.about-card { background: var(--white); border-radius: 12px; padding: 48px 44px; box-shadow: 0 20px 60px rgba(13,43,94,0.1); position: relative; overflow: hidden; }
.about-card::before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: linear-gradient(to bottom, var(--gold), var(--sky)); }
.about-icon { font-size: 3rem; margin-bottom: 20px; color: var(--navy); }

/* ─── ICON SVGs ─── */
.about-icon svg,
.service-row-icon svg,
.subject-link-top svg,
.online-icon svg {
  width: 1em; height: 1em; display: block;
}
.service-row-icon, .subject-link-top .emoji { color: var(--navy); }
.online-icon { color: var(--white); }
.about-card h3 { font-family: 'DM Sans', sans-serif; font-size: 1.5rem; color: var(--navy); margin-bottom: 12px; }
.about-card p { color: var(--text-mid); line-height: 1.8; font-size: 0.95rem; }
.about-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.tag { background: var(--light-sky); color: var(--royal); padding: 6px 16px; border-radius: 20px; font-size: 0.82rem; font-weight: 500; }
.fact-list { display: flex; flex-direction: column; gap: 14px; margin-top: 24px; }
.fact-list li { display: grid; grid-template-columns: 110px 1fr; gap: 12px; font-size: 0.88rem; padding-bottom: 14px; border-bottom: 1px solid var(--light-sky); }
.fact-list li:last-child { border-bottom: none; padding-bottom: 0; }
.fact-list .fact-label { color: var(--sky); font-weight: 700; letter-spacing: 0.3px; }
.fact-list .fact-value { color: var(--text-dark); font-weight: 500; }

/* ─── APPROACH ─── */
.approach { background: var(--white); }
.approach-header { text-align: center; max-width: 600px; margin: 0 auto 56px; }
.approach-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1100px; margin: 0 auto; }
.approach-card { background: var(--off-white); border-radius: 12px; padding: 36px 30px; }
.approach-num { font-family: 'DM Sans', sans-serif; font-weight: 700; color: var(--gold); font-size: 0.95rem; letter-spacing: 1px; margin-bottom: 16px; display: block; }
.approach-card h3 { font-family: 'DM Sans', sans-serif; font-size: 1.15rem; font-weight: 700; color: var(--navy); margin-bottom: 12px; line-height: 1.35; }
.approach-card p { color: var(--text-mid); font-size: 0.9rem; line-height: 1.75; }

/* ─── SERVICES ─── */
.services { background: var(--white); }
.services-header { text-align: center; max-width: 600px; margin: 0 auto 64px; }
.service-list { display: flex; flex-direction: column; max-width: 860px; margin: 0 auto; }
.service-row { display: grid; grid-template-columns: 72px 1fr; gap: 28px; padding: 48px 0; border-bottom: 1px solid var(--light-sky); }
.service-row:first-child { padding-top: 0; }
.service-row:last-child { padding-bottom: 0; border-bottom: none; }
.service-row-icon { width: 64px; height: 64px; background: var(--light-sky); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.7rem; }
.service-row-content .service-sub { font-size: 0.78rem; color: var(--sky); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 10px; }
.service-row-content h3 { font-family: 'DM Sans', sans-serif; font-size: 1.35rem; font-weight: 700; color: var(--navy); margin-bottom: 16px; line-height: 1.35; }
.service-row-content p { color: var(--text-mid); font-size: 0.95rem; line-height: 1.85; margin-bottom: 14px; }
.service-row-content p:last-child { margin-bottom: 0; }

/* ─── SUBJECTS INDEX ─── */
.subjects-index { background: var(--off-white); }
.subject-category { max-width: 1100px; margin: 0 auto 72px; }
.subject-category:last-child { margin-bottom: 0; }
.subject-category-header { display: flex; align-items: baseline; gap: 14px; margin-bottom: 28px; }
.subject-category-header h2 { font-family: 'DM Sans', sans-serif; font-size: 1.5rem; font-weight: 700; color: var(--navy); }
.subject-category-header .category-count { font-size: 0.82rem; color: var(--text-light); font-weight: 500; }
.subject-link-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.subject-link-card {
  background: var(--white); border: 1px solid var(--light-sky); border-radius: 12px;
  padding: 26px 24px; text-decoration: none; display: flex; flex-direction: column; gap: 16px;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.subject-link-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(13,43,94,0.1); border-color: transparent; }
.subject-link-top { display: flex; align-items: flex-start; gap: 14px; }
.subject-link-top .emoji { font-size: 1.8rem; flex-shrink: 0; }
.subject-link-card h3 { font-family: 'DM Sans', sans-serif; font-size: 1.02rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; line-height: 1.3; }
.subject-link-card .tagline { font-size: 0.8rem; color: var(--text-light); }
.subject-link-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge-pill { font-size: 0.72rem; font-weight: 600; padding: 4px 10px; border-radius: 12px; background: var(--light-sky); color: var(--royal); white-space: nowrap; }
.badge-pill.level { background: rgba(201,168,76,0.14); color: #8a6d1f; border: 1px solid rgba(201,168,76,0.3); }
.subject-link-view { margin-top: auto; font-size: 0.85rem; font-weight: 700; color: var(--royal); display: flex; align-items: center; gap: 6px; transition: color 0.2s; }
.subject-link-card:hover .subject-link-view { color: var(--gold); }

/* ─── SUBJECT DETAIL PAGE ─── */
.breadcrumb { font-size: 0.82rem; margin-bottom: 22px; }
.breadcrumb a { color: rgba(255,255,255,0.6); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { margin: 0 8px; color: rgba(255,255,255,0.3); }
.breadcrumb .current { color: rgba(255,255,255,0.85); }
.detail-badges { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 22px; }
.detail-badge { font-size: 0.8rem; font-weight: 600; padding: 6px 14px; border-radius: 20px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18); color: rgba(255,255,255,0.85); display: inline-flex; align-items: center; gap: 6px; }
.level-dots { display: inline-flex; gap: 3px; }
.level-dots span { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.25); }
.level-dots span.filled { background: var(--gold); }

.back-link { display: inline-flex; align-items: center; gap: 6px; font-size: 0.85rem; color: var(--royal); text-decoration: none; font-weight: 600; margin-bottom: 20px; transition: color 0.2s; }
.back-link:hover { color: var(--gold); }
.detail-lead { font-size: 1.05rem; color: var(--text-mid); line-height: 1.85; max-width: 760px; }

.objectives-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 32px; max-width: 900px; }
.objective-card { background: var(--white); border: 1px solid var(--light-sky); border-radius: 10px; padding: 22px 24px; display: flex; gap: 14px; align-items: flex-start; }
.objective-num { font-family: 'DM Sans', sans-serif; font-weight: 700; color: var(--gold); font-size: 1.05rem; flex-shrink: 0; }
.objective-card p { font-size: 0.9rem; color: var(--text-mid); line-height: 1.7; }

.curriculum-block { margin-top: 40px; max-width: 900px; }
.curriculum-block-label { font-size: 0.78rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--royal); margin-bottom: 18px; padding-bottom: 10px; border-bottom: 2px solid var(--light-sky); }
.unit-list { display: flex; flex-direction: column; gap: 12px; }
.unit-item { display: flex; gap: 16px; padding: 16px 18px; background: var(--off-white); border-radius: 8px; }
.unit-index { font-family: 'DM Sans', sans-serif; font-weight: 700; color: var(--sky); font-size: 0.85rem; flex-shrink: 0; width: 22px; }
.unit-item h4 { font-size: 0.92rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.unit-item p { font-size: 0.84rem; color: var(--text-mid); line-height: 1.6; }
.official-link { display: inline-block; margin-top: 8px; font-size: 0.82rem; font-weight: 600; color: var(--royal); text-decoration: none; }
.official-link:hover { text-decoration: underline; }

.prereq-box { background: var(--light-sky); border-left: 4px solid var(--royal); border-radius: 8px; padding: 20px 24px; margin-top: 24px; max-width: 900px; }
.prereq-box strong { color: var(--navy); font-size: 0.92rem; }
.prereq-box p { color: var(--text-mid); font-size: 0.9rem; line-height: 1.7; margin-top: 6px; }

.check-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: 20px; max-width: 760px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; color: var(--text-mid); line-height: 1.6; }
.check-list li::before { content: '✓'; color: var(--gold); font-weight: 700; flex-shrink: 0; }

.exam-badge { display: inline-block; background: rgba(201,168,76,0.15); border: 1px solid rgba(201,168,76,0.3); color: var(--gold); font-size: 0.75rem; font-weight: 600; padding: 4px 12px; border-radius: 20px; }

.bg-white { background: var(--white); }
.bg-off-white { background: var(--off-white); }
.detail-container { max-width: 900px; margin: 0 auto; }

/* ─── HOW ─── */
.how { background: var(--off-white); }
.how-header { text-align: center; max-width: 600px; margin: 0 auto 64px; }
.steps { display: flex; justify-content: center; max-width: 1000px; margin: 0 auto; position: relative; }
.steps::before { content: ''; position: absolute; top: 40px; left: 10%; right: 10%; height: 2px; background: linear-gradient(to right, var(--light-sky), var(--sky), var(--light-sky)); }
.step { flex: 1; text-align: center; padding: 0 20px; }
.step-num { width: 80px; height: 80px; border-radius: 50%; background: var(--white); border: 3px solid var(--sky); display: flex; align-items: center; justify-content: center; font-family: 'DM Sans', sans-serif; font-size: 1.8rem; font-weight: 700; color: var(--royal); margin: 0 auto 24px; position: relative; z-index: 1; box-shadow: 0 4px 20px rgba(78,141,224,0.2); }
.step h4 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.step p { font-size: 0.88rem; color: var(--text-mid); line-height: 1.7; }

/* ─── ONLINE BANNER ─── */
.online-banner { max-width: 1000px; margin: 64px auto 0; }
.online-banner-inner { background: linear-gradient(135deg, var(--navy) 0%, #163a80 100%); border-radius: 16px; padding: 48px 52px; display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; box-shadow: 0 20px 60px rgba(13,43,94,0.18); position: relative; overflow: hidden; }
.online-banner-inner::before { content: ''; position: absolute; top: -80px; right: -80px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(78,141,224,0.15) 0%, transparent 70%); }
.online-icon { font-size: 3.2rem; background: rgba(255,255,255,0.08); width: 80px; height: 80px; border-radius: 16px; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,0.12); flex-shrink: 0; }
.online-text h3 { font-family: 'DM Sans', sans-serif; font-size: 1.4rem; color: var(--white); margin-bottom: 10px; }
.online-text p { font-size: 0.9rem; color: rgba(255,255,255,0.65); line-height: 1.75; }
.online-features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; flex-shrink: 0; }
.online-feat { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: rgba(255,255,255,0.85); background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; padding: 10px 14px; white-space: nowrap; }

/* ─── TESTIMONIALS ─── */
.testimonials { background: var(--white); }
.testimonials-header { text-align: center; max-width: 600px; margin: 0 auto 64px; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; max-width: 1100px; margin: 0 auto; }
.testimonial-card { background: var(--off-white); border-radius: 12px; padding: 36px 32px; position: relative; }
.testimonial-card::before { content: '"'; font-family: 'DM Sans', sans-serif; font-size: 5rem; color: var(--light-sky); position: absolute; top: 10px; left: 28px; line-height: 1; }
.testimonial-text { font-size: 0.92rem; color: var(--text-mid); line-height: 1.8; margin-bottom: 24px; padding-top: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.author-avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--royal), var(--sky)); display: flex; align-items: center; justify-content: center; color: white; font-weight: 700; font-size: 1rem; flex-shrink: 0; }
.author-info strong { display: block; font-size: 0.9rem; font-weight: 700; color: var(--navy); }
.author-info span { font-size: 0.8rem; color: var(--text-light); }

/* ─── FAQ ─── */
.faq { background: var(--off-white); }
.faq-header { text-align: center; max-width: 600px; margin: 0 auto 64px; }
.faq-list { display: flex; flex-direction: column; gap: 14px; max-width: 760px; margin: 0 auto; }
.faq-item { background: var(--white); border: 1px solid var(--light-sky); border-radius: 10px; overflow: hidden; cursor: pointer; transition: border-color 0.3s; }
.faq-item:hover { border-color: var(--sky); }
.faq-question { padding: 22px 26px; display: flex; justify-content: space-between; align-items: center; gap: 16px; user-select: none; }
.faq-question h4 { font-size: 0.98rem; font-weight: 700; color: var(--navy); line-height: 1.4; }
.faq-toggle { font-size: 0.7rem; color: var(--sky); flex-shrink: 0; transition: transform 0.3s; }
.faq-item.open .faq-toggle { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.5s ease, padding 0.3s ease; padding: 0 26px; }
.faq-item.open .faq-answer { max-height: 500px; padding: 0 26px 22px; }
.faq-answer p { font-size: 0.9rem; color: var(--text-mid); line-height: 1.75; }

/* ─── CATEGORY GROUPS (reused on FAQ, Subjects) ─── */
.category-group { max-width: 760px; margin: 0 auto 56px; }
.category-group:last-child { margin-bottom: 0; }
.category-group-header { display: flex; align-items: baseline; gap: 12px; margin-bottom: 20px; }
.category-group-header h2 { font-family: 'DM Sans', sans-serif; font-size: 1.25rem; font-weight: 700; color: var(--navy); }
.category-group-header .category-count { font-size: 0.8rem; color: var(--text-light); font-weight: 500; }

/* ─── CONTACT ─── */
.contact { background: linear-gradient(135deg, var(--navy) 0%, #163a80 100%); position: relative; overflow: hidden; }
.contact::before { content: ''; position: absolute; top: -200px; right: -200px; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(78,141,224,0.12) 0%, transparent 70%); }
.contact-inner { max-width: 700px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.contact-inner .section-title { color: var(--white); }
.contact-inner .section-desc { color: rgba(255,255,255,0.65); margin: 0 auto 48px; }
.contact-form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; text-align: left; }
.form-group label { font-size: 0.82rem; font-weight: 500; color: rgba(255,255,255,0.7); margin-bottom: 8px; }
.form-group input, .form-group select, .form-group textarea { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); border-radius: 6px; padding: 14px 18px; color: var(--white); font-family: 'Noto Sans KR', 'DM Sans', sans-serif; font-size: 0.92rem; outline: none; transition: border-color 0.2s, background 0.2s; }
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(255,255,255,0.3); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--gold); background: rgba(255,255,255,0.12); }
.form-group select option { background: var(--navy); color: var(--white); }
.form-group textarea { resize: vertical; min-height: 120px; }
.btn-submit { background: var(--gold); color: var(--navy); border: none; padding: 18px 48px; border-radius: 6px; font-family: 'Noto Sans KR', 'DM Sans', sans-serif; font-size: 1rem; font-weight: 700; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s; margin-top: 8px; width: 100%; box-shadow: 0 4px 20px rgba(201,168,76,0.25); }
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(201,168,76,0.4); }
.btn-submit[disabled] { opacity: 0.6; cursor: not-allowed; transform: none; }
.form-error { display: none; margin-top: 14px; font-size: 0.85rem; color: #ffb4b4; text-align: center; }
.form-error.visible { display: block; }

/* ─── HOME CTA BANNER ─── */
.home-cta { background: linear-gradient(135deg, var(--navy) 0%, #163a80 100%); position: relative; overflow: hidden; text-align: center; }
.home-cta::before { content: ''; position: absolute; top: -200px; right: -200px; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(78,141,224,0.12) 0%, transparent 70%); }
.home-cta-inner { max-width: 640px; margin: 0 auto; position: relative; z-index: 1; }
.home-cta .section-title { color: var(--white); }
.home-cta .section-desc { color: rgba(255,255,255,0.65); margin: 0 auto 36px; }

/* ─── FOOTER ─── */
footer { background: #080f20; padding: 40px 60px; display: flex; justify-content: space-between; align-items: center; }
footer p { font-size: 0.82rem; color: rgba(255,255,255,0.35); }

/* ─── ANIMATIONS ─── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── SKIP LINK ─── */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 1000;
  background: var(--gold); color: var(--navy); padding: 12px 20px;
  font-weight: 700; border-radius: 0 0 6px 0; text-decoration: none;
}
.skip-link:focus { left: 0; }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  nav { padding: 14px 24px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  section { padding: 70px 24px; }
  .hero { padding: 120px 24px 140px; }
  .hero-stats { right: 24px; gap: 20px; bottom: 40px; }
  .stat-num { font-size: 2rem; }
  .page-hero { padding: 130px 24px 70px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .approach-grid { grid-template-columns: 1fr; }
  .fact-list li { grid-template-columns: 90px 1fr; }
  .service-row { grid-template-columns: 52px 1fr; gap: 18px; padding: 36px 0; }
  .service-row-icon { width: 48px; height: 48px; font-size: 1.3rem; border-radius: 10px; }
  .subject-link-grid { grid-template-columns: 1fr 1fr; }
  .objectives-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .steps { flex-direction: column; gap: 32px; }
  .steps::before { display: none; }
  .online-banner-inner { grid-template-columns: 1fr; padding: 36px 28px; text-align: center; }
  .online-icon { margin: 0 auto; }
  .online-features { grid-template-columns: 1fr 1fr; }
  footer { flex-direction: column; gap: 12px; text-align: center; }
}
@media (max-width: 480px) {
  .subject-link-grid { grid-template-columns: 1fr; }
  .hero-stats { position: static; margin-top: 40px; justify-content: center; }
}
