/* ─────────────── 디자인 토큰: 주황 + 초록, 흰 카드, 둥근 모서리 ─────────────── */
:root {
  --orange: #ff8a3d;
  --orange-ink: #c2540a;      /* 흰 배경 위 주황 텍스트 (대비 확보) */
  --orange-soft: #fff1e6;
  --green: #14935f;
  --green-deep: #0f7a4e;
  --green-soft: #e7f6ee;
  --text: #1c1e23;
  --muted: #626975;
  --line: #eceef2;
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f5f6f8;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 2px 6px rgba(20, 30, 50, .04), 0 10px 30px rgba(20, 30, 50, .06);
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --hex: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100' viewBox='0 0 56 100'%3E%3Cpath d='M28 66L0 50L0 16L28 0L56 16L56 50L28 66L28 100' fill='none' stroke='%23ffffff' stroke-opacity='.16' stroke-width='1.5'/%3E%3C/svg%3E");
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --orange-ink: #ffa366;
    --orange-soft: #3a2415;
    --green: #17a56b;
    --green-deep: #12855a;
    --green-soft: #133024;
    --text: #eceef2;
    --muted: #a3aab6;
    --line: #2a2f37;
    --bg: #111317;
    --surface: #181b20;
    --surface-2: #1f232a;
    --shadow: none;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
[id] { scroll-margin-top: 96px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.7 var(--font);
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--green); text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.3; letter-spacing: -0.025em; font-weight: 800; }
h1 { font-size: clamp(1.8rem, 5vw, 3rem); margin: .25em 0 .4em; }
h2 { font-size: clamp(1.35rem, 3vw, 1.75rem); margin: 2.4em 0 .8em; }
h3 { font-size: 1.1rem; margin: 0 0 .5em; font-weight: 700; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 20; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.small { font-size: .88rem; color: var(--muted); }
.muted { color: var(--muted); }
.center { text-align: center; }
.accent { color: var(--orange-ink); font-weight: 700; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }

/* ─────────────── 버튼·배지 ─────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--green); color: #fff; font-weight: 700;
  padding: 12px 22px; border-radius: 10px; text-decoration: none;
  box-shadow: 0 6px 16px rgba(20, 147, 95, .25);
  transition: background .15s, transform .15s;
}
.btn:hover { background: var(--green-deep); transform: translateY(-1px); }
.btn-sm { padding: 8px 16px; font-size: .9rem; box-shadow: none; }
.btn-ghost { background: transparent; color: var(--green); border: 1.5px solid var(--green); box-shadow: none; }
.btn-ghost:hover { background: var(--green-soft); }
.link-cta { color: var(--orange-ink); font-weight: 700; text-decoration: none; }
.link-cta:hover { text-decoration: underline; }

.pill, .kicker {
  display: inline-block; margin: 0;
  background: var(--orange-soft); color: var(--orange-ink);
  font-size: .82rem; font-weight: 700; padding: 5px 12px; border-radius: 8px;
}
.pill a, .kicker a { color: inherit; text-decoration: none; }
.eyebrow {
  display: inline-block; margin: 0 0 4px;
  background: var(--green-soft); color: var(--green);
  font-size: .72rem; font-weight: 800; letter-spacing: .12em; padding: 4px 10px; border-radius: 6px;
}
.section-head { margin-top: 3.2em; }
.section-head h2 { margin-top: .2em; }

/* ─────────────── 상단 바·헤더 ─────────────── */
.topbar {
  background: var(--orange); color: #fff; text-align: center;
  font-size: .8rem; font-weight: 600; padding: 7px 16px;
}
.site-header {
  background: var(--surface); border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 10;
}
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1.2rem; letter-spacing: -0.03em; color: var(--text); text-decoration: none; }
.logo-mark { width: 30px; height: 30px; color: var(--green); }
.main-nav { display: flex; gap: 22px; overflow-x: auto; scrollbar-width: none; }
.main-nav::-webkit-scrollbar { display: none; }
.main-nav a {
  color: var(--text); text-decoration: none; font-size: .95rem; font-weight: 600;
  padding: 6px 2px; border-bottom: 2.5px solid transparent; white-space: nowrap;
}
.main-nav a:hover { color: var(--green); }
.main-nav a[aria-current] { color: var(--green); border-bottom-color: var(--green); }
.header-cta { margin-left: auto; }
@media (max-width: 720px) {
  .header-inner { flex-wrap: wrap; gap: 0 12px; min-height: 0; padding-top: 10px; }
  .main-nav { order: 3; width: calc(100% + 32px); margin: 4px -16px 0; padding: 0 16px 6px; gap: 18px; }
}

