/* ============================================================
   불광동절 (BulGwang-dong Jeol) — 공통 디자인 시스템
   젊고 트렌디한 모던 · 그라디언트 · 큰 타이포
   ============================================================ */

:root {
  /* 팔레트 — 밝은 한지 톤 + 버건디/금색 액센트 (밥할머니 로고와 매치) */
  --bg: #fbf6ec;
  --bg-2: #f4ecdc;
  --surface: #ffffff;
  --surface-2: #f6efe2;
  --ink: #3a2f28;
  --muted: #8a7d6d;
  --gold: #c8942d;
  --gold-soft: #e0b45c;
  --burgundy: #8c2f39;
  --burgundy-2: #6b2130;
  --accent: #8c2f39;
  --accent-2: #a8444f;
  --pink: #c96a6a;
  --teal: #5b8a7a;

  --grad-main: linear-gradient(135deg, #a8444f 0%, #8c2f39 55%, #c8942d 130%);
  --grad-gold: linear-gradient(135deg, #c8942d 0%, #e0b45c 100%);
  --grad-warm: linear-gradient(135deg, #c96a6a 0%, #c8942d 100%);

  --border: rgba(58, 47, 40, 0.1);
  --radius: 20px;
  --radius-sm: 12px;

  --font-sans: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Noto Sans KR", sans-serif;
  --font-display: "Pretendard", -apple-system, "Segoe UI", sans-serif;

  --shadow: 0 20px 60px rgba(107, 33, 48, 0.16);
  --shadow-soft: 0 10px 30px rgba(107, 33, 48, 0.12);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

img {
  max-width: 100%;
  display: block;
}

/* 배경 장식 — 떠다니는 그라디언트 블롭 */
.bg-glow {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.bg-glow .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.32;
  animation: float 18s ease-in-out infinite;
}
.bg-glow .blob.b1 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, #c8942d 0%, transparent 70%);
  top: -120px;
  left: -80px;
}
.bg-glow .blob.b2 {
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, #c96a6a 0%, transparent 70%);
  top: 20%;
  right: -120px;
  animation-delay: -6s;
}
.bg-glow .blob.b3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #a8444f 0%, transparent 70%);
  bottom: -140px;
  left: 30%;
  animation-delay: -12s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.08); }
}

/* ============ 내비게이션 ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  background: rgba(251, 246, 236, 0.78);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}
.brand .mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--grad-main);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  flex: none;
  box-shadow: 0 6px 18px rgba(200, 148, 45, 0.35);
}
.brand-logo {
  height: 38px;
  width: auto;
  display: block;
  flex: none;
}
.brand small {
  display: block;
  font-size: 0.62rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.08em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  padding: 9px 15px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  transition: all 0.22s ease;
  position: relative;
  white-space: nowrap;
}
.nav-links a:hover {
  color: var(--ink);
  background: rgba(140, 47, 57, 0.06);
}
.nav-links a.active {
  color: var(--ink);
  background: rgba(140, 47, 57, 0.1);
}
.nav-links .soon {
  position: absolute;
  top: -4px;
  right: -4px;
  font-size: 0.55rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 999px;
  background: var(--grad-gold);
  color: #3a2f28;
}
.nav-cta {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--grad-main);
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  box-shadow: 0 8px 24px rgba(140, 47, 57, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(140, 47, 57, 0.4);
}
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--ink);
  border-radius: 10px;
  width: 42px;
  height: 42px;
  font-size: 1.3rem;
  cursor: pointer;
}

/* ============ 공통 레이아웃 ============ */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  padding: 96px 0;
}
.section-sm {
  padding: 60px 0;
}

/* ============ 타이포 ============ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--grad-gold);
  border-radius: 2px;
}
h1.display {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 900;
}
h2.heading {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 800;
}
.grad-text {
  background: var(--grad-main);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.grad-text-gold {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 640px;
}

/* ============ 버튼 ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.98rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: none;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-primary {
  background: var(--grad-main);
  color: #fff;
  box-shadow: 0 12px 30px rgba(140, 47, 57, 0.28);
}
.btn-gold {
  background: var(--grad-gold);
  color: #3a2f28;
  box-shadow: 0 12px 30px rgba(200, 148, 45, 0.28);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid var(--border);
  color: var(--ink);
}

/* ============ 카드 ============ */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(140, 47, 57, 0.2);
  box-shadow: var(--shadow-soft);
}
.grid {
  display: grid;
  gap: 20px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ============ 푸터 ============ */
.footer {
  border-top: 1px solid var(--border);
  padding: 60px 24px 40px;
  background: #f4ecdc;
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}
.footer h4 {
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.footer a, .footer p {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 8px;
}
.footer a:hover { color: var(--ink); }
.footer .sns-link {
  display: inline-block;
  margin-top: 4px;
  padding: 7px 14px;
  border: 1px solid rgba(200, 148, 45, 0.4);
  border-radius: 999px;
  color: #8c2f39;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.2s;
}
.sns-icon {
  width: 16px;
  height: 16px;
  vertical-align: -3px;
  margin-right: 5px;
  border-radius: 4px;
}
.btn .sns-icon {
  vertical-align: -2px;
  border-radius: 3px;
}
.footer .sns-link:hover {
  background: var(--grad-gold);
  color: var(--ink);
  border-color: transparent;
}
.footer-bottom {
  max-width: 1180px;
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
}

/* ============ 반응형 ============ */
@media (max-width: 860px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .nav-links {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(251, 246, 236, 0.97);
    border-bottom: 1px solid var(--border);
    padding: 16px;
    gap: 4px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { text-align: center; }
  .nav-toggle { display: grid; place-items: center; }
  .nav-cta { display: none; }
}
@media (max-width: 560px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
}

/* ============ 등장 애니메이션 ============ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }
