/* =========================================================
   동수원노인전문요양원 — style.css
   디자인: 딥 포레스트 그린 + 골드 + 아이보리 크림
   폰트: Noto Serif KR + Cormorant Garamond
   ========================================================= */

/* ── CSS VARIABLES ── */
:root {
  --forest:       #1C3020;
  --forest-mid:   #2A4A30;
  --forest-light: #3D6B45;
  --gold:         #B8935A;
  --gold-light:   #D4AA7D;
  --gold-pale:    #F0E4CC;
  --cream:        #F5F0E8;
  --cream-dark:   #EDE8DC;
  --white:        #FFFFFF;
  --text-dark:    #1A1A1A;
  --text-mid:     #4A4A4A;
  --text-light:   #7A7A7A;
  --border:       #D8D0C4;

  --font-serif:   'Gowun Batang', 'Noto Sans KR', Georgia, serif;
  --font-display: 'Playfair Display', 'Gowun Batang', Georgia, serif;
  --font-body:    'Noto Sans KR', 'Apple SD Gothic Neo', sans-serif;

  --nav-height:    84px;
  --topbar-height: 40px;
  --header-total:  calc(var(--nav-height) + var(--topbar-height));

  --transition: all 0.3s ease;
  --ease-out:   cubic-bezier(0.22, 1, 0.36, 1);

  --shadow-sm:  0 1px 4px rgba(0,0,0,0.07);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg:  0 8px 40px rgba(0,0,0,0.14);
  --shadow-xl:  0 20px 60px rgba(0,0,0,0.18);
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--text-dark);
  line-height: 1.85;
  overflow-x: hidden;
  font-size: 17px;
  letter-spacing: -0.01em;
  word-break: keep-all;
}

a { color: inherit; text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ── UTILITIES ── */
.container         { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-narrow  { max-width: 820px;  margin: 0 auto; padding: 0 24px; }

/* ── TOP BAR ── */
.top-bar {
  background: var(--forest);
  height: var(--topbar-height);
  display: flex;
  align-items: center;
  position: relative;
  z-index: 200;
}
.top-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar-addr {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.03em;
  font-family: var(--font-body);
}
.top-bar-right { display: flex; align-items: center; gap: 24px; }
.top-bar-link {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.8rem; color: rgba(255,255,255,0.65);
  font-family: var(--font-body);
  transition: color 0.2s;
}
.top-bar-link:hover { color: var(--gold-light); }
.top-bar-tel {
  font-size: 0.88rem;
  color: var(--gold-light);
  font-weight: 700;
  letter-spacing: 0.05em;
  font-family: var(--font-body);
  display: flex; align-items: center; gap: 6px;
}
.top-bar-tel:hover { color: var(--white); }

/* ── HEADER ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 150;
  height: var(--nav-height);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(28,48,32,0.1);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
}
.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,0.1);
  background: rgba(255,255,255,0.99);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  color: var(--forest);
}
.logo:hover { color: var(--forest); }
.logo-emblem {
  width: 48px; height: 48px;
  background: var(--forest);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; font-weight: 800;
  font-family: var(--font-serif);
  border-radius: 10px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(28,48,32,0.25);
}
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-main {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--forest);
  letter-spacing: -0.02em;
  font-family: var(--font-serif);
}
.logo-sub {
  font-size: 0.7rem;
  color: var(--text-light);
  letter-spacing: 0.06em;
  font-family: var(--font-body);
}

/* Desktop Nav */
.main-nav { flex: 1; }
.nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.nav-item { position: relative; }
.nav-link {
  display: block;
  padding: 8px 20px;
  height: auto;
  line-height: 1.4;
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font-serif);
  color: var(--text-dark);
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: all 0.2s;
  border-radius: 6px;
  margin: auto 0;
}
.nav-link:hover { color: var(--forest); background: var(--cream); }
.nav-item.active > .nav-link { color: var(--forest); background: var(--cream); }
.nav-item::after { display: none; }

/* Dropdown */
.sub-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 170px;
  background: var(--white);
  border: none;
  border-top: 3px solid var(--gold);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  padding: 8px 0;
  border-radius: 0 0 10px 10px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.25s var(--ease-out);
  transform: translateX(-50%) translateY(-8px);
}
.nav-item.has-sub:hover .sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.sub-menu li a {
  display: block;
  padding: 10px 20px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-mid);
  white-space: nowrap;
  transition: all 0.15s;
  font-family: var(--font-body);
}
.sub-menu li a:hover {
  color: var(--forest);
  background: var(--cream);
  padding-left: 26px;
}

/* Header Actions */
.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px; height: 40px;
  gap: 5px;
  padding: 4px;
  background: none;
  border-radius: var(--radius-sm);
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--forest);
  transition: all 0.3s ease;
  transform-origin: center;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE MENU ── */
.mobile-menu {
  position: fixed;
  top: 0; right: -100%;
  width: min(340px, 100vw);
  height: 100vh;
  background: var(--white);
  z-index: 300;
  overflow-y: auto;
  transition: right 0.35s var(--ease-out);
  box-shadow: var(--shadow-xl);
}
.mobile-menu.open { right: 0; }

.mobile-menu-header {
  background: var(--forest);
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mobile-logo { color: var(--white); font-size: 0.9rem; font-weight: 600; }
.mobile-close {
  color: rgba(255,255,255,0.8);
  font-size: 1.2rem;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  transition: background 0.2s;
}
.mobile-close:hover { background: rgba(255,255,255,0.15); color: var(--white); }

.mobile-menu-tel {
  background: var(--cream);
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mobile-menu-tel a {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--forest);
}
.mobile-menu-tel span { font-size: 0.75rem; color: var(--text-light); }

.mobile-nav-list { padding: 8px 0; }
.mobile-nav-item { border-bottom: 1px solid var(--cream-dark); }
.mobile-nav-parent {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 16px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--forest);
  text-align: left;
}
.mobile-nav-parent span { font-size: 1.1rem; color: var(--gold); transition: transform 0.3s; }
.mobile-nav-parent.open span { transform: rotate(45deg); }

.mobile-sub {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: var(--cream);
}
.mobile-sub.open { max-height: 300px; }
.mobile-sub li a {
  display: block;
  padding: 11px 24px 11px 36px;
  font-size: 0.87rem;
  color: var(--text-mid);
  border-bottom: 1px solid var(--border);
}
.mobile-sub li:last-child a { border-bottom: none; }
.mobile-sub li a:hover { color: var(--forest); background: var(--gold-pale); }

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 250;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.mobile-overlay.open { opacity: 1; visibility: visible; }

/* ── PAGES ── */
.page { display: none; }
.page.active { display: block; }

/* ── HERO SLIDER ── */
.hero-slider {
  position: relative;
  height: calc(100vh - var(--topbar-height));
  min-height: 560px;
  max-height: 900px;
  overflow: hidden;
}
.slides-track { width: 100%; height: 100%; position: relative; }

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  image-rendering: -webkit-optimize-contrast;
  opacity: 0;
  transition: opacity 0.9s ease;
  display: flex;
  align-items: center;
}

.space-panel-img {
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  image-rendering: -webkit-optimize-contrast;
  transition: transform 6s ease;
}

.room-img {
  height: 200px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  image-rendering: -webkit-optimize-contrast;
}
.slide.active { opacity: 1; z-index: 1; }
.slide.active .slide-content { animation: slideUp 0.8s var(--ease-out) 0.2s both; }

@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.slide-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  padding-top: 40px;
  width: 100%;
}
.slide-eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-family: var(--font-display);
  margin-bottom: 16px;
  display: block;
}
.slide-title {
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
  font-family: var(--font-serif);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  word-break: keep-all;
}
.slide-title em { font-style: italic; color: var(--gold-light); font-weight: 800; }
.slide-desc {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: rgba(255,255,255,0.88);
  line-height: 1.9;
  margin-bottom: 36px;
  font-weight: 400;
  word-break: keep-all;
}
.slide-btns { display: flex; gap: 14px; flex-wrap: wrap; }

.btn-hero-primary {
  display: inline-flex; align-items: center;
  background: var(--gold);
  color: var(--white);
  padding: 14px 32px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.btn-hero-primary:hover { background: var(--gold-light); color: var(--white); transform: translateY(-2px); }

.btn-hero-outline {
  display: inline-flex; align-items: center;
  border: 1.5px solid rgba(255,255,255,0.6);
  color: var(--white);
  padding: 14px 32px;
  font-size: 0.92rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  backdrop-filter: blur(4px);
}
.btn-hero-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.15); color: var(--white); }

/* Slider Controls */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px; height: 48px;
  background: rgba(255,255,255,0.15);
  border: 1.5px solid rgba(255,255,255,0.4);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}
.slider-arrow:hover { background: rgba(255,255,255,0.3); border-color: var(--white); }
.slider-prev { left: 28px; }
.slider-next { right: 28px; }

.slider-dots-wrap {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex; gap: 8px;
}
.slider-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}
.slider-dot.active { background: var(--gold); width: 28px; border-radius: 4px; }

.slider-progress {
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: rgba(255,255,255,0.15);
  z-index: 10;
}
.slider-progress-bar {
  height: 100%;
  width: 0;
  background: var(--gold);
  transition: width linear;
}

/* ── QUICK LINKS ── */
.quick-links {
  background: var(--forest);
  padding: 0;
}
.quick-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
}
.quick-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 24px 12px;
  color: rgba(255,255,255,0.75);
  border-right: 1px solid rgba(255,255,255,0.08);
  transition: all 0.3s ease;
  text-align: center;
}
.quick-item:last-child { border-right: none; }
.quick-item:hover { background: rgba(255,255,255,0.08); color: var(--gold-light); }
.quick-icon-wrap {
  width: 50px; height: 50px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.07);
  border-radius: 50%;
  transition: all 0.3s ease;
}
.quick-item:hover .quick-icon-wrap { background: rgba(184,147,90,0.2); }
.quick-item span { font-size: 0.78rem; letter-spacing: 0.03em; line-height: 1.3; }

/* ── SECTION COMMON ── */
.section-eyebrow {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-family: var(--font-display);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 700;
  font-family: var(--font-serif);
  color: var(--forest);
  line-height: 1.35;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  word-break: keep-all;
}
.section-desc {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.8;
  font-weight: 300;
}
.section-header-center { text-align: center; margin-bottom: 48px; }

/* ── ABOUT + STATS ── */
.home-about { padding: 100px 0; background: var(--white); }
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 72px;
  align-items: center;
}
.about-img-wrap { position: relative; }
.about-img {
  width: 100%; aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.about-img-badge {
  position: absolute;
  bottom: -20px; right: -20px;
  background: var(--gold);
  color: var(--white);
  padding: 18px 22px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  text-align: center;
  line-height: 1.2;
}
.badge-year { display: block; font-size: 1.8rem; font-weight: 700; font-family: var(--font-display); }
.badge-label { font-size: 0.78rem; letter-spacing: 0.08em; }

.about-desc {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 2;
  margin-bottom: 36px;
  font-weight: 400;
  word-break: keep-all;
}

.stats-row {
  display: flex;
  gap: 0;
  margin-bottom: 36px;
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 24px 0;
}
.stat-item {
  flex: 1;
  text-align: center;
  padding: 0 20px;
}
.stat-num {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--forest);
  font-family: var(--font-display);
  line-height: 1;
}
.stat-unit { font-size: 0.85rem; color: var(--gold); font-weight: 600; margin-left: 2px; }
.stat-item p { font-size: 0.78rem; color: var(--text-light); margin-top: 6px; letter-spacing: 0.04em; }
.stat-divider { width: 1px; background: var(--border); align-self: stretch; }

/* Buttons */
.btn-primary {
  display: inline-flex; align-items: center;
  background: var(--forest);
  color: var(--white);
  padding: 14px 32px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.btn-primary:hover { background: var(--forest-mid); color: var(--white); transform: translateY(-1px); }

.btn-text {
  display: inline-flex; align-items: center;
  color: var(--forest);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-bottom: 1.5px solid var(--gold);
  padding-bottom: 2px;
  transition: var(--transition);
}
.btn-text:hover { color: var(--gold); }

.btn-outline-dark {
  display: inline-flex; align-items: center;
  border: 1.5px solid var(--forest);
  color: var(--forest);
  padding: 12px 28px;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.btn-outline-dark:hover { background: var(--forest); color: var(--white); }

.btn-sm {
  display: inline-flex; align-items: center;
  background: var(--forest);
  color: var(--white);
  padding: 9px 18px;
  font-size: 0.82rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.btn-sm:hover { background: var(--forest-mid); color: var(--white); }

/* ── SPACE GALLERY TABS ── */
.home-spaces { padding: 100px 0; background: var(--cream); }

.space-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--border);
  margin-bottom: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.space-tabs::-webkit-scrollbar { display: none; }

.space-tab {
  padding: 14px 28px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-light);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
  transition: var(--transition);
  letter-spacing: 0.03em;
}
.space-tab:hover { color: var(--forest); }
.space-tab.active { color: var(--forest); border-bottom-color: var(--gold); font-weight: 600; }

.space-panel {
  display: none;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  animation: fadeIn 0.4s ease;
}
.space-panel.active { display: grid; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.space-panel:hover .space-panel-img { transform: scale(1.03); }

.space-panel-info {
  background: var(--forest);
  padding: 52px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.space-floor-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  padding: 5px 14px;
  border-radius: 40px;
  width: fit-content;
}
.space-panel-info h3 {
  font-size: 1.7rem;
  font-weight: 400;
  color: var(--white);
  font-family: var(--font-display);
  line-height: 1.3;
}
.space-panel-info p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
  font-weight: 300;
}
.space-panel-info .btn-text {
  color: var(--gold-light);
  border-bottom-color: var(--gold);
  width: fit-content;
}
.space-panel-info .btn-text:hover { color: var(--white); }

/* ── SERVICES OVERVIEW ── */
.home-services { padding: 100px 0; background: var(--white); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.service-card {
  padding: 36px 28px;
  background: var(--cream);
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: all 0.3s ease;
}
.service-card:hover {
  border-color: var(--gold-pale);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.service-icon {
  width: 60px; height: 60px;
  background: var(--forest);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}
.service-card h3 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--forest);
  margin-bottom: 10px;
  font-family: var(--font-serif);
}
.service-card p {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.85;
  font-weight: 400;
  word-break: keep-all;
}
.services-cta { text-align: center; }

/* ── NEWS FEED ── */
.home-news { padding: 100px 0; background: var(--cream); }
.news-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  align-items: start;
}
.news-header { position: sticky; top: calc(var(--header-total) + 24px); }
.news-header h2 { margin-bottom: 12px; }
.news-header p { font-size: 0.9rem; color: var(--text-mid); line-height: 1.7; margin-bottom: 28px; font-weight: 300; }

.news-category-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.news-cat-btn {
  padding: 7px 16px;
  font-size: 0.8rem;
  border: 1.5px solid var(--border);
  border-radius: 40px;
  color: var(--text-light);
  transition: var(--transition);
}
.news-cat-btn.active, .news-cat-btn:hover {
  border-color: var(--forest);
  background: var(--forest);
  color: var(--white);
}

.news-list { display: flex; flex-direction: column; gap: 0; }
.news-card {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.news-card:first-child { border-top: 1px solid var(--border); }
.news-card:hover { padding-left: 8px; }

.news-card-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.news-tag {
  font-size: 0.7rem;
  padding: 3px 10px;
  border-radius: 40px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.news-tag-notice { background: var(--forest); color: var(--white); }
.news-tag-event  { background: var(--gold-pale); color: var(--gold); border: 1px solid var(--gold-pale); }
.news-date { font-size: 0.78rem; color: var(--text-light); }

.news-card h4 { font-size: 1rem; font-weight: 600; color: var(--text-dark); margin-bottom: 8px; }
.news-card h4 a:hover { color: var(--forest); }
.news-card p { font-size: 0.86rem; color: var(--text-mid); line-height: 1.7; font-weight: 300; }

.news-more-wrap { text-align: center; margin-top: 40px; }

/* ── CTA ── */
.home-cta { padding: 0; }
.cta-bg {
  background: linear-gradient(135deg, var(--forest) 0%, var(--forest-mid) 100%);
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}
.cta-bg::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(184,147,90,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.cta-inner { text-align: center; position: relative; z-index: 1; }
.cta-badge-wrap { margin-bottom: 20px; }
.cta-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  font-size: 0.82rem;
  letter-spacing: 0.15em;
  padding: 7px 20px;
  border-radius: 40px;
  font-weight: 600;
}
.cta-inner h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 700;
  font-family: var(--font-serif);
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.35;
  word-break: keep-all;
}
.cta-inner > .cta-bg p, .cta-inner p {
  font-size: 0.96rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
  margin-bottom: 40px;
  font-weight: 300;
}
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }

.cta-btn-phone {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--gold);
  color: var(--white);
  padding: 16px 36px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  letter-spacing: 0.03em;
  transition: var(--transition);
}
.cta-btn-phone:hover { background: var(--gold-light); color: var(--white); transform: translateY(-2px); }

