/* ====== Reset & Base ====== */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
ul { list-style: none; padding: 0; margin: 0; }

/* === Brand colors (from Drawit logo) === */
:root {
  --primary: #d85f2c;       /* 로고 오렌지 */
  --primary-dark: #b94a1c;
  --teal: #1f6968;          /* 로고 팔레트 청록 */
  --teal-soft: #e6f1ef;
  --yellow: #e5b83a;        /* 로고 머스타드 */
  --yellow-soft: #fbf1e5;   /* 로고 배경 크림 */
  --bg: #fbf1e5;            /* 페이지 배경 (크림) */
  --bg-alt: #fff;
  --ink: #2a2a2a;
  --ink-soft: #5d5b5a;
  --line: #ecdfc8;
  --radius: 18px;
  --shadow: 0 12px 40px rgba(216, 95, 44, 0.10);
  --shadow-strong: 0 20px 60px rgba(216, 95, 44, 0.18);
}

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 110px 0; }

/* ====== Header ====== */
.header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(251, 241, 229, 0.85);
  border-bottom: 1px solid rgba(236, 223, 200, 0.6);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.logo { display: flex; align-items: center; }
.logo-img {
  height: 52px; width: auto; object-fit: contain;
}

.nav-list { display: flex; gap: 28px; }
.nav-list > li { position: relative; }
.nav-list a {
  font-weight: 500; font-size: 15px; color: var(--ink-soft);
  transition: color .2s;
}
.nav-list a:hover { color: var(--primary); }
.nav-list .caret {
  font-size: 10px; margin-left: 2px; color: var(--ink-soft);
  transition: transform .2s;
}
.nav-list .has-sub:hover > a { color: var(--primary); }
.nav-list .has-sub:hover .caret { transform: rotate(180deg); color: var(--primary); }

/* Submenu (desktop dropdown) */
.submenu {
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 180px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 14px 40px rgba(0,0,0,0.08);
  display: flex; flex-direction: column; gap: 2px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 10;
}
.submenu::before {
  content: ""; position: absolute;
  top: -6px; left: 50%; transform: translateX(-50%) rotate(45deg);
  width: 12px; height: 12px;
  background: #fff;
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
}
.has-sub:hover .submenu,
.has-sub:focus-within .submenu {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(2px);
}
.submenu li { width: 100%; }
.submenu a {
  display: block;
  padding: 10px 14px;
  font-size: 14px; font-weight: 500; color: var(--ink-soft);
  border-radius: 8px;
  white-space: nowrap;
  transition: background .15s, color .15s;
}
.submenu a:hover { background: var(--yellow-soft); color: var(--primary); }

.nav-toggle { display: none; width: 36px; height: 36px; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: all .3s; }

/* ====== Buttons ====== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: 15px;
  transition: transform .2s, box-shadow .2s, background .2s;
  cursor: pointer;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), #ea7e4a);
  color: #fff;
  box-shadow: 0 10px 24px rgba(216, 95, 44, 0.32);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(216, 95, 44, 0.42); }
.btn-ghost {
  background: #fff; color: var(--ink); border: 1.5px solid var(--line);
}
.btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ====== Hero ====== */
.hero {
  position: relative; overflow: hidden;
  padding: 90px 0 110px;
}
.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center;
}
.hero-text {}
.eyebrow {
  display: inline-block;
  padding: 7px 16px; border-radius: 999px;
  background: #fff; border: 1.5px solid var(--line);
  font-size: 13px; font-weight: 600; color: var(--primary);
  letter-spacing: 1px;
  margin-bottom: 24px;
}
.hero-title {
  font-size: clamp(34px, 4.4vw, 56px);
  font-weight: 800; line-height: 1.2; margin: 0 0 22px;
  letter-spacing: -0.02em; color: var(--teal);
}
.hero-accent {
  background: linear-gradient(180deg, transparent 60%, var(--yellow) 60%);
  padding: 0 6px; color: var(--primary);
}
.smile {
  display: inline-block; color: var(--primary); transform: rotate(8deg);
  font-family: 'Gaegu', cursive;
}
.hero-sub {
  font-size: clamp(15px, 1.3vw, 17px);
  color: var(--ink-soft); margin: 0 0 32px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 30px; }

