:root {
  --bg: #f6f1e8;
  --bg-2: #ece4d8;
  --surface: #fffdf9;
  --text: #1b1a18;
  --muted: #6e665f;
  --line: #ddd2c2;
  --accent: #c5672f;
  --accent-2: #14483e;
  --shadow: 0 14px 30px rgba(41, 29, 14, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Noto Sans KR', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% -10%, #ffffff 0, transparent 45%),
    radial-gradient(circle at 90% 0%, #f3ebe0 0, transparent 40%),
    linear-gradient(180deg, var(--bg), var(--bg-2));
  line-height: 1.62;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 253, 249, 0.86);
  border-bottom: 1px solid rgba(221, 210, 194, 0.8);
  backdrop-filter: blur(12px);
}

.nav-wrap {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  color: var(--text);
  text-decoration: none;
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  letter-spacing: 0.02em;
}

.main-nav {
  display: flex;
  gap: 1.1rem;
}

.main-nav a {
  text-decoration: none;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.42rem 0.72rem;
  border-radius: 999px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  background: #eadcc9;
  color: #241d15;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 12px;
  padding: 0.38rem 0.66rem;
  font-size: 1.05rem;
}

.hero,
.page-hero {
  padding: 90px 0 58px;
}

.hero-content,
.page-hero-content {
  background: linear-gradient(135deg, rgba(255, 253, 249, 0.95), rgba(255, 245, 232, 0.94));
  border: 1px solid #e4d5c0;
  border-radius: 28px;
  padding: clamp(28px, 4vw, 54px);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero-content::after,
.page-hero-content::after {
  content: '';
  position: absolute;
  right: -30px;
  top: -24px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(197, 103, 47, 0.22) 0%, rgba(197, 103, 47, 0) 70%);
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-2);
  font-weight: 700;
  font-size: 0.78rem;
}

h1,
h2,
h3 {
  margin: 0 0 0.9rem;
  line-height: 1.25;
}

h1,
.page-hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.25rem);
}

h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.45rem, 3.2vw, 2.1rem);
}

.section {
  padding: 62px 0;
}

.section.alt {
  background: linear-gradient(180deg, #fcf7f0, #f4ece0);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-lead,
.hero-text,
.page-hero-content p,
.card p,
.help-text {
  color: var(--muted);
}

.hero-actions {
  margin-top: 1.35rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  padding: 0.72rem 1.1rem;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(130deg, var(--accent), #d37f4d);
  color: #fff;
}

.btn-ghost {
  background: #fff;
  color: var(--text);
  border-color: #decebb;
}

.btn-small {
  background: #fff;
  border-color: #decebb;
  color: #3e2f21;
}

.split {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1.15rem;
}

.feature-list {
  margin: 0;
  list-style: none;
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}

.feature-list li {
  padding: 0.72rem 0;
  border-bottom: 1px solid #eee2d2;
}

.feature-list li:last-child {
  border-bottom: 0;
}

.cards {
  margin-top: 1.1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.92rem;
}

.card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  padding: 1.1rem;
  box-shadow: var(--shadow);
}

.card-tag {
  margin: 0;
  color: var(--accent-2);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.price {
  font-weight: 700;
  color: #2d241c;
}

.enroll-layout {
  margin-top: 1.1rem;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 0.9rem;
}

.enroll-form,
.checkout-preview,
.info-panel,
.gallery-panel {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  padding: 1.1rem;
  box-shadow: var(--shadow);
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.enroll-form label,
.enroll-form fieldset,
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.8rem;
  font-size: 0.93rem;
}

.enroll-form input,
.enroll-form select,
.enroll-form textarea,
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #ddcfbf;
  border-radius: 11px;
  padding: 0.62rem 0.72rem;
  font-size: 0.94rem;
  background: #fff;
}

.enroll-form fieldset {
  border: 1px solid #decebb;
  border-radius: 12px;
  padding: 0.68rem;
}

.payment-methods {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.payment-methods label,
.checkbox {
  margin: 0;
  display: inline-flex;
  gap: 0.4rem;
  align-items: center;
}

.checkout-preview code {
  display: block;
  margin-top: 0.58rem;
  background: #fbf8f4;
  border: 1px dashed #d4c6b6;
  border-radius: 12px;
  padding: 0.7rem;
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 0.82rem;
}

.mood-grid {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.mood-grid div {
  min-height: 140px;
  border: 1px solid var(--line);
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.04rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(245, 230, 212, 0.9)),
    repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(197, 103, 47, 0.12) 10px, rgba(197, 103, 47, 0.12) 11px);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.92rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #fffcf8;
  padding: 30px 0 36px;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.contact-form {
  width: min(430px, 100%);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  padding: 1rem;
}

.comments-section {
  padding: 38px 0 70px;
  background: #fff;
  border-top: 1px solid var(--line);
}

#disqus_thread {
  margin-top: 0.9rem;
}

.reveal {
  animation: rise 0.5s ease both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 940px) {
  .cards,
  .mood-grid,
  .field-grid,
  .enroll-layout,
  .split,
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 740px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 74px;
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 0.8rem 4%;
  }

  .main-nav.open {
    display: flex;
  }

  .hero,
  .page-hero {
    padding-top: 58px;
  }

  .footer-wrap,
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}
