/* ==========================================================================
   이현웰가어린이집 랜딩페이지 스타일시트
   - 모바일 우선(mobile-first) 반응형
   - 컬러 토큰은 :root 에서 일괄 관리
   ========================================================================== */

:root {
  /* 브랜드 컬러 팔레트 — 아이보리/베이지/세이지그린/브라운 */
  --bg:         #FBF8F2;   /* 따뜻한 아이보리 배경 */
  --bg-soft:    #F4EDE2;   /* 부드러운 베이지 */
  --bg-sage:    #EEF2E9;   /* 연한 세이지 배경 */
  --card:       #FFFFFF;
  --sage-100:   #DCE5D4;
  --sage:       #8FA983;   /* 세이지그린 */
  --sage-deep:  #5F7A55;   /* 진한 세이지 */
  --brown:      #8A6D52;   /* 포근한 브라운 포인트 */
  --brown-deep: #6A513A;
  --gold:       #C9A87C;   /* 은은한 골드 포인트 */
  --ink:        #332F2A;   /* 본문 진한 텍스트 */
  --ink-soft:   #6E675C;   /* 보조 텍스트 */
  --line:       #E9E0D2;   /* 구분선 */
  --kakao:      #FEE500;
  --kakao-ink:  #191919;

  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --shadow-sm: 0 2px 10px rgba(80, 65, 45, .06);
  --shadow-md: 0 10px 30px rgba(80, 65, 45, .10);
  --shadow-lg: 0 20px 50px rgba(80, 65, 45, .14);

  --header-h: 64px;
  --bottombar-h: 62px;
}

/* ---------- 리셋 & 기본 ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
    "Segoe UI", "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  /* 모바일 하단 고정바 공간 확보 */
  padding-bottom: calc(var(--bottombar-h) + env(safe-area-inset-bottom, 0px));
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

.container { width: min(1120px, 100% - 40px); margin-inline: auto; }

section { padding: 72px 0; }

/* ---------- 공통 타이포 ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .12em;
  color: var(--sage-deep); text-transform: uppercase;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; border-radius: 2px;
  background: var(--sage);
}

.section-title {
  font-size: clamp(24px, 4.6vw, 38px);
  font-weight: 800; line-height: 1.38; letter-spacing: -0.02em;
  word-break: keep-all;
}
.section-title em { font-style: normal; color: var(--sage-deep); }
.section-title strong { color: var(--brown); font-weight: 800; }

.section-desc {
  margin-top: 18px; color: var(--ink-soft);
  font-size: clamp(15px, 2.4vw, 17px); word-break: keep-all;
}

.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .eyebrow::before { display: none; }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 26px; border-radius: 999px;
  font-size: 15.5px; font-weight: 700; letter-spacing: -0.01em;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn svg { flex: none; }

.btn--phone {
  background: linear-gradient(135deg, var(--sage-deep), #4d6644);
  color: #fff; box-shadow: 0 8px 22px rgba(95, 122, 85, .35);
}
.btn--phone:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(95,122,85,.42); }

.btn--kakao {
  background: var(--kakao); color: var(--kakao-ink);
  box-shadow: 0 8px 22px rgba(201, 168, 60, .28);
}
.btn--kakao:hover { transform: translateY(-2px); }

.btn--ghost {
  background: #fff; color: var(--brown-deep);
  border: 1.5px solid var(--line); box-shadow: var(--shadow-sm);
}
.btn--ghost:hover { border-color: var(--gold); transform: translateY(-2px); }

.btn--brown {
  background: linear-gradient(135deg, var(--brown), var(--brown-deep));
  color: #fff; box-shadow: 0 8px 22px rgba(106, 81, 58, .32);
}
.btn--brown:hover { transform: translateY(-2px); }

/* ==========================================================================
   1. 상단 고정 헤더
   ========================================================================== */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  background: rgba(251, 248, 242, .78);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, background .25s, box-shadow .25s;
}
.header.scrolled {
  background: rgba(251, 248, 242, .94);
  border-bottom-color: var(--line);
  box-shadow: 0 4px 20px rgba(80,65,45,.06);
}
.header__inner {
  height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17.5px; letter-spacing: -0.02em; }
