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

/* hidden 속성이 클래스/인라인 display에 항상 우선 (2026-10) */
[hidden] { display: none !important; }

:root {
  /* Warm Luxe Palette : ivory × caramel clay × bronze */
  --oat: #faf6ef;
  --oat-dark: #f0e7d9;
  --sand-deep: #e6d7c3;
  --olive: #a97c58;
  --olive-light: #ccaf93;
  --olive-dark: #7c5a3e;
  --wood: #c19a6b;
  --wood-light: #e3d2b6;
  --text: #372e25;
  --text-light: #8a796b;
  --white: #fffdfa;
  --black: #171310;
  --shadow-warm: 0 20px 48px rgba(124, 90, 62, 0.16);
  --font-ko: 'Noto Sans KR', sans-serif;
  --font-serif-ko: 'Noto Serif KR', 'Playfair Display', serif;
  --font-en: 'Playfair Display', serif;
}

html { scroll-behavior: smooth; }

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

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

::selection { background: rgba(169, 124, 88, 0.28); color: var(--black); }

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--olive);
  outline-offset: 3px;
  border-radius: 4px;
}

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

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

.header.scrolled {
  background: rgba(250, 246, 239, 0.98);
  box-shadow: 0 10px 30px rgba(23, 19, 16, 0.08);
}

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

.header.scrolled .header-inner { height: 60px; }

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

.logo-mark {
  width: 20px;
  height: 20px;
  display: inline-block;
  object-fit: contain;
}

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

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

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

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

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

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

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: 0.3s;
  border-radius: 2px;
}

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

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.25em;
  color: var(--olive);
  margin-bottom: 12px;
}

.section-label::before {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--olive);
}

.section-title {
  font-family: var(--font-ko);
  font-size: clamp(28px, 3.2vw, 36px);
  font-weight: 500;
  color: var(--text);
  margin-bottom: 48px;
  letter-spacing: -0.02em;
}

.section-title-wrap .section-title {
  margin-bottom: 12px;
}

.section-title-sub {
  display: block;
  font-family: var(--font-ko);
  font-size: 15px;
  font-weight: 400;
  color: var(--text-light);
  letter-spacing: -0.01em;
  line-height: 1.7;
  word-break: keep-all;
  margin-bottom: 48px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.section-head .section-title {
  margin-bottom: 0;
}

.tech-note {
  display: inline-block;
  font-size: 12px;
  color: var(--olive);
  background: rgba(169, 124, 88, 0.12);
  border: 1px solid rgba(169, 124, 88, 0.25);
  border-radius: 50px;
  padding: 4px 14px;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
  font-family: var(--font-ko);
  white-space: nowrap;
}

.tech-note:hover {
  background: rgba(169, 124, 88, 0.22);
  color: var(--olive-dark);
}

.popup {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.popup.open {
  display: flex;
}

.popup-overlay {
  position: absolute;
  inset: 0;
  background: rgba(36, 28, 21, 0.55);
}

.popup-box {
  position: relative;
  z-index: 1;
  max-width: 480px;
  width: 100%;
  background: var(--white);
  border-radius: 20px;
  padding: 40px 32px 32px;
  box-shadow: 0 24px 60px rgba(36, 28, 21, 0.3);
}

.popup-box p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-light);
  margin: 0;
}

/* ===== Event Popup ===== */
.popup-event {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 460px;
  max-height: 92vh;
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(36, 28, 21, 0.3);
}

.popup-event-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  font-family: var(--font-ko);
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: var(--olive);
  border-radius: 50px;
  letter-spacing: 0.04em;
}

.popup-event-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 220px;
  overflow: hidden;
  background: var(--oat-dark);
}

.popup-event-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.popup-event-body {
  padding: 20px 24px 18px;
}

.popup-event-title {
  font-family: var(--font-ko);
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
  margin: 12px 0 6px;
}

.popup-event-period {
  font-size: 13px;
  color: var(--text-light);
  margin-top: 4px;
}

.popup-event-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.popup-event-cta {
  flex: none;
  text-align: center;
  padding: 9px 18px;
  font-size: 13px;
  margin: 4px 0;
}

.popup-event-hide {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-light);
  cursor: pointer;
  user-select: none;
}

.popup-event-hide input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--olive);
  cursor: pointer;
}

.popup-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(169, 124, 88, 0.1);
  color: var(--text);
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
  transition: background 0.3s;
}

.popup-close:hover {
  background: rgba(169, 124, 88, 0.22);
}

/* ===== Hero ===== */
main:has(.hero) {
  background:
    radial-gradient(880px 520px at 86% 8%, rgba(193, 154, 107, 0.2), transparent 62%),
    linear-gradient(135deg, var(--oat) 0%, var(--oat-dark) 55%, #e6d7c3 100%);
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: transparent;
  padding-top: 96px;
  padding-bottom: 56px;
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.92fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  width: 100%;
}

.hero-content { position: relative; z-index: 2; max-width: 560px; }

.hero-watermark {
  position: absolute;
  top: 14%;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-en);
  font-size: clamp(72px, 15vw, 210px);
  letter-spacing: 0.08em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(124, 90, 62, 0.13);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero::before {
  width: 560px;
  height: 560px;
  top: -160px;
  right: -140px;
  background: radial-gradient(circle, rgba(193, 154, 107, 0.24) 0%, transparent 65%);
}

.hero::after {
  width: 440px;
  height: 440px;
  bottom: -150px;
  left: -120px;
  background: radial-gradient(circle, rgba(169, 124, 88, 0.16) 0%, transparent 65%);
}

/* Hero visual (arch image) */
.hero-visual {
  position: relative;
  z-index: 1;
}

.hero-visual::before {
  content: '';
  position: absolute;
  top: -6%;
  right: -4%;
  width: 78%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(193, 154, 107, 0.28) 0%, transparent 65%);
  pointer-events: none;
}

.hero-ring {
  position: absolute;
  top: -38px;
  right: -26px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(169, 124, 88, 0.35);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.hero-visual-frame {
  position: relative;
  z-index: 1;
  aspect-ratio: 3 / 4;
  max-width: 440px;
  margin-left: auto;
  border-radius: 999px 999px 28px 28px;
  overflow: hidden;
  border: 1px solid rgba(193, 154, 107, 0.4);
  box-shadow: var(--shadow-warm);
}

.hero-visual-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Hero entrance motion */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}

.hero-subtitle { animation: heroFadeUp 0.8s 0.1s both; }
.hero-title { animation: heroFadeUp 0.8s 0.22s both; }
.hero-desc-title { animation: heroFadeUp 0.8s 0.34s both; }
.hero-desc { animation: heroFadeUp 0.8s 0.46s both; }
.hero-actions { animation: heroFadeUp 0.8s 0.58s both; }
.hero-visual { animation: heroFadeUp 1s 0.3s both; }

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

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

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

