/* 비비드쿠폰 — 바다색 파랑 + 민트, Gothic A1, 반쪽 사진 첫 화면, 예약 단계 4칸, 표형 목록, 해요체 */
:root {
  --ink: #12222c;
  --ink-soft: #3a4a54;
  --muted: #52616b;
  --sea: #0b5f8a;
  --sea-deep: #084a6c;
  --sea-tint: #e6f1f7;
  --mint: #3fc1a5;
  --mint-tint: #e3f6f1;
  --mist: #f2f6f8;
  --rule: #d9e2e7;
  --radius: 8px;
  --wrap: 1160px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: "Gothic A1", system-ui, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; font-size: 17px; line-height: 1.8; color: var(--ink); background: #fff; word-break: keep-all; overflow-wrap: break-word; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sea); text-underline-offset: 3px; }
a:hover { color: var(--sea-deep); }
h1, h2, h3 { line-height: 1.32; letter-spacing: -0.02em; margin: 0 0 .6em; }
h1 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; }
h2 { font-size: clamp(22px, 2.5vw, 30px); font-weight: 800; }
h3 { font-size: 18px; font-weight: 800; }
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; }
.section.tint, .section.alt { background: var(--mist); }
.prose { color: var(--ink-soft); }
.text-link { font-weight: 800; }

