/* 모아쿠폰 — 벽돌색 + 웜그레이, Wanted Sans, 카드형 쿠폰, 반쪽 사진 첫 화면, 합니다체 */
:root {
  --ink: #231815;
  --ink-soft: #4d423e;
  --muted: #5e5450;
  --brick: #8f2d1f;
  --brick-deep: #6f2116;
  --brick-tint: #f6e7e2;
  --sand: #f3f0ed;
  --bg: #ffffff;
  --rule: #e2dcd8;
  --radius: 8px;
  --wrap: 1180px;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: "Wanted Sans Variable", "Wanted Sans", system-ui, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; font-size: 17px; line-height: 1.78; color: var(--ink); background: var(--bg); word-break: keep-all; overflow-wrap: break-word; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brick); text-underline-offset: 3px; }
a:hover { color: var(--brick-deep); }
h1, h2, h3 { line-height: 1.3; letter-spacing: -0.02em; margin: 0 0 .6em; color: var(--ink); }
h1 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; }
h2 { font-size: clamp(23px, 2.6vw, 31px); font-weight: 750; }
h3 { font-size: 19px; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.wrap.narrow > * { max-width: 780px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.section { padding: 64px 0; }
.mono { font-family: var(--mono); }

/* 버튼 */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: var(--radius); font-weight: 700; font-size: 16px; text-decoration: none; border: 2px solid var(--brick); cursor: pointer; white-space: nowrap; font-family: inherit; }
.btn-main { background: var(--brick); color: #fff; }
.btn-main:hover { background: var(--brick-deep); border-color: var(--brick-deep); color: #fff; }
.btn-line { background: #fff; color: var(--brick); }
.btn-line:hover { background: var(--brick-tint); }
.btn-sm { min-height: 40px; padding: 0 14px; font-size: 15px; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 18px; }
.kcode { font-family: var(--mono); font-size: .94em; font-weight: 600; color: var(--brick-deep); background: var(--brick-tint); padding: 1px 6px; border-radius: 4px; }
.copy-btn { font: inherit; font-size: 15px; font-weight: 700; color: var(--ink); background: #fff; border: 2px solid var(--ink); border-radius: var(--radius); min-height: 38px; padding: 0 12px; cursor: pointer; white-space: nowrap; }
.copy-btn:hover { background: var(--sand); }
.nocode { font-weight: 700; color: var(--muted); font-size: 15px; }
.text-link { font-weight: 700; }

/* 머리말 */
.site-header { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 2px solid var(--rule); }
.header-inner { display: flex; align-items: center; gap: 16px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.logo:hover { color: var(--ink); }
.logo-mark { width: 32px; height: 32px; }
.logo-mark .lm-a { fill: var(--brick); }
.logo-mark .lm-b { fill: #fff; stroke: var(--ink); stroke-width: 2.6; }
.logo-text { font-weight: 800; font-size: 20px; display: flex; align-items: baseline; gap: 8px; line-height: 1.2; }
.logo-sub { font-size: 14px; font-weight: 600; color: var(--muted); }
.main-nav { display: flex; gap: 4px; margin-left: auto; }
.main-nav a { padding: 8px 10px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 16px; border-radius: 6px; }
.main-nav a:hover { background: var(--sand); color: var(--ink); }
.main-nav a[aria-current="page"] { color: var(--brick); }
.main-nav .nav-cta { display: none; }
.header-cta { white-space: nowrap; }
.menu-toggle { display: none; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border: 2px solid var(--ink); background: #fff; border-radius: var(--radius); font: inherit; font-weight: 700; font-size: 15px; color: var(--ink); cursor: pointer; }
.ico svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; display: block; }

/* 첫 화면: 왼쪽 글 + 오른쪽 반쪽 사진 */
.hero { background: var(--sand); }
.hero-in { display: grid; grid-template-columns: 1fr 1fr; min-height: min(60svh, 600px); }
.wrap-l { padding: 56px 48px 56px max(24px, calc((100vw - var(--wrap)) / 2 + 24px)); align-self: center; }
.hero h1 { white-space: nowrap; font-size: clamp(36px, 4.6vw, 60px); letter-spacing: -0.03em; margin-bottom: .3em; }
.hero-lead { font-size: 18px; max-width: 30em; color: var(--ink-soft); }
.hero-card { background: #fff; border-radius: var(--radius); padding: 22px 24px 24px; margin-top: 22px; max-width: 470px; }
.hc-label { margin: 0 0 6px; font-weight: 700; color: var(--muted); font-size: 15px; }
.hc-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.hc-code { font-family: var(--mono); font-size: clamp(30px, 3.6vw, 40px); font-weight: 600; color: var(--brick); letter-spacing: .01em; }
.hc-note { margin: 6px 0 16px; font-size: 16px; }
.hero-card .btn { width: 100%; }
.hero-photo { margin: 0; position: relative; min-height: 320px; }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* 섹션 머리 */
.sec-top { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; margin-bottom: 28px; }
.sec-top h2 { margin: 0; }
.sec-top p { margin: 0; color: var(--muted); }

/* 쿠폰 목록: 카드 3칸 */
.tickets { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 24px; }
.ticket { display: flex; flex-direction: column; background: #fff; border: 2px solid var(--rule); border-radius: var(--radius); overflow: hidden; }
.tk-photo { display: block; }
.tk-photo img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.tk-body { padding: 18px 20px 6px; flex: 1; }
.tk-amount { margin: 0; font-size: 28px; font-weight: 800; color: var(--brick); letter-spacing: -0.02em; line-height: 1.2; }
.tk-body h3 { margin: 6px 0 4px; font-size: 18px; }
.tk-body h3 a { color: var(--ink); text-decoration: none; }
.tk-body h3 a:hover { text-decoration: underline; }
.tk-brief { margin: 0; color: var(--muted); font-size: 15px; }
.tk-code { padding: 12px 20px 20px; display: flex; flex-direction: column; gap: 10px; }
.tk-code-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tk-code .kcode { font-size: 17px; }
.tk-code .btn { width: 100%; }

/* 고르기: 제목 왼쪽, 내용 오른쪽 */
.split { background: var(--sand); }
.split-in, .two-col { display: grid; grid-template-columns: .75fr 1.25fr; gap: 48px; align-items: start; }
.pick-list { margin: 0 0 20px; }
.pick-list div { padding: 14px 0; border-bottom: 2px solid var(--rule); }
.pick-list div:first-child { padding-top: 0; }
.pick-list dt { font-weight: 700; font-size: 18px; }
.pick-list dd { margin: 2px 0 0; color: var(--ink-soft); }
.split-body > p { color: var(--muted); }

/* 이용 안내 6칸 */
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 36px; }
.guide-grid article { padding: 20px 0; border-top: 3px solid var(--ink); }
.guide-grid h3 a { color: var(--ink); text-decoration: none; }
.guide-grid h3 a:hover { color: var(--brick); text-decoration: underline; }
.guide-grid p { margin: 0; color: var(--ink-soft); font-size: 16px; }

/* 표 */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 1em; }
.info-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.info-table thead th { text-align: left; font-size: 15px; font-weight: 700; padding: 10px 12px; background: var(--sand); white-space: nowrap; }
.info-table td, .info-table tbody th { padding: 13px 12px; border-bottom: 2px solid var(--rule); text-align: left; vertical-align: middle; overflow-wrap: normal; }
.info-table tbody th { font-weight: 700; }
.ct-go { text-align: right; }
.spec-table tbody th { width: 8em; color: var(--muted); white-space: nowrap; }

/* 마감일 계산 */
.dl-sec { background: var(--brick); color: #fff; }
.dl-sec h2 { color: #fff; }
.dl-in { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.deadline { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 22px; }
.dl-input span { display: block; font-weight: 700; margin-bottom: 6px; }
.dl-input input { width: 100%; max-width: 280px; height: 48px; padding: 0 12px; font: inherit; font-size: 18px; border: 2px solid var(--ink); border-radius: var(--radius); background: #fff; color: var(--ink); }
.dl-input input:focus { outline: 3px solid var(--brick); outline-offset: 1px; }
.dl-out { list-style: none; margin: 16px 0 0; padding: 0; }
.dl-out li { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "name date" "days date"; gap: 0 12px; padding: 12px 0; border-top: 2px solid var(--rule); align-items: center; }
.dl-name { grid-area: name; font-weight: 700; }
.dl-days { grid-area: days; color: var(--muted); font-size: 15px; }
.dl-date { grid-area: date; font-size: 15px; font-weight: 600; color: var(--muted); text-align: right; }
.dl-date.set { font-variant-numeric: tabular-nums; font-size: 17px; font-weight: 700; color: var(--ink); }
.dl-date.past { color: #a3271b; }
.dl-d, .dl-left { white-space: nowrap; }
.dl-left::before { content: " / "; }
.text-block .deadline { max-width: 560px; margin-top: 8px; border: 2px solid var(--rule); }

/* 단계·점검·질문 */
.steps, .checklist { list-style: none; margin: 0; padding: 0; }
.steps li { display: flex; gap: 18px; padding: 16px 0; border-bottom: 2px solid var(--rule); }
.steps li:first-child { padding-top: 0; }
.step-no { flex-shrink: 0; width: 36px; font-size: 26px; font-weight: 800; color: var(--brick); line-height: 1.1; }
.steps h3 { margin: 0 0 4px; }
.steps p { margin: 0; color: var(--muted); }
.checklist li { padding: 14px 0 14px 18px; border-left: 3px solid var(--brick); margin-bottom: 12px; }
.checklist h3 { margin-bottom: 4px; }
.checklist p { margin: 0; color: var(--muted); }
.faq { border-bottom: 2px solid var(--rule); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 0; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { margin: 0; font-size: 18px; }
.faq[open] .ico { transform: rotate(45deg); }
.faq p { padding: 0 0 16px; margin: 0; color: var(--ink-soft); }
.digest-item { padding: 14px 0; border-bottom: 2px solid var(--rule); }
.digest-item h3 { margin: 0 0 4px; }
.digest-item p { margin: 0; color: var(--muted); }
.directory { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 32px; }
.directory li { padding: 14px 0; border-top: 2px solid var(--rule); }
.directory a { font-weight: 700; font-size: 18px; color: var(--ink); text-decoration: none; }
.directory a:hover { color: var(--brick); text-decoration: underline; }
.directory p { margin: 2px 0 0; font-size: 15px; color: var(--muted); }

/* 안쪽 페이지 */
.breadcrumb { font-size: 15px; color: var(--muted); padding: 18px 0 0; }
.breadcrumb a { color: var(--muted); }
.page-head { padding: 22px 0 44px; border-bottom: 2px solid var(--rule); }
.page-head-in { display: grid; grid-template-columns: 1fr; gap: 32px; }
.page-head.has-photo .page-head-in { grid-template-columns: 1.2fr .8fr; align-items: center; }
.page-lead { font-size: 18px; color: var(--ink-soft); max-width: 40em; }
.page-head-photo, .detail-photo { margin: 0; border-radius: var(--radius); overflow: hidden; }
.detail-head-in { display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: center; }
.detail-head.no-photo .detail-head-in { grid-template-columns: 1fr; }
.detail-head { padding-top: 22px; background: var(--sand); }
.detail-rate { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 22px; font-weight: 800; color: var(--brick); }
.detail-rate .kcode { font-size: 21px; }
.page-actions { margin-top: 18px; }
.text-block { margin-bottom: 44px; }
.text-block:last-child { margin-bottom: 0; }
.text-photo { margin: 0 0 18px; border-radius: var(--radius); overflow: hidden; }
.plain-list, .num-list { padding-left: 1.3em; margin: 0 0 1em; }
.plain-list li, .num-list li { margin-bottom: .5em; }
.num-list li::marker { font-weight: 800; color: var(--brick); }
.block-go { margin-top: 12px; }
.part-policy, .part-summary, .part-ship { background: var(--sand); }
.cta-strip { background: var(--ink); color: #fff; }
.cta-strip .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.cta-strip p { margin: 0; font-weight: 700; font-size: 18px; }
.cta-strip .btn-main { background: #fff; color: var(--ink); border-color: #fff; }
.cta-strip .btn-main:hover { background: var(--sand); color: var(--ink); }
.more-menu ul, .related-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.more-menu a { font-weight: 700; }
.related-list { flex-direction: column; }
.related-list span { color: var(--muted); font-size: 15px; margin-left: 6px; }
.back-link { margin-top: 20px; font-weight: 700; }
.static-page h1 { margin-top: 12px; }
.notfound { text-align: center; padding: 100px 0; }
.notfound .wrap.narrow > * { margin-left: auto; margin-right: auto; }

/* 꼬리말 */
.site-footer { background: #2a201d; color: #ddd3cf; padding: 52px 0 34px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr .8fr; gap: 28px; margin-bottom: 28px; }
.footer-brand .logo-text { color: #fff; }
.footer-brand p { font-size: 15px; margin-top: 10px; }
.footer-nav { display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.footer-title { font-weight: 800; color: #fff; margin: 0 0 4px; font-size: 16px; }
.footer-nav .strong { font-weight: 800; }
.disclaimer { font-size: 15px; color: #cfc4c0; margin: 0 0 8px; }
.to-top { display: inline-block; margin-top: 12px; font-weight: 700; }

.hero-in > *, .split-in > *, .two-col > *, .dl-in > *, .page-head-in > *, .detail-head-in > *, .footer-top > *, .sec-top > * { min-width: 0; }

@media (max-width: 1060px) {
  .main-nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 8px 24px 16px; border-bottom: 2px solid var(--rule); }
  .nav-open .main-nav { display: flex; }
  .main-nav a { padding: 12px 0; border-bottom: 2px solid var(--rule); border-radius: 0; }
  .menu-toggle { display: inline-flex; }
  .header-cta { margin-left: auto; }
}
@media (max-width: 960px) {
  .hero-in { grid-template-columns: 1fr; min-height: 0; }
  .wrap-l { padding: 40px 24px 36px; }
  .hero-photo { min-height: 0; aspect-ratio: 16 / 9; order: -1; max-height: 300px; width: 100%; }
  .split-in, .two-col, .dl-in, .page-head.has-photo .page-head-in, .detail-head-in, .sec-top { grid-template-columns: 1fr; }
  .split-in, .two-col { gap: 12px; }
  .sec-top { gap: 8px; }
  .tickets, .guide-grid { grid-template-columns: 1fr 1fr; }
  .directory { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding-left: 16px; padding-right: 16px; }
  .wrap-l { padding: 28px 16px 32px; }
  .logo-sub { display: none; }
  .section { padding: 46px 0; }
  .hero h1 { font-size: clamp(30px, 10.4vw, 44px); }
  .hero-lead { font-size: 17px; }
  .hero-card { padding: 18px 16px 18px; }
  .hc-code { font-size: clamp(26px, 8.6vw, 34px); }
  .tickets, .guide-grid, .directory { grid-template-columns: 1fr; }
  .tk-amount { font-size: 24px; }
  .cta-strip .wrap { flex-direction: column; align-items: flex-start; }
  .footer-top { grid-template-columns: 1fr; }
  .btn { white-space: normal; text-align: center; max-width: 100%; }
  .deadline { padding: 16px; }
  .dl-out li { grid-template-areas: "name name" "days date"; }
  .dl-left { display: block; font-size: 15px; }
  .dl-left::before { content: none; }
  .stack-sm thead { display: none; }
  .stack-sm, .stack-sm tbody, .stack-sm tr { display: block; width: 100%; }
  .stack-sm tr { padding: 10px 0 12px; border-bottom: 2px solid var(--rule); }
  .stack-sm tbody th, .stack-sm td { display: flex; gap: 12px; width: 100%; padding: 3px 0; border: 0; white-space: normal; }
  .stack-sm tbody th { font-size: 18px; padding-bottom: 6px; }
  .stack-sm td::before { content: attr(data-label); flex: 0 0 5.6em; font-weight: 700; color: var(--muted); }
  .stack-sm td.ct-go::before { content: none; }
  .stack-sm .ct-go .btn { width: 100%; }
  .info-table td, .info-table th { padding-left: 10px; padding-right: 10px; }
  .stack-sm tbody th, .stack-sm td { padding-left: 0; padding-right: 0; }
}
@media (max-width: 379px) {
  .header-cta { display: none; }
  .menu-toggle { margin-left: auto; }
  .main-nav .nav-cta { display: block; font-weight: 800; }
  .logo-text { font-size: 18px; }
}