.cta-btn-online {
  display: inline-flex; align-items: center;
  border: 1.5px solid rgba(255,255,255,0.5);
  color: var(--white);
  padding: 16px 36px;
  font-size: 1rem;
  font-weight: 400;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.cta-btn-online:hover { border-color: var(--white); background: rgba(255,255,255,0.1); color: var(--white); }

.cta-sub { font-size: 0.8rem; color: rgba(255,255,255,0.45); margin-top: 0 !important; margin-bottom: 0 !important; }

/* ── MAP ── */
.home-map { padding: 100px 0; background: var(--white); }
.map-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: start;
}
.map-embed-wrap iframe { border-radius: var(--radius-md); box-shadow: var(--shadow-md); }
.map-info-panel {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.map-info-item { display: flex; gap: 16px; align-items: flex-start; }
.map-info-icon {
  width: 38px; height: 38px;
  background: var(--forest);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}
.map-info-item strong { display: block; font-size: 0.82rem; color: var(--text-light); letter-spacing: 0.05em; margin-bottom: 4px; }
.map-info-item p { font-size: 0.9rem; color: var(--text-dark); line-height: 1.6; }
.map-tel-link { font-weight: 600; color: var(--forest); }
.map-tel-link:hover { color: var(--gold); }

.btn-kakao-map {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: #FEE500;
  color: #3C1E1E;
  padding: 13px 20px;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  margin-top: 8px;
}
.btn-kakao-map:hover { background: #f0d800; color: #3C1E1E; transform: translateY(-1px); }

/* ── PAGE HERO ── */
.page-hero {
  background-size: cover;
  background-position: center;
  padding: 100px 0 60px;
  position: relative;
}
.page-hero-sm { padding: 80px 0 50px; }

.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 16px;
  letter-spacing: 0.03em;
}
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb span { color: rgba(255,255,255,0.4); }

.page-hero h1 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  font-family: var(--font-serif);
  color: var(--white);
  letter-spacing: -0.02em;
  word-break: keep-all;
}

.page-body { padding: 72px 0; }

/* ── GREETING ── */
.greeting-layout { max-width: 720px; }
.greeting-open { font-size: 1rem; color: var(--text-mid); margin-bottom: 10px; }
.greeting-layout h2 {
  font-size: 1.9rem; font-weight: 700; color: var(--forest);
  font-family: var(--font-serif); margin-bottom: 32px; line-height: 1.35;
  word-break: keep-all;
}
.greeting-body p {
  font-size: 1rem; color: var(--text-mid); line-height: 2.1;
  margin-bottom: 22px; font-weight: 400; word-break: keep-all;
}
.greeting-body a { color: var(--forest); font-weight: 600; }
.greeting-sign { font-size: 0.96rem; color: var(--text-mid); padding-top: 24px; border-top: 1px solid var(--border); }

/* ── VISION ── */
.vision-wrap { max-width: 900px; margin: 0 auto; }
.vision-main { text-align: center; margin-bottom: 64px; }
.vision-main h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 700; color: var(--forest);
  font-family: var(--font-serif); line-height: 1.45;
  padding: 32px 40px;
  border: 2px solid var(--gold-pale);
  border-radius: var(--radius-lg);
  background: var(--cream);
  word-break: keep-all;
}
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.value-card {
  padding: 36px 32px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--transition);
}
.value-card:hover { border-color: var(--gold); box-shadow: var(--shadow-md); }
.value-num {
  font-size: 2.5rem; font-weight: 700;
  color: var(--gold-pale);
  font-family: var(--font-display);
  line-height: 1; margin-bottom: 12px;
}
.value-card h3 { font-size: 1.05rem; font-weight: 600; color: var(--forest); margin-bottom: 10px; }
.value-card p { font-size: 0.88rem; color: var(--text-mid); line-height: 1.8; font-weight: 300; }

/* ── DIRECTIONS ── */
.directions-layout { display: flex; flex-direction: column; gap: 40px; }
.directions-info { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.directions-card {
  background: var(--cream); border-radius: var(--radius-md);
  padding: 28px 24px;
}
.directions-card h3 { font-size: 1rem; font-weight: 700; color: var(--forest); margin-bottom: 10px; }
.directions-card p { font-size: 0.9rem; color: var(--text-mid); line-height: 1.7; margin-bottom: 12px; }

/* ── FLOOR GUIDE ── */
.floor-tabs {
  display: flex; gap: 0;
  border-bottom: 2px solid var(--border);
  margin-bottom: 40px;
}
.floor-tab {
  padding: 14px 36px;
  font-size: 1rem; font-weight: 500;
  color: var(--text-light);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: var(--transition);
}
.floor-tab:hover { color: var(--forest); }
.floor-tab.active { color: var(--forest); border-bottom-color: var(--gold); font-weight: 700; }
.floor-panel { display: none; }
.floor-panel.active { display: block; }
.floor-header { margin-bottom: 36px; }
.floor-header h2 { font-size: 1.5rem; font-weight: 600; color: var(--forest); margin-bottom: 8px; }
.floor-header p { font-size: 0.9rem; color: var(--text-mid); }
.facility-rooms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.room-card { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.room-info { padding: 20px; }
.room-info h3 { font-size: 0.95rem; font-weight: 700; color: var(--forest); margin-bottom: 8px; }
.room-info p { font-size: 0.85rem; color: var(--text-mid); line-height: 1.7; font-weight: 300; }

/* ── GALLERY ── */
.gallery-filter {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: 36px;
}
.gallery-filter-btn {
  padding: 8px 20px;
  font-size: 0.85rem;
  border: 1.5px solid var(--border);
  border-radius: 40px;
  color: var(--text-mid);
  transition: var(--transition);
}
.gallery-filter-btn.active, .gallery-filter-btn:hover {
  border-color: var(--forest); background: var(--forest); color: var(--white);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-item { cursor: pointer; border-radius: var(--radius-md); overflow: hidden; }
.gallery-thumb {
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  position: relative;
  transition: transform 0.4s ease;
}
.gallery-item:hover .gallery-thumb { transform: scale(1.04); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: rgba(28,48,32,0.6);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.3s;
}
.gallery-overlay span {
  color: var(--white); font-size: 2.5rem;
  font-weight: 300; line-height: 1;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 500;
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox-close {
  position: absolute; top: 20px; right: 24px;
  color: var(--white); font-size: 1.8rem; background: none;
  opacity: 0.7; transition: opacity 0.2s;
}
.lightbox-close:hover { opacity: 1; }
.lightbox-prev, .lightbox-next {
  position: absolute; top: 50%;
  transform: translateY(-50%);
  color: var(--white); font-size: 3rem; background: none; opacity: 0.6;
  transition: opacity 0.2s; line-height: 1;
}
.lightbox-prev:hover, .lightbox-next:hover { opacity: 1; }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
.lightbox-content { text-align: center; max-width: min(900px, 90vw); }
.lightbox-content img { max-height: 75vh; border-radius: var(--radius-md); }
.lightbox-content p { color: rgba(255,255,255,0.7); margin-top: 16px; font-size: 0.9rem; }

/* ── SERVICES DETAIL ── */
.services-detail-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px;
}
.service-detail-card {
  display: flex; gap: 24px;
  background: var(--cream); border-radius: var(--radius-md);
  padding: 32px 28px;
  border: 1px solid transparent; transition: var(--transition);
}
.service-detail-card:hover { border-color: var(--gold-pale); box-shadow: var(--shadow-sm); }
.service-detail-icon {
  width: 64px; height: 64px;
  background: var(--forest); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-md); flex-shrink: 0;
}
.service-detail-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--forest); margin-bottom: 14px; }
.service-detail-card ul { display: flex; flex-direction: column; gap: 6px; }
.service-detail-card li { font-size: 0.87rem; color: var(--text-mid); padding-left: 12px; position: relative; line-height: 1.6; }
.service-detail-card li::before { content: '·'; position: absolute; left: 0; color: var(--gold); }

/* ── PROGRAMS ── */
.programs-intro { text-align: center; margin-bottom: 48px; }
.programs-intro p { font-size: 0.96rem; color: var(--text-mid); }
.weekly-schedule {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
}
.schedule-day { background: var(--cream); border-radius: var(--radius-md); overflow: hidden; }
.schedule-day-label {
  background: var(--forest); color: var(--white);
  padding: 12px; text-align: center;
  font-size: 0.9rem; font-weight: 600; letter-spacing: 0.05em;
}
.schedule-items { padding: 16px 12px; display: flex; flex-direction: column; gap: 10px; }
.schedule-item { display: flex; flex-direction: column; gap: 4px; }
.time { font-size: 0.72rem; color: var(--text-light); }
.prog {
  font-size: 0.82rem; font-weight: 600;
  padding: 7px 12px; border-radius: var(--radius-sm);
  text-align: center;
}
.prog-cognitive { background: #E8F4F8; color: #2A7A9A; }
.prog-exercise  { background: #EBF5EB; color: #2E7D32; }
.prog-art       { background: #FFF3E0; color: #E65100; }
.prog-music     { background: #F3E5F5; color: #7B1FA2; }
.prog-nature    { background: #E8F5E9; color: #388E3C; }
.prog-craft     { background: #FFF8E1; color: #F57F17; }
.prog-social    { background: var(--gold-pale); color: var(--gold); }

/* ── ADMISSION PROCESS ── */
.process-steps { max-width: 680px; margin: 0 auto 48px; }
.process-step {
  display: flex; gap: 28px; align-items: flex-start;
  background: var(--cream); border-radius: var(--radius-md);
  padding: 28px 32px;
}
.step-num {
  font-size: 2rem; font-weight: 700; color: var(--gold);
  font-family: var(--font-display); line-height: 1; flex-shrink: 0;
}
.step-content h3 { font-size: 1.05rem; font-weight: 700; color: var(--forest); margin-bottom: 8px; }
.step-content p { font-size: 0.9rem; color: var(--text-mid); line-height: 1.7; font-weight: 300; }
.step-content a { color: var(--forest); font-weight: 600; }
.process-arrow { text-align: center; font-size: 1.5rem; color: var(--gold); padding: 8px 0; }
.process-cta { text-align: center; background: var(--cream); border-radius: var(--radius-md); padding: 36px; }
.process-cta p { font-size: 0.96rem; color: var(--text-mid); margin-bottom: 24px; }
.process-cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── DOCS ── */
.docs-section { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; margin-bottom: 24px; }
.docs-card { background: var(--cream); border-radius: var(--radius-md); padding: 32px 28px; }
.docs-card h3 { font-size: 1rem; font-weight: 700; color: var(--forest); margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.docs-list { display: flex; flex-direction: column; gap: 18px; }
.docs-list li { display: flex; gap: 14px; align-items: flex-start; }
.doc-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }
.docs-list strong { display: block; font-size: 0.92rem; color: var(--text-dark); margin-bottom: 3px; }
.docs-list p { font-size: 0.82rem; color: var(--text-light); }
.docs-note {
  background: var(--gold-pale); border-radius: var(--radius-md);
  padding: 18px 24px; border-left: 4px solid var(--gold);
}
.docs-note p { font-size: 0.9rem; color: var(--text-mid); }
.docs-note a { color: var(--forest); font-weight: 700; }

/* ── CONSULT FORM ── */
.consult-intro { text-align: center; margin-bottom: 40px; }
.consult-intro p { font-size: 0.96rem; color: var(--text-mid); line-height: 1.7; }
.consult-intro a { color: var(--forest); font-weight: 700; }
.consult-form { background: var(--cream); border-radius: var(--radius-lg); padding: 48px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.form-group:last-child { margin-bottom: 0; }
.form-group label { font-size: 0.87rem; font-weight: 600; color: var(--forest); }
.req { color: var(--gold); }
.form-group input, .form-group select, .form-group textarea {
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--forest);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-light); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-check-group { margin-bottom: 0; }
.checkbox-label {
  display: flex; align-items: center; gap: 10px; cursor: pointer;
  font-size: 0.88rem; color: var(--text-mid);
}
.checkbox-label input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--forest); cursor: pointer; }
.btn-submit {
  width: 100%; padding: 16px;
  background: var(--forest); color: var(--white);
  font-size: 1rem; font-weight: 600; letter-spacing: 0.04em;
  border-radius: var(--radius-sm);
  margin-top: 24px;
  transition: var(--transition);
}
.btn-submit:hover { background: var(--forest-mid); }
.form-success {
  margin-top: 20px; padding: 16px 20px;
  background: #e8f5e9; color: #2e7d32;
  border-radius: var(--radius-sm); font-size: 0.9rem;
  border: 1px solid #a5d6a7;
}
.form-error {
  margin-top: 20px; padding: 16px 20px;
  background: #fff3e0; color: #e65100;
  border-radius: var(--radius-sm); font-size: 0.9rem;
  border: 1px solid #ffcc02;
}
.form-error a { color: var(--forest); font-weight: 700; }

/* ── BOARD ── */
.board-list { display: flex; flex-direction: column; }
.board-item {
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.board-item:first-child { border-top: 1px solid var(--border); }
.board-item:hover { padding-left: 6px; }
.board-item-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.board-item h4 { font-size: 0.97rem; font-weight: 600; color: var(--text-dark); margin-bottom: 6px; cursor: pointer; }
.board-item h4:hover { color: var(--forest); }
.board-item p { font-size: 0.86rem; color: var(--text-mid); line-height: 1.6; font-weight: 300; }
.board-loading { text-align: center; padding: 48px; color: var(--text-light); }
.board-empty { text-align: center; padding: 64px; color: var(--text-light); }

/* ── 개인정보 동의 (상담 폼) ── */
.privacy-consent-wrap { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.privacy-box {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
}
.privacy-box-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 18px;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
}
.privacy-box-header strong { font-size: 0.87rem; color: var(--forest); }
.privacy-toggle-btn {
  font-size: 0.75rem; color: var(--gold); font-weight: 600;
  background: none; border: none; cursor: pointer; padding: 4px 8px;
  border-radius: 4px; transition: background 0.2s;
}
.privacy-toggle-btn:hover { background: var(--gold-pale); }
.privacy-content { padding: 16px 18px; background: var(--white); }
.privacy-table {
  width: 100%; border-collapse: collapse; font-size: 0.8rem;
  margin-bottom: 10px;
}
.privacy-table th {
  background: var(--forest); color: var(--white);
  padding: 8px 10px; text-align: left; font-weight: 600; font-size: 0.78rem;
}
.privacy-table td {
  padding: 8px 10px; border: 1px solid var(--cream-dark);
  color: var(--text-mid); line-height: 1.6; vertical-align: top;
}
.privacy-table tr:nth-child(even) td { background: var(--cream); }
.privacy-desc { font-size: 0.85rem; color: var(--text-mid); line-height: 1.7; margin-bottom: 8px; }
.privacy-notice { font-size: 0.78rem; color: var(--text-light); line-height: 1.6; margin-top: 8px; }
.privacy-check-label {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px;
  font-size: 0.9rem; color: var(--text-dark);
  cursor: pointer; border-top: 1px solid var(--border);
  background: var(--white);
}
.privacy-check-label input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--forest); flex-shrink: 0; }
.privacy-check-label em { color: var(--text-light); font-style: normal; font-size: 0.82rem; }

/* ── 개인정보처리방침 페이지 ── */
.privacy-policy-wrap { max-width: 760px; }
.privacy-policy-notice {
  background: var(--cream); border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 20px 24px; margin-bottom: 40px;
}
.privacy-policy-notice p { font-size: 0.92rem; color: var(--text-mid); line-height: 1.8; margin-bottom: 6px; }
.privacy-policy-notice p:last-child { margin-bottom: 0; }
.privacy-section { margin-bottom: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--cream-dark); }
.privacy-section:last-child { border-bottom: none; }
.privacy-section h3 {
  font-size: 1.05rem; font-weight: 700; color: var(--forest);
  font-family: var(--font-serif);
  margin-bottom: 16px; padding-bottom: 10px;
  border-bottom: 2px solid var(--gold-pale);
}
.privacy-section p { font-size: 0.92rem; color: var(--text-mid); line-height: 1.85; margin-bottom: 12px; word-break: keep-all; }
.privacy-section ul { padding-left: 0; display: flex; flex-direction: column; gap: 8px; margin: 12px 0; }
.privacy-section ul li {
  font-size: 0.9rem; color: var(--text-mid); line-height: 1.7;
  padding-left: 16px; position: relative;
}
.privacy-section ul li::before { content: '•'; position: absolute; left: 0; color: var(--gold); }
.privacy-officer-card {
  background: var(--cream); border-radius: var(--radius-md);
  padding: 22px 24px; margin: 16px 0;
  border: 1px solid var(--border);
}
.privacy-officer-card strong { display: block; font-size: 0.95rem; color: var(--forest); margin-bottom: 10px; }
.privacy-officer-card p { font-size: 0.88rem; color: var(--text-mid); margin-bottom: 4px; }
.privacy-officer-card a { color: var(--forest); font-weight: 600; }

@media (max-width: 768px) {
  .privacy-table { font-size: 0.75rem; }
  .privacy-table th, .privacy-table td { padding: 6px 8px; }
  .privacy-box-header { flex-direction: column; align-items: flex-start; gap: 8px; }
}
.menu-table-new { width: 100%; border-collapse: separate; border-spacing: 0; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-lg); min-width: 780px; }

.menu-th-type {
  background: var(--forest);
  color: var(--gold);
  width: 72px;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-align: center;
  padding: 16px 8px;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.menu-th-day {
  background: var(--forest);
  color: rgba(255,255,255,0.85);
  text-align: center;
  padding: 14px 6px;
  border-right: 1px solid rgba(255,255,255,0.08);
  min-width: 90px;
}
.menu-th-day:last-child { border-right: none; }
.menu-th-day .menu-day-name {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
}
.menu-th-day .menu-day-date {
  display: block;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.5);
  margin-top: 3px;
}
.menu-today {
  background: var(--gold) !important;
  color: var(--white) !important;
}
.menu-today .menu-day-date { color: rgba(255,255,255,0.8) !important; }
.menu-sat .menu-day-name { color: #90CAF9 !important; }
.menu-sun .menu-day-name { color: #EF9A9A !important; }

.meal-type-new {
  text-align: center;
  padding: 20px 8px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.meal-icon { display: block; font-size: 1.3rem; margin-bottom: 4px; }
.meal-label { display: block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; }

.menu-cell {
  padding: 16px 10px;
  text-align: center;
  vertical-align: top;
  border-right: 1px solid var(--cream-dark);
  border-bottom: 1px solid var(--cream-dark);
  background: var(--white);
  transition: background 0.2s;
}
.menu-cell:last-child { border-right: none; }
.menu-cell:hover { background: var(--cream); }
.menu-cell-today { background: #fffbf0 !important; }
.menu-cell-sat { background: #f0f4ff !important; }
.menu-cell-sun { background: #fff0f0 !important; }

.menu-item-chip {
  display: block;
  font-size: 0.8rem;
  color: var(--text-mid);
  line-height: 1.6;
  padding: 1px 0;
}
.menu-item-chip:first-child {
  font-weight: 700;
  color: var(--forest);
  font-size: 0.85rem;
  padding-bottom: 4px;
  margin-bottom: 2px;
  border-bottom: 1px dashed var(--cream-dark);
}
.menu-empty {
  color: var(--border);
  font-size: 1.2rem;
  display: block;
  text-align: center;
  padding: 12px 0;
}
.menu-intro { text-align: center; margin-bottom: 40px; }
.menu-intro p { font-size: 0.96rem; color: var(--text-mid); line-height: 1.7; }
.menu-week-nav {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px;
}
.menu-nav-btn {
  padding: 8px 20px;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-size: 0.85rem; color: var(--text-mid); transition: var(--transition);
}
.menu-nav-btn:hover { border-color: var(--forest); color: var(--forest); }
#menuWeekLabel { font-size: 1rem; font-weight: 600; color: var(--forest); }
.menu-table-wrap { overflow-x: auto; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.menu-table {
  width: 100%; border-collapse: collapse;
  min-width: 700px;
}
.menu-table th {
  background: var(--forest); color: var(--white);
  padding: 14px 12px; font-size: 0.85rem; font-weight: 600;
  text-align: center; letter-spacing: 0.04em;
}
.menu-table td {
  padding: 14px 12px; text-align: center;
  font-size: 0.8rem; color: var(--text-mid); line-height: 1.6;
  border: 1px solid var(--cream-dark);
  background: var(--white);
}
.meal-type {
  background: var(--cream) !important; font-weight: 700;
  color: var(--forest) !important; width: 60px;
  font-size: 0.85rem;
}
.menu-table tr:nth-child(even) td { background: var(--cream); }
.meal-type { background: var(--cream) !important; }

/* ── FOOTER ── */
.site-footer { background: var(--forest); }
.footer-top { padding: 64px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-layout {
  display: grid;
  grid-template-columns: 1.5fr 1.8fr 1fr 1.2fr;
  gap: 48px;
}
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.logo-emblem-sm { width: 38px; height: 38px; font-size: 1.1rem; }
.footer-logo-main { color: var(--white); font-size: 1rem; font-weight: 700; }
.footer-tagline { font-size: 0.83rem; color: rgba(255,255,255,0.55); line-height: 1.7; margin-bottom: 20px; }
.footer-blog-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.8rem; color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 6px 14px; border-radius: 40px; transition: var(--transition);
}
.footer-blog-link:hover { color: var(--white); border-color: rgba(255,255,255,0.5); }

.footer-info h4, .footer-quick h4, .footer-contact h4 {
  font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px; font-weight: 600;
}
.footer-info ul { display: flex; flex-direction: column; gap: 10px; }
.footer-info li { font-size: 0.82rem; color: rgba(255,255,255,0.6); display: flex; gap: 8px; }
.footer-info li span { color: rgba(255,255,255,0.35); white-space: nowrap; }
.footer-info a { color: rgba(255,255,255,0.6); }
.footer-info a:hover { color: var(--gold-light); }

.footer-quick ul { display: flex; flex-direction: column; gap: 10px; }
.footer-quick li a {
  font-size: 0.85rem; color: rgba(255,255,255,0.6);
  display: flex; align-items: center; gap: 6px;
  transition: var(--transition);
}
.footer-quick li a::before { content: '—'; color: var(--gold); font-size: 0.7rem; }
.footer-quick li a:hover { color: var(--white); padding-left: 4px; }

.footer-tel {
  display: block;
  font-size: 1.6rem; font-weight: 700;
  color: var(--gold);
  font-family: var(--font-serif);
  letter-spacing: 0.02em;
  margin-bottom: 8px;
  line-height: 1.2;
}
.footer-hours { font-size: 0.8rem; color: rgba(255,255,255,0.55); line-height: 1.6; margin-bottom: 20px; }
.footer-consult-btn {
  display: inline-flex; align-items: center;
  background: var(--gold);
  color: var(--white);
  padding: 11px 20px;
  font-size: 0.85rem; font-weight: 600;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.footer-consult-btn:hover { background: var(--gold-light); color: var(--white); }

.footer-bottom {
  padding: 20px 0;
  display: flex; align-items: center; justify-content: center;
}
.footer-bottom .container {
  display: flex; justify-content: space-between; align-items: center; width: 100%;
}
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.35); }
.footer-policy a { color: rgba(255,255,255,0.4); font-size: 0.78rem; }
.footer-policy a:hover { color: rgba(255,255,255,0.7); }

/* ── FLOATING BUTTONS ── */
.floating-wrap {
  position: fixed;
  bottom: 32px; right: 28px;
  z-index: 100;
  display: flex; flex-direction: column; gap: 10px;
  align-items: flex-end;
}
.float-btn {
  display: flex; align-items: center; gap: 8px;
  background: var(--forest);
  color: var(--white);
  padding: 12px 18px;
  border-radius: 40px;
  font-size: 0.82rem; font-weight: 600;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  white-space: nowrap;
}
.float-btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--white); }
.float-phone { background: var(--forest); }
.float-phone:hover { background: var(--forest-mid); }
.float-consult { background: var(--gold); }
.float-consult:hover { background: var(--gold-light); }
.float-top {
  background: rgba(28,48,32,0.8);
  width: 44px; height: 44px;
  padding: 0; justify-content: center;
  border-radius: 50%;
}
.float-top:hover { background: var(--forest); }

/* ── REVEAL ANIMATION ── */
.reveal-section { opacity: 1; transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal-section.reveal-hidden { opacity: 0; transform: translateY(32px); }

/* ========================================================
   RESPONSIVE — TABLET (≤ 1024px)
   ======================================================== */
@media (max-width: 1024px) {
  .top-bar-addr { display: none; }
  .header-tel { display: none; }
  .hamburger { display: flex; }
  .main-nav { display: none; }

  .quick-grid { grid-template-columns: repeat(4, 1fr); }
  .quick-item { border-right: 1px solid rgba(255,255,255,0.08); }
  .quick-item:nth-child(4n) { border-right: none; }

  .about-layout { grid-template-columns: 1fr; gap: 40px; }
  .about-img-wrap { max-width: 500px; margin: 0 auto; }

  .space-panel { grid-template-columns: 1fr; }
  .space-panel-img { aspect-ratio: 16/7; }

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

  .news-layout { grid-template-columns: 1fr; }
  .news-header { position: static; }

  .map-layout { grid-template-columns: 1fr; }

  .footer-layout { grid-template-columns: 1fr 1fr; gap: 36px; }

  .facility-rooms { grid-template-columns: repeat(2, 1fr); }
  .services-detail-grid { grid-template-columns: 1fr; }
  .docs-section { grid-template-columns: 1fr; }
  .directions-info { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .weekly-schedule { grid-template-columns: repeat(3, 1fr); }
}

/* ========================================================
   RESPONSIVE — MOBILE (≤ 768px)
   ======================================================== */
@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
    --topbar-height: 36px;
  }

  .top-bar { display: none; }
  .site-header { top: 0; }

  .logo-main { font-size: 1rem; }
  .logo-sub { display: none; }
  .logo-emblem { width: 38px; height: 38px; font-size: 1.1rem; }

  /* Hero */
  .hero-slider { height: calc(100svh - var(--nav-height)); min-height: 480px; }
  .slide-title { font-size: 2rem; }
  .slide-desc { font-size: 0.9rem; }
  .slide-btns { flex-direction: column; gap: 10px; }
  .btn-hero-primary, .btn-hero-outline { width: 100%; justify-content: center; padding: 13px 20px; }
  .slider-arrow { display: none; }
  .slide-content { padding: 0 20px; }

  /* Quick Links */
  .quick-grid { grid-template-columns: repeat(4, 1fr); }
  .quick-item { padding: 16px 8px; }
  .quick-icon-wrap { width: 42px; height: 42px; }
  .quick-item span { font-size: 0.7rem; }

  /* About */
  .home-about { padding: 64px 0; }
  .stats-row { flex-wrap: wrap; }
  .stat-item { flex: 0 0 50%; border-right: none; border-bottom: 1px solid var(--border); }
  .stat-item:nth-child(odd) { border-right: 1px solid var(--border); }
  .stat-item:nth-last-child(-n+2) { border-bottom: none; }
  .stat-divider { display: none; }

  /* Space Gallery */
  .home-spaces { padding: 64px 0; }
  .space-panel { grid-template-columns: 1fr; }
  .space-panel-img { aspect-ratio: 16/9; }
  .space-panel-info { padding: 32px 24px; }
  .space-panel-info h3 { font-size: 1.4rem; }

  /* Services */
  .home-services { padding: 64px 0; }
  .services-grid { grid-template-columns: 1fr; }

  /* News */
  .home-news { padding: 64px 0; }
  .news-layout { grid-template-columns: 1fr; gap: 32px; }
  .news-header { position: static; }

  /* CTA */
  .cta-bg { padding: 64px 0; }
  .cta-actions { flex-direction: column; gap: 12px; }
  .cta-btn-phone, .cta-btn-online { width: 100%; justify-content: center; padding: 15px; }

  /* Map */
  .home-map { padding: 64px 0; }
  .map-layout { grid-template-columns: 1fr; }

  /* Page hero */
  .page-hero { padding: 70px 0 40px; }
  .page-hero h1 { font-size: 1.6rem; }
  .page-body { padding: 48px 0; }

  /* Forms */
  .form-row { grid-template-columns: 1fr; }
  .consult-form { padding: 28px 20px; }

  /* Admission */
  .process-step { flex-direction: column; gap: 12px; padding: 22px 20px; }
  .step-num { font-size: 1.5rem; }

  /* Docs */
  .docs-section { grid-template-columns: 1fr; }
  .directions-info { grid-template-columns: 1fr; }

  /* Gallery */
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }

  /* Facility rooms */
  .facility-rooms { grid-template-columns: 1fr; }

  /* Programs */
  .weekly-schedule { grid-template-columns: 1fr 1fr; gap: 12px; }

  /* Footer */
  .footer-layout { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom .container { flex-direction: column; gap: 8px; text-align: center; }

  /* Floating */
  .floating-wrap { bottom: 20px; right: 16px; }
  .float-btn { padding: 10px 14px; font-size: 0.78rem; }
  .float-btn span { display: none; }
  .float-phone, .float-consult { padding: 12px; border-radius: 50%; width: 48px; height: 48px; justify-content: center; }
  .float-top { width: 40px; height: 40px; }
}

/* ========================================================
   RESPONSIVE — SMALL MOBILE (≤ 480px)
   ======================================================== */
@media (max-width: 480px) {
  .quick-grid { grid-template-columns: repeat(4, 1fr); }
  .quick-item span { display: none; }
  .quick-icon-wrap { width: 38px; height: 38px; }

  .slide-title { font-size: 1.7rem; }
  .section-title { font-size: 1.5rem; }

  .news-category-btns { flex-wrap: wrap; }
  .menu-table-wrap { font-size: 0.75rem; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .weekly-schedule { grid-template-columns: 1fr; }
  .floor-tab { padding: 12px 20px; }
  .space-tab { padding: 11px 16px; font-size: 0.82rem; }
  .values-grid { grid-template-columns: 1fr; }

  .process-cta-btns { flex-direction: column; }
  .btn-primary, .btn-outline-dark { width: 100%; justify-content: center; }

  .footer-tel { font-size: 1.2rem; }
}

/* ══════════════════════════════════════
   전면 개선 — 추가 스타일
   ══════════════════════════════════════ */

/* ── 상단 공지 배너 ── */
.notice-banner {
  background: linear-gradient(90deg, var(--gold) 0%, #c9a468 100%);
  padding: 10px 0;
  position: relative;
  z-index: 210;
}
.notice-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px 0 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.notice-banner-icon { font-size: 0.95rem; }
.notice-banner-text { font-size: 0.88rem; color: var(--white); font-weight: 400; font-family: var(--font-body); letter-spacing: 0.02em; }
.notice-banner-text strong { font-weight: 700; }
.notice-banner-tel {
  background: rgba(255,255,255,0.25); color: var(--white);
  font-size: 0.88rem; font-weight: 700;
  padding: 4px 14px; border-radius: 40px;
  border: 1.5px solid rgba(255,255,255,0.5);
  transition: background 0.2s; white-space: nowrap;
}
.notice-banner-tel:hover { background: rgba(255,255,255,0.4); color: var(--white); }
.notice-banner-close {
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: rgba(255,255,255,0.7);
  font-size: 1rem; cursor: pointer;
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; transition: background 0.2s;
}
.notice-banner-close:hover { background: rgba(255,255,255,0.2); color: var(--white); }

/* ── 플로팅 버튼 전면 개선 ── */
.float-phone {
  background: var(--forest) !important;
  color: var(--white) !important;
  animation: float-pulse 2.5s ease-in-out infinite;
}
.float-phone:hover { background: var(--forest-mid) !important; }
@keyframes float-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(28,48,32,0.35); }
  50% { box-shadow: 0 4px 28px rgba(28,48,32,0.55), 0 0 0 8px rgba(28,48,32,0.08); }
}
.float-kakao { background: #FEE500 !important; color: #3C1E1E !important; }
.float-kakao:hover { background: #f0d800 !important; color: #3C1E1E !important; }
.float-consult { background: var(--gold) !important; color: var(--white) !important; }
.float-consult:hover { background: var(--gold-light) !important; color: var(--white) !important; }
.float-btn {
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  padding: 13px 20px !important;
  border-radius: 50px !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.18) !important;
}
.float-btn:hover { transform: translateY(-3px) scale(1.03) !important; }

/* ── 서비스 카드 강화 ── */
.service-card {
  border-radius: var(--radius-lg) !important;
  position: relative; overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--forest), var(--gold));
  transform: scaleX(0); transition: transform 0.35s ease;
  transform-origin: left;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { transform: translateY(-6px) !important; box-shadow: 0 12px 40px rgba(28,48,32,0.12) !important; }
.service-icon {
  width: 64px !important; height: 64px !important;
  background: linear-gradient(135deg, var(--forest), var(--forest-mid)) !important;
  box-shadow: 0 4px 12px rgba(28,48,32,0.2);
}

/* ── CTA 버튼 강화 ── */
.cta-btn-phone {
  border-radius: 50px !important;
  box-shadow: 0 4px 20px rgba(184,147,90,0.4) !important;
  font-size: 1.1rem !important; font-weight: 700 !important;
  padding: 18px 40px !important;
}
.cta-btn-phone:hover { box-shadow: 0 8px 28px rgba(184,147,90,0.5) !important; }
.cta-btn-online { border-radius: 50px !important; padding: 18px 40px !important; border-width: 2px !important; }

/* ── 히어로 텍스트 가독성 ── */
.slide-title { text-shadow: 0 2px 20px rgba(0,0,0,0.4); }
.slide-desc { text-shadow: 0 1px 8px rgba(0,0,0,0.5); }
.slide-eyebrow {
  background: rgba(0,0,0,0.3) !important;
  padding: 5px 14px !important;
  border-radius: 40px !important;
  backdrop-filter: blur(4px);
  display: inline-block !important;
}

/* ── 모바일 퀵링크 개선 ── */
@media (max-width: 768px) {
  .quick-item span { display: block !important; font-size: 0.75rem !important; }
  .quick-icon-wrap { width: 48px !important; height: 48px !important; }
  .quick-item { padding: 18px 8px !important; }
  .float-btn { padding: 13px !important; border-radius: 50% !important; width: 50px !important; height: 50px !important; justify-content: center !important; }
  .float-btn span { display: none; }
  .notice-banner-inner { justify-content: flex-start; padding-right: 44px; }
}
@media (max-width: 480px) {
  .quick-item span { font-size: 0.68rem !important; }
}

/* ── 프로그램 활동 사진 ── */
.programs-photos-section { margin-top: 56px; }
.programs-photos-title {
  font-size: 1.3rem; font-weight: 700;
  color: var(--forest); font-family: var(--font-serif);
  margin-bottom: 24px; padding-bottom: 12px;
  border-bottom: 2px solid var(--gold-pale);
}
.programs-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.prog-photo-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.prog-photo-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.prog-photo-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.prog-photo-item:hover img { transform: scale(1.05); }

@media (max-width: 768px) {
  .programs-photo-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .programs-photo-grid { grid-template-columns: 1fr; }
}

/* ── 프로그램 매거진 사진 레이아웃 ── */
.prog-magazine-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto;
  gap: 12px;
}
.prog-mag-large {
  grid-column: span 2;
  grid-row: span 2;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1/1;
}
.prog-mag-wide {
  grid-column: span 2;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 2/1;
}
.prog-mag-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.prog-mag-small {
  border-radius: var(--radius-lg);
  overflow: hidden;
  flex: 1;
  min-height: 140px;
}
.prog-mag-large img,
.prog-mag-wide img,
.prog-mag-small img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.prog-mag-large:hover img,
.prog-mag-wide:hover img,
.prog-mag-small:hover img { transform: scale(1.05); }

@media (max-width: 768px) {
  .prog-magazine-grid { grid-template-columns: repeat(2, 1fr); }
  .prog-mag-large { grid-column: span 2; aspect-ratio: 3/2; }
  .prog-mag-wide { grid-column: span 2; }
  .prog-mag-stack { flex-direction: row; }
}
@media (max-width: 480px) {
  .prog-magazine-grid { grid-template-columns: 1fr; }
  .prog-mag-large, .prog-mag-wide { grid-column: span 1; }
  .prog-mag-stack { flex-direction: column; }
}

/* ── 프로그램 모자이크 레이아웃 ── */
.prog-mosaic {
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.prog-mosaic-row {
  display: flex;
  gap: 12px;
  height: 360px;
}
.prog-mosaic-row.row-b {
  height: 320px;
}
.prog-mosaic-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
  width: 260px;
}
.prog-mosaic-item {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  cursor: pointer;
  flex-shrink: 0;
}
.prog-mosaic-item.item-wide {
  flex: 1;
  height: 100%;
}
.prog-mosaic-item.item-half {
  flex: 1;
  width: 100%;
}
.prog-mosaic-item.item-third {
  flex: 1;
  height: 100%;
}
.prog-mosaic-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.5s ease;
}
.prog-mosaic-item:hover img {
  transform: scale(1.07);
}
.prog-mosaic-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px 16px 14px;
  background: linear-gradient(to top, rgba(28,48,32,0.75) 0%, transparent 100%);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  font-family: var(--font-body);
  letter-spacing: 0.05em;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.prog-mosaic-item:hover .prog-mosaic-label {
  opacity: 1;
}

@media (max-width: 768px) {
  .prog-mosaic-row { height: auto; flex-wrap: wrap; }
  .prog-mosaic-row.row-b { height: auto; }
  .prog-mosaic-item.item-wide { height: 200px; flex: 1 0 100%; }
  .prog-mosaic-item.item-third { height: 160px; }
  .prog-mosaic-col { width: 100%; flex-direction: row; }
  .prog-mosaic-item.item-half { height: 160px; }
}

/* ── 프로그램 블로그 그리드 ── */
.prog-blog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 16px;
}
.prog-blog-item {
  cursor: pointer;
  transition: transform 0.25s ease;
}
.prog-blog-item:hover { transform: translateY(-4px); }
.prog-blog-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  overflow: hidden;
  background: var(--cream);
  margin-bottom: 10px;
}
.prog-blog-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.4s ease;
}
.prog-blog-item:hover .prog-blog-thumb img { transform: scale(1.05); }
.prog-blog-info { padding: 0 2px; }
.prog-blog-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.5;
  margin-bottom: 6px;
  font-family: var(--font-body);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: keep-all;
}
.prog-blog-date {
  font-size: 0.78rem;
  color: var(--text-light);
  font-family: var(--font-body);
}