/* ─────────────── 빵부스러기 ─────────────── */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; padding: 0; margin: 20px 0 0; font-size: .82rem; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 4px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--green); }

/* ─────────────── 히어로 ─────────────── */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 24px; padding: 48px 0 0; }
.hero h1 { font-size: clamp(2rem, 5.2vw, 3.3rem); }
.lead { font-size: 1.06rem; color: var(--muted); margin: 0 0 1.4em; max-width: 34em; }
.hero-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.hero-visual { position: relative; }
.hero-art { width: 100%; height: auto; display: block; }
.ticket {
  position: absolute; background: var(--surface); color: var(--text);
  border-radius: 16px; box-shadow: 0 18px 40px rgba(194, 84, 10, .22);
}
.ticket-main {
  left: 38%; top: 34%; width: 200px; padding: 16px 18px 18px;
  display: grid; gap: 2px; transform: rotate(-4deg);
  border-left: 6px solid var(--green);
}
.ticket-park { font-weight: 800; font-size: 1.05rem; }
.ticket-via { font-size: .78rem; color: var(--muted); }
.ticket s { color: var(--muted); font-size: .85rem; margin-top: 6px; }
.ticket strong { font-size: 1.6rem; letter-spacing: -0.03em; color: var(--green); line-height: 1.1; }
.ticket-save {
  justify-self: start; margin-top: 6px; background: var(--orange); color: #fff;
  font-size: .78rem; font-weight: 800; padding: 3px 10px; border-radius: 99px;
}
.ticket-sub { right: 2%; bottom: 6%; padding: 10px 14px; font-size: .88rem; font-weight: 600; transform: rotate(3deg); }
.ticket-sub b { color: var(--orange-ink); }
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; padding-top: 28px; }
  .hero-visual { max-width: 420px; margin: 0 auto; width: 100%; }
  .ticket-main { width: 172px; padding: 12px 14px 14px; top: 22%; left: 34%; }
  .ticket strong { font-size: 1.35rem; }
  .ticket-sub { bottom: 4%; right: 0; font-size: .8rem; }
  .header-cta { padding: 7px 14px; font-size: .85rem; }
}