.hero-desc-title {
  font-size: 20px;
  font-weight: 500;
  color: var(--olive-dark);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

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

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

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

.btn-primary {
  background: linear-gradient(135deg, var(--olive) 0%, var(--olive-dark) 100%);
  color: #fff;
  box-shadow: 0 10px 26px rgba(124, 90, 62, 0.28);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #96694a 0%, #6b4c33 100%);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(124, 90, 62, 0.34);
}

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

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

/* ===== Event Banner (home) ===== */
.event-banner {
  position: relative;
  padding: 80px 0;
  background:
    radial-gradient(720px 380px at 8% 50%, rgba(193, 154, 107, 0.22), transparent 62%),
    linear-gradient(150deg, var(--oat) 0%, var(--oat-dark) 60%, #e6d7c3 100%);
  overflow: hidden;
}

.event-banner-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  font-family: var(--font-ko);
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: var(--olive);
  border-radius: 50px;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}

.event-banner-title {
  font-family: var(--font-ko);
  font-size: clamp(24px, 3.6vw, 36px);
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.event-banner-desc {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.8;
  max-width: 560px;
}

.event-banner-inner {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}

.event-banner-thumb {
  aspect-ratio: 0.71 / 1;
  max-height: 420px;
  border-radius: 18px;
  overflow: hidden;
  background: var(--oat-dark);
  box-shadow: var(--shadow-warm);
}

.event-banner-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-banner-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

/* ===== Event Page ===== */
.event-page-hero {
  padding: 140px 0 72px;
  background:
    radial-gradient(720px 380px at 90% -10%, rgba(193, 154, 107, 0.18), transparent 62%),
    linear-gradient(135deg, var(--oat) 0%, var(--oat-dark) 55%, #e6d7c3 100%);
  overflow: hidden;
}

.event-detail {
  padding: 80px 0;
  background: transparent;
}

.event-detail .section-title {
  text-align: center;
}

.event-detail-figure {
  max-width: 480px;
  margin: 32px auto 0;
  border-radius: 20px;
  overflow: hidden;
  background: var(--oat-dark);
  box-shadow: var(--shadow-warm);
  border: 1px solid var(--oat-dark);
}

.event-detail-figure img {
  width: 100%;
  height: auto;
  display: block;
}

.event-detail-note {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.8;
  max-width: 720px;
  margin: 24px auto 0;
  text-align: center;
  border-top: 1px solid var(--oat-dark);
  padding: 14px 0;
}

.event-detail-note::before {
  content: "안내";
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--olive-dark);
  background: rgba(169, 124, 88, 0.12);
  padding: 2px 9px;
  border-radius: 50px;
  margin-right: 8px;
}

/* ===== Event List (text cards) ===== */
.event-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.event-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--oat-dark);
  border-radius: 20px;
  padding: 32px 36px;
  transition: all 0.3s;
}

.event-card:hover {
  border-color: var(--olive-light);
  box-shadow: 0 12px 32px rgba(169, 124, 88, 0.15);
  transform: translateY(-3px);
}

.event-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.event-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  font-family: var(--font-ko);
  font-size: 11.5px;
  font-weight: 600;
  color: #fff;
  background: var(--olive);
  border-radius: 50px;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 12px rgba(124, 90, 62, 0.25);
}

.event-card-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--white);
}

/* 이벤트 배지 상태: 만료됨 / 예정 */
.event-card-badge.is-expired,
.event-badge.is-expired {
  background: var(--oat-dark);
  color: var(--text-light);
  box-shadow: none;
}

.event-card-badge.is-expired::before,
.event-badge.is-expired::before {
  background: var(--text-light);
}

.event-card-badge.is-upcoming,
.event-badge.is-upcoming {
  background: var(--wood-light);
  color: var(--olive-dark);
  box-shadow: none;
}

.event-card-badge.is-upcoming::before,
.event-badge.is-upcoming::before {
  background: var(--olive-dark);
}

.event-card-date {
  font-family: var(--font-en);
  font-size: 13px;
  color: var(--text-light);
  letter-spacing: 0.02em;
}

.event-card-body h3 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
  color: var(--text);
}

.event-card-body p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 14px;
}

.event-card-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--olive-dark);
  transition: color 0.3s;
}

.event-card:hover .event-card-link {
  color: var(--olive);
}

/* Fix for event page grid */
.quick-links {
  padding: 80px 0;
  background: transparent;
}

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

.quick-card {
  padding: 36px 24px;
  text-align: center;
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(169, 124, 88, 0.12);
  transition: all 0.4s;
  cursor: pointer;
}

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

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

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

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

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

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

/* ===== Blog ===== */
.blog-posts { background: var(--white); }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.blog-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--oat-dark);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s;
}

.blog-card:hover {
  border-color: var(--olive-light);
  box-shadow: 0 12px 32px rgba(169, 124, 88, 0.15);
  transform: translateY(-3px);
}

.blog-card-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--oat);
  overflow: hidden;
}

.blog-card-thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.blog-card:hover .blog-card-thumb img { transform: scale(1.04); }

.blog-card-thumb .place {
  display: block;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 50% 42%, var(--olive-light) 0 34%, transparent 36%),
    var(--oat);
}

.blog-card-body { padding: 24px 28px 26px; }

.blog-card-cat {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--olive-dark);
  background: rgba(169, 124, 88, 0.12);
  padding: 3px 10px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.blog-card-body h3 {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-body p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 16px;
}

.blog-card-date {
  font-family: var(--font-en);
  font-size: 12px;
  color: var(--olive);
  letter-spacing: 0.06em;
}

/* Blog/Review Pagination */
.blog-pagination,
.review-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 44px;
}

.blog-page-link,
.review-page-link {
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--sand-deep);
  border-radius: 999px;
  background: var(--white);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-light);
  transition: color 0.3s, border-color 0.3s, background 0.3s;
}

.blog-page-link:hover,
.review-page-link:hover {
  color: var(--olive-dark);
  border-color: var(--olive);
}

.blog-page-link.is-active,
.review-page-link.is-active {
  background: var(--olive);
  border-color: var(--olive);
  color: var(--white);
}

/* Fix for event page grid */
main.event-page .blog-grid,
.section.event-list .blog-grid {
  grid-template-columns: 1fr !important;
}