.logo__mark {
  width: 36px; height: 36px; border-radius: 12px; flex: none;
  display: grid; place-items: center; font-size: 17px;
  background: linear-gradient(135deg, var(--sage-100), var(--bg-soft));
  border: 1px solid var(--sage-100);
}
.logo__sub { display: block; font-size: 10.5px; font-weight: 600; color: var(--sage-deep); letter-spacing: .14em; }

.nav { display: none; }
.header__cta { display: none; }

/* 햄버거 */
.hamburger {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center; gap: 0;
  background: #fff; border: 1px solid var(--line);
}
.hamburger span {
  display: block; width: 18px; height: 2px; border-radius: 2px;
  background: var(--ink); transition: transform .25s, opacity .2s;
}
.hamburger span + span { margin-top: 4px; }
.hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* 모바일 드롭다운 메뉴 */
.mobile-menu {
  position: fixed; top: var(--header-h); left: 0; right: 0; z-index: 99;
  background: rgba(251,248,242,.98);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  padding: 10px 20px 22px;
  display: none;
}
.mobile-menu.open { display: block; animation: fadeDown .25s ease; }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.mobile-menu a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 6px; font-weight: 600; font-size: 15.5px;
  border-bottom: 1px solid var(--line);
}
.mobile-menu a::after { content: "→"; color: var(--gold); font-size: 14px; }
.mobile-menu .btn { width: 100%; margin-top: 16px; }

/* ==========================================================================
   2. 히어로
   ========================================================================== */
.hero {
  padding: calc(var(--header-h) + 44px) 0 64px;
  background:
    radial-gradient(60% 50% at 100% 0%, rgba(220, 229, 212, .55) 0%, transparent 70%),
    radial-gradient(50% 40% at 0% 100%, rgba(233, 220, 200, .5) 0%, transparent 70%),
    var(--bg);
  overflow: hidden;
}
.hero__inner { display: grid; gap: 40px; align-items: center; }

.hero__badge-top {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 999px;
  background: #fff; border: 1px solid var(--sage-100);
  font-size: 13px; font-weight: 700; color: var(--sage-deep);
  box-shadow: var(--shadow-sm); margin-bottom: 22px;
}
.hero__badge-top .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sage); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(143,169,131,.5);} 50% { box-shadow: 0 0 0 6px rgba(143,169,131,0);} }

