:root {
  --cream: #F8F4E9;
  --cream-deep: #EFEADA;
  --sage: #afd39a;
  --sage-line: rgba(134, 192, 105, 0.35);
  --forest: #86c069;
  --forest-deep: #86c069;
  --green-accent: #337ab7;
  --accent-orange: #f28d4e;
  --accent-pink: #ed83a8;
  --accent-red: #da3729;
  --text-main: #2B2B24;
  --text-sub: #6B6B5E;
  --white: #FFFFFF;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --header-space: 64px;
}

@font-face {
  font-family: "Hakgyoansim Kkokkoma";
  src: url("fonts/HakgyoansimKkokkoma.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Hakgyoansim Ocarina";
  src: url("fonts/HakgyoansimOcarina.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-main);
  background: var(--cream);
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

a { color: inherit; text-decoration: none; }

h1, h2, h3 { margin: 0; font-weight: 700; }

h1, h2 {
  font-family: "Hakgyoansim Ocarina", "Pretendard", "Apple SD Gothic Neo", sans-serif;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--sage-line);
  box-shadow: 0 10px 30px rgba(35, 57, 42, 0.08);
}

main {
  display: block;
  padding-top: var(--header-space);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-space);
}

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

.logo-full {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.main-nav {
  display: flex;
  gap: 28px;
}

.main-nav a {
  font-size: 0.95rem;
  color: var(--text-main);
  opacity: 0.8;
}

.main-nav a:hover { opacity: 1; color: var(--forest); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.btn:hover { opacity: 0.9; transform: translateY(-1px); }

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

.btn-outline {
  background: transparent;
  color: var(--forest);
  border: 1.5px solid var(--forest);
}

.btn-small {
  padding: 10px 18px;
  font-size: 0.85rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.is-active .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-active .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.icon-btn-header {
  display: inline-flex;
  align-items: center;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.icon-btn-header:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.icon-btn-header img {
  display: block;
  width: 32px;
  height: 32px;
}

.kakao-btn {
  display: inline-flex;
  align-items: center;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.kakao-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.kakao-btn img {
  display: block;
  width: auto;
}

.kakao-btn-header img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

/* Hero */
.hero { padding: 72px 0 96px; }

.hero-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.hero-inner h1 {
  font-size: 2.6rem;
  line-height: 1.35;
  color: var(--forest-deep);
  letter-spacing: -0.5px;
}

.hero-desc {
  margin-top: 20px;
  color: var(--text-sub);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Admission banner */
.admission-banner {
  padding: 0 0 72px;
}

.admission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.admission-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  text-align: center;
}

.admission-title {
  font-family: "Hakgyoansim Ocarina", "Pretendard", "Apple SD Gothic Neo", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--forest-deep);
  margin: 0 0 16px;
}

.admission-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.admission-list li {
  color: var(--text-sub);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Sections */
.section { padding: 88px 0; }

.eyebrow {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--forest);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 12px;
}

.section h2 {
  font-size: 2rem;
  color: var(--forest-deep);
  margin-bottom: 40px;
}

.section-note {
  margin-top: 36px;
  color: var(--text-sub);
  font-size: 0.95rem;
  max-width: 640px;
}

/* Philosophy speech bubbles */
.philosophy-intro {
  margin-bottom: 56px;
}

.philosophy-intro-title {
  font-family: "Hakgyoansim Ocarina", "Pretendard", "Apple SD Gothic Neo", sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--forest-deep);
  margin: 0 0 20px;
}

.philosophy-intro-text {
  color: var(--text-sub);
  font-size: 1rem;
  line-height: 1.8;
  margin: 0 0 32px;
}

.philosophy-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.value-card {
  border-radius: var(--radius-lg);
  padding: 32px 26px;
}

.value-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 16px;
}

.value-card-line {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
}

.value-card-pink {
  background: #FADAE5;
}

.value-card-pink .value-card-title,
.value-card-pink .value-card-line {
  color: #A65C76;
}

.value-card-orange {
  background: #FBDDCA;
}

.value-card-orange .value-card-title,
.value-card-orange .value-card-line {
  color: #A96337;
}

.value-card-blue {
  background: #C2D7E9;
}

.value-card-blue .value-card-title,
.value-card-blue .value-card-line {
  color: #245580;
}

.philosophy-facts {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}

.philosophy-facts li {
  color: var(--text-sub);
  font-size: 1rem;
  line-height: 1.8;
}

.detail-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin: 32px auto 0;
  padding: 12px 26px;
  background: var(--accent-orange);
  color: var(--white);
  border: none;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.detail-link:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* 보육 철학 자세히 보기 오버레이 */
.philosophy-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--cream);
  overflow-y: auto;
  padding: 88px 24px 96px;
}

.philosophy-overlay[hidden] { display: none; }

.philosophy-overlay-inner {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}

.philosophy-overlay-close {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--white);
  color: var(--text-main);
  font-size: 1rem;
  cursor: pointer;
  z-index: 201;
}

.philosophy-overlay-close:hover { background: var(--sage); }

.philosophy-overlay-main-title {
  font-family: "Hakgyoansim Ocarina", "Pretendard", "Apple SD Gothic Neo", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--forest-deep);
  margin: 0 0 24px;
}

.philosophy-overlay-intro,
.philosophy-overlay-closing {
  margin-bottom: 40px;
}

.philosophy-overlay-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}

.philosophy-overlay-section {
  margin-bottom: 56px;
}

.philosophy-overlay-section-title {
  font-family: "Hakgyoansim Ocarina", "Pretendard", "Apple SD Gothic Neo", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--forest-deep);
  margin: 0 0 24px;
}

.philosophy-overlay-text {
  color: var(--text-sub);
  font-size: 1rem;
  line-height: 1.9;
  margin: 0 0 18px;
}

.philosophy-overlay-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 0 0 18px;
  background:
    repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.35),
      rgba(255, 255, 255, 0.35) 12px,
      transparent 12px,
      transparent 24px
    ),
    var(--sage);
  display: flex;
  align-items: flex-end;
}

.philosophy-overlay-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.philosophy-overlay-photo-caption {
  position: relative;
  margin: 0;
  padding: 14px 18px;
  font-size: 0.85rem;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.6);
  width: 100%;
}

.speech-bubble.overlay-quote-bubble {
  margin: 0 0 24px;
  min-width: 320px;
  max-width: 640px;
}

.overlay-quote-bubble.speech-bubble-align-right {
  margin-left: auto;
}

.overlay-quote-bubble.speech-bubble-align-left {
  margin-right: auto;
}

/* Fee cards (자본의 협동) */
.fee-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 8px 0 16px;
}

.fee-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
}

.fee-card-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 8px;
}

.fee-card-amount {
  font-family: "Hakgyoansim Ocarina", "Pretendard", "Apple SD Gothic Neo", sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 0 10px;
}

.fee-card-desc {
  font-size: 0.85rem;
  color: var(--text-sub);
  line-height: 1.5;
  margin: 0 0 16px;
}

.fee-card-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
}

.fee-card-green .fee-card-amount { color: var(--forest-deep); }
.fee-card-green .fee-card-tag { background: rgba(134, 192, 105, 0.18); color: var(--forest-deep); }

.fee-card-blue .fee-card-amount { color: var(--green-accent); }
.fee-card-blue .fee-card-tag { background: rgba(51, 122, 183, 0.14); color: var(--green-accent); }

.fee-card-orange .fee-card-amount { color: var(--accent-orange); }
.fee-card-orange .fee-card-tag { background: rgba(242, 141, 78, 0.16); color: var(--accent-orange); }

.fee-notes {
  background: var(--sage);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 0 0 24px;
}

.fee-notes p {
  margin: 0 0 8px;
  font-size: 0.88rem;
  color: var(--text-main);
  line-height: 1.6;
}

.fee-notes p::before {
  content: "· ";
}

.fee-notes p:last-child { margin-bottom: 0; }

.philosophy-heading {
  display: flex;
  align-items: baseline;
  gap: 24px;
  margin-bottom: 40px;
}

.philosophy-heading h2 {
  margin-bottom: 0;
}

.philosophy-heading .section-note {
  margin-top: 0;
}

.bubble-list {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.bubble-list::-webkit-scrollbar {
  display: none;
}

.speech-bubble {
  position: relative;
  flex: 0 0 auto;
  scroll-snap-align: start;
  min-width: 280px;
  max-width: 560px;
  padding: 28px 39px 46px 39px;
  font-size: 1.27rem;
  line-height: 1.55;
  color: var(--text-main);
}

.bubble-scroll-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.bubble-scroll-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--sage-line);
  background: var(--white);
  color: var(--forest);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, transform 0.15s ease;
}

.bubble-scroll-btn:hover {
  background: var(--sage);
  transform: translateY(-1px);
}

.bubble-scroll-btn:disabled {
  opacity: 0.35;
  cursor: default;
  transform: none;
}