@media (max-width: 768px) {
  .blog-grid { grid-template-columns: 1fr; }
  
  /* Event list responsive fix */
  .event-list .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Reviews ===== */
.review-posts { background: var(--white); }

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

.review-card {
  background: var(--oat);
  border: 1px solid var(--oat-dark);
  border-radius: 20px;
  padding: 28px 32px;
  transition: all 0.3s;
}

.review-card:hover {
  border-color: var(--olive-light);
  box-shadow: 0 12px 32px rgba(169, 124, 88, 0.12);
}

.review-card-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.review-meta { display: flex; flex-direction: column; gap: 2px; }

.review-stars {
  color: var(--wood);
  font-size: 15px;
  letter-spacing: 0.08em;
}

.review-nick {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
}

.review-date {
  font-size: 12px;
  color: var(--text-light);
}

.review-body {
  font-size: 15px;
  color: var(--text);
  line-height: 1.8;
  word-break: keep-all;
}

.review-more {
  color: var(--olive-dark);
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
}

.review-more:hover {
  text-decoration: underline;
}

@media (max-width: 480px) {
  .review-card { padding: 20px 20px; }

  .review-body.clamp {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    overflow: hidden;
  }

  .review-body.clamp + .review-toggle {
    display: block;
    margin-top: 10px;
    background: none;
    border: none;
    padding: 0;
    font-size: 13px;
    font-weight: 500;
    color: var(--olive-dark);
    cursor: pointer;
    text-decoration: underline;
  }

  .review-body.clamp ~ .review-more {
    display: inline;
  }
}

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

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

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

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

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

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

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

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

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

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

/* ===== Director Profile ===== */
.profile { background: var(--oat); }

.profile-intro {
  max-width: 720px;
  margin: 0 auto 64px;
  text-align: center;
}

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

.profile-info h3 {
  font-size: 24px;
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 20px;
}

.profile-info h3 strong {
  font-weight: 700;
  color: var(--olive-dark);
}

.profile-lead {
  font-family: var(--font-en);
  font-style: italic;
  font-size: 18px;
  color: var(--olive);
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}

.profile-info > p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.9;
  max-width: 560px;
  margin: 0 auto;
}

.profile-awards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 56px;
}

.award-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(135deg, var(--white) 0%, #fdf8f1 100%);
  border: 1px solid var(--wood-light);
  border-radius: 16px;
  padding: 20px 24px;
  box-shadow: 0 8px 24px rgba(193, 154, 107, 0.12);
  transition: all 0.3s;
}

.award-card:hover {
  border-color: var(--wood);
  box-shadow: 0 12px 32px rgba(193, 154, 107, 0.2);
  transform: translateY(-2px);
}

.award-icon {
  flex: none;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wood);
  background: rgba(193, 154, 107, 0.12);
  border-radius: 50%;
}

.award-icon svg { width: 24px; height: 24px; }

.award-text {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.6;
}

.profile-history {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.history-block {
  background: var(--white);
  border-radius: 20px;
  padding: 32px 28px;
  border: 1px solid transparent;
  transition: all 0.3s;
}

.history-block:hover {
  border-color: var(--olive-light);
  box-shadow: 0 8px 32px rgba(169, 124, 88, 0.1);
}

.history-head { margin-bottom: 20px; }

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

.history-head h4 {
  font-size: 17px;
  font-weight: 600;
  color: var(--olive-dark);
  line-height: 1.5;
}

.history-list li {
  position: relative;
  padding: 7px 0 7px 18px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
}

.history-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--olive-light);
}

.profile-philosophy {
  background:
    radial-gradient(420px 260px at 85% 15%, rgba(255, 255, 255, 0.12), transparent 60%),
    linear-gradient(135deg, #6f4f36 0%, var(--olive) 100%);
  border-radius: 24px;
  padding: 56px 48px;
  text-align: center;
  color: var(--white);
}

.profile-philosophy p {
  font-size: 17px;
  line-height: 2;
  max-width: 760px;
  margin: 0 auto;
  font-weight: 300;
}

/* ===== Program ===== */
main:has(.program) .page-hero { padding-bottom: 48px; }

.program { background: var(--oat); padding: 0 0 100px; }

.program .quick-links { padding: 0 0 56px; }

@media (min-width: 481px) {
  .program .quick-links { padding: 56px 0; }
}

.program-card[id] { scroll-margin-top: 50px; }

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

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

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

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

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

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

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

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

/* ===== Program (2026-10 메뉴 개편) ===== */
/* Accordion (2026-10) */
.program-acc[id] { scroll-margin-top: 50px; }
section.program { scroll-margin-top: 50px; }

.program-acc {
  background: var(--white);
  border-radius: 24px;
  margin-bottom: 20px;
  border: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.program-acc.is-open {
  border-color: var(--olive-light);
  box-shadow: 0 8px 32px rgba(169, 124, 88, 0.1);
}

.program-acc-head {
  display: flex;
  align-items: center;
  gap: 14px 22px;
  width: 100%;
  padding: 26px 34px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

.program-acc-head:focus-visible {
  outline: 2px solid var(--olive);
  outline-offset: -2px;
  border-radius: 24px;
}

.program-acc-idx {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-en);
  font-size: 15px;
  letter-spacing: 0.1em;
  color: var(--olive-dark);
  background: var(--oat);
  border: 1px solid var(--oat-dark);
  border-radius: 50%;
}

.program-acc-titles {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.program-acc-en {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--olive);
  margin-bottom: 5px;
}

.program-acc-ko {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 12px;
  font-family: var(--font-serif-ko);
  font-size: 20px;
  font-weight: 600;
  color: var(--black);
}

.program-acc-tag {
  font-family: var(--font-ko);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #fff;
  background: #a4503c;
  padding: 3px 12px;
  border-radius: 999px;
}

.program-acc-sub {
  margin-left: auto;
  flex-shrink: 1;
  min-width: 0;
  font-size: 13.5px;
  color: var(--text-light);
  line-height: 1.6;
}

.program-acc-chevron {
  flex-shrink: 0;
  color: var(--olive-dark);
  transition: transform 0.35s ease;
}

.program-acc.is-open .program-acc-chevron { transform: rotate(180deg); }

/* 높이 변경은 즉시 적용: 닫히면서 스크롤이 동시에 일어나면
   높이가 서서히 변해 스크롤 위치가 어긋나는 버그를 방지 (2026-10) */
.program-acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: none;
}

.program-acc.is-open .program-acc-panel { grid-template-rows: 1fr; }

.program-acc-inner { overflow: hidden; min-height: 0; }

.program-acc-content {
  padding: 4px 34px 38px;
}

.program-acc-content > .program-list { margin-top: 8px; }

@media (prefers-reduced-motion: reduce) {
  .program-acc,
  .program-acc-chevron,
  .program-acc-panel { transition: none; }
}

.program-list { display: flex; flex-direction: column; }

.program-item { padding: 22px 0; }

.program-item + .program-item { border-top: 1px solid var(--oat-dark); }

.program-item:first-child { padding-top: 0; }

.program-item-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px 24px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.program-item h4 {
  margin: 0;
  font-family: var(--font-serif-ko);
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
}

.program-item-en {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--olive-light);
  font-weight: 400;
  margin-left: 10px;
  text-transform: uppercase;
}

.program-item-side { flex-shrink: 0; }