@media (max-width: 1024px) {
  .prog-blog-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .prog-blog-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}
@media (max-width: 480px) {
  .prog-blog-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .prog-blog-title { font-size: 0.8rem; }
}

/* ── 프로그램 상세보기 ── */
.prog-detail-wrap { max-width: 760px; }
.prog-detail-header {
  border-bottom: 2px solid var(--cream-dark);
  padding-bottom: 20px; margin-bottom: 32px;
}
.prog-detail-header h2 {
  font-size: 1.6rem; font-weight: 700;
  font-family: var(--font-serif); color: var(--forest);
  margin-bottom: 8px; line-height: 1.35; word-break: keep-all;
}
.prog-detail-date { font-size: 0.85rem; color: var(--text-light); font-family: var(--font-body); }
.prog-detail-content {
  font-size: 1rem; line-height: 2;
  color: var(--text-dark); margin-bottom: 40px; word-break: keep-all;
}
.prog-detail-img-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 12px; margin-bottom: 40px;
}
.prog-detail-img-item { border-radius: 10px; overflow: hidden; aspect-ratio: 1/1; }
.prog-detail-img-item img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top; display: block;
}
.prog-detail-back {
  margin-top: 40px; padding-top: 32px;
  border-top: 1px solid var(--cream-dark);
}
.prog-loading {
  text-align: center; padding: 60px;
  color: var(--text-light); font-family: var(--font-body);
}
@media (max-width: 768px) {
  .prog-detail-img-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ══════════════════════════════════════
   NEW POST + 입소문의 섹션
   ══════════════════════════════════════ */
.home-newpost { padding: 80px 0; background: var(--white); }
.newpost-header { text-align: center; margin-bottom: 48px; }
.newpost-title {
  font-size: 2.2rem; font-weight: 800;
  font-family: 'Playfair Display', var(--font-serif);
  color: var(--text-dark); margin-bottom: 10px;
}
.newpost-title span { color: var(--gold); }
.newpost-header p { font-size: 0.92rem; color: var(--text-light); font-family: var(--font-body); }

.newpost-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: start;
}
.newpost-list { display: flex; flex-direction: column; gap: 0; }
.newpost-item {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--cream-dark);
  transition: background 0.2s;
}
.newpost-item:first-child { border-top: 2px solid var(--forest); }
.newpost-item:hover { background: var(--cream); }
.newpost-tag {
  font-size: 0.72rem; font-weight: 700;
  color: var(--forest); background: var(--cream);
  border: 1px solid var(--forest);
  padding: 3px 10px; border-radius: 40px;
  white-space: nowrap; font-family: var(--font-body);
}
.newpost-item a {
  flex: 1; font-size: 0.92rem; color: var(--text-dark);
  font-family: var(--font-body); font-weight: 500;
  transition: color 0.2s; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}