.speech-bubble-art {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-style: solid;
  border-color: transparent;
  border-width: 18px 42px 26px 20px;
  border-image-source: url("images/shared/speechbubble.png");
  border-image-slice: 60 115 76 52 fill;
  border-image-repeat: stretch;
  pointer-events: none;
}

.speech-bubble-art.is-flipped {
  transform: scaleX(-1);
}

.speech-bubble-title {
  position: relative;
  top: 7px;
  z-index: 1;
  margin: 0 0 6px;
  font-family: "Hakgyoansim Ocarina", "Pretendard", "Apple SD Gothic Neo", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--forest);
}

.speech-bubble-text {
  position: relative;
  top: 7px;
  z-index: 1;
  margin: 0;
  font-family: "Hakgyoansim Kkokkoma", "Pretendard", "Apple SD Gothic Neo", sans-serif;
}

/* Alternating section background */
.section-green {
  background: var(--sage);
}

.section-green .eyebrow,
.section-green h2,
.section-green .outing-intro-title,
.section-green .teacher-name {
  color: var(--cream);
}

.section-green .qna-item {
  border-color: rgba(43, 43, 36, 0.18);
}

.section-green .qna-item:first-child {
  border-top-color: rgba(43, 43, 36, 0.18);
}

/* Family fit */
.fit-title {
  text-align: center;
}

.fit-title-logo {
  height: 1.28em;
  width: auto;
  vertical-align: -0.24em;
  margin: 0 2px;
}

.fit-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: center;
}

.fit-list li {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-main);
}

.atmosphere-stories {
  display: flex;
  flex-direction: column;
  gap: 48px;
  margin-top: 40px;
}

.atmosphere-story {
  display: flex;
  align-items: center;
  gap: 32px;
}

.atmosphere-story-reverse {
  flex-direction: row-reverse;
}

.atmosphere-story-media {
  display: flex;
  flex-direction: column;
  flex: 1 1 340px;
  max-width: 440px;
}

.atmosphere-story-quote {
  flex: 1 1 320px;
}

.atmosphere-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  background: var(--sage);
}

.atmosphere-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.atmosphere-photo-placeholder {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.35),
      rgba(255, 255, 255, 0.35) 12px,
      transparent 12px,
      transparent 24px
    ),
    var(--sage);
}

.atmosphere-photo-caption {
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 8px 18px;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  background: var(--cream);
  color: var(--text-main);
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.5;
  text-align: left;
}

.atmosphere-story-reverse .atmosphere-photo-caption {
  text-align: right;
}

/* Daily section */
.daily-intro {
  color: var(--text-sub);
  font-size: 1rem;
  line-height: 1.8;
  max-width: 640px;
  margin: 0 0 36px;
}

/* Teachers */
.teachers-facts {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 680px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.teachers-facts li {
  color: var(--text-main);
  font-size: 1rem;
  line-height: 1.7;
}

.teachers-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 12px 16px;
  margin-top: 48px;
}

.teacher-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 132px;
}

.teacher-card:nth-child(2n) { margin-top: 30px; }
.teacher-card:nth-child(5n) { margin-top: -14px; }
.teacher-card:nth-child(7n) { margin-top: 16px; }

.teacher-avatar {
  position: relative;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--white);
  margin: 0 0 14px;
}

.teacher-card-lead .teacher-avatar {
  width: 140px;
  height: 140px;
}

.teacher-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.teacher-avatar-placeholder {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.35),
      rgba(255, 255, 255, 0.35) 10px,
      transparent 10px,
      transparent 20px
    ),
    var(--sage);
}

.teacher-name {
  font-weight: 700;
  font-size: 1.05rem;
  margin: 0 0 4px;
}

.teacher-role {
  color: var(--text-main);
  font-size: 0.85rem;
  margin: 0;
}

.teacher-card-lead .teacher-role {
  color: var(--accent-orange);
  font-weight: 700;
}

.teacher-card-cook .teacher-role {
  color: var(--accent-pink);
  font-weight: 700;
}

.teacher-career {
    margin: 4px 0 0;
    font-size: 0.85rem;
    color: var(--text-main);
    font-weight: 700;
}

.timeline-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 30px;
}

/* Outing section */
.outing-intro {
  margin-bottom: 36px;
}

.outing-intro-title {
  font-family: "Hakgyoansim Ocarina", "Pretendard", "Apple SD Gothic Neo", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 16px;
}