.program-time {
  display: block;
  font-family: var(--font-serif-ko);
  font-size: 18px;
  font-weight: 600;
  color: var(--olive-dark);
  margin-bottom: 4px;
}

.program-prices {
  font-size: 14px;
  color: var(--text);
  white-space: nowrap;
}

.program-prices .price-member { color: #a4503c; font-weight: 700; }

.program-item-desc {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.75;
  margin: 0;
  max-width: 680px;
}

.program-addoption {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 14px;
  padding: 10px 18px;
  background: var(--oat);
  border: 1px solid var(--oat-dark);
  border-radius: 12px;
  font-size: 13.5px;
  color: var(--text);
}

.program-addoption .addoption-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--olive-dark);
  background: var(--sand-deep);
  padding: 3px 10px;
  border-radius: 999px;
}

.program-addoption strong { color: #a4503c; font-weight: 600; }

.program-quote {
  margin: 28px 0 0;
  padding: 22px 28px;
  border: 1px solid var(--wood-light);
  border-radius: 14px;
  background: var(--oat);
  text-align: center;
  font-family: var(--font-serif-ko);
  font-size: 16px;
  letter-spacing: 0.04em;
  color: var(--olive-dark);
}

.program-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.program-chips li {
  font-size: 13px;
  color: var(--text-light);
  background: var(--oat);
  border: 1px solid var(--oat-dark);
  padding: 5px 14px;
  border-radius: 999px;
}

.program-steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.program-steps .step {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text);
  background: var(--oat);
  border: 1px solid var(--oat-dark);
  padding: 8px 14px;
  border-radius: 999px;
}

.program-steps .step b { font-size: 11px; letter-spacing: 0.08em; color: var(--olive); }

.program-steps .step-arrow { color: var(--olive-light); font-size: 15px; }

.program-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.program-benefits li {
  text-align: center;
  padding: 18px 14px;
  background: var(--oat);
  border: 1px solid var(--oat-dark);
  border-radius: 14px;
}

.program-benefits li b {
  display: block;
  font-family: var(--font-serif-ko);
  font-size: 15px;
  margin-bottom: 6px;
  color: var(--text);
}

.program-benefits li span {
  display: block;
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
}

/* Membership */
.member-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.member-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.member-table th,
.member-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--oat-dark);
  text-align: left;
  font-size: 14px;
  vertical-align: top;
}

.member-table thead th {
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--olive-dark);
  background: var(--oat);
}

.member-table td.num,
.member-table th.num { text-align: right; white-space: nowrap; }

.member-table td small { font-size: 12px; color: var(--text-light); }

.member-table tbody tr:last-child td { border-bottom: none; }

