/* ── tokens ── */
:root {
  --blue: #14213d;
  --blue-deep: #0d1629;
  --blue-600: #22345e;
  --blue-50: #f5f7fa;
  --blue-100: #e6ebf2;
  --coral: #14213d;
  --dark: #14213d;
  --yellow: #ffd43b;
  --yellow-deep: #f5c518;
  --coral-50: #f5f7fa;
  --ink: #111827;
  --ink-2: #374151;
  --muted: #5b6472;
  --line: #e5e7eb;
  --soft: #f5f7fa;
  --bg: #ffffff;
  --radius: 3px;
  --wrap: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.3; margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 3px solid var(--blue-600); outline-offset: 2px; border-radius: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.wrap.narrow > * { max-width: 820px; }

.ico { display: inline-flex; width: 1em; height: 1em; vertical-align: -0.125em; }
.ico svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* ── buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 44px; padding: 10px 18px; border-radius: 3px;
  font-weight: 700; font-size: 15px; cursor: pointer; border: 0;
  transition: background-color .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--yellow); color: var(--dark); }
.btn-primary:hover { background: var(--yellow-deep); }
.btn-sm { min-height: 38px; padding: 8px 14px; font-size: 14px; }
.btn-block { width: 100%; }

/* ── header ── */
.sample-bar { background: #fff8db; color: #7a5b00; font-size: 13px; text-align: center; padding: 8px 16px; }
.site-header { position: sticky; top: 0; z-index: 20; background: #fff; }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 20px; color: var(--blue); letter-spacing: -0.02em; white-space: nowrap; }
.logo-mark { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 3px; background: var(--dark); color: var(--yellow); font-size: 17px; }
.main-nav { display: flex; gap: 22px; margin: 0 auto; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--blue); }
.menu-toggle { display: none; align-items: center; gap: 6px; min-height: 38px; padding: 8px 12px; border: 0; border-radius: 3px; background: var(--soft); color: var(--ink); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.menu-toggle .ico { font-size: 18px; }
.nav-open .menu-toggle { background: var(--blue-50); color: var(--blue); }
.main-nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }

/* ── 메뉴 단독 페이지 ── */
.menu-page .section:first-of-type { padding-top: 24px; }
.menu-page .section-head h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 900; letter-spacing: -0.03em; line-height: 1.25; }
.guide .wrap { display: grid; grid-template-columns: 1fr; gap: 44px; }
.guide-list { max-width: 820px; }
.guide-block h2 { font-size: clamp(20px, 2.4vw, 24px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 12px; }
.guide-block:only-child { grid-column: 1 / -1; }
.guide-block p { color: var(--ink-2); line-height: 1.75; max-width: 72ch; }
.guide-block p + p { margin-top: 10px; }
.guide-list { display: grid; gap: 8px; }
.guide-list li { display: flex; gap: 10px; align-items: flex-start; background: var(--soft); border-radius: 3px; padding: 14px 16px; color: var(--ink); }
.guide-list .ico { flex-shrink: 0; margin-top: .3em; color: var(--blue); }
.more-menu h2 { font-size: 20px; font-weight: 800; margin-bottom: 14px; }
.more-menu ul { display: flex; flex-wrap: wrap; gap: 10px; }
.more-menu a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 10px 16px; border-radius: 3px; background: var(--blue-50); color: var(--blue); font-weight: 700; transition: background-color .15s; }
.more-menu a:hover { background: var(--blue-100); }