.outing-intro-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.outing-intro-list li {
  color: var(--text-main);
  font-size: 1rem;
  line-height: 1.7;
}

.outing-photo {
  display: flex;
  gap: 16px;
  margin: 0 0 32px;
}

.outing-photo-cell {
  position: relative;
  min-width: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--sage);
}

.outing-photo-cell:first-child {
  flex: 0 0 calc(36% - 6px);
  aspect-ratio: 1 / 1;
}

.outing-photo-cell:last-child {
  flex: 1 1 auto;
  aspect-ratio: 16 / 9;
}

.outing-photo-cell img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.outing-photo-placeholder {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.35),
      rgba(255, 255, 255, 0.35) 12px,
      transparent 12px,
      transparent 24px
    ),
    var(--sage);
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
}

.timeline li {
  position: relative;
  padding: 0 0 24px 44px;
}

.timeline li:last-child { padding-bottom: 0; }

.timeline-icon {
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--forest);
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-icon svg {
  display: block;
}

.timeline li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 13px;
  top: 28px;
  bottom: 0;
  width: 1px;
  background: var(--sage-line);
}

.timeline .time {
  display: block;
  font-weight: 700;
  color: var(--green-accent);
  font-size: 0.95rem;
}

.timeline-content {
  margin-top: 4px;
}

.timeline-title,
.timeline-desc {
  display: block;
}

.timeline-title {
  color: var(--text-main);
  font-weight: 600;
}

.timeline-desc {
  color: var(--text-sub);
  margin-top: 4px;
}

.map-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.map-label {
  font-weight: 700;
  color: var(--forest-deep);
  margin: 0 0 14px;
}

.map-embed {
  position: relative;
  border-radius: var(--radius-md);
  aspect-ratio: 1954 / 1032;
  overflow: hidden;
}

.map-embed-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.map-location-marker {
  position: absolute;
  left: 29.79%;
  top: 30.71%;
  width: 5.59%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  z-index: 2;
  pointer-events: none;
}

/* Gallery (Instagram) */

.gallery-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 14px;
  scroll-snap-type: x mandatory;
}

.gallery-scroll > * {
  flex: 0 0 auto;
  scroll-snap-align: start;
}

.gallery-scroll iframe {
  border-radius: var(--radius-md) !important;
}

.gallery-placeholder {
  width: 100%;
  background: var(--sage);
  border: 1.5px dashed var(--sage-line);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  color: var(--text-sub);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Together */
.together-text {
  max-width: 720px;
}

.together-text p {
  color: var(--text-sub);
  font-size: 1rem;
  line-height: 1.8;
  margin: 0 0 20px;
}

.together-text p:last-child {
  margin-bottom: 0;
}

.info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 30px;
}

.info-card h3 {
  font-family: "Hakgyoansim Ocarina", "Pretendard", "Apple SD Gothic Neo", sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--forest-deep);
  margin-bottom: 18px;
  text-align: center;
}

.info-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.info-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--sage);
  font-size: 0.95rem;
}

.info-list li:last-child { border-bottom: none; }

.info-list li span {
  color: var(--text-sub);
  text-align: right;
}

.info-footnote {
  margin: 16px 0 0;
  font-size: 0.82rem;
  color: var(--text-sub);
}

/* QNA */
.qna-list {
  width: 100%;
}

.qna-item {
  border-bottom: 1px solid var(--sage-line);
}

.qna-item:first-child {
  border-top: 1px solid var(--sage-line);
}

.qna-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 22px 4px;
  background: none;
  border: none;
  text-align: left;
  font-family: inherit;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
}

.qna-icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.qna-icon::before,
.qna-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  background: var(--forest);
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease;
}

.qna-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.qna-item.is-open .qna-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.qna-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.qna-answer-inner {
  overflow: hidden;
}

.qna-answer-inner p {
  margin: 0 0 22px;
  padding: 0 4px;
  color: var(--text-sub);
  font-size: 0.95rem;
  line-height: 1.7;
}

.qna-item.is-open .qna-answer {
  grid-template-rows: 1fr;
}

/* Contact */
.section-contact {
  text-align: center;
}

.contact-inner { max-width: 520px; margin: 0 auto; }

#contact-title {
  margin-bottom: 12px;
}

.section-contact .section-note {
  margin-left: auto;
  margin-right: auto;
  color: var(--text-sub);
}

.contact-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  margin: 40px 0 48px;
}

.contact-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 160px;
}

.contact-steps-highlight {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 4px;
  border: 2px solid var(--forest);
  border-radius: var(--radius-lg);
  padding: 32px 20px 20px;
  margin-right: 24px;
}