.newpost-item a:hover { color: var(--forest); }
.newpost-date { font-size: 0.78rem; color: var(--text-light); white-space: nowrap; font-family: var(--font-body); }

/* 입소문의 박스 */
.newpost-consult-box {
  background: linear-gradient(135deg, var(--forest) 0%, #2a5030 100%);
  border-radius: 20px;
  overflow: hidden;
}
.consult-box-inner { padding: 36px 32px; }
.consult-box-inner h3 {
  font-size: 1.6rem; font-weight: 700;
  color: var(--gold-light);
  font-family: var(--font-serif);
  margin-bottom: 14px;
}
.consult-box-inner > p {
  font-size: 0.88rem; color: rgba(255,255,255,0.8);
  line-height: 1.8; margin-bottom: 24px;
  font-family: var(--font-body);
}
.consult-box-info { margin-bottom: 28px; display: flex; flex-direction: column; gap: 8px; }
.consult-box-info p { font-size: 0.88rem; color: rgba(255,255,255,0.85); font-family: var(--font-body); }
.consult-box-info strong { font-size: 1rem; color: var(--white); }
.consult-box-btn {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  padding: 13px 28px;
  border-radius: 50px;
  font-size: 0.9rem; font-weight: 700;
  font-family: var(--font-body);
  transition: all 0.2s;
}
.consult-box-btn:hover { background: var(--gold-light); color: var(--white); transform: translateY(-2px); }

/* ══════════════════════════════════════
   WELCOME 섹션
   ══════════════════════════════════════ */
.home-welcome {
  padding: 80px 0;
  background: #f0f2f8;
  border-radius: 0;
}
.welcome-header { text-align: center; margin-bottom: 48px; }
.welcome-title {
  font-size: 2.2rem; font-weight: 800;
  font-family: 'Playfair Display', var(--font-serif);
  color: var(--text-dark); margin-bottom: 10px;
}
.welcome-title span { color: var(--forest); }
.welcome-header p { font-size: 0.92rem; color: var(--text-light); font-family: var(--font-body); }

.welcome-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.4fr 1fr;
  gap: 16px;
  align-items: end;
}
.welcome-card {
  display: block;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.welcome-card:hover { transform: translateY(-6px); box-shadow: 0 12px 32px rgba(0,0,0,0.15); }
.welcome-card-img {
  height: 260px;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}
.welcome-card-sm .welcome-card-img { height: 200px; }
.welcome-card:hover .welcome-card-img { transform: scale(1.05); }
.welcome-card-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 40px 20px 18px;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
  color: var(--white);
  font-size: 1rem; font-weight: 700;
  font-family: var(--font-serif);
  letter-spacing: 0.02em;
}