/* ─────────────── 초록 통계 밴드 ─────────────── */
.stats {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--green); color: #fff; border-radius: 24px;
  padding: 40px 24px; margin: 0 0 8px; text-align: center;
}
.stats::after {
  content: ""; position: absolute; inset: 0; background: var(--hex);
  -webkit-mask-image: linear-gradient(90deg, transparent 35%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 35%, #000 100%);
  pointer-events: none;
}
.stats > div { position: relative; z-index: 1; display: grid; gap: 2px; }
.stats strong { font-size: clamp(1.6rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; }
.stats span { font-size: .9rem; opacity: .85; }
.hero + .stats { margin-top: -6px; }
.stats-3 { grid-template-columns: repeat(3, 1fr); padding: 28px 16px; margin: 24px 0 12px; }
.stats-3 strong { font-size: clamp(1.3rem, 3.4vw, 1.9rem); }
@media (max-width: 640px) {
  .stats { grid-template-columns: repeat(2, 1fr); gap: 22px 8px; padding: 28px 12px; }
  .stats-3 { grid-template-columns: repeat(3, 1fr); gap: 4px; }
  .stats-3 span { font-size: .78rem; }
}

.callout { background: var(--orange-soft); border-radius: var(--radius-sm); padding: 14px 18px; margin: 12px 0; font-size: .95rem; }

/* ─────────────── 본문 ─────────────── */
.article { max-width: 820px; margin: 0 auto; }
.article-head { padding-top: 20px; }
.meta { font-size: .84rem; color: var(--muted); margin: 0; }
.official { margin-top: 2.4em; font-size: .9rem; color: var(--muted); }

.toc { padding: 18px 22px; margin: 24px 0; font-size: .95rem; background: var(--surface-2); border: 0; box-shadow: none; }
.toc ol { margin: 6px 0 0; padding-left: 1.2em; }
.toc a { color: var(--text); text-decoration: none; }
.toc a:hover { color: var(--green); }

/* 표 */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 460px; }
th, td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
thead th { background: var(--green-soft); color: var(--green-deep); font-size: .84rem; font-weight: 700; white-space: nowrap; }
@media (prefers-color-scheme: dark) { thead th { color: #7fdcb0; } }
tbody tr:last-child > * { border-bottom: 0; }
tr.current { background: var(--orange-soft); }

/* 할인 종류 칩 */
.chip { display: inline-block; font-size: .74rem; font-weight: 700; padding: 3px 9px; border-radius: 6px; background: var(--green-soft); color: var(--green); white-space: nowrap; vertical-align: middle; }
.chip-muted { background: var(--surface-2); color: var(--muted); }
.chip-online { background: #e8f0ff; color: #2350c8; }
.chip-card { background: #f2e9ff; color: #7a2fc4; }
.chip-telecom { background: #fde8f2; color: #b81d63; }
.chip-preferential { background: var(--green-soft); color: var(--green-deep); }
.chip-evening, .chip-exam { background: var(--orange-soft); color: var(--orange-ink); }
.chip-local, .chip-package, .chip-annual, .chip-birthday, .chip-group { background: var(--surface-2); color: var(--muted); }
@media (prefers-color-scheme: dark) {
  .chip-online { background: #172a4a; color: #93b4ff; }
  .chip-card { background: #2c1a40; color: #d0a8ff; }
  .chip-telecom { background: #3a1529; color: #ff9ccc; }
  .chip-preferential { color: #7fdcb0; }
}

/* 할인 상세 */
.discount { padding: 18px 20px; margin-bottom: 10px; background: var(--surface-2); border-radius: var(--radius-sm); }
.discount dl { display: grid; grid-template-columns: 76px 1fr; gap: 4px 12px; margin: 0; font-size: .95rem; }
.discount dt { color: var(--muted); }
.discount dd { margin: 0; }

.tips { padding-left: 0; list-style: none; counter-reset: tip; }
.tips li { counter-increment: tip; position: relative; padding-left: 40px; margin-bottom: 12px; }
.tips li::before {
  content: counter(tip); position: absolute; left: 0; top: 1px;
  width: 26px; height: 26px; border-radius: 8px; background: var(--orange-soft); color: var(--orange-ink);
  font-weight: 800; font-size: .85rem; display: grid; place-items: center;
}

/* ─────────────── 파크 카드 ─────────────── */
.park-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.park-card {
  position: relative; display: flex; flex-direction: column; gap: 4px; padding: 20px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); color: var(--text); text-decoration: none;
  transition: border-color .15s, transform .15s;
}
.park-card:hover { border-color: var(--green); transform: translateY(-3px); }
.park-card-top { display: flex; gap: 4px; }
.park-card-name { font-size: 1.12rem; margin-top: 8px; letter-spacing: -0.02em; }
.park-card-price, .park-card-count { font-size: .86rem; color: var(--muted); }
.park-card-save {
  align-self: flex-start; margin-top: 6px; background: var(--orange); color: #fff;
  font-size: .82rem; font-weight: 800; padding: 3px 10px; border-radius: 99px;
}

/* ─────────────── 가이드 목록 ─────────────── */
.guide-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.guide-list a {
  display: block; height: 100%; padding: 18px 20px; background: var(--surface-2);
  border-radius: var(--radius-sm); text-decoration: none; color: var(--text); border: 1px solid transparent;
}
.guide-list a:hover { border-color: var(--green); background: var(--surface); }
.guide-list strong { display: block; font-weight: 700; }
.guide-list span { display: block; font-size: .86rem; color: var(--muted); margin-top: 4px; }

/* ─────────────── FAQ ─────────────── */
.faq-wrap { max-width: 760px; margin: 0 auto; }
.faq-wrap h2 { text-align: center; }
.faq details { background: var(--surface-2); border-radius: var(--radius-sm); margin-bottom: 10px; padding: 0 20px; }
.faq summary { cursor: pointer; padding: 16px 28px 16px 0; font-weight: 600; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 13px; font-size: 1.3rem; font-weight: 400; color: var(--muted); }
.faq details[open] summary::after { content: "−"; color: var(--green); }
.faq p { margin: 0 0 16px; color: var(--muted); font-size: .95rem; }

/* ─────────────── 계산기 (초록 패널) ─────────────── */
.calc {
  position: relative; overflow: hidden;
  background: var(--green); color: #fff; border: 0; border-radius: 24px;
  padding: 28px; margin: 24px 0 12px; box-shadow: 0 20px 40px rgba(20, 147, 95, .18);
}
.calc::before {
  content: ""; position: absolute; right: -40px; top: -40px; width: 260px; height: 260px;
  background: var(--hex); border-radius: 50%; pointer-events: none;
}
.calc > * { position: relative; }
.calc-title { margin: 0 0 16px; font-size: 1.35rem; color: #fff; }
.calc .field { display: grid; gap: 6px; margin-bottom: 18px; font-weight: 600; font-size: .9rem; }
.calc select, .calc input[type=number] {
  font: inherit; color: #1c1e23; background: #fff; border: 1px solid transparent;
  border-radius: 10px; padding: 9px 12px;
}
.calc select { width: 100%; }
.calc select:focus, .calc input:focus { outline: 3px solid var(--orange); outline-offset: 0; }
fieldset { border: 0; padding: 0; margin: 0 0 16px; min-width: 0; }
.calc legend { font-weight: 700; font-size: .9rem; margin-bottom: 6px; color: #fff; opacity: .9; }
.calc-row { display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 8px; padding: 6px 0; }
.calc-label { font-weight: 700; }
.calc-price { display: flex; align-items: center; gap: 4px; font-size: .9rem; }
.calc-price input { width: 100%; max-width: 120px; text-align: right; }
.stepper { display: flex; align-items: center; background: #fff; border-radius: 10px; }
.stepper input { width: 44px; height: 40px; text-align: center; border-radius: 0 !important; padding: 0 !important; -moz-appearance: textfield; font-weight: 700; }
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.stepper button { width: 36px; height: 40px; font-size: 1.15rem; border: 0; background: transparent; color: var(--green); cursor: pointer; font-weight: 700; }
.calc-drow { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid rgba(255, 255, 255, .2); }
.calc-drow input[type=checkbox] { width: 19px; height: 19px; accent-color: var(--orange); }
.calc-drow label { cursor: pointer; display: grid; line-height: 1.35; }
.calc-dtitle { font-weight: 700; font-size: .95rem; }
.calc-dscope { font-size: .76rem; opacity: .78; }
.calc-rate { display: flex; align-items: center; gap: 3px; }
.calc-rate input { width: 64px; text-align: right; }
.calc-result { background: #fff; color: #1c1e23; border-radius: 16px; padding: 20px; }
.calc-best-label { margin: 0; font-size: .82rem; color: #626975; }
.calc-best { margin: 0; font-size: 1.1rem; font-weight: 700; }
.calc-best-total { margin: 2px 0 14px; font-size: 1.9rem; font-weight: 800; color: #14935f; letter-spacing: -0.03em; }
.calc-best-total span { display: block; font-size: .9rem; font-weight: 500; color: #626975; letter-spacing: 0; }
.calc-best-total em { font-style: normal; color: #c2540a; font-weight: 800; }
.calc-bars { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.calc-bars li { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "t v" "b b"; gap: 3px 8px; font-size: .9rem; }
.bar-title { grid-area: t; }
.bar-val { grid-area: v; font-weight: 700; font-variant-numeric: tabular-nums; }
.bar-track { grid-area: b; height: 8px; background: #eceef2; border-radius: 99px; overflow: hidden; }
.bar-fill { display: block; height: 100%; background: #14935f; opacity: .45; border-radius: 99px; }
.calc-bars .is-best .bar-fill { background: var(--orange); opacity: 1; }
.calc-bars .is-best .bar-title { font-weight: 700; }
.calc-bars .is-base .bar-fill { background: #9aa1ac; opacity: .5; }
.calc-empty { margin: 0; color: #626975; }
.calc-note { font-size: .78rem; opacity: .8; margin: 12px 0 0; }
@media (min-width: 760px) {
  .calc { padding: 36px; }
  .calc-body { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 480px) {
  .calc { padding: 20px 16px; border-radius: 20px; }
  .calc-row { grid-template-columns: 52px 1fr auto; }
}

/* ─────────────── 푸터 ─────────────── */
.site-footer { margin-top: 80px; padding: 36px 0 44px; background: var(--surface-2); font-size: .85rem; color: var(--muted); }
.disclaimer { margin-top: 0; max-width: 46em; }
.footer-nav { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-nav a { color: var(--text); text-decoration: none; font-weight: 600; }
.footer-nav a:hover { color: var(--green); }
.copy { margin-bottom: 0; }
