* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: hidden; }
body { min-height: 100vh; display: flex; flex-direction: column; font-family: "Noto Sans KR", sans-serif; background: #eef2f8; color: #172033; }
body * { font-family: inherit; }
button, input, textarea, select { font: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
main { flex: 1; }
.shell { width: min(1280px, calc(100% - 48px)); margin: 0 auto; }
.page-shell, .location-shell, .inquiry-shell { width: min(1280px, calc(100% - 48px)); margin: 0 auto; }
.section-eyebrow { display: inline-flex; align-items: center; width: fit-content; max-width: max-content; align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.18); color: #fff; font-size: .74rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.section-eyebrow.dark { background: rgba(var(--theme-secondary-rgb, 109, 136, 215), .12); color: var(--theme-primary, #12213d); }
.button { display: inline-flex; align-items: center; justify-content: center; margin-top: 28px; min-height: 48px; padding: 0 18px; border-radius: 14px; background: var(--theme-primary, #121b2d); color: #fff; border: 0; cursor: pointer; }
.button-light { background: #fff; color: #121b2d; }
.button-ghost { background: transparent; color: var(--theme-primary, #121b2d); border: 1px solid rgba(var(--theme-primary-rgb, 18,27,45), .18); }
.content-section, .page-section { padding: 28px 0 40px; }
.content-card { background: #fff; border-radius: 24px; padding: 32px; box-shadow: 0 18px 40px rgba(20,26,40,.08); }
.content-card h2, .content-card h1 { margin: 0 0 14px; line-height: 1.12; letter-spacing: -0.03em; }
.content-card p { margin: 0; color: #5c677d; line-height: 1.7; }
.page-block {
  margin-bottom: 24px;
  padding: 28px 30px;
  border: 1px solid rgba(18, 27, 45, 0.08);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 36px rgba(20, 26, 40, 0.06);
  backdrop-filter: blur(10px);
}
.page-block h1 { margin: 16px 0 12px; font-size: clamp(2.2rem, 4vw, 3.6rem); }
.page-block p, .page-list li { color: #5c677d; line-height: 1.8; }
.page-list { margin: 0; padding-left: 20px; }
.board-list { display: grid; gap: 14px; }
.board-item { display: flex; justify-content: space-between; gap: 14px; background: #fff; padding: 20px 22px; border-radius: 18px; box-shadow: 0 10px 24px rgba(20,26,40,.06); }
.post-detail { max-width: 900px; }
.inquiry-form { display: grid; gap: 16px; align-items: start; }
.inquiry-form label { display: grid; gap: 8px; align-content: start; align-self: start; min-width: 0; }
.inquiry-field { display: grid; gap: 8px; align-content: start; align-self: start; min-width: 0; }
.inquiry-form span { font-weight: 700; }
.inquiry-form input, .inquiry-form textarea { width: 100%; padding: 14px 16px; border: 1px solid #d8dfe8; border-radius: 14px; background: #f8fafc; }
.inquiry-form select { width: 100%; padding: 14px 16px; border: 1px solid #d8dfe8; border-radius: 14px; background: #f8fafc; }
.inquiry-form textarea { min-height: 140px; resize: vertical; }
.choice-group { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.choice-group-wide { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.choice-pill { position: relative; display: block !important; }
.choice-pill input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice-pill span { display: flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 16px; border: 1px solid #d8dfe8; border-radius: 14px; background: #f8fafc; color: #5c677d; font-weight: 700; transition: border-color .18s ease, background-color .18s ease, color .18s ease, box-shadow .18s ease; }
.choice-pill input:checked + span { border-color: var(--theme-primary, #12213d); background: var(--theme-primary, #12213d); color: #fff; box-shadow: 0 10px 20px rgba(var(--theme-primary-rgb, 18,33,61), .18); }
.choice-pill input:focus-visible + span { outline: 2px solid var(--theme-secondary, #6d88d7); outline-offset: 2px; }
.inquiry-form-tabs { margin-top: 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.inquiry-form-tab { text-decoration: none; }
.inquiry-form-tab span {
  min-height: 64px;
  border-radius: 18px;
  background: linear-gradient(180deg, #fbfdff 0%, #f3f7fc 100%);
  color: #3e4b63;
  box-shadow: inset 0 0 0 1px rgba(18, 27, 45, 0.06);
}
.inquiry-form-tab[aria-current="page"] span,
.inquiry-form-tab.is-active span,
.inquiry-form-tab span.is-active {
  box-shadow:
    0 14px 28px rgba(var(--theme-primary-rgb, 18,33,61), .18),
    inset 0 0 0 1px var(--theme-primary, #12213d);
  border-color: var(--theme-primary, #12213d);
  background: var(--theme-primary, #12213d);
  color: #fff;
}
.inquiry-form-panel { margin-top: 24px; }
.field-help { display: block; margin-top: 6px; color: #7a869d; font-size: .86rem; line-height: 1.5; }
.inquiry-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.switch-row { display: inline-flex; align-items: center; gap: 10px; width: fit-content; font-weight: 700; color: #243552; line-height: 1.2; cursor: pointer; }
.switch-row.switch-row-compact { gap: 0; }
.switch-row input[type="checkbox"] { flex: 0 0 auto; appearance: none; width: 48px; min-width: 48px; height: 28px; min-height: 28px; padding: 0; border: 0; border-radius: 999px; background: #d7dfec; position: relative; margin: 0; cursor: pointer; transition: background-color .18s ease; vertical-align: middle; }
.switch-row input[type="checkbox"]::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 999px; background: #fff; box-shadow: 0 2px 8px rgba(14,22,38,.18); transition: transform .18s ease; }
.switch-row input[type="checkbox"]:checked { background: var(--theme-primary, #12213d); }
.switch-row input[type="checkbox"]:checked::after { transform: translateX(20px); }
.form-span-2 { grid-column: 1 / -1; }

@media (max-width: 768px) {
  .shell, .page-shell, .inquiry-shell, .location-shell { width: min(100% - 28px, 100%); }
  .content-card { padding: 22px; }
  .page-block { padding: 22px 20px; border-radius: 22px; }
  .content-section, .page-section { padding: 18px 0 24px; }
  .inquiry-form-tabs { grid-template-columns: 1fr; }
  .choice-group,
  .choice-group-wide { grid-template-columns: 1fr; }
}
