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

:root {
  --cream: #FAF6F0;
  --cream-dark: #F1E9DC;
  --beige: #E8DDC9;
  --brown-dark: #3E2F22;
  --brown: #6B4F2C;
  --brown-light: #8B7355;
  --orange: #C7621A;
  --orange-light: #E08A4A;
  --green: #7A8C5C;
  --text: #2D2620;
  --text-soft: #6B5D4F;
  --white: #ffffff;
  --shadow-sm: 0 2px 10px rgba(62, 47, 34, 0.06);
  --shadow-md: 0 8px 30px rgba(62, 47, 34, 0.1);
  --shadow-lg: 0 20px 60px rgba(62, 47, 34, 0.15);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ===== Typography ===== */
.serif { font-family: 'Nanum Myeongjo', 'Noto Serif KR', serif; }

h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--brown-dark);
}

.section-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Nanum Myeongjo', serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-soft);
  max-width: 640px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

/* ===== Header / Navigation ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 246, 240, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(139, 115, 85, 0.1);
  transition: var(--transition);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: 1280px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: 'Nanum Myeongjo', serif;
  color: var(--brown-dark);
  text-decoration: none;
}

.logo-mark {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange) 0%, var(--brown) 100%);
  display: grid;
  place-items: center;
  color: white;
  font-family: 'Nanum Myeongjo', serif;
  font-size: 20px;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(199, 98, 26, 0.28);
  flex-shrink: 0;
  letter-spacing: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  gap: 5px;
  font-family: 'Nanum Myeongjo', serif;
  font-weight: 800;
  font-size: 23px;
  color: var(--brown-dark);
  letter-spacing: -0.025em;
}

/* "사단법인" 라벨 — 위로 올리고 작은 칩 형태로 */
.logo-text small {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 10px;
  color: var(--orange);
  font-weight: 700;
  letter-spacing: 0.18em;
  order: -1;
  align-self: flex-start;
  padding: 3px 9px;
  background: rgba(199, 98, 26, 0.12);
  border-radius: 999px;
  line-height: 1;
}

.nav-menu {
  display: flex;
  gap: 38px;
  list-style: none;
}

.nav-menu a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  transition: var(--transition);
  position: relative;
  padding: 6px 0;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: var(--transition);
}

.nav-menu a:hover { color: var(--orange); }
.nav-menu a:hover::after, .nav-menu a.active::after { width: 100%; }
.nav-menu a.active { color: var(--orange); }

.nav-cta {
  background: var(--brown-dark);
  color: white !important;
  padding: 11px 22px !important;
  border-radius: 999px;
  font-size: 14px !important;
  font-weight: 600;
  transition: var(--transition);
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--orange) !important; transform: translateY(-1px); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--brown-dark);
  transition: var(--transition);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--brown-dark);
  color: white;
}
.btn-primary:hover {
  background: var(--orange);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  border-color: var(--brown-dark);
  color: var(--brown-dark);
}
.btn-outline:hover {
  background: var(--brown-dark);
  color: white;
}

.btn-arrow::after {
  content: '→';
  transition: var(--transition);
}
.btn-arrow:hover::after { transform: translateX(4px); }

/* ===== Hero ===== */
.hero {
  min-height: 92vh;
  position: relative;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: #f5ede0;
  z-index: -2;
  overflow: hidden;
}

/* 배경 이미지 (살짝 부드럽게 + 가벼운 톤 보정) */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: -8px;
  background-image: url('../images/%EC%A4%91%EC%8B%9D3.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(1.5px) saturate(0.95) brightness(1.03);
  transform: scale(1.02);
  will-change: transform;
}

/* 좌측 텍스트 영역 베일 + 우측은 살짝만 톤 다운 */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(250, 246, 240, 0.92) 0%, rgba(250, 246, 240, 0.74) 30%, rgba(250, 246, 240, 0.28) 60%, rgba(250, 246, 240, 0.18) 100%);
}