.hero h1 {
  font-size: clamp(28px, 6.2vw, 48px);
  font-weight: 800; line-height: 1.32; letter-spacing: -0.03em; word-break: keep-all;
}
.hero h1 em { font-style: normal; color: var(--sage-deep); }
.hero__sub {
  margin-top: 20px; color: var(--ink-soft);
  font-size: clamp(15px, 2.6vw, 17.5px); word-break: keep-all; max-width: 520px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* 핵심 배지 5개 */
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.hero__badges li {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 15px; border-radius: 999px;
  background: rgba(255,255,255,.85); border: 1px solid var(--line);
  font-size: 13.5px; font-weight: 600; color: var(--brown-deep);
  box-shadow: var(--shadow-sm);
}
.hero__badges li::before { content: "✓"; color: var(--sage-deep); font-weight: 800; font-size: 12px; }

/* 히어로 이미지 — 아치형 프레임 */
.hero__visual { position: relative; max-width: 460px; justify-self: center; width: 100%; }
.hero__img-frame {
  border-radius: 230px 230px var(--radius-lg) var(--radius-lg);
  overflow: hidden; aspect-ratio: 4 / 4.6;
  box-shadow: var(--shadow-lg);
  border: 8px solid #fff;
}
/* ---------- 이미지 placeholder 공통 ----------
   실제 사진 교체 방법: <img src="..."> 의 src만 바꾸면 됩니다.
   이미지 로드 실패 시 뒤의 그라디언트 + 라벨이 자동으로 표시됩니다. */
.ph {
  position: relative; width: 100%; height: 100%; overflow: hidden;
  background: linear-gradient(140deg, var(--bg-soft) 0%, var(--sage-100) 100%);
}
.ph::before {
  content: attr(data-label);
  position: absolute; inset: 0;
  display: grid; place-items: center;
  color: var(--sage-deep); font-size: 14px; font-weight: 700;
  text-align: center; padding: 16px; word-break: keep-all;
}
.ph img {
  position: relative; z-index: 1;
  width: 100%; height: 100%; object-fit: cover;
}

/* ==========================================================================
   2-1. 짧은 홈 전용 섹션
   ========================================================================== */
.home-essentials {
  background: var(--card); border-block: 1px solid var(--line);
}
.home-link-grid {
  display: grid; gap: 14px;
}
.home-link-card {
  display: block; min-height: 100%;
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius-md); padding: 24px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.home-link-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--sage-100);
}
.home-link-card__ico {
  width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 14px; margin-bottom: 16px;
  background: #fff; border: 1px solid var(--line); font-size: 21px;
}
.home-link-card h3 {
  font-size: 17px; font-weight: 900; color: var(--brown-deep);
}
.home-link-card p {
  margin-top: 7px; font-size: 13.5px; color: var(--ink-soft);
  word-break: keep-all;
}
.home-activity {
  background: linear-gradient(180deg, var(--bg-sage), var(--bg));
}
.home-activity__inner {
  display: grid; gap: 32px; align-items: center;
}
.home-activity__media {
  aspect-ratio: 4 / 3; overflow: hidden;
  border-radius: var(--radius-lg); border: 8px solid #fff;
  box-shadow: var(--shadow-lg); background: var(--bg-soft);
}
.home-activity__media img {
  width: 100%; height: 100%; object-fit: cover;
}
.home-consult {
  background: #fff; border-top: 1px solid var(--line);
}
.home-consult__inner {
  display: grid; gap: 24px; align-items: center;
  padding: 30px 24px; border-radius: var(--radius-lg);
  background: var(--bg-soft); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.home-consult__actions {
  display: flex; flex-wrap: wrap; gap: 10px;
}

/* ==========================================================================
   2-2. 상세 페이지 공통
   ========================================================================== */
.page-hero {
  padding: calc(var(--header-h) + 42px) 0 56px;
  background:
    radial-gradient(60% 50% at 100% 0%, rgba(220, 229, 212, .55) 0%, transparent 70%),
    var(--bg);
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.page-hero .eyebrow {
  justify-content: center;
}
.page-hero .eyebrow::before {
  display: none;
}
.page-hero .section-desc {
  max-width: 680px; margin-inline: auto;
}
.page-hero__actions {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
  margin-top: 28px;
}

/* ==========================================================================
   3. 신뢰 포인트 카드
   ========================================================================== */
.trust { background: var(--card); border-block: 1px solid var(--line); }
.trust__grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.tcard {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius-md); padding: 30px 26px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.tcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--sage-100); }
.tcard__ico {
  width: 52px; height: 52px; border-radius: 16px; font-size: 24px;
  display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(135deg, var(--bg-sage), var(--sage-100));
}
.tcard h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; letter-spacing: -0.01em; }
.tcard p { font-size: 14.5px; color: var(--ink-soft); word-break: keep-all; }

/* ==========================================================================
   4. 원장 인사말
   ========================================================================== */
.greeting { background: var(--bg-soft); }
.greeting__inner { display: grid; gap: 40px; align-items: center; }
.greeting__visual { max-width: 420px; width: 100%; justify-self: center; position: relative; }
.greeting__img-frame {
  border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/4.4;
  box-shadow: var(--shadow-lg); border: 8px solid #fff;
}
.greeting__quote-mark {
  position: absolute; top: -22px; left: -6px; z-index: 2;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--brown); color: #fff; font-size: 26px; font-weight: 800;
  display: grid; place-items: center; box-shadow: var(--shadow-md);
  font-family: Georgia, serif;
}
.greeting__body p { color: var(--ink-soft); font-size: 15.5px; margin-top: 16px; word-break: keep-all; }
.greeting__body p.lead { color: var(--ink); font-weight: 600; font-size: 16.5px; }
.greeting__sign {
  margin-top: 28px; display: flex; align-items: center; gap: 14px;
  font-weight: 800; font-size: 16px; color: var(--brown-deep);
}
.greeting__sign::before { content: ""; width: 36px; height: 2px; background: var(--gold); border-radius: 2px; }

/* ==========================================================================
   5. 왜 이현웰가인가 — 통계/키워드 박스
   ========================================================================== */
.why { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-sage) 100%); }
.why__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.stat {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-md); padding: 26px 20px;
  text-align: center; transition: transform .25s, box-shadow .25s;
}
.stat:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.stat__num {
  font-size: clamp(24px, 4.5vw, 32px); font-weight: 800;
  color: var(--sage-deep); letter-spacing: -0.03em; line-height: 1.2;
}
.stat__num.brown { color: var(--brown); }
.stat__label { margin-top: 6px; font-size: 13.5px; font-weight: 600; color: var(--ink-soft); word-break: keep-all; }