/* 버튼 */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px; border-radius: var(--radius); font-weight: 800; font-size: 16px; text-decoration: none; border: 2px solid var(--sea); cursor: pointer; white-space: nowrap; font-family: inherit; }
.btn-primary { background: var(--sea); color: #fff; }
.btn-primary:hover { background: var(--sea-deep); border-color: var(--sea-deep); color: #fff; }
.btn-line { background: #fff; color: var(--sea); }
.btn-line:hover { background: var(--sea-tint); color: var(--sea-deep); }
.btn-sm { min-height: 40px; padding: 0 14px; font-size: 15px; }

/* 머리말 */
.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-wave { fill: var(--sea); }
.logo-mark .lm-sun { fill: var(--mint); }
.logo-text { font-weight: 800; font-size: 20px; display: flex; flex-direction: column; line-height: 1.15; }
.logo-sub { font-size: 13px; font-weight: 600; color: var(--muted); }
.main-nav { display: flex; gap: 2px; margin-left: auto; }
.main-nav a { padding: 8px 10px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 16px; border-bottom: 3px solid transparent; }
.main-nav a:hover { color: var(--sea); }
.main-nav a[aria-current="page"] { border-bottom-color: var(--mint); }
.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: 800; 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(--sea-tint); }
.hero-in { display: grid; grid-template-columns: 1.05fr .95fr; min-height: min(60svh, 600px); }
.hero-text { align-self: center; padding: 56px 48px 56px max(24px, calc((100vw - var(--wrap)) / 2 + 24px)); }
.hero h1 { white-space: nowrap; font-size: clamp(34px, 4.4vw, 58px); letter-spacing: -0.035em; margin-bottom: .35em; }
.hero-lead { font-size: 18px; color: var(--ink-soft); max-width: 30em; }
.hero-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; max-width: 520px; }
.hero-pair > div { background: #fff; border-radius: var(--radius); padding: 16px 16px 16px; display: flex; flex-direction: column; gap: 4px; }
.hero-pair strong { font-size: 34px; line-height: 1.1; color: var(--sea); font-weight: 800; }
.hero-pair span { font-size: 15px; color: var(--muted); margin-bottom: 10px; }
.hero-pair .btn { width: 100%; margin-top: auto; }
.hero-photo { margin: 0; position: relative; min-height: 320px; }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

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

/* 예약 단계 4칸 */
.stages { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: st; }
.stages li { counter-increment: st; background: #fff; border-radius: var(--radius); padding: 20px 18px; border-top: 4px solid var(--mint); }
.st-when { margin: 0 0 4px; font-weight: 800; color: var(--sea); font-size: 15px; }
.st-when::before { content: counter(st) ". "; }
.stages h3 { margin-bottom: 6px; }
.stages p { font-size: 16px; color: var(--ink-soft); }
.stages .st-go { margin: 0; font-weight: 800; font-size: 15px; }

/* 항공사 */
.two { display: grid; grid-template-columns: .9fr 1.1fr; gap: 44px; align-items: start; }
.airline-list { list-style: none; margin: 0; padding: 0; }
.airline-list li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 2px solid var(--rule); }
.airline-list li:first-child { padding-top: 0; }
.airline-list strong { display: block; }
.airline-list span { color: var(--muted); font-size: 15px; }

/* 목록 부품 */
.coupon-numbered { list-style: none; margin: 0; padding: 0; }
.coupon-numbered li { display: grid; grid-template-columns: 56px 1fr auto; gap: 18px; align-items: center; padding: 16px 0; border-bottom: 2px solid var(--rule); }
.cn-no { font-weight: 800; font-size: 22px; color: var(--sea); }
.cn-body h3 { margin: 0; }
.cn-rate, .cn-brief { margin: 0; }
.cn-brief { color: var(--muted); font-size: 15px; }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { display: flex; gap: 16px; padding: 14px 0; border-bottom: 2px solid var(--rule); }
.step-no { flex-shrink: 0; width: 34px; height: 34px; border-radius: 6px; background: var(--mint-tint); color: var(--sea-deep); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.steps h3 { margin: 2px 0 4px; }
.steps p { margin: 0; color: var(--muted); }
.step-list { padding-left: 1.3em; }
.step-list li { margin-bottom: .5em; }
.step-list li::marker { font-weight: 800; color: var(--sea); }
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { padding: 14px 0 14px 18px; border-left: 4px solid var(--mint); margin-bottom: 12px; background: #fff; }
.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); }
.plain-list { padding-left: 1.2em; margin: 0 0 1em; }
.plain-list li { margin-bottom: .55em; }
.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; }
.directory li { padding: 12px 0; border-bottom: 2px solid var(--rule); }
.directory a { font-weight: 800; }
.directory p { margin: 2px 0 0; font-size: 15px; color: var(--muted); }
.after-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.after-links a { display: block; height: 100%; padding: 18px; border: 2px solid var(--rule); border-radius: var(--radius); text-decoration: none; color: var(--ink); }
.after-links a:hover { border-color: var(--sea); }
.after-links strong { display: block; font-size: 19px; color: var(--sea); }
.after-links span { color: var(--muted); font-size: 15px; }

/* 안쪽 페이지 */
.breadcrumb { font-size: 15px; color: var(--muted); padding: 16px 0 0; }
.breadcrumb a { color: var(--muted); }
.page-head { padding: 20px 0 40px; border-bottom: 2px solid var(--rule); }
.page-lead { font-size: 18px; color: var(--ink-soft); max-width: 40em; }
.page-actions { margin-top: 16px; }
.text-block { margin-bottom: 40px; }
.text-block:last-child { margin-bottom: 0; }
.detail-hero { padding: 20px 0 48px; background: var(--sea-tint); }
.detail-hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: center; }
.detail-amount { font-size: 26px; font-weight: 800; color: var(--sea); }
.detail-summary { color: var(--ink-soft); font-size: 18px; }
.detail-hero-img { border-radius: var(--radius); width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.related-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 24px; }
.related-list a { display: block; padding: 12px 0; border-bottom: 2px solid var(--rule); text-decoration: none; color: var(--ink); }
.related-list strong { display: block; }
.related-list span { color: var(--muted); font-size: 15px; }
.back-link { margin-top: 20px; font-weight: 800; }
.cta-strip { background: var(--sea); color: #fff; }
.cta-strip .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.cta-strip p { margin: 0; font-weight: 800; font-size: 18px; }
.cta-strip .btn-primary { background: #fff; color: var(--sea-deep); border-color: #fff; }
.more-menu ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.more-menu a { font-weight: 800; }
.static-page h1 { margin-top: 12px; }
.notfound { text-align: center; padding: 100px 0; }

/* 꼬리말 */
.site-footer { background: #0e2430; color: #d0dbe1; padding: 50px 0 32px; }
.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: #c3d0d7; margin: 0 0 8px; }
.to-top { display: inline-block; margin-top: 12px; font-weight: 800; }

.hero-in > *, .two > *, .detail-hero-inner > *, .footer-top > *, .coupon-numbered li > * { min-width: 0; }

@media (max-width: 1100px) {
  .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); }
  .main-nav a[aria-current="page"] { border-bottom-color: var(--mint); }
  .menu-toggle { display: inline-flex; }
  .header-cta { margin-left: auto; }
}
@media (max-width: 960px) {
  .hero-in { grid-template-columns: 1fr; min-height: 0; }
  .hero-text { padding: 36px 24px 40px; }
  .hero-photo { min-height: 0; aspect-ratio: 16 / 9; max-height: 320px; order: -1; width: 100%; }
  .stages { grid-template-columns: 1fr 1fr; }
  .two, .detail-hero-inner { grid-template-columns: 1fr; gap: 16px; }
  .after-links, .related-list { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding-left: 16px; padding-right: 16px; }
  .hero-text { padding: 28px 16px 32px; }
  .logo-sub { display: none; }
  .section { padding: 46px 0; }
  .hero h1 { font-size: clamp(28px, 8.6vw, 40px); }
  .hero-lead { font-size: 17px; }
  .hero-pair { grid-template-columns: 1fr; }
  .stages { grid-template-columns: 1fr; }
  .airline-list li { flex-direction: column; align-items: flex-start; gap: 8px; }
  .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%; }
  .coupon-table thead, .summary-table thead, .stack-table thead { display: none; }
  .coupon-table, .coupon-table tbody, .coupon-table tr, .summary-table, .summary-table tbody, .summary-table tr, .stack-table, .stack-table tbody, .stack-table tr { display: block; width: 100%; }
  .coupon-table tr, .summary-table tr, .stack-table tr { padding: 12px 0; border-bottom: 2px solid var(--rule); }
  .coupon-table th, .coupon-table td, .summary-table th, .summary-table td, .stack-table th, .stack-table td { display: block; border: 0; padding: 2px 0; text-align: left; }
  .stack-table td { display: flex; gap: 12px; }
  .stack-table td::before { content: attr(data-label); flex: 0 0 6em; font-weight: 800; color: var(--muted); }
  .coupon-table tbody th, .coupon-table tbody td, .summary-table tbody th, .summary-table tbody td, .stack-table tbody th, .stack-table tbody td { border: 0; padding: 2px 0; }
  .coupon-table tbody th { font-size: 18px; }
  .header-cta { white-space: nowrap; }
  .coupon-table .ct-go { margin-top: 8px; }
  .coupon-table .ct-go .btn { width: 100%; }
  .spec-table th { width: 6em; white-space: normal; }
  .coupon-numbered li { grid-template-columns: 40px 1fr; }
  .coupon-numbered li > .btn { grid-column: 1 / -1; width: 100%; }
}
@media (max-width: 440px) {
  .header-cta { display: none; }
  .menu-toggle { margin-left: auto; }
  .main-nav .nav-cta { display: block; font-weight: 800; }
  .logo-text { font-size: 18px; }
}