.hero-content {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text .section-eyebrow { margin-bottom: 24px; }

.hero-title {
  font-family: 'Nanum Myeongjo', serif;
  font-size: clamp(40px, 5.5vw, 64px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
  color: var(--brown-dark);
}

.hero-title .accent { color: var(--orange); }
.hero-title .hanja {
  font-family: 'Nanum Myeongjo', serif;
  color: var(--brown);
  font-style: italic;
}

.hero-desc {
  font-size: 18px;
  color: var(--brown-dark);
  margin-bottom: 36px;
  max-width: 480px;
  font-weight: 500;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  height: 540px;
}

.hero-img {
  position: absolute;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 56px -20px rgba(110, 70, 30, 0.32),
              0 6px 18px -8px rgba(110, 70, 30, 0.18);
  background: var(--cream);
  padding: 8px;
}

.hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22px;
  filter: saturate(0.92) contrast(0.98);
}

.hero-img-1 {
  width: 62%;
  height: 68%;
  top: 4%;
  left: 2%;
}

.hero-img-2 {
  width: 46%;
  height: 46%;
  bottom: 2%;
  right: 4%;
  z-index: 2;
}

.hero-badge {
  position: absolute;
  top: 50%;
  right: 8%;
  background: white;
  padding: 18px 22px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 2;
}

.hero-badge-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-light) 100%);
  color: white;
  display: grid;
  place-items: center;
  font-size: 20px;
}

.hero-badge-text strong { display: block; font-size: 16px; color: var(--brown-dark); }
.hero-badge-text span { font-size: 12px; color: var(--text-soft); }

/* ===== Stats ===== */
.stats {
  background: white;
  padding: 64px 0;
  border-top: 1px solid var(--beige);
  border-bottom: 1px solid var(--beige);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.stats-grid-5 {
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
}

.stat-item {
  padding: 8px 4px;
  position: relative;
}

.stats-grid-5 .stat-item + .stat-item::before {
  content: '';
  position: absolute;
  left: -16px;
  top: 14%;
  bottom: 14%;
  width: 1px;
  background: var(--beige);
}

.stat-item .stat-num {
  font-family: 'Nanum Myeongjo', serif;
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 700;
  color: var(--orange);
  display: block;
  line-height: 1;
  margin-bottom: 10px;
}

.stat-item .stat-label {
  display: block;
  font-size: 15px;
  color: var(--brown-dark);
  font-weight: 600;
  margin-bottom: 4px;
}

.stat-item .stat-sub {
  display: block;
  font-size: 12px;
  color: var(--text-soft);
  font-weight: 400;
  letter-spacing: -0.2px;
}

/* ===== Section ===== */
section { padding: 100px 0; }

.section-light { background: var(--cream); }
.section-white { background: white; }
.section-beige { background: var(--cream-dark); }

/* ===== Activity Cards ===== */
.activities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.activity-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.activity-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.activity-card-img {
  height: 220px;
  position: relative;
  overflow: hidden;
}

.activity-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.activity-card-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--brown-dark);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  backdrop-filter: blur(8px);
}

.activity-card-body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.activity-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--cream-dark);
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 16px;
}

.activity-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--brown-dark);
}

.activity-card p {
  color: var(--text-soft);
  font-size: 16px;
  margin-bottom: 20px;
  flex: 1;
}

.activity-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--orange);
  font-weight: 600;
  padding-top: 16px;
  border-top: 1px solid var(--beige);
}

/* CTA 카드 — 함께해 주세요 */
.activity-card.activity-card-cta {
  background: var(--cream-dark);
  border: 1px dashed var(--brown-light);
}

.activity-card-body-center {
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 380px;
  gap: 14px;
}

.activity-card-body-center h3 { margin-bottom: 0; }
.activity-card-body-center p {
  margin: 0 0 8px;
  text-align: center;
  flex: 0 0 auto;
  max-width: 280px;
  line-height: 1.7;
}

/* ===== About / Philosophy ===== */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 520px;
  box-shadow: var(--shadow-lg);
}
.about-image img { width: 100%; height: 100%; object-fit: cover; }

.about-features {
  margin-top: 32px;
  display: grid;
  gap: 18px;
}

.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-check {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--orange);
  color: white;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 700;
  margin-top: 2px;
}

.feature-text strong {
  display: block;
  color: var(--brown-dark);
  font-size: 16px;
  margin-bottom: 4px;
}

.feature-text span {
  color: var(--text-soft);
  font-size: 14px;
}