/* ==========================================================================
   6. 80평 공간 소개
   ========================================================================== */
.space__hero-img {
  border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 16/8; margin-bottom: 40px; box-shadow: var(--shadow-md);
}
.space__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.scard {
  border-radius: var(--radius-md); overflow: hidden;
  background: #fff; border: 1px solid var(--line);
  transition: transform .25s, box-shadow .25s;
}
.scard:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.scard__img { aspect-ratio: 16/10; }
.scard__img .ph::before { font-size: 30px; content: attr(data-emoji); }
.scard__body { padding: 16px 18px 18px; }
.scard__body h3 { font-size: 15.5px; font-weight: 800; }
.scard__body p { font-size: 13px; color: var(--ink-soft); margin-top: 3px; word-break: keep-all; }

/* ==========================================================================
   6-1. 위생·건강 관리
   ========================================================================== */
.hygiene { background: linear-gradient(180deg, var(--bg-sage), var(--bg)); }
.hygiene .tcard { background: #fff; }

/* ==========================================================================
   7 & 8. 교구 뇌활동교육 / 야외체험 — 좌우 교차 레이아웃
   ========================================================================== */
.feature-split { }
.feature-split--tint { background: var(--bg-soft); }
.feature-split__inner { display: grid; gap: 38px; align-items: center; }
.feature-split__img {
  border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3.4;
  box-shadow: var(--shadow-lg); border: 8px solid #fff;
}
.chip-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chip-list li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 17px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  font-size: 14px; font-weight: 600; box-shadow: var(--shadow-sm);
}
.chip-list li span.e { font-size: 15px; }

/* ==========================================================================
   9. 활동소식 — 수박 오감놀이와 물놀이
   ========================================================================== */
.activity-story {
  background:
    linear-gradient(180deg, #fff 0%, #fff 68%, var(--bg-sage) 100%);
  border-top: 1px solid var(--line);
}
.activity-story .section-head { max-width: 760px; }
.activity-feature {
  display: grid; gap: 26px; align-items: center;
}
.activity-feature__media {
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--bg-soft); border: 8px solid #fff;
  box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3;
}
.activity-feature__media img,
.activity-gallery__item img {
  width: 100%; height: 100%; object-fit: cover;
}
.activity-feature__body h3 {
  font-size: clamp(22px, 4vw, 32px);
  line-height: 1.36; font-weight: 900; color: var(--brown-deep);
  word-break: keep-all;
}
.activity-feature__body p {
  margin-top: 14px; color: var(--ink-soft);
  font-size: 15px; word-break: keep-all;
}
.activity-date {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 0; margin-bottom: 14px; padding: 7px 13px;
  border-radius: 999px; background: #FFF2F0; color: #C44E49;
  font-size: 12.5px; font-weight: 800;
}
.activity-date::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: #48A868;
}
.activity-points {
  display: grid; gap: 10px; margin-top: 22px;
}
.activity-points li {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 13px 15px; border-radius: var(--radius-sm);
  background: var(--bg-sage); border: 1px solid var(--sage-100);
  font-size: 13.5px; color: var(--ink-soft); word-break: keep-all;
}
.activity-points span {
  flex: none; min-width: 48px; color: var(--sage-deep);
  font-weight: 900;
}
.activity-flow {
  display: grid; gap: 12px; margin-top: 34px;
}
.activity-step {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-md); padding: 22px 20px;
  box-shadow: var(--shadow-sm);
}
.activity-step__num {
  display: inline-block; margin-bottom: 8px;
  font-size: 12px; font-weight: 900; color: #C44E49;
}
.activity-step h3 { font-size: 17px; font-weight: 900; color: var(--brown-deep); }
.activity-step p { margin-top: 6px; font-size: 13.5px; color: var(--ink-soft); word-break: keep-all; }
.activity-gallery {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px; margin-top: 34px;
}
.activity-gallery__item {
  aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: var(--radius-sm); background: var(--bg-soft);
  box-shadow: var(--shadow-sm);
}
.activity-gallery__item--wide {
  grid-column: 1 / -1; aspect-ratio: 16 / 10;
}