/* Hero visual */
.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5; max-width: 480px; justify-self: end;
  width: 100%;
}
.hero-img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--shadow-strong);
}
.hero-sticker {
  position: absolute;
  width: 86px; height: 86px; border-radius: 50%;
  background: var(--yellow);
  display: grid; place-items: center;
  font-family: 'Gaegu', cursive; font-size: 32px; font-weight: 700; color: var(--primary);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  bottom: -16px; left: -16px;
  transform: rotate(-10deg);
}

/* Hero badges (clickable) */
.hero-badges {
  display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1.5px solid var(--line);
  padding: 10px 16px; border-radius: 999px;
  font-size: 13.5px; font-weight: 600; color: var(--ink);
  box-shadow: 0 4px 14px rgba(0,0,0,0.04);
  cursor: pointer;
  transition: all .2s;
}
.hero-badge:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}
.hero-badge.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 8px 20px rgba(216,95,44,0.3);
}
.hero-badge.active .badge-arrow { transform: rotate(45deg); }
.badge-arrow {
  font-size: 14px; transition: transform .2s;
  color: inherit; opacity: .8;
}

.badge-panels { margin-top: 16px; position: relative; }
.badge-panel {
  background: #fff;
  border: 1.5px solid var(--line);
  border-left: 4px solid var(--primary);
  border-radius: 14px;
  padding: 22px 24px;
  box-shadow: var(--shadow);
  animation: slideDown .25s ease;
}
.badge-panel h4 {
  margin: 0 0 12px;
  font-size: 16px; font-weight: 700; color: var(--teal);
}
.badge-panel ul {
  display: flex; flex-direction: column; gap: 8px;
}
.badge-panel li {
  font-size: 14.5px; color: var(--ink-soft); padding-left: 18px; position: relative;
}
.badge-panel li::before {
  content: "✦"; position: absolute; left: 0; top: 0;
  color: var(--yellow); font-size: 12px;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hero background blobs */
.hero-bg::before, .hero-bg::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(70px); opacity: .35;
  z-index: 1;
}
.hero-bg::before {
  width: 380px; height: 380px;
  background: var(--primary);
  top: -100px; left: -120px;
}
.hero-bg::after {
  width: 420px; height: 420px;
  background: var(--teal);
  bottom: -120px; right: -120px;
}

/* ====== Section common ====== */
.section-eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; color: var(--primary);
  letter-spacing: 2px; margin: 0 0 12px;
}
.section-eyebrow.center { display: block; text-align: center; }
.section-title {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800; line-height: 1.3; margin: 0 0 18px;
  letter-spacing: -0.02em; color: var(--teal);
}
.section-title.center { text-align: center; }
.section-sub { color: var(--ink-soft); margin: 0 0 50px; }
.section-sub.center { text-align: center; }
.section-desc { color: var(--ink-soft); font-size: 16px; margin: 0 0 30px; }

/* ====== About ====== */
.about { background: #fff; }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center;
}
.about-points {
  display: flex; flex-direction: column; gap: 14px;
}
.about-points li {
  display: flex; align-items: center; gap: 16px; font-size: 16px; font-weight: 500;
}
.about-points span {
  display: inline-grid; place-items: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--yellow-soft); color: var(--primary);
  font-weight: 700; font-size: 13px;
}
.about-tagline {
  margin-top: 28px;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: var(--yellow);
  font-size: 18px; font-weight: 600;
  letter-spacing: .5px;
}

.about-visual {
  position: relative; aspect-ratio: 1 / 1.05;
}
.about-img {
  position: absolute; border-radius: 22px;
  box-shadow: var(--shadow-strong);
  object-fit: cover;
}
.about-img.main {
  width: 78%; height: 78%; top: 0; left: 0;
}
.about-img.sub {
  width: 52%; height: 50%; bottom: 0; right: 0;
  border: 6px solid var(--bg);
}