/* 하이라이트 박스의 상단 패딩(32px)만큼, 박스 밖에 있는 단계/화살표도
   같이 내려서 아이콘 줄이 수평으로 맞도록 보정한다 */
.contact-steps > .contact-step,
.contact-steps > .contact-step-arrow {
  margin-top: 34px;
}

.contact-steps-highlight-label {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--cream);
  padding: 0 14px;
  color: var(--forest-deep);
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
}

.contact-step-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(134, 192, 105, 0.15);
  color: var(--forest-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 16px;
}

.contact-step-title {
  font-weight: 700;
  color: var(--text-main);
  font-size: 1rem;
  margin: 0 0 6px;
}

.contact-step-desc {
  color: var(--text-sub);
  font-size: 0.85rem;
  line-height: 1.5;
}

.contact-step-arrow {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  color: var(--forest);
  padding-top: 32px;
}

.contact-details {
  margin: 32px 0;
  text-align: left;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  color: var(--text-main);
}

.contact-details p {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin: 10px 0;
  font-size: 0.95rem;
}

.contact-details p a {
  text-align: right;
}

.contact-link {
  color: var(--accent-orange);
  font-weight: 600;
  text-decoration: underline;
}

.contact-link:hover {
  color: var(--forest);
}

/* Footer */
.site-footer {
  padding: 32px 0;
  text-align: center;
  color: var(--text-sub);
  font-size: 0.85rem;
}

.footer-org {
  margin: 0 0 10px;
  font-weight: 700;
  color: var(--text-main);
}

.footer-line {
  margin: 4px 0;
}

/* Hero video */
.video-hero {
  position: relative;
  height: 100vh;
  margin-top: calc(-1 * var(--header-space));
  overflow: hidden;
  background: var(--cream);
  display: none;
}

.video-hero.is-active {
  display: block;
}

.video-hero-frame {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.video-hero-frame iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-height: 100vh;
  min-width: 177.78vh;
  transform: translate(-50%, -50%);
  border: 0;
  pointer-events: none;
}

.video-hero-bottom-mask {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--header-space);
  background: var(--cream);
  z-index: 1;
  pointer-events: none;
}

@media (hover: none) and (pointer: coarse) {
  /* 터치 기기는 마우스 호버가 없어서 컨트롤이 저절로 뜰 일이 없고,
     오히려 자동재생이 막혔을 때 나오는 재생 버튼을 눌러야 하므로 터치를 허용한다 */
  .video-hero-frame iframe {
    pointer-events: auto;
  }
}

.video-mute-btn {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: rgba(35, 57, 42, 0.55);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: background 0.15s ease;
}

.video-mute-btn:hover {
  background: rgba(35, 57, 42, 0.75);
}

.br-mobile { display: none; }

/* Responsive */
@media (max-width: 860px) {
  .br-mobile { display: inline; }
  .footer-sep { display: none; }
  .atmosphere-story, .atmosphere-story-reverse { flex-direction: column; }
  .atmosphere-story-media { width: 100%; max-width: 440px; }
  .admission-grid { grid-template-columns: 1fr; }
  .philosophy-values { grid-template-columns: 1fr; }
  .philosophy-overlay-values { grid-template-columns: 1fr; }
  .fee-cards { grid-template-columns: 1fr; }
  .teacher-card { width: 108px; }
  .teacher-card:nth-child(2n), .teacher-card:nth-child(5n), .teacher-card:nth-child(7n) { margin-top: 0; }
  .contact-steps { flex-direction: column; align-items: center; gap: 24px; }
  .contact-steps-highlight { flex-direction: column; align-items: center; gap: 24px; margin-right: 0; }
  .contact-step-arrow { padding-top: 0; transform: rotate(90deg); }
  .nav-toggle { display: flex; }

  .main-nav {
    position: fixed;
    top: var(--header-space);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    background: var(--cream);
    border-bottom: 1px solid var(--sage-line);
    box-shadow: 0 10px 20px rgba(35, 57, 42, 0.08);
    transition: max-height 0.25s ease;
  }

  .main-nav.is-open {
    max-height: 400px;
  }

  .main-nav a {
    padding: 14px 24px;
    border-top: 1px solid var(--sage-line);
  }

  .logo-full { height: 30px; }
  .header-actions { gap: 10px; }
  .hero-inner h1 { font-size: 2rem; }
  .speech-bubble { min-width: 240px; max-width: 88vw; }
}