/* 장면별 이야기 구성 (물풍선 놀이 등) */
.activity-scene {
  margin-top: 40px; padding-top: 36px;
  border-top: 1px dashed var(--line);
  max-width: 860px;
}
.activity-scene__title {
  font-size: clamp(20px, 3.6vw, 26px);
  font-weight: 900; color: var(--brown-deep);
  line-height: 1.4; word-break: keep-all;
}
.activity-scene > p {
  margin-top: 14px; font-size: 15px; color: var(--ink-soft);
  word-break: keep-all;
}
.activity-scene .activity-points { margin-top: 20px; }
.activity-scene--closing {
  padding: 30px 24px; margin-top: 44px;
  border: 1px solid var(--sage-100); border-radius: var(--radius-lg);
  background: var(--bg-sage);
}
.activity-scene--closing .page-hero__actions { margin-top: 22px; }
.scene-shots {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px; margin-top: 22px;
}
.scene-shot {
  aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: var(--radius-sm); background: var(--bg-soft);
  box-shadow: var(--shadow-sm);
}
.scene-shot img { width: 100%; height: 100%; object-fit: cover; }
.scene-shot--wide { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.activity-more {
  margin-top: 48px; padding-top: 36px;
  border-top: 1px dashed var(--line);
}
.activity-more__title {
  font-size: 18px; font-weight: 900; color: var(--brown-deep);
  margin-bottom: 18px;
}

/* ==========================================================================
   10. 수제 이유식 / 식단
   ========================================================================== */
.menu-note {
  margin-top: 26px; padding: 18px 22px;
  background: var(--bg-sage); border-radius: var(--radius-sm);
  border: 1px dashed var(--sage-100);
}
.menu-note p { font-size: 13px; color: var(--ink-soft); word-break: keep-all; }
.menu-note p + p { margin-top: 5px; }

/* ==========================================================================
   11. 키즈노트
   ========================================================================== */
.kidsnote { background: linear-gradient(180deg, var(--bg-sage), var(--bg)); }
.kidsnote__items { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 26px; }
.kn-item {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid var(--line);
  padding: 14px 16px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600; box-shadow: var(--shadow-sm);
}
.kn-item .e {
  width: 36px; height: 36px; border-radius: 10px; flex: none;
  display: grid; place-items: center; font-size: 16px;
  background: var(--bg-sage);
}
.kidsnote__highlight {
  margin-top: 26px; padding: 20px 24px;
  background: #fff; border-left: 4px solid var(--sage);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  box-shadow: var(--shadow-sm);
  font-size: 15px; font-weight: 600; color: var(--sage-deep); word-break: keep-all;
}

/* ==========================================================================
   12. 하루일과 — 탭 + 타임라인
   ========================================================================== */
.schedule { background: var(--card); border-block: 1px solid var(--line); }
.tabs {
  display: flex; gap: 8px; justify-content: center; margin-bottom: 40px;
  background: var(--bg-soft); padding: 6px; border-radius: 999px;
  width: fit-content; margin-inline: auto;
}
.tab-btn {
  padding: 11px 28px; border-radius: 999px;
  font-size: 15px; font-weight: 700; color: var(--ink-soft);
  transition: all .22s ease;
}
.tab-btn.active {
  background: var(--sage-deep); color: #fff;
  box-shadow: 0 4px 14px rgba(95,122,85,.35);
}
.tab-panel { display: none; max-width: 560px; margin-inline: auto; }
.tab-panel.active { display: block; animation: fadeUp .35s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px);} to { opacity: 1; transform: none;} }

.timeline { position: relative; padding-left: 30px; }
.timeline::before {
  content: ""; position: absolute; left: 9px; top: 8px; bottom: 8px;
  width: 2px; background: linear-gradient(var(--sage-100), var(--sage), var(--sage-100));
  border-radius: 2px;
}
.tl-item { position: relative; padding: 0 0 26px 18px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -27px; top: 6px;
  width: 14px; height: 14px; border-radius: 50%;
  background: #fff; border: 3.5px solid var(--sage);
  box-shadow: 0 0 0 4px var(--bg);
}
.tl-item time {
  display: inline-block; font-size: 12.5px; font-weight: 800;
  color: var(--sage-deep); background: var(--bg-sage);
  padding: 3px 12px; border-radius: 999px; margin-bottom: 6px;
  letter-spacing: 0;
}
.tl-item h4 { font-size: 15.5px; font-weight: 700; }
.tl-item p { font-size: 13.5px; color: var(--ink-soft); margin-top: 2px; word-break: keep-all; }