/* ══════════════════════════════════════
   NEW PHOTO 섹션
   ══════════════════════════════════════ */
.home-newphoto { padding: 80px 0; background: var(--white); }
.newphoto-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.newphoto-item { cursor: pointer; }
.newphoto-item:hover .newphoto-thumb { transform: scale(1.03); }
.newphoto-thumb {
  width: 100%; aspect-ratio: 1/1;
  border-radius: 14px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  margin-bottom: 12px;
  transition: transform 0.4s ease;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.newphoto-title {
  font-size: 0.9rem; font-weight: 600;
  color: var(--text-dark); margin-bottom: 4px;
  font-family: var(--font-body);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.newphoto-date { font-size: 0.78rem; color: var(--text-light); font-family: var(--font-body); }

@media (max-width: 1024px) {
  .newpost-layout { grid-template-columns: 1fr; }
  .welcome-grid { grid-template-columns: repeat(2, 1fr); }
  .welcome-card-img, .welcome-card-sm .welcome-card-img { height: 200px; }
  .newphoto-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .welcome-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .newphoto-grid { grid-template-columns: repeat(2, 1fr); }
}
/* ══════════════════════════════════════════════════
   1. slide-eyebrow 글자 간격 수정
   (슬라이더 배지 텍스트 "동 수 원 노 인..." 간격 문제)
══════════════════════════════════════════════════ */

.slide-eyebrow {
  letter-spacing: 0.05em !important;
}


/* ══════════════════════════════════════════════════
   2. FAQ 섹션 스타일
══════════════════════════════════════════════════ */

.faq-intro {
  text-align: center;
  margin-bottom: 44px;
  font-size: 16px;
  color: #555;
  line-height: 1.85;
}

.faq-intro a {
  color: var(--forest);
  font-weight: 700;
}

/* 카테고리 탭 */
.faq-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
  justify-content: center;
}

.faq-tab {
  padding: 9px 22px;
  border: 1.5px solid rgba(28,48,32,0.2);
  background: transparent;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  color: #666;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Noto Sans KR', sans-serif;
}

.faq-tab:hover {
  border-color: var(--forest);
  color: var(--forest);
}

.faq-tab.active {
  background: var(--forest);
  border-color: var(--forest);
  color: #fff;
}

/* FAQ 리스트 */
.faq-list {
  display: flex;
  flex-direction: column;
  border-top: 2px solid var(--forest);
}

.faq-item {
  border-bottom: 1px solid rgba(28,48,32,0.12);
  transition: opacity 0.2s;
}

.faq-item.hidden {
  display: none;
}

/* 질문 버튼 */
.faq-q {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 4px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--forest);
  line-height: 1.55;
  transition: color 0.2s;
}