/* ===== Quote / CTA banner ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--brown-dark) 0%, var(--brown) 100%);
  color: white;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '"';
  position: absolute;
  font-family: 'Nanum Myeongjo', serif;
  font-size: 400px;
  color: rgba(255, 255, 255, 0.05);
  top: -100px;
  left: 5%;
  line-height: 1;
}

.cta-banner h2 {
  font-family: 'Nanum Myeongjo', serif;
  font-size: clamp(28px, 4vw, 42px);
  color: white;
  margin-bottom: 20px;
  position: relative;
}

.cta-banner p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 0 auto 36px;
  position: relative;
}

.cta-banner-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  position: relative;
  flex-wrap: wrap;
}

.cta-banner .btn-primary {
  background: var(--orange);
}
.cta-banner .btn-primary:hover {
  background: var(--orange-light);
}

.cta-banner .btn-outline {
  border-color: white;
  color: white;
}
.cta-banner .btn-outline:hover {
  background: white;
  color: var(--brown-dark);
}

/* ===== Gallery Preview ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-grid-large {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: var(--beige);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img { transform: scale(1.08); }

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(62, 47, 34, 0.7) 0%, transparent 50%);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  color: white;
  font-weight: 600;
  font-size: 14px;
}

.gallery-item:hover .gallery-item-overlay { opacity: 1; }

/* ===== Page Hero (sub pages) ===== */
.page-hero {
  padding: 160px 0 80px;
  background: linear-gradient(135deg, var(--cream-dark) 0%, var(--beige) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(199, 98, 26, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.page-hero h1 {
  font-family: 'Nanum Myeongjo', serif;
  font-size: clamp(36px, 5vw, 56px);
  margin-bottom: 16px;
  color: var(--brown-dark);
  position: relative;
}

.page-hero p {
  font-size: 17px;
  color: var(--text-soft);
  max-width: 580px;
  margin: 0 auto;
  position: relative;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-soft);
  margin-top: 20px;
  position: relative;
}
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb span { color: var(--brown-light); }

/* ===== Form ===== */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-field label {
  font-size: 14px;
  font-weight: 600;
  color: var(--brown-dark);
}

.form-field input,
.form-field textarea,
.form-field select {
  padding: 14px 18px;
  border: 1.5px solid var(--beige);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 15px;
  background: white;
  transition: var(--transition);
  color: var(--text);
  line-height: 1.4;
  -webkit-appearance: none;
  appearance: none;
  box-shadow: none;
  margin: 0;
  width: 100%;
  box-sizing: border-box;
}

/* Safari autofill 하이라이트 제거 (특히 tel 입력) */
.form-field input:-webkit-autofill,
.form-field input:-webkit-autofill:hover,
.form-field input:-webkit-autofill:focus,
.form-field input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px white inset !important;
  box-shadow: 0 0 0 1000px white inset !important;
  -webkit-text-fill-color: var(--text) !important;
  caret-color: var(--text);
  border: 1.5px solid var(--beige) !important;
  transition: background-color 5000s ease-in-out 0s;
}

.form-field select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%236b4f2c'><path d='M5.5 7.5l4.5 4.5 4.5-4.5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px 18px;
  cursor: pointer;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(199, 98, 26, 0.1);
}

.form-field textarea {
  resize: vertical;
  min-height: 140px;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--brown-light);
  opacity: 0.7;
}

.field-hint {
  font-size: 12px;
  color: var(--text-soft);
  margin-top: -2px;
}

.form-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  color: var(--text);
  font-size: 14px;
  cursor: pointer;
  user-select: none;
  padding: 4px 0;
}
.form-checkbox input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  padding: 0;
  margin: 0;
  flex-shrink: 0;
  border: 1.5px solid var(--beige);
  border-radius: 5px;
  background: white;
  cursor: pointer;
  position: relative;
  transition: var(--transition);
  box-sizing: border-box;
}
.form-checkbox input[type="checkbox"]:hover {
  border-color: var(--orange);
}
.form-checkbox input[type="checkbox"]:checked {
  background: var(--orange);
  border-color: var(--orange);
}
.form-checkbox input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 1px;
  width: 6px;
  height: 11px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.form-checkbox input[type="checkbox"]:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(199, 98, 26, 0.2);
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border-radius: var(--radius);
  margin-bottom: 12px;
  border: 1px solid var(--beige);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active { box-shadow: var(--shadow-md); }

.faq-question {
  width: 100%;
  padding: 22px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 16px;
  color: var(--brown-dark);
  text-align: left;
}

.faq-question::after {
  content: '+';
  font-size: 24px;
  color: var(--orange);
  font-weight: 300;
  transition: var(--transition);
}

