/* 색을 바꾸고 싶으면 아래 값만 수정하면 됩니다. */
:root {
  --bg: #faf7f1;          /* 따뜻한 아이보리 */
  --surface: #ffffff;
  --text: #33382f;
  --muted: #626a5d;
  --sage: #4f6f58;        /* 차분한 녹색 */
  --sage-soft: #e6ede3;
  --apricot: #f2c1a0;     /* 부드러운 살구색 */
  --apricot-soft: #fbeade;
  --line: #e4dfd4;
  --radius: 16px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Pretendard", "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.wrap { width: min(960px, 100% - 40px); margin: 0 auto; }

/* 상단 메뉴 */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.site-header .wrap {
  display: flex; flex-wrap: wrap; gap: 8px 24px;
  align-items: center; justify-content: space-between; padding: 16px 0;
}
.logo { font-weight: 700; font-size: 1.1rem; color: var(--sage); text-decoration: none; }
nav { display: flex; flex-wrap: wrap; gap: 4px; }
nav a { color: var(--muted); text-decoration: none; padding: 6px 14px; border-radius: 999px; }
nav a:hover { background: var(--sage-soft); }
nav a[aria-current="page"] { background: var(--sage-soft); color: var(--sage); font-weight: 700; }

/* 첫 영역 */
.hero { background: linear-gradient(160deg, var(--sage-soft), var(--apricot-soft)); padding: 72px 0; }
.hero h1 { font-size: clamp(1.7rem, 4.5vw, 2.5rem); line-height: 1.35; margin: 0 0 16px; }
.hero p { margin: 0; max-width: 620px; color: var(--muted); font-size: 1.05rem; }
.hero.small { padding: 48px 0; }

section { padding: 48px 0 0; }
h2 { font-size: 1.4rem; margin: 0 0 16px; }
h3 { font-size: 1.08rem; margin: 0 0 8px; }
.lead { color: var(--muted); margin-top: -8px; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button {
  display: inline-block; border: 2px solid var(--sage); border-radius: 999px;
  padding: 10px 24px; background: var(--sage); color: #fff;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
}
.button.secondary { background: var(--surface); color: var(--sage); }
.button:disabled { opacity: .45; cursor: not-allowed; }

/* 카드 */
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card p, .card ul { margin: 0; }
.card ul { padding-left: 20px; }
.card .button { margin-top: 20px; }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps.grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.steps > li { counter-increment: step; }
.steps > li::before {
  content: counter(step); display: inline-grid; place-items: center;
  width: 32px; height: 32px; margin-bottom: 12px; border-radius: 50%;
  background: var(--apricot); font-weight: 700;
}

.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: var(--surface); }
th, td { border: 1px solid var(--line); padding: 12px 16px; text-align: left; }
thead th { background: var(--sage-soft); }
tbody th { white-space: nowrap; }
@media (max-width: 520px) {
  th, td { padding: 8px; font-size: .9rem; }
}

.note { background: var(--apricot-soft); border-radius: var(--radius); padding: 16px 20px; }
.tag {
  display: inline-block; background: var(--apricot-soft); border-radius: 6px;
  padding: 0 8px; font-size: .8rem; color: #7a4a2c;
}

details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; margin-bottom: 12px; }
summary { cursor: pointer; font-weight: 700; }

/* 예약 */
.booking { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
fieldset { border: 0; padding: 0; margin: 0 0 28px; min-width: 0; }
legend { font-weight: 700; margin-bottom: 12px; padding: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; }
.choice span {
  display: block; height: 100%; padding: 10px 16px; cursor: pointer;
  border: 2px solid var(--line); border-radius: 12px; background: var(--surface);
}
.choice small { display: block; color: var(--muted); }
.choice input:checked + span { border-color: var(--sage); background: var(--sage-soft); font-weight: 700; }
.choice input:focus-visible + span { outline: 3px solid var(--apricot); outline-offset: 2px; }

.result { margin-top: 20px; }
.result dl { display: grid; grid-template-columns: max-content 1fr; gap: 4px 16px; margin: 12px 0; }
.result dt { color: var(--muted); }
.result dd { margin: 0; font-weight: 700; }
.hint { color: var(--muted); font-size: .92rem; }

a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--apricot); outline-offset: 2px; }

footer { margin-top: 64px; padding: 24px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