.member-table .price-total { color: #a4503c; font-weight: 700; font-size: 15px; }

.member-table .price-per {
  display: block;
  font-size: 12px;
  color: var(--text-light);
  font-weight: 400;
  margin-top: 2px;
}

.tier-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

.tier-card {
  border-radius: 18px;
  padding: 26px 18px;
  text-align: center;
  border: 1px solid var(--oat-dark);
  background: var(--oat);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tier-card .tier-name { font-family: var(--font-en); font-size: 15px; letter-spacing: 0.2em; color: var(--olive-dark); }

.tier-card .tier-ko { font-size: 12.5px; color: var(--text-light); margin-bottom: 8px; }

.tier-card .tier-price { font-family: var(--font-serif-ko); font-size: 30px; font-weight: 700; color: var(--text); }

.tier-card .tier-bonus {
  align-self: center;
  font-size: 12.5px;
  font-weight: 600;
  color: #fff;
  background: var(--olive);
  padding: 4px 14px;
  border-radius: 999px;
  margin: 4px 0;
}

.tier-card .tier-total { font-size: 13px; color: var(--text-light); }

.tier-card .tier-desc { font-size: 12.5px; color: var(--text-light); line-height: 1.6; margin-top: 6px; }

.tier-card.tier-silver { background: #f6f1e7; border-color: #d9cbb4; }

.tier-card.tier-gold { background: #efe4cd; border-color: #cbb389; }

.tier-card.tier-dark { background: #42503f; border-color: #42503f; }

.tier-card.tier-vvip { background: #221e19; border-color: #221e19; }

.tier-card.tier-dark .tier-name { color: #d9c9a8; }

.tier-card.tier-dark .tier-ko,
.tier-card.tier-dark .tier-total,
.tier-card.tier-dark .tier-desc { color: rgba(255, 253, 248, 0.75); }

.tier-card.tier-dark .tier-price { color: var(--white); }

.tier-card.tier-dark .tier-bonus { background: var(--olive); }

.member-notice {
  margin-top: 28px;
  padding: 22px 26px;
  background: var(--oat);
  border: 1px solid var(--oat-dark);
  border-radius: 14px;
}

.member-notice h4 { margin: 0 0 10px; font-size: 15px; font-weight: 600; color: var(--olive-dark); }

.member-notice ul { margin: 0; padding-left: 18px; }

.member-notice li { font-size: 13.5px; color: var(--text-light); line-height: 1.8; }

/* Value grid */
.program-value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.program-value-grid li {
  text-align: center;
  padding: 24px 16px;
  background: var(--white);
  border: 1px solid var(--oat-dark);
  border-radius: 16px;
  color: var(--olive);
}

.program-value-grid li b {
  display: block;
  font-family: var(--font-serif-ko);
  font-size: 16px;
  margin: 10px 0 8px;
  color: var(--text);
}

.program-value-grid li span { display: block; font-size: 13px; color: var(--text-light); line-height: 1.6; }

@media (max-width: 900px) {
  .tier-grid { grid-template-columns: repeat(2, 1fr); }
  .program-value-grid { grid-template-columns: repeat(2, 1fr); }
  .program-benefits { grid-template-columns: 1fr; }
  .program-acc-sub { display: none; }
}

@media (max-width: 640px) {
  .program-acc-head { padding: 20px 20px; gap: 12px 16px; }
  .program-acc-idx { width: 38px; height: 38px; font-size: 13px; }
  .program-acc-ko { font-size: 17px; }
  .program-acc-content { padding: 0 20px 28px; }
  .program-item-head { flex-direction: column; align-items: flex-start; gap: 6px; }
  .program-item-desc { max-width: none; }
}

/* Member table → card layout (mobile) */
@media (max-width: 700px) {
  .member-table-wrap { overflow: visible; }

  .member-table { min-width: 0; }

  .member-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
  }

  .member-table tbody tr {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "name time"
      "base total";
    gap: 8px 16px;
    align-items: baseline;
    background: var(--white);
    border: 1px solid var(--oat-dark);
    border-radius: 16px;
    padding: 16px 18px;
    margin-bottom: 12px;
  }

  .member-table tbody tr:last-child { margin-bottom: 0; }

  .member-table td { border: 0; padding: 0; }

  .member-table td:nth-child(1) {
    grid-area: name;
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
  }

  .member-table td:nth-child(1) small {
    display: block;
    font-size: 12px;
    font-weight: 400;
    margin-top: 3px;
  }

  .member-table td:nth-child(2) {
    grid-area: time;
    font-family: var(--font-serif-ko);
    font-size: 15px;
    font-weight: 600;
    color: var(--olive-dark);
    white-space: nowrap;
  }

  .member-table td:nth-child(3) {
    grid-area: base;
    font-size: 13.5px;
    color: var(--text-light);
    white-space: nowrap;
  }

  .member-table td:nth-child(3)::before {
    content: "정가 ";
    font-size: 11.5px;
    letter-spacing: 0.04em;
  }

  .member-table td:nth-child(4) {
    grid-area: total;
    text-align: right;
  }

  .member-table td:nth-child(4) .price-total { display: inline-block; font-size: 16px; }

  .member-table td:nth-child(4) .price-per { margin-top: 1px; }
}

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

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

.contact-info,
.contact-location {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

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

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

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

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

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

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

.space-gallery {
  margin-top: auto;
  padding-top: 36px;
}

.map-embed {
  position: relative;
  width: 100%;
  margin: 20px 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--oat-dark);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 280px;
  border: 0;
}

.space-gallery-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-light);
  margin-bottom: 14px;
}

.space-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.space-scroll::-webkit-scrollbar { height: 6px; }
.space-scroll::-webkit-scrollbar-track { background: var(--oat); border-radius: 3px; }
.space-scroll::-webkit-scrollbar-thumb { background: var(--wood-light); border-radius: 3px; }

.space-card {
  flex: 0 0 auto;
  width: 140px;
  height: 140px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--oat);
  scroll-snap-align: start;
}

.space-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.space-card img:hover { transform: scale(1.05); }

@media (max-width: 480px) {
  .space-card { width: 112px; height: 112px; }
}

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

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

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

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

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

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

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

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

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

.footer-info {
  font-size: 13px;
  line-height: 1.8;
  text-align: right;
}

.footer-info p { margin: 2px 0; }

.footer-info a {
  color: var(--olive-light);
  text-decoration: none;
  white-space: nowrap;
}

.footer-info a:hover { text-decoration: underline; }

.footer-copy-center { text-align: center; margin: 18px 0 0; }

/* ===== Marquee Ribbon ===== */
.marquee {
  overflow: hidden;
  background: linear-gradient(90deg, var(--olive) 0%, var(--olive-dark) 100%);
  padding: 14px 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 44px;
  padding-right: 44px;
}

.marquee-group span {
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  white-space: nowrap;
}

.marquee-group i {
  font-style: normal;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.55);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===== Scroll Reveal ===== */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.js [data-reveal].revealed {
  opacity: 1;
  transform: none;
}

/* ===== Home: Program Teaser (program.html과 동일한 라이트 스타일) ===== */
.program-teaser {
  background: var(--oat);
}

.program-teaser .section-title { margin-bottom: 0; }

.program-teaser-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.program-teaser-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 36px 40px;
  background: var(--white);
  border: 1px solid transparent;
  border-radius: 24px;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.program-teaser-card h3,
.program-teaser-card p {
  width: 100%;
}

.program-teaser-card:hover {
  border-color: var(--olive-light);
  box-shadow: 0 8px 32px rgba(169, 124, 88, 0.12);
  transform: translateY(-3px);
}

.program-teaser-card h3 {
  color: var(--text);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.program-teaser-card p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.75;
  flex: 1;
}

.program-teaser-link {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--olive-dark);
  transition: color 0.3s;
}

.program-teaser-card:hover .program-teaser-link { color: var(--olive); }

/* ===== Home: Space Gallery (contact.html과 동일한 화이트 배경) ===== */
.home-gallery { background: var(--white); }

.home-gallery .section-title { margin-bottom: 0; }

.home-gallery .space-scroll { margin-top: 36px; }

.home-gallery .space-card {
  width: 220px;
  height: 158px;
  border-radius: 16px;
  border: 1px solid var(--wood-light);
  box-shadow: 0 8px 24px rgba(124, 90, 62, 0.1);
}

/* ===== Home: Review Teaser ===== */
.home-reviews { background: var(--white); }

.home-reviews-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.home-reviews-head .section-title { margin-bottom: 0; }

.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--oat);
  border: 1px solid var(--wood-light);
  border-radius: 50px;
  padding: 10px 20px;
  box-shadow: 0 8px 24px rgba(124, 90, 62, 0.08);
}

.rating-badge-stars {
  color: var(--wood);
  font-size: 14px;
  letter-spacing: 0.08em;
}

.rating-badge strong {
  font-family: var(--font-en);
  font-size: 18px;
  color: var(--text);
}

.rating-badge em {
  font-style: normal;
  font-size: 12px;
  color: var(--text-light);
}

.home-reviews .review-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.home-reviews .review-card:nth-child(n+4) { display: none; }

.home-reviews-more {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

.review-thumb {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--oat-dark);
}

.review-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.review-thumb .place {
  display: block;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 50% 42%, var(--olive-light) 0 34%, transparent 36%),
    var(--oat);
}

.review-reply {
  margin-top: 14px;
  padding: 14px 18px;
  background: rgba(193, 154, 107, 0.08);
  border-radius: 12px;
}

.review-reply-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--olive-dark);
  margin-bottom: 6px;
}

.review-reply p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.75;
}

/* 홈 리뷰 티저: 답글 숨기고 본문만 5줄 클램프 */
.home-reviews .review-reply { display: none; }

.home-reviews .review-body {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  overflow: hidden;
}

/* ===== Quick Menu ===== */
.quick-menu {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: opacity 0.3s, transform 0.3s;
}

.quick-menu.footer-overlap {
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
}

.quick-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(36, 28, 21, 0.22);
  transition: transform 0.3s, box-shadow 0.3s;
}

.quick-menu-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(36, 28, 21, 0.3);
}

.quick-menu-kakao-btn {
  width: 52px;
  height: 52px;
  background: #FEE500;
  color: #000;
  flex-direction: column;
  gap: 2px;
}

.quick-menu-kakao-btn svg {
  width: 20px;
  height: 20px;
  fill: #000;
}

.quick-kakao-text {
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.quick-menu-call {
  width: 52px;
  height: 52px;
  background: #241c15;
  color: var(--white);
}

.quick-menu-call svg {
  width: 22px;
  height: 22px;
}

.quick-menu-naver-btn {
  width: 52px;
  height: 52px;
  background: #03C75A;
  color: #fff;
  flex-direction: column;
}

.quick-naver-text {
  font-size: 10px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-align: center;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .quick-menu { right: 16px; bottom: 16px; gap: 10px; }
  .quick-menu-kakao-btn { width: 48px; height: 48px; }
  .quick-menu-call { width: 48px; height: 48px; }
  .quick-menu-naver-btn { width: 48px; height: 48px; }
}

/* ===== Mobile Nav ===== */
.mobile-nav {
  display: none;
  position: fixed;
  top: 76px;
  left: 10%;
  width: 80%;
  max-height: 80vh;
  overflow-y: auto;
  background: var(--white);
  padding: 24px;
  border: 1px solid var(--oat-dark);
  border-radius: 20px;
  z-index: 999;
  box-shadow: 0 18px 40px rgba(23, 19, 16, 0.14);
}

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

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

.mobile-nav-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--text);
  background: var(--oat);
  border-radius: 14px;
  border: 1px solid transparent;
  transition: all 0.22s ease;
}