/* ==========================================================================
   13. 부모님 후기
   ========================================================================== */
.reviews { background: var(--bg-soft); }
.reviews__grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.rcard {
  background: #fff; border-radius: var(--radius-md);
  padding: 28px 26px; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); position: relative;
  transition: transform .25s, box-shadow .25s;
}
.rcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.rcard__stars { color: var(--gold); font-size: 14px; letter-spacing: 3px; margin-bottom: 12px; }
.rcard blockquote { font-size: 15px; font-weight: 500; word-break: keep-all; line-height: 1.7; }
.rcard__who { display: flex; align-items: center; gap: 11px; margin-top: 18px; }
.rcard__avatar {
  width: 38px; height: 38px; border-radius: 50%; flex: none;
  display: grid; place-items: center; font-size: 14px; font-weight: 800; color: #fff;
}
.rcard__who span { font-size: 13px; color: var(--ink-soft); font-weight: 600; }

/* ==========================================================================
   14. 입소상담 CTA
   ========================================================================== */
.cta {
  background:
    radial-gradient(80% 100% at 50% 0%, rgba(143,169,131,.16) 0%, transparent 70%),
    linear-gradient(150deg, #43543c 0%, var(--sage-deep) 55%, #74905f 100%);
  color: #fff; border-radius: 0;
}
.cta .section-title, .cta .section-desc { color: #fff; }
.cta .section-desc { color: rgba(255,255,255,.82); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 34px; }
.cta .btn--ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.35); backdrop-filter: blur(4px); }
.cta .btn--ghost:hover { background: rgba(255,255,255,.2); }
.cta .btn--phone { background: #fff; color: var(--sage-deep); box-shadow: 0 10px 26px rgba(0,0,0,.18); }

/* 카카오채널 QR 영역 */
.cta__qr {
  margin: 44px auto 0; max-width: 420px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--radius-md); padding: 24px;
  display: flex; align-items: center; gap: 20px; backdrop-filter: blur(6px);
}
.cta__qr-img {
  width: 108px; height: 108px; flex: none; border-radius: var(--radius-sm);
  background: #fff; padding: 8px; overflow: hidden;
}
.cta__qr-img img { width: 100%; height: 100%; object-fit: contain; }
.cta__qr-txt h4 { font-size: 15.5px; font-weight: 800; margin-bottom: 5px; }
.cta__qr-txt p { font-size: 13px; color: rgba(255,255,255,.8); word-break: keep-all; }

/* ==========================================================================
   15. 오시는 길
   ========================================================================== */