.faq-q:hover { color: var(--gold); }
.faq-q[aria-expanded="true"] { color: var(--gold); }

.faq-arrow {
  font-size: 18px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--gold);
  line-height: 1.3;
  margin-top: 1px;
}

.faq-q[aria-expanded="true"] .faq-arrow {
  transform: rotate(180deg);
}

/* 답변 영역 */
.faq-a {
  display: none;
  padding: 0 4px 28px 4px;
  font-size: 15px;
  color: #444;
  line-height: 1.9;
}

.faq-a.open { display: block; }

.faq-a ul {
  margin: 10px 0 12px 20px;
}

.faq-a ul li {
  margin-bottom: 6px;
  list-style: disc;
}

.faq-a a {
  color: var(--gold);
  text-decoration: underline;
  font-weight: 600;
}

.faq-a p + p { margin-top: 12px; }

/* 하단 CTA */
.faq-bottom-cta {
  text-align: center;
  margin-top: 60px;
  padding: 52px 24px;
  background: #ece6d8;
  border-radius: 12px;
}

.faq-bottom-cta p {
  font-size: 18px;
  color: var(--forest);
  font-weight: 700;
  margin-bottom: 28px;
  font-family: 'Gowun Batang', serif;
}

.faq-cta-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}


/* ══════════════════════════════════════════════════
   3. 글자 크기 확대 버튼 & 모드
══════════════════════════════════════════════════ */

.float-fontsize {
  background: #fff !important;
  color: var(--forest) !important;
  border: 2px solid rgba(28,48,32,0.3) !important;
  flex-direction: column;
}

.float-fontsize svg {
  flex-shrink: 0;
}

.float-fontsize:hover {
  background: var(--forest) !important;
  color: #fff !important;
  border-color: var(--forest) !important;
}

/* 글자 크기 확대 모드 적용 */
body.font-large {
  font-size: 20px;
}

body.font-large p,
body.font-large li,
body.font-large td,
body.font-large th,
body.font-large span:not(.logo-emblem):not(.badge-year):not(.news-tag):not(.space-floor-badge):not(.value-num),
body.font-large label,
body.font-large .about-desc,
body.font-large .section-desc {
  font-size: 18px !important;
  line-height: 2 !important;
}

body.font-large h1 { font-size: clamp(28px, 5vw, 48px) !important; }
body.font-large h2 { font-size: clamp(24px, 4vw, 38px) !important; }
body.font-large h3 { font-size: clamp(20px, 3vw, 28px) !important; }
body.font-large h4 { font-size: 20px !important; }

body.font-large .btn-primary,
body.font-large .btn-outline-dark,
body.font-large .btn-hero-primary,
body.font-large .btn-hero-outline,
body.font-large .btn-submit,
body.font-large .cta-btn-phone,
body.font-large .cta-btn-online {
  font-size: 17px !important;
  padding: 16px 32px !important;
}

body.font-large .quick-item span {
  font-size: 15px !important;
}

body.font-large .faq-q {
  font-size: 18px !important;
}

body.font-large .faq-a {
  font-size: 17px !important;
}

/* 확대 모드일 때 버튼 활성 표시 */
body.font-large .float-fontsize {
  background: var(--forest) !important;
  color: #fff !important;
  border-color: var(--forest) !important;
}


/* ══════════════════════════════════════════════════
   4. 모바일 테이블 overflow 수정
   (식단표, 개인정보 테이블, 서류 테이블 등)
══════════════════════════════════════════════════ */

/* 모든 테이블을 감싸는 공통 처리 */
.page-body .container table,
.page-body .container-narrow table {
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}

/* 개인정보 테이블 */
.privacy-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
}

.privacy-table th,
.privacy-table td {
  padding: 10px 14px;
  border: 1px solid rgba(28,48,32,0.12);
  font-size: 14px;
  line-height: 1.6;
  vertical-align: top;
  white-space: normal;
}

.privacy-table thead {
  background: var(--forest);
  color: #fff;
}

/* 식단표 테이블 */
#menuTableContainer table {
  min-width: 560px;
}

/* docs-list는 정상 표시 */
.docs-list {
  white-space: normal;
}

@media (max-width: 768px) {
  /* FAQ 탭 모바일 */
  .faq-tabs { gap: 6px; }
  .faq-tab { padding: 8px 14px; font-size: 13px; }
  .faq-q { font-size: 15px; padding: 18px 4px; }
  .faq-bottom-cta { padding: 36px 16px; }
  .faq-cta-btns { flex-direction: column; align-items: stretch; }
  .faq-cta-btns a { text-align: center; }
}