.faq-item.active .faq-question::after {
  content: '−';
  transform: rotate(0deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  color: var(--text-soft);
}

.faq-answer-inner {
  padding: 0 24px 24px;
  font-size: 15px;
  line-height: 1.8;
}

/* ===== Footer ===== */
.footer {
  background: var(--brown-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 64px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer h4 {
  color: white;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.footer ul { list-style: none; }
.footer li { margin-bottom: 10px; font-size: 14px; }
.footer a { transition: var(--transition); }
.footer a:hover { color: var(--orange-light); }

.footer-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.footer-brand .logo-mark { background: linear-gradient(135deg, var(--orange) 0%, var(--orange-light) 100%); box-shadow: 0 4px 14px rgba(199, 98, 26, 0.4); }
.footer-brand .logo-text { color: white; }
.footer-brand .logo-text small {
  color: var(--orange-light);
  background: rgba(224, 138, 74, 0.15);
}

.footer-desc { font-size: 15px; line-height: 1.7; margin-bottom: 20px; }

.footer-info { display: grid; gap: 8px; font-size: 13px; }
.footer-info strong { color: white; margin-right: 8px; font-weight: 600; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  flex-wrap: wrap;
  gap: 12px;
}

/* ===== Animations ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-up {
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Notice tag colors (shared) ===== */
.notice-tag { display: inline-block; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; text-align: center; }
.tag-notice { background: rgba(199, 98, 26, 0.12); color: var(--orange); }
.tag-event  { background: rgba(122, 140, 92, 0.15); color: var(--green); }
.tag-news   { background: rgba(107, 79, 44, 0.12); color: var(--brown); }

/* ===== Home notice preview list ===== */
.home-notice-list {
  display: grid;
  gap: 12px;
  max-width: 980px;
  margin: 0 auto;
}
.home-notice-item {
  display: grid;
  grid-template-columns: 70px 1fr auto auto;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--beige);
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}
.home-notice-item:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
  border-color: var(--orange-light);
}
.home-notice-item:hover .home-notice-arrow { color: var(--orange); transform: translateX(4px); }
.home-notice-tag {
  display: inline-block;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}
.home-notice-tag.tag-notice { background: rgba(199, 98, 26, 0.12); color: var(--orange); }
.home-notice-tag.tag-event  { background: rgba(122, 140, 92, 0.15); color: var(--green); }
.home-notice-tag.tag-news   { background: rgba(107, 79, 44, 0.12); color: var(--brown); }
.home-notice-body strong {
  display: block;
  color: var(--brown-dark);
  font-size: 16px;
  margin-bottom: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.home-notice-body span {
  color: var(--text-soft);
  font-size: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.home-notice-date {
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}
.home-notice-arrow {
  font-size: 18px;
  color: var(--brown-light);
  transition: var(--transition);
}
@media (max-width: 720px) {
  .home-notice-item {
    grid-template-columns: 60px 1fr;
    gap: 12px;
  }
  .home-notice-date, .home-notice-arrow { display: none; }
}

/* ===== Activity chips (about page) ===== */
.activity-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.activity-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: linear-gradient(135deg, var(--cream-dark), #faf2e3);
  border: 1px solid var(--beige);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brown-dark);
  transition: var(--transition);
}
.activity-chip:hover {
  border-color: var(--orange-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.activity-chip .chip-icon {
  font-size: 15px;
  line-height: 1;
}

/* ===== Top floating button ===== */
.top-btn {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--brown-dark);
  color: white;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-md);
  z-index: 90;
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  pointer-events: none;
  transition: var(--transition);
}
.top-btn.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.top-btn:hover {
  background: var(--orange);
  transform: translateY(-3px) scale(1.05);
}
.top-btn-arrow {
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}
@media (max-width: 560px) {
  .top-btn { right: 16px; bottom: 16px; width: 46px; height: 46px; }
}

/* ===== Lightbox ===== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.lightbox.active { display: flex; }

.lightbox-img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 24px;
  display: grid;
  place-items: center;
  transition: var(--transition);
}

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

/* ===== Responsive ===== */
@media (max-width: 968px) {
  .nav-menu, .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .header.menu-open .nav-menu {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    box-shadow: var(--shadow-md);
  }

  .hero-content, .about-split { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { height: 400px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .stats-grid-5 { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .stats-grid-5 .stat-item + .stat-item::before { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .gallery-grid, .gallery-grid-large { grid-template-columns: repeat(2, 1fr); }
  section { padding: 70px 0; }
  .section-header { margin-bottom: 40px; }
}

@media (max-width: 560px) {
  .hero { min-height: auto; padding: 110px 0 60px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .gallery-grid, .gallery-grid-large { grid-template-columns: 1fr 1fr; }
}