.location__inner { display: grid; gap: 30px; }
.map-frame {
  border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 16/10; box-shadow: var(--shadow-md);
  background: linear-gradient(140deg, var(--bg-soft), var(--sage-100));
  position: relative;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.map-actions a {
  padding: 11px 20px; border-radius: 999px; background: #fff;
  font-size: 13.5px; font-weight: 700; box-shadow: var(--shadow-sm);
  border: 1px solid var(--line); transition: transform .2s, border-color .2s;
}
.map-actions a:hover { transform: translateY(-2px); border-color: var(--gold); }
.map-placeholder {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px;
}
.map-placeholder .pin { font-size: 42px; margin-bottom: 10px; }
.map-placeholder h4 { font-size: 17px; font-weight: 800; }
.map-placeholder p { font-size: 13.5px; color: var(--ink-soft); margin-top: 4px; word-break: keep-all; }
.map-placeholder .map-links { display: flex; gap: 10px; justify-content: center; margin-top: 18px; flex-wrap: wrap; }
.map-placeholder .map-links a {
  padding: 10px 20px; border-radius: 999px; background: #fff;
  font-size: 13.5px; font-weight: 700; box-shadow: var(--shadow-sm);
  border: 1px solid var(--line); transition: transform .2s;
}
.map-placeholder .map-links a:hover { transform: translateY(-2px); }

.loc-info { display: grid; gap: 12px; }
.loc-info__item {
  display: flex; gap: 15px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 18px 20px; box-shadow: var(--shadow-sm);
}
.loc-info__item .e {
  width: 42px; height: 42px; border-radius: 12px; flex: none;
  display: grid; place-items: center; font-size: 18px;
  background: var(--bg-sage);
}
.loc-info__item h4 { font-size: 13px; font-weight: 700; color: var(--sage-deep); }
.loc-info__item p { font-size: 15px; font-weight: 600; word-break: keep-all; }
.loc-info__item p a { color: var(--brown); text-decoration: underline; text-underline-offset: 3px; }
.loc-notice {
  padding: 16px 20px; border-radius: var(--radius-sm);
  background: var(--bg-soft); border: 1px dashed var(--gold);
  font-size: 13.5px; color: var(--ink-soft); word-break: keep-all;
}

/* ==========================================================================
   16. 푸터
   ========================================================================== */
.footer {
  background: #332F2A; color: rgba(255,255,255,.75);
  padding: 48px 0 40px; font-size: 13.5px;
}
.footer__brand { font-size: 17px; font-weight: 800; color: #fff; margin-bottom: 12px; }
.footer p { margin-top: 4px; word-break: keep-all; }
.footer__meta {
  margin-top: 24px; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: 12.5px; color: rgba(255,255,255,.5);
  display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: space-between;
}

/* ==========================================================================
   모바일 하단 고정 상담바
   ========================================================================== */
.bottombar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 110;
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 24px rgba(80,65,45,.12);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.bottombar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  height: var(--bottombar-h);
  font-size: 12px; font-weight: 700; letter-spacing: -0.01em;
  transition: background .15s;
}
.bottombar a:active { background: var(--bg-soft); }
.bottombar .e { font-size: 19px; line-height: 1; }
.bottombar__tel { background: var(--sage-deep); color: #fff; }
.bottombar__kakao { background: var(--kakao); color: var(--kakao-ink); }
.bottombar__map { color: var(--brown-deep); }

/* ---------- 스크롤 등장 애니메이션 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   반응형 — 태블릿 이상
   ========================================================================== */
@media (min-width: 720px) {
  section { padding: 96px 0; }

  .home-link-grid { grid-template-columns: repeat(2, 1fr); }
  .home-activity__inner { grid-template-columns: .92fr 1.08fr; gap: 56px; }
  .home-consult__inner { grid-template-columns: 1fr auto; padding: 36px 40px; }
  .home-consult__actions { justify-content: flex-end; max-width: 480px; }
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
  .why__grid { grid-template-columns: repeat(4, 1fr); }
  .space__grid { grid-template-columns: repeat(3, 1fr); }
  .activity-feature { grid-template-columns: 1.08fr .92fr; gap: 44px; }
  .activity-flow { grid-template-columns: repeat(3, 1fr); }
  .activity-gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
  .activity-gallery__item--wide { grid-column: span 2; }
  .activity-scene { margin-top: 52px; padding-top: 48px; }
  .activity-scene--closing { padding: 36px 40px; }
  .scene-shots { gap: 14px; }
  .activity-more .home-link-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews__grid { grid-template-columns: repeat(2, 1fr); }
  .kidsnote__items { grid-template-columns: repeat(3, 1fr); }
  .location__inner { grid-template-columns: 1.25fr 1fr; align-items: start; }
}

/* 데스크톱 */
@media (min-width: 980px) {
  .hamburger, .mobile-menu { display: none !important; }

  .nav { display: flex; gap: 4px; }
  .nav a {
    padding: 9px 14px; border-radius: 999px;
    font-size: 14.5px; font-weight: 600; color: var(--ink-soft);
    transition: color .18s, background .18s;
  }
  .nav a:hover { color: var(--sage-deep); background: var(--bg-sage); }

  .header__cta {
    display: inline-flex; padding: 10px 20px; font-size: 14px;
  }

  .home-link-grid { grid-template-columns: repeat(4, 1fr); }
  .hero__inner { grid-template-columns: 1.1fr .9fr; gap: 56px; }
  .hero__visual { justify-self: end; }

  .trust__grid { grid-template-columns: repeat(3, 1fr); gap: 22px; }

  .greeting__inner { grid-template-columns: .85fr 1.15fr; gap: 64px; }

  .feature-split__inner { grid-template-columns: 1fr 1fr; gap: 64px; }
  .feature-split--reverse .feature-split__inner > .feature-split__img { order: 2; }

  /* 데스크톱에서는 하단 고정바 숨김 */
  .bottombar { display: none; }
  body { padding-bottom: 0; }
}