/* ====== Features ====== */
.features { background: var(--yellow-soft); }
.feature-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
  margin-top: 30px;
}
.feature-card {
  background: #fff;
  padding: 32px 26px; border-radius: var(--radius);
  border: 1px solid var(--line);
  transition: transform .25s, box-shadow .25s;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.feature-icon {
  font-size: 36px; margin-bottom: 16px;
}
.feature-card h3 { font-size: 19px; margin: 0 0 10px; font-weight: 700; color: var(--teal); }
.feature-card p { color: var(--ink-soft); font-size: 14.5px; margin: 0 0 18px; }
.feature-tag {
  display: inline-block;
  font-size: 12px; font-weight: 600; color: var(--primary);
  background: var(--yellow-soft); padding: 5px 12px; border-radius: 999px;
}

/* ====== Teacher (원장 소개) ====== */
.teacher { background: #fff; }
.teacher .section-sub { margin-bottom: 40px; }

.teacher-card {
  max-width: 720px; margin: 0 auto;
  background: linear-gradient(180deg, #fff, var(--yellow-soft) 130%);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 50px 40px 44px;
  box-shadow: var(--shadow);
  position: relative;
}
.teacher-card::before {
  content: ""; position: absolute;
  top: 0; left: 50%; transform: translate(-50%, -50%);
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 8px 20px rgba(229, 184, 58, 0.4);
  z-index: 0;
}
.teacher-card::after {
  content: "✦"; position: absolute;
  top: 0; left: 50%; transform: translate(-50%, -50%);
  font-size: 28px; color: var(--primary); z-index: 1;
  line-height: 64px; height: 64px;
  display: flex; align-items: center; justify-content: center;
  width: 64px;
}

.teacher-top {
  text-align: center;
  margin: 18px 0 32px;
  position: relative;
  z-index: 2;
}
.teacher-direct-badge {
  display: inline-block;
  background: var(--primary); color: #fff;
  padding: 8px 18px; border-radius: 999px;
  font-size: 13.5px; font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 6px 18px rgba(216, 95, 44, 0.32);
  margin-bottom: 18px;
}
.teacher-name {
  margin: 0 0 6px;
  font-size: clamp(28px, 3.4vw, 36px);
  font-weight: 800; color: var(--teal);
  letter-spacing: -0.02em;
}
.teacher-title {
  font-size: 0.7em; font-weight: 600;
  color: var(--ink-soft); margin-left: 4px;
}
.teacher-role {
  margin: 0;
  font-size: 14.5px; color: var(--ink-soft);
  font-weight: 500;
}

.teacher-divider {
  display: flex; align-items: center;
  margin: 28px 0 22px;
  text-align: center;
}
.teacher-divider::before,
.teacher-divider::after {
  content: ""; flex: 1; height: 1px;
  background: var(--line);
}
.teacher-divider span {
  padding: 0 18px;
  font-size: 13px; font-weight: 700;
  color: var(--primary); letter-spacing: 1px;
}

.credentials {
  display: flex; flex-direction: column;
  gap: 14px; max-width: 520px; margin: 0 auto;
}
.credentials li {
  display: flex; align-items: center; gap: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--primary);
  border-radius: 12px;
  padding: 16px 20px;
  transition: transform .2s, box-shadow .2s;
}
.credentials li:hover {
  transform: translateX(4px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.05);
}
.cred-marker {
  font-size: 24px; flex-shrink: 0;
  width: 44px; height: 44px;
  background: var(--yellow-soft);
  border-radius: 12px;
  display: grid; place-items: center;
}
.cred-text { display: flex; flex-direction: column; gap: 2px; }
.cred-text strong {
  font-size: 15.5px; font-weight: 700;
  color: var(--teal); letter-spacing: -0.01em;
}
.cred-text span {
  font-size: 13.5px; color: var(--ink-soft);
}

.teacher-quote {
  margin: 32px 0 0;
  padding-top: 26px;
  border-top: 1px dashed var(--line);
  text-align: center;
  font-size: 15px; line-height: 1.8;
  color: var(--ink-soft);
  font-style: italic;
  font-family: 'Pretendard', sans-serif;
}

@media (max-width: 640px) {
  .teacher-card { padding: 44px 24px 36px; }
  .credentials li { padding: 14px 16px; }
  .cred-marker { width: 40px; height: 40px; font-size: 20px; }
  .cred-text strong { font-size: 14.5px; }
}

/* ====== Space section ====== */
.space { background: #fff; }
.space-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px;
  margin-top: 30px;
}
.space-item {
  border-radius: 22px; overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
}
.space-item.span-2 { grid-column: span 2; }
.space-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.space-item:hover img { transform: scale(1.04); }
.space-item { position: relative; }
.space-caption {
  position: absolute; left: 18px; bottom: 14px;
  background: rgba(31, 105, 104, 0.9); color: #fff;
  padding: 7px 14px; border-radius: 999px;
  font-size: 12.5px; font-weight: 600;
  backdrop-filter: blur(4px);
}
.space-safety {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  margin-top: 26px;
}
.space-safety > div {
  background: var(--yellow-soft);
  padding: 18px; border-radius: 14px; text-align: center;
}
.space-safety strong {
  display: block; font-size: 14px; color: var(--teal);
  margin-bottom: 4px; font-weight: 700;
}
.space-safety span { font-size: 13px; color: var(--ink-soft); }

/* Tuition payment block */
.tuition-pay {
  margin: 18px 0 22px;
  padding: 14px 18px;
  background: var(--yellow-soft);
  border-radius: 12px;
  font-size: 14px;
  display: inline-flex; align-items: center; gap: 10px;
}
.tuition-pay .pay-label {
  font-size: 12px; font-weight: 700; color: var(--primary);
  background: #fff; padding: 4px 10px; border-radius: 999px;
  letter-spacing: 1px;
}
.tuition-pay .pay-value { color: var(--ink-soft); }

/* ====== Works / Gallery ====== */
.works { background: var(--yellow-soft); }
.works-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
  margin-top: 30px;
}
.work-item {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .25s, box-shadow .25s;
}
.work-item:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.work-thumb {
  width: 100%; aspect-ratio: 4 / 5; overflow: hidden;
  background: var(--yellow-soft);
}
.work-thumb img,
.work-thumb .work-video {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
  display: block;
}
.work-item:hover .work-thumb img,
.work-item:hover .work-thumb .work-video { transform: scale(1.05); }
.work-meta { padding: 18px 22px 22px; }
.work-cat {
  display: inline-block; font-size: 12px; font-weight: 700; color: var(--primary);
  letter-spacing: 1px; margin-bottom: 6px;
}
.work-meta h3 { margin: 0; font-size: 17px; font-weight: 700; color: var(--teal); }

/* ====== Tuition ====== */
.tuition { background: linear-gradient(135deg, var(--bg), #fff); }
.tuition-card {
  max-width: 640px; margin: 30px auto 0;
  background: #fff; border: 1px solid var(--line);
  border-radius: 28px; padding: 50px 40px; text-align: center;
  box-shadow: var(--shadow);
}
.tuition-amount { font-size: 18px; color: var(--ink-soft); margin: 0 0 6px; }
.tuition-amount strong {
  font-size: 44px; color: var(--primary); font-weight: 800; letter-spacing: -0.02em;
}
.tuition-desc { color: var(--ink-soft); font-size: 14px; margin: 18px 0 28px; }
.tuition-meta {
  display: flex; justify-content: center; gap: 24px; flex-wrap: wrap;
  padding: 20px 0;
  border-top: 1px dashed var(--line);
  border-bottom: 1px dashed var(--line);
  margin-bottom: 28px;
}
.meta-label {
  display: block; font-size: 12px; color: var(--ink-soft); margin-bottom: 4px;
  letter-spacing: 1px;
}
.meta-value { font-weight: 700; color: var(--ink); font-size: 15px; }

/* ====== Contact ====== */
.contact { background: var(--bg); }
.contact-inner { max-width: 980px; margin: 0 auto; }

.contact-info {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  margin: 30px 0 30px;
}
.contact-info > div {
  background: #fff; padding: 22px; border-radius: 14px;
  text-align: center; border: 1px solid var(--line);
}
.contact-info strong {
  display: block; font-size: 12px; color: var(--primary);
  letter-spacing: 1px; margin-bottom: 8px;
}
.info-link {
  font-size: 16px; font-weight: 700; color: var(--teal);
  transition: color .2s;
}
.info-link:hover { color: var(--primary); }

.contact-detail-grid {
  display: grid; grid-template-columns: 1.2fr 1fr 0.8fr; gap: 14px;
  margin-bottom: 40px;
}
.contact-detail {
  background: #fff; padding: 26px 24px; border-radius: 14px;
  border: 1px solid var(--line);
}
.contact-detail h4 {
  margin: 0 0 14px; font-size: 15px; font-weight: 700; color: var(--teal);
}
.addr-road { margin: 0 0 6px; font-size: 15px; font-weight: 600; }
.addr-jibun { margin: 0 0 14px; font-size: 13px; color: var(--ink-soft); }
.addr-guide {
  margin: 0; font-size: 14px; color: var(--ink-soft); line-height: 1.7;
  padding-top: 14px; border-top: 1px dashed var(--line);
}
.hours-list {
  display: flex; flex-direction: column; gap: 6px;
}
.hours-list li {
  display: flex; justify-content: space-between;
  font-size: 14px;
  padding: 4px 0;
}
.hours-list li > span:first-child {
  font-weight: 700; color: var(--ink); width: 36px;
}
.hours-list li > span:last-child { color: var(--ink-soft); }
.hours-list li.closed > span:last-child { color: var(--primary); font-weight: 600; }
.hours-note { margin: 12px 0 0; font-size: 12.5px; color: var(--primary); font-weight: 500; }
.amenity-list {
  display: flex; flex-direction: column; gap: 8px;
}
.amenity-list li { font-size: 14px; color: var(--ink-soft); }

/* Contact CTA (전화/DM 안내) */
.contact-cta {
  background: #fff; border-radius: var(--radius);
  padding: 50px 40px; border: 1px solid var(--line);
  box-shadow: var(--shadow);
  text-align: center;
}
.cta-eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 700; color: var(--primary);
  letter-spacing: 1px; margin: 0 0 14px;
  background: var(--yellow-soft);
  padding: 6px 14px; border-radius: 999px;
}
.cta-title {
  font-size: clamp(22px, 2.4vw, 28px); font-weight: 800; line-height: 1.4;
  color: var(--teal); margin: 0 0 18px; letter-spacing: -0.01em;
}
.cta-desc {
  color: var(--ink-soft); font-size: 15.5px; margin: 0 0 32px; line-height: 1.7;
}
.cta-actions {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 28px;
}
.cta-btn {
  display: inline-flex; align-items: center; gap: 16px;
  padding: 20px 28px; border-radius: 18px;
  text-align: left;
  transition: transform .2s, box-shadow .2s;
  min-width: 280px;
}
.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.15);
}
.cta-phone {
  background: linear-gradient(135deg, var(--primary), #ea7e4a);
  color: #fff;
  box-shadow: 0 10px 24px rgba(216, 95, 44, 0.32);
}
.cta-insta {
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
  color: #fff;
  box-shadow: 0 10px 24px rgba(253, 29, 29, 0.28);
}
.cta-kakao {
  background: #FEE500;
  color: #3C1E1E;
  box-shadow: 0 10px 24px rgba(254, 229, 0, 0.45);
}
.cta-kakao .cta-icon {
  background: rgba(60, 30, 30, 0.12);
}
.cta-kakao .cta-label { opacity: 0.7; }
.cta-icon {
  font-size: 32px; flex-shrink: 0;
  width: 56px; height: 56px;
  background: rgba(255,255,255,0.22);
  border-radius: 14px;
  display: grid; place-items: center;
}
.cta-content { display: flex; flex-direction: column; gap: 2px; }
.cta-label {
  font-size: 12.5px; font-weight: 600; opacity: .9;
  letter-spacing: 1px;
}
.cta-value {
  font-size: 19px; font-weight: 800; letter-spacing: -0.01em;
}
.cta-hours {
  margin: 0; padding-top: 22px;
  border-top: 1px dashed var(--line);
  font-size: 13.5px; color: var(--ink-soft); line-height: 1.7;
}

/* (legacy form styles — 사용 안 함, 호환성 위해 유지) */
.contact-form {
  background: #fff; border-radius: var(--radius);
  padding: 40px; border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.contact-form label {
  display: block; margin-bottom: 18px;
}
.contact-form label > span {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--ink-soft); margin-bottom: 8px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%; padding: 13px 16px;
  border: 1.5px solid var(--line); border-radius: 12px;
  font-size: 15px; font-family: inherit; color: var(--ink);
  background: var(--bg);
  transition: border .2s, background .2s;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none; border-color: var(--primary); background: #fff;
}
.contact-form textarea { resize: vertical; min-height: 110px; }
.form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.contact-form button { width: 100%; margin-top: 8px; }
.form-feedback {
  margin-top: 14px; text-align: center;
  font-size: 14px; color: var(--teal); font-weight: 600;
}

/* ====== Footer ====== */
.footer {
  background: var(--teal); color: #d6e7e4;
  padding: 50px 0;
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.footer-brand-wrap { display: flex; align-items: center; gap: 14px; }
.footer-logo {
  height: 46px; width: auto;
  background: #fff; padding: 4px 8px; border-radius: 8px;
}
.footer-brand { font-weight: 700; color: #fff; }
.footer-meta { text-align: right; }
.footer-meta p { margin: 4px 0; font-size: 13px; }

/* ====== Responsive ====== */
@media (max-width: 980px) {
  .section { padding: 80px 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero-visual { max-width: 420px; margin: 0 auto; justify-self: center; }
  .about-grid { grid-template-columns: 1fr; gap: 50px; }
  .about-visual { max-width: 480px; margin: 0 auto; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .works-grid { grid-template-columns: repeat(2, 1fr); }
  .space-grid { grid-template-columns: 1fr 1fr; }
  .space-item.span-2 { grid-column: span 2; }
  .space-item:last-child:nth-child(odd) { grid-column: span 2; }
  .contact-info { grid-template-columns: 1fr; }
  .contact-detail-grid { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
  .space-safety { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav-list {
    display: none;
    position: absolute; top: 76px; left: 0; right: 0;
    max-height: calc(100vh - 76px); overflow-y: auto;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; gap: 0; padding: 8px 0;
  }
  .nav-list.open { display: flex; }
  .nav-list li { width: 100%; }
  .nav-list > li > a {
    display: flex; justify-content: space-between; align-items: center;
    padding: 14px 24px; border-bottom: 1px solid var(--line);
  }
  .nav-list > li:last-child > a { border-bottom: 0; }
  .nav-toggle { display: flex; }
  .nav-list .caret {
    font-size: 12px; transition: transform .2s;
  }
  .nav-list .has-sub.open > a .caret { transform: rotate(180deg); }

  /* Mobile submenu — accordion */
  .submenu {
    position: static;
    transform: none; opacity: 1; visibility: visible; pointer-events: auto;
    box-shadow: none; border: 0; border-radius: 0;
    background: var(--yellow-soft);
    padding: 6px 0;
    display: none;
    min-width: 0;
  }
  .submenu::before { display: none; }
  .has-sub.open .submenu { display: flex; }
  .submenu a {
    padding: 12px 40px; border-radius: 0;
    font-size: 14px;
  }
  .submenu a:hover { background: rgba(255,255,255,0.6); }
}

@media (max-width: 640px) {
  .logo-img { height: 42px; }
  .hero { padding: 60px 0 80px; }
  .hero-actions .btn { padding: 12px 20px; font-size: 14px; }
  .hero-badge { font-size: 12.5px; padding: 8px 14px; }
  .feature-grid { grid-template-columns: 1fr; }
  .works-grid { grid-template-columns: 1fr; }
  .space-grid { grid-template-columns: 1fr; }
  .space-item.span-2 { grid-column: span 1; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 20px; }
  .contact-cta { padding: 36px 22px; }
  .cta-btn { min-width: 0; width: 100%; padding: 16px 20px; }
  .cta-icon { width: 46px; height: 46px; font-size: 26px; }
  .cta-value { font-size: 17px; }
  .tuition-card { padding: 36px 22px; }
  .tuition-amount strong { font-size: 36px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-meta { text-align: center; }
  .hero-sticker { width: 70px; height: 70px; font-size: 26px; bottom: -10px; left: -10px; }
}