.mobile-nav-list a:active {
  transform: scale(0.98);
}

.mobile-nav-num {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 600;
  color: var(--olive);
  letter-spacing: 0.2em;
  flex: none;
  min-width: 22px;
}

.mobile-nav-list a.active {
  background: var(--olive);
  border-color: var(--olive);
  color: #fff;
  box-shadow: 0 6px 16px rgba(124, 90, 62, 0.25);
}

.mobile-nav-list a.active .mobile-nav-num {
  color: #fff;
}/* ===== Product Page ===== */
/* ===== Subpage hero (shared) ===== */
.page-hero {
  padding: 200px 0 96px;
  background:
    radial-gradient(720px 380px at 90% -10%, rgba(193, 154, 107, 0.18), transparent 62%),
    linear-gradient(135deg, var(--oat) 0%, var(--oat-dark) 55%, #e6d7c3 100%);
  overflow: hidden;
}

.page-hero.event-page-hero {
  padding: 140px 0 72px;
}

.page-hero-title {
  font-family: var(--font-ko);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 300;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.page-hero-desc {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.8;
  max-width: 560px;
}

.product-hero {
  padding: 200px 0 96px;
  background:
    radial-gradient(720px 380px at 90% -10%, rgba(193, 154, 107, 0.18), transparent 62%),
    linear-gradient(135deg, var(--oat) 0%, var(--oat-dark) 55%, #e6d7c3 100%);
  overflow: hidden;
}

.product-hero-title {
  font-family: var(--font-ko);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 300;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.product-hero-desc {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.8;
  max-width: 560px;
}

.product-section { padding: 100px 0; background: var(--oat); }

.product-section-alt { background: var(--white); }

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

.product-lead {
  font-size: 22px;
  font-weight: 500;
  color: var(--olive-dark);
  margin-bottom: 20px;
  line-height: 1.6;
  max-width: 760px;
}

.product-info { max-width: 760px; }

.product-info > p {
  margin-bottom: 16px;
  color: var(--text-light);
  line-height: 1.9;
}

.product-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 16px;
}

.product-features li {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--olive-dark);
  background: rgba(169, 124, 88, 0.06);
  padding: 8px 16px;
  border-radius: 8px;
  border-left: 2px solid var(--olive-light);
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.5;
}

.product-features li::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  min-width: 18px;
  background: var(--olive-light);
  color: #fff;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .product-features {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 12px;
  }
  .product-features li {
    font-size: 14px;
    padding: 10px 14px;
  }
}

.product-media {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 36px;
}

.product-media figure {
  margin: 0;
  background: var(--white);
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 4px 16px rgba(169, 124, 88, 0.08);
  transition: transform 0.3s;
}

.product-media figure:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(169, 124, 88, 0.14);
}

.product-media img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.product-media figcaption {
  margin-top: 6px;
  text-align: center;
  font-size: 11px;
  color: var(--text-light);
}

.tech-head {
  justify-content: flex-start;
}

.tech-thumb {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  margin-bottom: 28px;
  font-family: var(--font-ko);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--white);
  background: linear-gradient(135deg, var(--olive) 0%, var(--wood) 100%);
  border: none;
  border-radius: 50px;
  box-shadow: 0 8px 24px rgba(169, 124, 88, 0.32);
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.tech-thumb-icon {
  font-size: 18px;
  line-height: 1;
  filter: brightness(1.1);
}

.tech-thumb:hover {
  background: linear-gradient(135deg, var(--olive-dark) 0%, var(--olive) 100%);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(169, 124, 88, 0.4);
}

.tech-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.tech-col {
  background: var(--oat);
  border-radius: 24px;
  padding: 40px 36px;
  border: 1px solid rgba(169, 124, 88, 0.18);
}

.tech-col-detail {
  display: none;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--oat-dark);
}

.tech-col-detail.is-visible {
  display: block;
  animation: techFadeIn 0.3s ease;
}

@keyframes techFadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.tech-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 16px;
  padding: 10px 20px;
  border: 1px solid var(--oat-dark);
  border-radius: 50px;
  background: var(--white);
  color: var(--olive);
  font-family: var(--font-ko);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.22s ease;
}

.tech-toggle-btn:hover {
  border-color: var(--olive);
  background: var(--olive);
  color: #fff;
}

.tech-toggle-icon {
  display: inline-block;
  transition: transform 0.22s ease;
  font-size: 16px;
}

.tech-toggle-btn.is-active .tech-toggle-icon {
  transform: none;
}

.tech-toggle-btn.is-active {
  background: var(--olive);
  color: #fff;
}

.tech-tag {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--olive);
  background: rgba(169, 124, 88, 0.12);
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.tech-col-title {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
  margin: 0 0 12px;
}

.tech-copy {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.8;
  margin: 0 0 20px;
}

.tech-item-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--olive);
  margin: 24px 0 10px;
}

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

.tech-list li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 6px;
}

.tech-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--olive);
}

.tech-list li strong {
  color: var(--text-dark);
  font-weight: 600;
}

.tech-contact {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(169, 124, 88, 0.2);
  font-size: 13px;
  color: var(--text-light);
}

.product-cta {
  background:
    radial-gradient(560px 320px at 80% 0%, rgba(255, 255, 255, 0.14), transparent 60%),
    linear-gradient(135deg, #b98a63 0%, var(--olive-dark) 100%);
  padding: 100px 0;
}

.product-cta-inner { text-align: center; }

.product-cta-inner h2 {
  font-size: 28px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 12px;
}

.product-cta-inner p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
}

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

.product-cta-btns .btn-primary { background: var(--white); color: var(--olive-dark); }
.product-cta-btns .btn-primary:hover { background: var(--oat-dark); }

.product-cta-btns .btn-outline { border-color: var(--white); color: var(--white); }
.product-cta-btns .btn-outline:hover { background: var(--white); color: var(--olive-dark); }


/* ===== Product Tabs ===== */
.product-tabs-section {
  padding: 80px 0;
}

.product-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 48px;
}

.product-tab {
  padding: 12px 32px;
  border: 1px solid var(--oat-dark);
  border-radius: 999px;
  background: var(--white);
  color: var(--text);
  font-family: var(--font-ko);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.22s ease;
}