/* ── hero ── */
.hero {
  background: var(--dark) url("../img/hero.jpg?v=20261203") right center / auto 100% no-repeat;
  color: #fff;
  position: relative;
  overflow: hidden;
}
/* 배너 애니메이션: 흘러가는 구름, 점선 항로를 따라 나는 비행기 */
.hero-fx { position: absolute; inset: 0; pointer-events: none; }
.cloud {
  position: absolute; left: 0; width: 280px; height: 90px; opacity: .22;
  background:
    radial-gradient(40% 60% at 28% 62%, #fff, rgba(255, 255, 255, 0) 70%),
    radial-gradient(36% 72% at 52% 44%, #fff, rgba(255, 255, 255, 0) 70%),
    radial-gradient(40% 56% at 76% 62%, #fff, rgba(255, 255, 255, 0) 70%);
  animation: cloud-drift linear infinite;
}
.cloud.c1 { top: 10%; animation-duration: 55s; animation-delay: -12s; }
.cloud.c2 { top: 60%; width: 200px; height: 64px; animation-duration: 75s; animation-delay: -45s; }
.cloud.c3 { top: 28%; width: 360px; height: 116px; opacity: .14; animation-duration: 95s; animation-delay: -70s; }
.flight { position: absolute; inset: 0; width: 100%; height: 100%; }
.route { fill: none; stroke: rgba(255, 255, 255, .75); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 2 12; animation: route-march 1.2s linear infinite; }
.plane path { fill: #fff; transform: scale(1.4); filter: drop-shadow(0 3px 4px rgba(0, 20, 80, .35)); }
@keyframes cloud-drift { from { transform: translateX(-380px); } to { transform: translateX(calc(100vw + 40px)); } }
@keyframes route-march { to { stroke-dashoffset: -14; } }
/* 화면이 좁으면 항로가 글자를 가로지르므로 구름·빛만 남긴다 */
@media (max-width: 1199px) { .flight { display: none; } }
.hero-inner { position: relative; }
.hero-inner { min-height: 460px; display: flex; flex-direction: column; justify-content: center; padding-top: 48px; padding-bottom: 48px; }
.hero h1 { font-size: clamp(40px, 6vw, 64px); font-weight: 900; letter-spacing: -0.03em; }
.hero-lead { font-size: clamp(17px, 2vw, 21px); font-weight: 600; margin-top: 14px; opacity: .96; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 22px; font-size: 16px; font-weight: 700; }

/* ── sections ── */
.section { padding: 72px 0 8px; }
.section h2 { font-size: clamp(22px, 3vw, 28px); font-weight: 800; letter-spacing: -0.02em; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 22px; }
.section-head p { color: var(--ink-2); margin-top: 8px; font-size: 16px; max-width: 64ch; }
.note { color: var(--muted); font-size: 14px; margin-top: 16px; max-width: 72ch; }

.badge-sample { display: inline-block; vertical-align: middle; margin-left: 6px; font-size: 11px; font-weight: 700; color: #8a6500; background: #fff4c2; border: 1px solid #f1dc84; border-radius: 3px; padding: 0 6px; line-height: 18px; }

/* ── coupon cards ── */
.coupon-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.coupon-card { display: flex; flex-direction: column; background: var(--soft); border-radius: var(--radius); overflow: hidden; transition: transform .2s; }

.coupon-thumb { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--soft); }
.coupon-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.coupon-card:hover .coupon-thumb img { transform: scale(1.04); }
.tag { display: inline-block; font-size: 12px; font-weight: 700; color: var(--ink); background: #fff; border-radius: 3px; padding: 2px 8px; font-size: 13px; }
.coupon-thumb .tag { position: absolute; top: 10px; left: 10px; }
.coupon-body { display: flex; flex-direction: column; flex: 1; padding: 18px 16px 16px; text-align: center; }
.coupon-body h3 { font-size: 17px; font-weight: 800; }
.coupon-body h3 a:hover { color: var(--blue); }
.coupon-amount { font-size: 28px; font-weight: 900; color: var(--coral); margin: 6px 0 12px; letter-spacing: -0.02em; }
.coupon-cond { color: var(--ink-2); font-size: 15px; margin-top: 4px; }
.coupon-cond li + li { margin-top: 2px; }
.coupon-exp { color: var(--muted); font-size: 14px; margin: auto 0 12px; padding-top: 14px; }

.code-chip {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 40px; padding: 6px 12px; margin: 0 auto 6px; max-width: 100%;
  border: 0; background: var(--blue-50); color: var(--blue);
  border-radius: 3px; font-weight: 800; font-size: 14px; letter-spacing: .01em;
  cursor: pointer; transition: background-color .15s, border-color .15s;
}
.code-chip:hover { background: var(--blue-100); }
.code-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.code-chip-wide { width: 100%; justify-content: space-between; margin: 0; }
.code-chip-lg { font-size: 18px; min-height: 52px; padding: 8px 18px; margin: 0; }
.code-chip.copied { background: #e9f9ef; color: #128a43; }

/* ── tabs / tables ── */
.tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; border-bottom: 2px solid var(--line); }
.tabs::-webkit-scrollbar { display: none; }
.tabs button {
  flex: 0 0 auto; font: inherit; font-weight: 700; font-size: 15px; color: var(--ink-2);
  background: var(--soft); border: 0; border-radius: 3px 10px 0 0; padding: 12px 18px; cursor: pointer;
}
.tabs button[aria-selected="true"] { background: var(--blue); color: #fff; }
.code-table { font-size: 16px; }
.code-table th { text-align: left; font-weight: 600; color: var(--muted); font-size: 14px; padding: 12px 14px; background: var(--soft); border-bottom: 1px solid var(--line); }
.code-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.code-table td.exp { white-space: nowrap; color: var(--ink-2); }
.code-table td strong { display: inline; font-weight: 700; }
.code-table tbody tr:nth-child(even) { background: #fbfcfe; }
.deal-table td:first-child { width: 40%; }
.deal-table td.cond { color: var(--muted); }
.deal-table td.go { text-align: right; width: 1%; white-space: nowrap; }

/* ── card benefits ── */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.benefit-card { display: flex; flex-direction: column; align-items: center; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; padding-top: 14px; }
.benefit-top { align-self: flex-start; padding: 0 14px; }
.benefit-type { font-size: 12px; font-weight: 700; color: var(--brand); border: 1px solid var(--brand); border-radius: 3px; padding: 1px 7px; }
.benefit-logo { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; border: 1px solid var(--line); margin: 10px 0 8px; font-weight: 800; font-size: 14px; color: var(--brand); line-height: 1.15; padding: 6px; }
.benefit-name { font-size: 12px; color: var(--muted); }
.benefit-card h3 { font-size: 17px; font-weight: 800; margin-top: 8px; padding: 0 12px; }
.benefit-card h3 strong { display: block; color: var(--brand); }
.benefit-cond { font-size: 13px; color: var(--ink-2); margin-top: 8px; padding: 0 12px; }
.benefit-period { font-size: 13px; font-weight: 700; color: var(--brand); margin: auto 0 0; padding: 14px 12px; }
.benefit-btn { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; min-height: 46px; background: var(--brand); color: #fff; font-weight: 700; font-size: 14px; }
.benefit-btn:hover { filter: brightness(1.1); }
.empty-box { background: var(--soft); border-radius: var(--radius); padding: 24px 26px; color: var(--ink); font-size: 16px; }
.empty-box p + p { margin-top: 6px; color: var(--ink-2); font-size: 15px; }

/* ── steps ── */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: none; }
.steps li { position: relative; border-radius: var(--radius); padding: 22px 18px 20px; background: var(--soft); }
.step-no { display: block; font-size: 28px; font-weight: 900; color: var(--blue); line-height: 1; margin-bottom: 12px; }
.steps h3 { font-size: 17px; font-weight: 800; }
.steps p { font-size: 15px; color: var(--ink-2); margin-top: 6px; }

/* ── membership ── */
.member-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.member-card { border-radius: var(--radius); overflow: hidden; background: var(--soft); }
.member-card h3 { font-size: 17px; font-weight: 800; padding: 14px 18px; }
.member-card h3 small { font-weight: 600; font-size: 14px; color: var(--muted); margin-left: 4px; }
.member-card p { padding: 0 18px; font-size: 16px; color: var(--ink-2); }
.member-card p:first-of-type { padding-top: 14px; }
.member-card .perk { padding-top: 6px; padding-bottom: 18px; font-weight: 600; color: var(--ink); }
.member-card .perk-link { margin-top: -10px; padding-bottom: 18px; }
.member-card .perk-link a { font-weight: 700; color: var(--blue); }
.tone-gold h3 { background: var(--yellow); }
.tone-blue h3 { background: var(--blue-50); }
.tone-silver h3 { background: var(--blue-100); }

/* ── promos ── */
.promo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.promo { display: grid; grid-template-columns: 1.1fr 1fr; min-height: 220px; border-radius: var(--radius); overflow: hidden; }
.promo img { transition: transform .4s; }
.promo:hover img { transform: scale(1.04); }
.promo-dark { background: var(--dark); color: #fff; }
.promo-light { background: var(--blue-50); color: var(--ink); }
.promo-text { padding: 24px; display: flex; flex-direction: column; justify-content: center; }
.promo h3 { font-size: 24px; font-weight: 800; }
.promo p { font-size: 16px; margin-top: 6px; }
.promo-cta { align-self: flex-start; display: inline-flex; align-items: center; gap: 4px; margin-top: 18px; font-size: 15px; font-weight: 700; padding: 10px 16px; border-radius: 3px; transition: transform .15s; }
.promo-cta:hover { transform: translateY(-1px); }
.promo-dark .promo-cta { background: var(--yellow); color: var(--dark); }
.promo-light .promo-cta { background: var(--blue); color: #fff; }
.promo img { width: 100%; height: 100%; object-fit: cover; }

/* ── tips ── */
.tip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tip { background: var(--soft); border-radius: var(--radius); padding: 22px; }
.tip h3 { font-size: 17px; font-weight: 800; }
.tip p { font-size: 15px; color: var(--ink-2); margin-top: 6px; }

/* ── about / help ── */
.about-box { background: var(--soft); border-radius: var(--radius); padding: 28px; }
.about-box > p { font-size: 16px; color: var(--ink); max-width: 72ch; }
.about-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 20px 0; }
.about-cols h3 { font-size: 17px; color: var(--blue); font-weight: 800; }
.about-cols p { font-size: 15px; color: var(--ink-2); margin-top: 2px; }
.text-link { display: inline-flex; align-items: center; gap: 4px; font-size: 15px; font-weight: 700; color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

.help-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.help-card { display: flex; gap: 14px; align-items: flex-start; background: var(--blue-50); border-radius: var(--radius); padding: 22px; }
.help-label { font-size: 14px; color: var(--muted); }
.help-main { font-size: 17px; font-weight: 800; margin: 2px 0 4px; }
.help-sub { font-size: 15px; color: var(--ink-2); }
.help-card a { display: inline-flex; align-items: center; gap: 4px; font-size: 15px; font-weight: 700; color: var(--blue); }

/* ── faq ── */
.faq-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.faq-list { display: grid; gap: 12px; }
.faq { border-radius: 3px; background: var(--soft); transition: background-color .15s; }
.faq:hover, .faq[open] { background: var(--blue-50); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: 16px; font-weight: 700; }
.faq summary .ico { flex-shrink: 0; color: var(--muted); transition: transform .2s; }
.faq[open] summary .ico { transform: rotate(45deg); }
.faq p { padding: 0 18px 18px; font-size: 16px; color: var(--ink-2); }

/* ── detail page ── */
.breadcrumb { font-size: 13px; color: var(--muted); padding: 16px 0 0; }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb span { margin: 0 4px; }
.detail-hero { padding: 20px 0 8px; }
.detail-hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.detail-hero h1 { font-size: clamp(26px, 3.6vw, 38px); font-weight: 900; letter-spacing: -0.02em; margin-top: 12px; }
.detail-hero .tag { background: var(--blue-50); color: var(--blue); box-shadow: none; }
.detail-amount { font-size: clamp(28px, 4vw, 40px); font-weight: 900; color: var(--coral); margin-top: 8px; }
.detail-summary { color: var(--ink-2); margin-top: 8px; }
.detail-codes { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 12px; }
.detail-hero .btn { margin-top: 18px; }
.detail-hero-img { width: 100%; border-radius: 3px; aspect-ratio: 3 / 2; object-fit: cover; }
.section .narrow h2, .detail .section h2 { margin-bottom: 16px; }
.spec-table { border: 1px solid var(--line); border-radius: 3px; overflow: hidden; font-size: 15px; margin-bottom: 20px; }
.spec-table th { width: 28%; text-align: left; background: var(--soft); color: var(--ink-2); font-weight: 700; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.spec-table td { padding: 12px 16px; border-bottom: 1px solid var(--line); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.prose { font-size: 16px; color: var(--ink-2); line-height: 1.8; margin-top: 12px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.check-list .ico { color: var(--dark); margin-top: 4px; flex-shrink: 0; }
.related-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; }
.related { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 3px; overflow: hidden; background: #fff; font-size: 13px; }
.related img { aspect-ratio: 3 / 2; object-fit: cover; }
.related-region { color: var(--muted); font-size: 12px; padding: 8px 10px 0; }
.related strong { padding: 0 10px; font-size: 13px; line-height: 1.4; }
.related-amount { color: var(--coral); font-weight: 800; padding: 4px 10px 10px; }
.related:hover strong { color: var(--blue); }
.back-link { margin-top: 18px; font-weight: 700; color: var(--blue); }
.notfound { text-align: center; padding: 80px 0; }
.notfound h1 { font-size: 30px; }
.notfound p { color: var(--muted); margin: 10px 0 22px; }

/* ── footer ── */
.site-footer { margin-top: 96px; padding: 40px 0 48px; background: var(--soft); }
.footer-top { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 14px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0 auto; font-size: 15px; color: var(--ink-2); }
.footer-nav a:hover, .to-top:hover { color: var(--blue); }
.to-top { font-size: 15px; color: var(--ink-2); }
.footer-sub { display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 14px 0 10px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.footer-sub a:hover { color: var(--blue); }
.footer-sub .strong { font-weight: 700; color: var(--ink); }
/* ── 사이트 소개·개인정보 등 고정 페이지 ── */
.static-page h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 900; letter-spacing: -0.03em; line-height: 1.25; }
.static-page h2 { margin-top: 40px; font-size: 20px; font-weight: 800; }
.static-page .check-list { margin-top: 12px; }
.contact-mail { margin-top: 16px; font-size: 18px; font-weight: 700; color: var(--blue); }
.static-page .empty-box { margin-top: 20px; }
.disclaimer { font-size: 13px; color: var(--muted); margin-top: 6px; max-width: 90ch; }

/* ── toast ── */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 50;
  background: #111827; color: #fff; font-size: 14px; font-weight: 600;
  padding: 12px 18px; border-radius: 3px; box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
  max-width: calc(100% - 32px); text-align: center;
}

/* ── responsive ── */
@media (max-width: 1080px) {
  .related-grid { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  /* 휴대폰·태블릿: 메뉴 버튼으로 펼치는 메뉴 (스크립트가 없으면 항상 펼침) */
  .header-inner { flex-wrap: wrap; gap: 10px 12px; }
  .header-cta { margin-left: auto; }
  .menu-toggle { display: inline-flex; }
  .main-nav { order: 4; width: 100%; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding-bottom: 12px; font-size: 16px; }
  .main-nav a { padding: 12px 14px; border-radius: 3px; background: var(--soft); }
  .main-nav a[aria-current="page"] { background: var(--blue-50); text-decoration: none; }
  .js .main-nav { display: none; }
  .js .site-header.nav-open .main-nav { display: grid; }
  .coupon-grid, .card-grid, .tip-grid { grid-template-columns: repeat(2, 1fr); }
  .promo-grid { grid-template-columns: 1fr; }
  .detail-hero-inner { grid-template-columns: 1fr; }
  .detail-hero-img { order: -1; }
  .hero { position: relative; background-position: 75% center; }
  .hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 33, 61, .94) 0%, rgba(20, 33, 61, .82) 60%, rgba(20, 33, 61, .35) 100%); }
  .hero-inner { position: relative; }
}
@media (max-width: 720px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .hero-inner { min-height: 320px; }
  .section { padding-top: 44px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  /* 모바일: 쿠폰 카드는 사진 왼쪽·내용 오른쪽 가로형 */
  .coupon-grid { grid-template-columns: 1fr; gap: 12px; }
  .coupon-card { display: grid; grid-template-columns: 42% 1fr; align-items: start; gap: 12px; padding: 12px; }
  .coupon-thumb { aspect-ratio: 3 / 2; height: auto; }
  .coupon-thumb .tag { display: none; }
  .coupon-body { padding: 0; text-align: left; }
  .coupon-body h3 { font-size: 16px; }
  .coupon-amount { font-size: 22px; margin: 4px 0 8px; }
  .coupon-cond { font-size: 14px; }
  .coupon-exp { padding-top: 8px; margin-bottom: 10px; }
  .coupon-body .btn { min-height: 40px; font-size: 14px; }
  .tabs { flex-wrap: wrap; border-bottom: 0; }
  .tabs button { border-radius: 3px; }
  .member-grid, .help-grid, .about-cols, .faq-grid, .guide .wrap { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .promo { grid-template-columns: 1fr; }
  .promo img { order: -1; aspect-ratio: 16 / 9; height: auto; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .code-table thead { display: none; }
  .code-table, .code-table tbody, .code-table tr, .code-table td { display: block; width: 100%; }
  .code-table tr { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .code-table td { border: 0; padding: 3px 0; }
  .deal-table td:first-child, .deal-table td.go { width: 100%; text-align: left; }
  .deal-table td.go { padding-top: 8px; }
  .deal-table td.go .btn { width: 100%; }
  .code-table td.exp { font-size: 13px; color: var(--muted); }
  .code-table td.exp::before { content: "기한 "; }
  .code-table tbody tr:nth-child(even) { background: none; }
  .footer-nav { margin: 0; }
}
@media (max-width: 420px) {
  .card-grid { gap: 10px; }
  .tip-grid { grid-template-columns: 1fr; }
  .logo { font-size: 18px; }
  .header-cta { padding: 8px 10px; font-size: 13px; }
}
/* ── 등장 애니메이션: 스크립트가 켜졌을 때만 숨겼다가 보이면 올라오며 나타남 ── */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }
.hero-inner > * { animation: hero-in .7s cubic-bezier(.2, .7, .2, 1) both; }
.hero-inner > :nth-child(2) { animation-delay: .08s; }
.hero-inner > :nth-child(3) { animation-delay: .16s; }
@keyframes hero-in { from { opacity: 0; transform: translateY(20px); } }

/* 펼친 메뉴 안의 아고다 버튼: 헤더 버튼이 숨는 좁은 화면에서만 */
.nav-cta { display: none !important; }
@media (max-width: 379px) {
  .header-cta { display: none; }
  .hero h1 { font-size: 32px; }
  .menu-toggle { margin-left: auto; }
  .main-nav .nav-cta { display: flex !important; grid-column: 1 / -1; justify-content: center; background: var(--blue); color: #fff; font-weight: 700; border-radius: 3px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
  .hero-inner > * { animation: none; }
  * { transition: none !important; }
  .cloud, .route { animation: none; }
  .plane { display: none; }
}

/* ── 프로모쿠폰: 제휴 버튼 배치 ── */
.btn-lg { min-height: 52px; padding: 12px 22px; font-size: 17px; }
.btn-line { background: #fff; color: var(--blue); border: 2px solid var(--blue); }
.btn-line:hover { background: var(--blue-50); }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-cta { margin-top: 26px; }
.hero-cta .btn-primary { background: var(--yellow); color: var(--dark); }
.hero-cta .btn-primary:hover { background: var(--yellow-deep); }
.hero-cta .btn-line { background: transparent; color: #fff; border-color: #fff; }
.hero-cta .btn-line:hover { background: rgba(255, 255, 255, .12); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--dark) 0%, var(--dark) 38%, rgba(20, 33, 61, 0) 70%); pointer-events: none; }
.hero-inner { z-index: 1; }
.hero-points { font-size: 15px; opacity: .95; }
.hero-points li + li::before { content: "/"; margin-right: 20px; opacity: .6; }
.hero-points { gap: 8px 20px; }

.quick { padding-top: 48px; }
.quick-inner { display: grid; grid-template-columns: 300px 1fr; gap: 12px 40px; align-items: start; }
.quick-inner h2 { font-size: clamp(22px, 2.6vw, 26px); }
.quick-table { border-top: 2px solid var(--ink); font-size: 16px; }
.quick-table th { text-align: left; font-size: 14px; color: var(--muted); font-weight: 600; padding: 10px 12px; border-bottom: 2px solid var(--line); }
.quick-table td { padding: 14px 12px; border-bottom: 2px solid var(--line); vertical-align: middle; overflow-wrap: normal; }
.quick-table td.go { text-align: right; width: 1%; white-space: nowrap; }
.quick-note { grid-column: 2; color: var(--ink-2); font-size: 15px; }

.coupon-brief { color: var(--ink-2); font-size: 15px; margin: 0 0 14px; }
.coupon-body .btn { margin-top: auto; }
.tag { background: none; padding: 0; border-radius: 0; color: var(--blue); }
.coupon-thumb .tag { background: #fff; padding: 2px 8px; color: var(--ink); }

.cta-band { background: var(--dark); color: #fff; margin-top: 72px; }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; padding-top: 32px; padding-bottom: 32px; }
.cta-band h2 { font-size: clamp(20px, 2.4vw, 24px); font-weight: 800; }
.cta-band p { margin-top: 6px; opacity: .92; max-width: 52ch; }
.cta-band .btn-primary { background: var(--yellow); color: var(--dark); }
.cta-band .btn-primary:hover { background: var(--yellow-deep); }
.cta-band .btn-line { background: transparent; color: #fff; border-color: #fff; }

.split { display: grid; grid-template-columns: 300px 1fr; gap: 16px 40px; align-items: start; }
.split-head h2 { position: sticky; top: 88px; }

.split-body { border-top: 2px solid var(--ink); padding-top: 18px; }
.split-body h3 { font-size: 18px; font-weight: 800; margin: 22px 0 8px; }
.split-body h3:first-child { margin-top: 0; }
.split-body p { color: var(--ink-2); line-height: 1.8; max-width: 72ch; }
.split-body p + p { margin-top: 12px; }
.plain-h { margin-bottom: 20px; }

.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--dark); }
.sticky-cta .btn-primary { background: var(--yellow); color: var(--dark); }
.sticky-cta .btn-primary:hover { background: var(--yellow-deep); }
.sticky-inner { display: flex; align-items: center; gap: 10px; padding-top: 10px; padding-bottom: 10px; }
.sticky-text { margin-right: auto; font-size: 16px; color: #fff; }
.sticky-text strong { color: var(--yellow); margin-right: 8px; }
.sticky-cta .btn { min-height: 46px; padding: 10px 22px; }
.site-footer { padding-bottom: 110px; }
.toast { bottom: 90px; }

@media (max-width: 960px) {
  .hero::after { display: none; }
  .quick-inner, .split { grid-template-columns: 1fr; }
  .quick-note { grid-column: 1; }
  .split-head h2 { position: static; }
}
@media (max-width: 720px) {
  .hero-cta .btn { flex: 1 1 calc(50% - 5px); padding-left: 10px; padding-right: 10px; font-size: 16px; }
  .hero-cta .btn-line { flex-basis: 100%; }
  .cta-row .btn { flex: 1 1 calc(50% - 5px); }
  .cta-row .btn-line { flex-basis: 100%; }
  .quick-table thead { display: none; }
  .quick-table, .quick-table tbody, .quick-table tr, .quick-table td { display: block; width: 100%; }
  .quick-table tr { padding: 12px 0; border-bottom: 2px solid var(--line); }
  .quick-table td { border: 0; padding: 2px 0; }
  .quick-table td.go { text-align: left; width: 100%; padding-top: 10px; }
  .quick-table td.go .btn { width: 100%; }
  .sticky-text { display: none; }
  .sticky-cta .btn { flex: 1; padding-left: 8px; padding-right: 8px; }
  .hero-points li + li::before { margin-right: 12px; }
  .hero-points { gap: 6px 12px; }
}
.hero h1 { white-space: nowrap; font-size: clamp(28px, 8.4vw, 64px); }
@media (max-width: 379px) { .hero h1 { font-size: 8.4vw; } }

.hero-lead { max-width: 560px; }
@media (max-width: 720px) { .hero-points li + li::before { content: none; } .hero-points { gap: 4px 16px; } }

