/* ===== Reset & Base ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --oat: #f5f0eb;
  --oat-dark: #e8e0d6;
  --olive: #7a8b6f;
  --olive-light: #a8b89e;
  --olive-dark: #5c6b52;
  --wood: #b8956e;
  --wood-light: #d4bea8;
  --text: #3d3a36;
  --text-light: #7a7268;
  --white: #ffffff;
  --black: #1a1a18;
  --font-ko: 'Noto Sans KR', sans-serif;
  --font-en: 'Playfair Display', serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-ko);
  color: var(--text);
  background: var(--oat);
  line-height: 1.7;
  word-break: keep-all;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(245, 240, 235, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--oat-dark);
  transition: background 0.3s;
}

.header.scrolled { background: rgba(245, 240, 235, 0.98); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo { display: flex; align-items: center; gap: 8px; }

.logo-mark {
  color: var(--olive);
  font-size: 20px;
}

.logo-text {
  font-family: var(--font-ko);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: 0.1em;
  color: var(--text);
}

.nav-list { display: flex; gap: 36px; }

.nav-list a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--text-light);
  transition: color 0.3s;
  position: relative;
}

.nav-list a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--olive);
  transition: width 0.3s;
}

.nav-list a:hover,
.nav-list a.active { color: var(--olive-dark); }

.nav-list a:hover::after,
.nav-list a.active::after { width: 100%; }

.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: var(--text);
  transition: 0.3s;
  border-radius: 2px;
}

/* ===== Sections Common ===== */
.section { padding: 100px 0; }

.section-label {
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.25em;
  color: var(--olive);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-ko);
  font-size: 32px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 48px;
  letter-spacing: -0.02em;
}

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(135deg, var(--oat) 0%, var(--oat-dark) 50%, #d4c9bc 100%);
  padding-top: 72px;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(122, 139, 111, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(184, 149, 110, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content { position: relative; z-index: 1; max-width: 720px; }

.hero-subtitle {
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: 0.25em;
  color: var(--olive);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hero-title {
  font-family: var(--font-ko);
  font-size: clamp(36px, 6vw, 58px);
  font-weight: 300;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.hero-title-em {
  font-weight: 500;
  color: var(--olive-dark);
}

.hero-desc {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 520px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  font-family: var(--font-ko);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  border-radius: 50px;
  transition: all 0.3s;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--olive);
  color: var(--white);
}

.btn-primary:hover { background: var(--olive-dark); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  border-color: var(--text);
  color: var(--text);
}

.btn-outline:hover { background: var(--text); color: var(--white); }

/* ===== Quick Links ===== */
.quick-links {
  padding: 80px 0;
  background: var(--white);
}

.quick-links-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.quick-card {
  padding: 36px 24px;
  text-align: center;
  background: var(--oat);
  border-radius: 20px;
  transition: all 0.4s;
  cursor: pointer;
}

.quick-card:hover {
  background: var(--olive);
  color: var(--white);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(122, 139, 111, 0.2);
}

.quick-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  color: var(--olive);
  transition: color 0.3s;
}

.quick-card:hover .quick-icon { color: var(--white); }

.quick-card h3 {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 8px;
}

.quick-card p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
}

.quick-card:hover p { color: rgba(255,255,255,0.8); }

/* ===== About ===== */
.about { background: var(--white); }

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.about-lead {
  font-size: 22px;
  font-weight: 500;
  color: var(--olive-dark);
  margin-bottom: 24px;
  line-height: 1.6;
}

.about-text p { margin-bottom: 16px; color: var(--text-light); }

.about-points { display: flex; flex-direction: column; gap: 28px; }

.point-card {
  padding: 24px;
  border-left: 3px solid var(--olive-light);
  background: var(--oat);
  border-radius: 0 12px 12px 0;
  transition: all 0.3s;
}

.point-card:hover {
  border-left-color: var(--olive);
  background: var(--oat-dark);
}

.point-num {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  color: var(--olive);
  letter-spacing: 0.2em;
  margin-bottom: 6px;
}

.point-card h4 {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 8px;
}

.point-card p { font-size: 14px; color: var(--text-light); }

/* ===== Program ===== */
.program { background: var(--oat); }

.program-card {
  background: var(--white);
  border-radius: 24px;
  padding: 40px 48px;
  margin-bottom: 20px;
  transition: all 0.3s;
  border: 1px solid transparent;
}

.program-card:last-child { margin-bottom: 0; }

.program-card:hover {
  border-color: var(--olive-light);
  box-shadow: 0 8px 32px rgba(122, 139, 111, 0.1);
}

.program-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--olive);
  background: rgba(122, 139, 111, 0.1);
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.program-card h3 {
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 16px;
}

.program-desc {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 20px;
  max-width: 640px;
}

.program-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.program-features li {
  font-size: 13px;
  color: var(--text-light);
  background: var(--oat);
  padding: 6px 18px;
  border-radius: 50px;
}

/* ===== Contact ===== */
.contact { background: var(--white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h3,
.contact-location h3 {
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 20px;
}

.contact-info > p,
.location-detail p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 12px;
}

.contact-pictos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.picto {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 12px;
  background: var(--oat);
  border-radius: 16px;
  text-align: center;
}

.picto svg {
  width: 36px;
  height: 36px;
  color: var(--olive);
}

.picto span {
  font-size: 13px;
  color: var(--text-light);
  font-weight: 500;
}

.location-detail {
  background: var(--oat);
  padding: 28px;
  border-radius: 16px;
  margin-bottom: 28px;
}

.contact-btns { display: flex; gap: 12px; flex-wrap: wrap; }

.contact-btns .btn { flex: 1; min-width: 160px; }

/* ===== Footer ===== */
.footer {
  background: var(--text);
  color: rgba(255,255,255,0.7);
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand { display: flex; align-items: center; gap: 6px; }

.footer-brand .logo-mark { color: var(--olive-light); }

.footer-brand .logo-text {
  color: rgba(255,255,255,0.9);
  font-size: 16px;
}

.footer-copy { font-size: 13px; }

/* ===== Mobile Nav ===== */
.mobile-nav {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  width: 100%;
  background: var(--white);
  padding: 24px;
  z-index: 999;
  border-bottom: 1px solid var(--oat-dark);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.mobile-nav.open { display: block; }

.mobile-nav-list { display: flex; flex-direction: column; gap: 16px; }

.mobile-nav-list a {
  display: block;
  padding: 12px 0;
  font-size: 16px;
  font-weight: 500;
  border-bottom: 1px solid var(--oat);
}

/* ===== Responsive ===== */
@media (max-width: 968px) {
  .about-content { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .nav-list { display: none; }
  .hamburger { display: flex; }

  .hero-title { font-size: 32px; }
  .hero-desc { font-size: 15px; }

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

  .section-title { font-size: 26px; }
  .section { padding: 72px 0; }

  .program-card { padding: 28px 24px; }
  .program-card h3 { font-size: 19px; }

  .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 480px) {
  .quick-links-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .contact-pictos { grid-template-columns: repeat(2, 1fr); }
  .contact-btns { flex-direction: column; }
}