.product-tab:hover {
  border-color: var(--olive-light);
}

.product-tab.is-active {
  background: var(--olive);
  border-color: var(--olive);
  color: #fff;
  box-shadow: 0 8px 20px rgba(124, 90, 62, 0.22);
}

.product-tab-content {
  display: none;
}

.product-tab-content.is-active {
  display: block;
}

/* ===== Product Gallery (Products) ===== */
.product-gallery-desc {
  font-size: 13px;
  color: var(--olive);
  text-align: center;
  margin: 24px 0 8px;
  font-weight: 500;
}

.product-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-top: 32px;
}

.prod-gallery figure {
  width: 170px;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--oat);
  border: 1px solid rgba(169, 124, 88, 0.18);
  border-radius: 16px;
  padding: 14px 14px 16px;
  box-shadow: 0 6px 20px rgba(169, 124, 88, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.prod-gallery figure:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(169, 124, 88, 0.14);
}

.prod-gallery figure img {
  width: 100%;
  height: 180px;
  object-fit: contain;
}

.prod-gallery figcaption {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.prod-gallery figcaption strong {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

.prod-gallery figcaption span {
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-light);
}

.seo-text {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.lightbox-info {
  max-height: 62vh;
  overflow-y: auto;
}

/* ===== Lightbox ===== */
.lightbox-img { cursor: zoom-in; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 20, 18, 0.92);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.lightbox-close:hover { background: rgba(255, 255, 255, 0.35); }

.lightbox-info {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  line-height: 1.8;
  text-align: center;
  background: rgba(0, 0, 0, 0.35);
  padding: 16px 28px;
  border-radius: 12px;
  max-width: 480px;
  white-space: pre-line;
}

@media (max-width: 768px) {
  .lightbox-info {
    font-size: 13px;
    max-width: 90vw;
    padding: 12px 20px;
  }
}

@media (max-width: 768px) {
  .lightbox img { max-width: 96vw; max-height: 80vh; }
}

/* ===== Responsive ===== */
@media (max-width: 968px) {
  .hero-inner { grid-template-columns: 1fr; gap: 60px; }
  .hero { min-height: auto; padding-top: 104px; padding-bottom: 84px; }
  .hero-content { max-width: 640px; }
  .hero-visual { display: flex; flex-direction: column; align-items: center; }
  .hero-visual::before { display: none; }
  .hero-visual-frame { max-width: 340px; margin: 0 auto; }
  .hero-ring { display: none; }
  .about-content { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .tech-cols { grid-template-columns: 1fr; }
  .profile-awards { grid-template-columns: 1fr; gap: 12px; }
  .profile-history { grid-template-columns: 1fr; gap: 16px; }
  .profile-philosophy { padding: 40px 28px; }
}

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

  .header-inner { height: 60px; }
  .header.scrolled .header-inner { height: 54px; }
  .mobile-nav { top: 64px; }

  .hero { padding-top: 116px; padding-bottom: 96px; }
  .hero-content { text-align: center; margin: 0 auto; }
  .hero-watermark { display: none; }
  .hero-subtitle { margin-bottom: 18px; }
  .hero-title { font-size: clamp(30px, 8.6vw, 38px); margin-bottom: 20px; }
  .hero-desc-title { margin-bottom: 14px; }
  .hero-desc { font-size: 15px; line-height: 1.85; margin-bottom: 36px; }
  .hero-desc br { display: none; }
  .hero-actions { justify-content: center; gap: 12px; }
  .hero-visual-frame { max-width: min(78vw, 330px); }

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

  .section-title { font-size: 26px; letter-spacing: -0.01em; }
  .section { padding: 88px 0; }
  .section-head { margin-bottom: 40px; }

  .marquee-group { gap: 28px; padding-right: 28px; }
  .marquee-group span { font-size: 11px; letter-spacing: 0.22em; }

  .program-teaser-grid { grid-template-columns: 1fr; gap: 18px; }
  .program-teaser-card { padding: 30px 26px; border-radius: 20px; }
  .program-teaser-card h3 { font-size: 18px; }
  .program-teaser-link { margin-top: 8px; }

  .home-gallery .space-scroll { margin-top: 30px; }
  .home-gallery .space-card { width: 168px; height: 124px; }

  .home-reviews .review-grid { grid-template-columns: 1fr; gap: 16px; }
  .home-reviews-head { margin-bottom: 34px; gap: 14px; align-items: flex-start; }
  .home-reviews-head .rating-badge { width: 100%; justify-content: flex-start; }
  .rating-badge { padding: 9px 18px; }
  .home-reviews-more { margin-top: 36px; }

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

  .page-hero,
  .product-hero { padding: 160px 0 72px; }
  .page-hero.event-page-hero { padding: 120px 0 56px; }
  .product-section { padding: 72px 0; }
  .product-cta { padding: 80px 0; }
  .product-cta-inner h2 { font-size: 24px; line-height: 1.5; }
  .product-cta-inner p { margin-bottom: 30px; }

  .event-banner { padding: 72px 0; }
  .event-banner-inner { grid-template-columns: 1fr; gap: 28px; }
  .event-banner-thumb { max-width: 400px; margin: 0 auto; aspect-ratio: auto; }
  .event-banner-title { font-size: 24px; }
  .event-banner-actions { justify-content: center; }

  .event-list { padding: 72px 0; }
  .event-detail { padding: 72px 0; }
  .event-detail-note { margin-top: 20px; }

  .event-card { padding: 24px 20px; }
  .event-card-body h3 { font-size: 18px; }

  .popup-event { max-width: 100%; max-height: 90vh; overflow-y: auto; }
  .popup-event-thumb { max-height: 180px; }
  .popup-event-body { padding: 16px 20px 24px; }


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

@media (max-width: 480px) {
  .container { padding: 0 20px; }
  .hero { padding-top: 108px; }
  .hero-actions { gap: 10px; }
  .quick-links-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
  }
  .award-card { padding: 12px 14px; gap: 12px; }
  .award-icon { width: 34px; height: 34px; }
  .award-icon svg { width: 18px; height: 18px; }
  .award-text { font-size: 13px; }
  .quick-links-grid::-webkit-scrollbar { display: none; }
  .quick-card {
    flex: 0 0 112px;
    min-width: 112px;
    padding: 14px 10px;
    scroll-snap-align: center;
  }
  .quick-icon {
    width: 30px;
    height: 30px;
    margin-bottom: 8px;
  }
  .quick-card h3 { font-size: 12px; }
  .quick-card p { font-size: 11px; }
  .quick-links { padding: 48px 0; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .contact-pictos { grid-template-columns: repeat(2, 1fr); }
  .contact-btns { flex-direction: column; }
  .product-cta-btns { flex-direction: column; }
  .product-cta-btns .btn { width: 100%; }
  .prod-gallery { flex-direction: column; gap: 14px; align-items: stretch; }
  .prod-gallery figure { width: 100%; flex-direction: row; align-items: center; padding: 12px 14px; }
  .prod-gallery figure img { width: 90px; height: 90px; flex: none; }
  .prod-gallery figcaption { align-items: flex-start; padding-left: 14px; text-align: left; }
  .mobile-cta-bar { display: flex; }
  .popup-event { border-radius: 16px 16px 0 0; max-height: 85vh; margin-bottom: env(safe-area-inset-bottom); }
  .popup-event-body { padding: 14px 16px 20px; }
  .popup-event-title { font-size: 17px; }
  .popup-event-actions { flex-direction: column; align-items: flex-start; }
  .popup-event-cta { width: 100%; }
}

/* ===== Wedding & Postpartum Care ===== */
.wedding-care { background: var(--white); }

.wedding-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.wedding-card {
  background: var(--oat);
  border: 1px solid var(--oat-dark);
  border-radius: 20px;
  padding: 36px 32px;
}

.wedding-card h3 {
  font-size: 22px;
  font-weight: 500;
  margin: 14px 0 12px;
}

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

.wedding-cta { text-align: center; margin-top: 36px; }

@media (max-width: 768px) {
  .blog-grid { grid-template-columns: 1fr; }
  
  /* Ensure event list responsive layout on mobile */
  .event-list .blog-grid {
    grid-template-columns: 1fr;
  }

  /* Wedding grid mobile optimization */
  .wedding-care {
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .section-head {
    margin-bottom: 32px;
  }
  .wedding-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .wedding-card {
    padding: 20px 16px;
  }
  .wedding-card h3 {
    font-size: 18px;
  }
  .wedding-card p {
    font-size: 14.5px;
  }
  .wedding-cta {
    margin-top: 16px;
  }
}

/* ===== FAQ ===== */
.faq { background: var(--white); }

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.faq-item {
  background: var(--oat);
  border: 1px solid var(--oat-dark);
  border-radius: 16px;
  padding: 0;
  overflow: hidden;
}

.faq-item[open] {
  border-color: var(--wood-light);
  box-shadow: 0 10px 26px rgba(124, 90, 62, 0.1);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: 17px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  flex: none;
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
  color: var(--olive);
  transition: transform 0.25s ease;
}

.faq-item[open] summary::after {
  content: "−";
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 24px 22px;
  color: var(--text-light);
  font-size: 15.5px;
}

.noscript-info {
  margin: 0 auto;
  max-width: 1160px;
  padding: 12px 24px;
  font-size: 13px;
  color: var(--text-light);
}

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* ===== Q&A 페이지 ===== */
.qna-toolbar {
  max-width: 820px;
  margin: 0 auto 26px;
}
.qna-search {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  display: block;
}
.qna-search input {
  width: 100%;
  padding: 14px 20px;
  border: 1px solid var(--oat-dark);
  border-radius: 999px;
  background: var(--white);
  font-size: 15px;
  font-family: var(--font-ko);
  color: var(--text);
  outline: none;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.qna-search input::placeholder { color: var(--text-light); opacity: .7; }
.qna-search input:focus {
  border-color: var(--olive-light);
  box-shadow: 0 0 0 3px rgba(169,124,88,.12);
}

/* 카테고리 탭 */
.qna-cats {
  max-width: 820px;
  margin: 0 auto 34px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.qna-cat {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 11px 18px;
  border: 1px solid var(--oat-dark);
  border-radius: 999px;
  background: var(--white);
  color: var(--text);
  font-size: 14.5px;
  font-weight: 500;
  font-family: var(--font-ko);
  cursor: pointer;
  transition: all .22s ease;
  width: 100%;
  min-width: 0;
  height: 44px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.qna-cat:hover { border-color: var(--olive-light); }
.qna-cat.is-active {
  background: var(--olive);
  border-color: var(--olive);
  color: #fff;
  box-shadow: 0 8px 20px rgba(124,90,62,.22);
}
.qna-cat-count {
  font-size: 12px;
  font-weight: 700;
  background: var(--oat-dark);
  color: var(--olive-dark);
  min-width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
}
.qna-cat.is-active .qna-cat-count {
  background: rgba(255,255,255,.25);
  color: #fff;
}

/* 검색 결과 그룹 타이틀 */
.qna-group-title {
  margin: 0 0 16px;
  font-size: 16px;
  color: var(--olive-dark);
  font-weight: 600;
}

/* 결과 없음 */
.qna-empty {
  max-width: 820px;
  margin: 40px auto;
  text-align: center;
  color: var(--text-light);
  font-size: 15px;
}

/* 하단 CTA */
.qna-cta {
  max-width: 820px;
  margin: 44px auto 0;
  text-align: center;
  padding: 34px 24px;
  background: var(--oat);
  border: 1px solid var(--oat-dark);
  border-radius: 20px;
}
.qna-cta p { margin: 0 0 16px; color: var(--text); font-size: 16px; font-weight: 500; }
.qna-cta-btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 999px;
  background: var(--olive-dark);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background .22s ease, transform .22s ease;
}
.qna-cta-btn:hover { background: var(--olive); transform: translateY(-1px); }

@media (max-width: 640px) {
  .qna-cats { grid-template-columns: repeat(2, 1fr); }
  .qna-cat { padding: 9px 14px; font-size: 13.5px; }
  .qna-cta { padding: 26px 18px; }
}

/* ===== Mobile Fixed CTA Bar ===== */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1050;
  background: rgba(250, 246, 239, 0.97);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--oat-dark);
  padding: 10px 16px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom));
  box-shadow: 0 -4px 24px rgba(36, 28, 21, 0.12);
}

.mobile-cta-btns {
  display: flex;
  gap: 10px;
}

.mobile-cta-btns a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-ko);
  letter-spacing: -0.01em;
  transition: transform 0.2s, box-shadow 0.2s;
}

.mobile-cta-btns a:active {
  transform: scale(0.97);
}

/* ===== Serif Headings (한글 프리미엄 세리프 페어링) ===== */
.hero-title,
.hero-desc-title,
.section-title,
.event-banner-title,
.popup-event-title,
.product-cta h2,
.program-teaser-card h3,
.wedding-card h3 {
  font-family: var(--font-serif-ko);
}

/* ===== Reduced Motion (접근성) ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .marquee-track { animation: none !important; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
}

.mobile-cta-naver {
  background: #03C75A;
  color: #fff;
  box-shadow: 0 4px 12px rgba(3, 199, 90, 0.3);
}

.mobile-cta-call {
  background: #241c15;
  color: #fff;
  box-shadow: 0 4px 12px rgba(36, 28, 21, 0.3);
}

.program-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--olive-dark);
  font-family: var(--font-en);
}

.program-price-note {
  font-size: 12px;
  color: var(--text-light);
  margin-left: 4px;
}
