/* ==========================================================
   네코서비스 — 몽골 여행 (모바일 우선 스타일)
   ========================================================== */

:root {
  --navy: #14213d;
  --blue: #1d4e89;
  --blue-600: #163e6e;
  --blue-50: #eaf1f9;
  --sand: #f5ede0;
  --sand-200: #ead9bd;
  --gold: #d0892a;
  --red: #c8372d;
  --ink: #1b2230;
  --ink-2: #3c4555;
  --muted: #6b7280;
  --line: #e6e3dd;
  --bg: #ffffff;
  --bg-soft: #f7f5f1;
  --kakao: #fee500;
  --kakao-ink: #191600;
  --ok: #1f8a5b;
  --danger: #d23b3b;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 6px 24px rgba(20, 33, 61, 0.08);
  --shadow-lg: 0 16px 48px rgba(20, 33, 61, 0.16);
  --header-h: 60px;
  --dock-h: 0px;
  --gutter: 16px;
  --font: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 56px); }
html.no-scroll { overflow: hidden; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
  padding-bottom: var(--dock-h);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
svg { width: 1em; height: 1em; flex: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid rgba(29, 78, 137, 0.45); outline-offset: 2px; border-radius: 6px; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.placeholder { color: #9aa1ad; }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 48px; padding: 0 20px;
  border: 1px solid transparent; border-radius: 12px;
  font-weight: 700; font-size: 15px; white-space: nowrap;
  background: var(--blue); color: #fff;
  transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
}
.btn:active { transform: scale(0.98); }
.btn svg { font-size: 18px; }
.btn--primary:hover { background: var(--blue-600); }
.btn--kakao { background: var(--kakao); color: var(--kakao-ink); }
.btn--kakao:hover { background: #f5dc00; }
.btn--line { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--line:hover { border-color: #c9c4ba; }
.btn--ghost { background: rgba(255, 255, 255, 0.16); color: #fff; border-color: rgba(255, 255, 255, 0.5); backdrop-filter: blur(4px); }
.btn--sm { min-height: 38px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.btn--lg { min-height: 56px; font-size: 17px; border-radius: 14px; }
.btn--block { width: 100%; }
.btn[disabled] { background: #c7ccd4; color: #fff; cursor: not-allowed; transform: none; }

.icon-btn {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; border: 0; border-radius: 12px;
  background: transparent; font-size: 24px;
}

/* ---------- 헤더 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  transition: background 0.25s, box-shadow 0.25s, color 0.25s;
}
.site-header.is-solid { box-shadow: 0 1px 0 var(--line); backdrop-filter: saturate(1.4) blur(10px); }
.page-home .site-header { position: fixed; left: 0; right: 0; }
.page-home .site-header:not(.is-solid) { background: transparent; color: #fff; --logo-cut: rgba(20, 33, 61, 0.6); }
.page-home .site-header:not(.is-solid) .logo__mark { color: #fff; }
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 8px; }
.header-back { margin-left: -10px; }
.logo { display: inline-flex; align-items: center; gap: 8px; color: inherit; }
.logo__mark { width: 34px; height: 34px; color: var(--blue); }
.logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.logo__text b { font-size: 18px; font-weight: 800; letter-spacing: -0.02em; }
.logo__text small { font-size: 9.5px; letter-spacing: 0.22em; opacity: 0.7; font-weight: 600; }
.gnb { display: none; }
.header-cta { display: none; }
.menu-btn { margin-left: auto; margin-right: -10px; }

@media (min-width: 960px) {
  :root { --header-h: 72px; --gutter: 24px; }
  .gnb { display: flex; gap: 28px; margin-left: 48px; font-weight: 600; font-size: 15px; }
  .gnb a { opacity: 0.85; padding: 6px 0; border-bottom: 2px solid transparent; }
  .gnb a:hover { opacity: 1; border-bottom-color: currentColor; }
  .header-cta { display: inline-flex; margin-left: auto; }
  .menu-btn { margin-left: 4px; }
  .header-back { display: none; }
}

/* ---------- 전체 메뉴 (드로어) ---------- */
.drawer { position: fixed; inset: 0; z-index: 100; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(10, 16, 30, 0.5); opacity: 0; transition: opacity 0.25s; }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(86vw, 380px); background: #fff; overflow-y: auto;
  padding: 12px 20px calc(24px + env(safe-area-inset-bottom));
  transform: translateX(100%); transition: transform 0.25s ease;
}
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.drawer__label { font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 10px; }
.drawer__regions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.drawer__region { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 10; }
.drawer__region img { width: 100%; height: 100%; object-fit: cover; }
.drawer__region span { position: absolute; inset: auto 0 0 0; padding: 18px 10px 8px; color: #fff; font-weight: 700; background: linear-gradient(transparent, rgba(0, 0, 0, 0.6)); }
.drawer__links { margin: 24px 0; border-top: 1px solid var(--line); }
.drawer__links a { display: flex; justify-content: space-between; align-items: center; padding: 16px 2px; border-bottom: 1px solid var(--line); font-weight: 600; }
.drawer__links svg { color: var(--muted); }
.drawer__cta { display: grid; gap: 8px; }

/* ---------- 하단 상담 바 (모바일) ---------- */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 8px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: #fff;
  box-shadow: 0 -1px 0 var(--line);
}
body[data-dock="contact"] { --dock-h: calc(68px + env(safe-area-inset-bottom)); }
@media (min-width: 960px) {
  .dock { display: none; }
  body[data-dock="contact"] { --dock-h: 0px; }
}

/* ---------- 공통 섹션 ---------- */
.section { padding: 48px 0; }
.section--soft { background: var(--bg-soft); }
.section--sand { background: var(--sand); }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.section__eyebrow { display: block; font-size: 12px; font-weight: 800; letter-spacing: 0.16em; color: var(--gold); margin-bottom: 6px; }
.section__title { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.35; }
.section__desc { color: var(--muted); margin-top: 6px; font-size: 14px; }
.more-link { display: inline-flex; align-items: center; gap: 2px; font-size: 14px; font-weight: 600; color: var(--muted); white-space: nowrap; }
@media (min-width: 960px) {
  .section { padding: 80px 0; }
  .section__title { font-size: 30px; }
  .section__head { margin-bottom: 32px; }
}

.tag {
  display: inline-flex; align-items: center; height: 22px; padding: 0 8px;
  border-radius: 6px; font-size: 12px; font-weight: 600;
  background: var(--bg-soft); color: var(--ink-2);
}
.tag--region { background: var(--blue-50); color: var(--blue); }
.tag--duration { background: var(--sand); color: #8a5a17; }
.badge {
  position: absolute; top: 10px; left: 10px;
  padding: 3px 8px; border-radius: 6px;
  font-size: 11px; font-weight: 800; letter-spacing: 0.06em;
  background: var(--red); color: #fff;
}

/* ---------- 메인 배너 (슬라이더) ---------- */
.hero { position: relative; background: var(--navy); color: #fff; }
.hero__track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.hero__track::-webkit-scrollbar { display: none; }
.hero__slide {
  position: relative; flex: 0 0 100%; scroll-snap-align: start;
  height: min(86svh, 720px); min-height: 520px;
  display: flex; align-items: flex-end;
}
.hero__slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 16, 30, 0.45) 0%, rgba(10, 16, 30, 0) 30%, rgba(10, 16, 30, 0.15) 50%, rgba(10, 16, 30, 0.75) 100%); }
.hero__content { position: relative; z-index: 1; width: 100%; padding-bottom: 88px; }
.hero__eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.24em; opacity: 0.85; }
.hero__title { font-size: 32px; font-weight: 800; line-height: 1.3; letter-spacing: -0.03em; margin: 10px 0 10px; white-space: pre-line; text-shadow: 0 2px 16px rgba(0, 0, 0, 0.25); }
.hero__sub { font-size: 15px; opacity: 0.92; margin-bottom: 22px; }
.hero__controls { position: absolute; z-index: 2; left: 0; right: 0; bottom: 28px; }
.hero__controls .container { display: flex; align-items: center; gap: 12px; }
.hero__dots { display: flex; gap: 6px; }
.hero__dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: rgba(255, 255, 255, 0.45); transition: width 0.25s, background 0.25s; }
.hero__dots button[aria-current="true"] { width: 24px; background: #fff; }
.hero__count { margin-left: auto; font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 99px; background: rgba(0, 0, 0, 0.35); }
@media (min-width: 960px) {
  .hero__title { font-size: 52px; }
  .hero__sub { font-size: 18px; }
  .hero__content { padding-bottom: 120px; }
  .hero__controls { bottom: 48px; }
}

/* ---------- 카카오 상담 배너 ---------- */
.kakao-banner {
  display: flex; align-items: center; gap: 16px;
  padding: 20px; border-radius: var(--radius);
  background: var(--kakao); color: var(--kakao-ink);
}
.kakao-banner__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--kakao-ink); color: var(--kakao); font-size: 28px; flex: none; }
.kakao-banner__text { flex: 1; min-width: 0; }
.kakao-banner__text b { display: block; font-size: 17px; font-weight: 800; }
.kakao-banner__text span { font-size: 13px; opacity: 0.75; }
.kakao-banner > svg { font-size: 22px; }
.home-kakao { margin-top: 20px; }

/* ---------- 지역 바로가기 ---------- */
.regions {
  display: grid; grid-auto-flow: column; grid-auto-columns: 30%; gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px; scroll-padding-inline: var(--gutter);
}
.regions::-webkit-scrollbar { display: none; }
.region-item { scroll-snap-align: start; text-align: center; }
.region-item__img { aspect-ratio: 1; border-radius: 50%; overflow: hidden; margin-bottom: 10px; box-shadow: var(--shadow); }
.region-item__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.region-item:hover img { transform: scale(1.06); }
.region-item b { display: block; font-size: 15px; }
.region-item small { display: block; font-size: 12px; color: var(--muted); }
@media (min-width: 640px) { .regions { grid-auto-columns: 22%; } }
@media (min-width: 960px) {
  .regions { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; margin: 0; padding: 0; gap: 32px; }
  .region-item b { font-size: 18px; }
}

/* ---------- 탭 / 칩 ---------- */
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 2px var(--gutter); }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; height: 40px; padding: 0 16px; border-radius: 99px;
  border: 1px solid var(--line); background: #fff;
  font-weight: 600; font-size: 14px; color: var(--ink-2);
}
.chip[aria-selected="true"], .chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
@media (min-width: 960px) { .chips { margin: 0; padding: 2px 0; } }

/* ---------- 투어 카드 ---------- */
.tour-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .tour-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 960px) { .tour-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; } }

.tour-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: box-shadow 0.2s, transform 0.2s; }
.tour-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.tour-card__thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); }
.tour-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.tour-card__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.tour-card__meta { display: flex; flex-wrap: wrap; gap: 4px; }
.tour-card__title { font-size: 17px; font-weight: 700; line-height: 1.4; letter-spacing: -0.01em; }
.tour-card__route { font-size: 13px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tour-card__price { margin-top: auto; padding-top: 4px; font-size: 14px; color: var(--ink-2); }
.tour-card__price strong { font-size: 19px; font-weight: 800; color: var(--ink); letter-spacing: -0.01em; }
.tour-card__price small { color: var(--muted); font-size: 12px; }

/* 모바일 가로형 카드 */
@media (max-width: 639px) {
  .tour-card--row { flex-direction: row; border: 0; border-radius: 0; background: transparent; gap: 14px; }
  .tour-card--row:hover { box-shadow: none; transform: none; }
  .tour-card--row .tour-card__thumb { width: 38%; flex: none; aspect-ratio: 1 / 1.05; border-radius: 12px; }
  .tour-card--row .tour-card__body { padding: 2px 0; gap: 4px; min-width: 0; }
  .tour-card--row .tour-card__meta { flex-wrap: nowrap; overflow: hidden; }
  .tour-card--row .tour-card__meta .tag { flex: none; }
  .tour-card--row .tour-card__meta .tag:nth-child(n + 4) { display: none; }
  .tour-card--row .tour-card__title { font-size: 15.5px; }
  .tour-card--row .tour-card__route { -webkit-line-clamp: 1; font-size: 12.5px; }
  .tour-card--row .tour-card__price strong { font-size: 17px; }
  .tour-card--row .badge { top: 6px; left: 6px; font-size: 10px; padding: 2px 6px; }
  .tour-list--rows { gap: 18px; }
}
.home-tabs { margin-bottom: 20px; }
.home-tours-more { margin-top: 24px; text-align: center; }

/* ---------- 인스타그램 ---------- */
.insta { background: var(--navy); color: #fff; }
.insta .section__eyebrow { color: #f2b766; }
.insta .section__desc { color: rgba(255, 255, 255, 0.65); }
.insta__list {
  display: grid; grid-auto-flow: column; grid-auto-columns: 42%; gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px; scroll-padding-inline: var(--gutter);
}
.insta__list::-webkit-scrollbar { display: none; }
.insta-card { scroll-snap-align: start; display: flex; flex-direction: column; gap: 8px; }
.insta-card__media { position: relative; aspect-ratio: 9 / 16; border-radius: 14px; overflow: hidden; background: #000; }
.insta-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.insta-card:hover .insta-card__media img { transform: scale(1.04); }
.insta-card__play { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(0, 0, 0, 0.45); font-size: 14px; }
.insta-card__text { font-size: 13.5px; line-height: 1.45; color: rgba(255, 255, 255, 0.88); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.insta__more { margin-top: 24px; text-align: center; }
.insta__follow { background: linear-gradient(45deg, #f9a13a, #e1306c 50%, #833ab4); color: #fff; }
@media (min-width: 640px) { .insta__list { grid-auto-columns: 28%; } }
@media (min-width: 960px) {
  .insta__list { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; margin: 0; padding: 0; gap: 24px 20px; }
  .insta-card__text { font-size: 14.5px; }
}

/* ---------- 왜 네코서비스 ---------- */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.why-item { padding: 20px 16px; border-radius: var(--radius); background: #fff; }
.why-item__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); font-size: 22px; margin-bottom: 14px; }
.why-item b { display: block; font-size: 16px; margin-bottom: 4px; }
.why-item p { font-size: 13.5px; color: var(--muted); line-height: 1.55; }
@media (min-width: 960px) { .why-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } .why-item { padding: 28px 24px; } }

/* ---------- 여행 시기 ---------- */
.season-list { display: grid; gap: 12px; }
.season-item { display: grid; grid-template-columns: 76px 1fr; gap: 14px; align-items: start; padding: 18px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.season-item__month { font-weight: 800; font-size: 15px; color: var(--blue); line-height: 1.3; }
.season-item__month small { display: block; font-size: 12px; font-weight: 600; color: var(--muted); }
.season-item b { display: block; margin-bottom: 4px; }
.season-item p { font-size: 13.5px; color: var(--muted); }
.season-item .tag { margin-top: 8px; }
@media (min-width: 960px) { .season-list { grid-template-columns: repeat(4, 1fr); } .season-item { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; gap: 10px; align-items: flex-start; padding: 18px 2px; font-weight: 600; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: 'Q'; font-weight: 800; color: var(--blue); }
.faq summary::after { content: ''; margin-left: auto; flex: none; width: 10px; height: 10px; margin-top: 6px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 10px; }
.faq__answer { padding: 0 2px 20px 24px; color: var(--ink-2); font-size: 14.5px; }
.faq__answer p + p { margin-top: 8px; }
@media (min-width: 960px) { .faq-wrap { max-width: 820px; margin: 0 auto; } }

/* ---------- 문의 ---------- */
.contact-card { border-radius: 20px; padding: 28px 20px; background: var(--navy); color: #fff; display: grid; gap: 20px; }
.contact-card h2 { font-size: 22px; font-weight: 800; line-height: 1.4; }
.contact-card p { opacity: 0.8; font-size: 14px; margin-top: 6px; }
.contact-card__list { display: grid; gap: 8px; font-size: 14px; }
.contact-card__list div { display: flex; gap: 12px; }
.contact-card__list dt { width: 64px; opacity: 0.6; flex: none; }
.contact-card__list dd { margin: 0; }
.contact-card__list .placeholder { color: rgba(255, 255, 255, 0.45); }
.contact-card__btns { display: grid; gap: 8px; }
@media (min-width: 960px) {
  .contact-card { grid-template-columns: 1.3fr 1fr 0.9fr; align-items: center; padding: 44px 48px; gap: 40px; }
  .contact-card h2 { font-size: 28px; }
}

/* ---------- 푸터 ---------- */
.site-footer { background: #f2f1ee; color: var(--ink-2); padding: 36px 0 32px; font-size: 13px; }
.footer__top { display: flex; justify-content: space-between; align-items: center; }
.logo--footer .logo__mark { width: 28px; height: 28px; color: var(--ink-2); --logo-cut: #f2f1ee; }
.logo--footer .logo__text b { font-size: 16px; }
.footer__sns { display: flex; gap: 8px; }
.sns { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #fff; font-size: 18px; }
.sns--kakao { background: var(--kakao); color: var(--kakao-ink); }
.footer__links { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 20px 0 16px; font-size: 13.5px; }
.footer__info { display: grid; gap: 4px; margin: 0; }
.footer__info div { display: flex; gap: 8px; }
.footer__info dt { color: var(--muted); flex: none; }
.footer__info dt::after { content: ' :'; }
.footer__info dd { margin: 0; }
.footer__credits { margin-top: 16px; color: var(--muted); font-size: 12px; }
.footer__credits summary { cursor: pointer; }
.footer__credits ul { margin-top: 6px; display: grid; gap: 2px; }
.footer__credits a { text-decoration: underline; }
.footer__copy { margin-top: 16px; color: var(--muted); font-size: 12px; }
@media (min-width: 960px) { .footer__info { grid-template-columns: repeat(3, auto); justify-content: start; column-gap: 32px; } }

/* ==========================================================
   투어 목록 페이지
   ========================================================== */
.page-hero { position: relative; color: #fff; background: var(--navy); overflow: hidden; }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.75; }
.page-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 16, 30, 0.7), rgba(10, 16, 30, 0.15)); }
.page-hero .container { z-index: 1; }
.page-hero .container { position: relative; padding-top: 40px; padding-bottom: 32px; }
.page-hero h1 { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.page-hero p { margin-top: 8px; font-size: 14px; opacity: 0.92; max-width: 560px; }
@media (min-width: 960px) { .page-hero .container { padding-top: 72px; padding-bottom: 56px; } .page-hero h1 { font-size: 38px; } .page-hero p { font-size: 16px; } }

.filter-bar { position: sticky; top: var(--header-h); z-index: 30; background: #fff; border-bottom: 1px solid var(--line); padding: 10px 0; }
.list-toolbar { display: flex; justify-content: space-between; align-items: center; margin: 20px 0 16px; font-size: 14px; color: var(--muted); }
.list-toolbar b { color: var(--ink); }
.select { height: 38px; padding: 0 32px 0 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' stroke='%236b7280' stroke-width='2' fill='none'/%3E%3C/svg%3E") no-repeat right 10px center / 16px; appearance: none; font-size: 14px; }
.empty { padding: 60px 0; text-align: center; color: var(--muted); }

/* ==========================================================
   투어 상세 페이지
   ========================================================== */
.gallery { position: relative; background: var(--navy); }
.gallery__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__track img { flex: 0 0 100%; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; scroll-snap-align: start; }
.gallery__count { position: absolute; right: 14px; bottom: 14px; padding: 3px 10px; border-radius: 99px; background: rgba(0, 0, 0, 0.5); color: #fff; font-size: 12px; font-weight: 600; }
@media (min-width: 960px) {
  .gallery { background: none; padding-top: 24px; }
  .gallery__track { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; height: 460px; border-radius: 18px; overflow: hidden; max-width: 1132px; margin: 0 auto; }
  .gallery__track img { aspect-ratio: auto; height: 100%; }
  .gallery__track img:first-child { grid-row: span 2; }
  .gallery__track img:nth-child(n + 6) { display: none; }
  .gallery__track[data-count="4"] img:nth-child(4) { grid-column: span 2; }
  .gallery__track[data-count="3"] { grid-template-columns: 2fr 1fr; }
  .gallery__count { display: none; }
}

.detail { padding-bottom: 40px; }
.detail__layout { display: grid; gap: 0; }
@media (min-width: 960px) {
  .detail__layout { grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; align-items: start; padding-top: 32px; }
}
.detail__head { padding: 20px 0 24px; border-bottom: 8px solid var(--bg-soft); margin: 0 calc(var(--gutter) * -1); padding-left: var(--gutter); padding-right: var(--gutter); }
.detail__head .tour-card__meta { margin-bottom: 10px; }
.detail__title { font-size: 23px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.35; }
.detail__summary { margin-top: 8px; color: var(--ink-2); font-size: 15px; }
.detail__price { margin-top: 16px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.detail__price strong { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.detail__price small { color: var(--muted); font-size: 13px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 20px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.facts div { background: #fff; padding: 12px 14px; }
.facts dt { font-size: 12px; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-weight: 700; font-size: 14px; }
@media (min-width: 960px) {
  .detail__head { margin: 0; padding: 0 0 32px; border-bottom: 1px solid var(--line); }
  .detail__title { font-size: 32px; }
  .facts { grid-template-columns: repeat(4, 1fr); }
}

.detail-tabs { position: sticky; top: var(--header-h); z-index: 20; background: #fff; border-bottom: 1px solid var(--line); margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); display: flex; overflow-x: auto; scrollbar-width: none; }
.detail-tabs::-webkit-scrollbar { display: none; }
.detail-tabs a { flex: 1 0 auto; text-align: center; padding: 14px 12px; font-weight: 600; font-size: 14.5px; color: var(--muted); border-bottom: 2px solid transparent; }
.detail-tabs a.is-active { color: var(--ink); border-bottom-color: var(--ink); }
@media (min-width: 960px) { .detail-tabs { margin: 0; padding: 0; } .detail-tabs a { flex: 0 0 auto; padding: 16px 20px; } }

.detail-section { padding: 32px 0 8px; }
.detail-section > h2 { font-size: 19px; font-weight: 800; margin-bottom: 16px; letter-spacing: -0.01em; }
.highlights { display: grid; gap: 10px; }
.highlights li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.highlights li::before { content: ''; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12 4 4 8-8' stroke='%231d4e89' stroke-width='3' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / 12px; }

.timeline { position: relative; display: grid; gap: 4px; }
.day { position: relative; padding: 0 0 24px 52px; }
.day::before { content: ''; position: absolute; left: 19px; top: 40px; bottom: 0; width: 2px; background: var(--line); }
.day:last-child::before { display: none; }
.day__no { position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font-size: 11px; font-weight: 800; line-height: 1.05; text-align: center; }
.day__title { font-size: 16px; font-weight: 700; padding-top: 8px; line-height: 1.45; }
.day__desc { margin-top: 6px; color: var(--ink-2); font-size: 14.5px; }
.day__meta { margin-top: 10px; display: grid; gap: 4px; padding: 12px 14px; background: var(--bg-soft); border-radius: 10px; font-size: 13px; }
.day__meta div { display: flex; gap: 10px; }
.day__meta dt { width: 32px; flex: none; color: var(--muted); }
.day__meta dd { margin: 0; }

.inex { display: grid; gap: 16px; }
.inex__box { padding: 18px; border-radius: var(--radius); border: 1px solid var(--line); }
.inex__box h3 { font-size: 15px; margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }
.inex__box li { position: relative; padding-left: 16px; font-size: 14px; color: var(--ink-2); }
.inex__box li + li { margin-top: 6px; }
.inex__box li::before { content: ''; position: absolute; left: 2px; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.inex__box--ex li::before { background: var(--danger); }
@media (min-width: 640px) { .inex { grid-template-columns: 1fr 1fr; } }

.price-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.price-table th, .price-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.price-table th { background: var(--bg-soft); font-weight: 600; color: var(--ink-2); }
.price-table td:last-child { text-align: right; font-weight: 700; }
.price-table tr.is-base td { color: var(--blue); }
.note { margin-top: 10px; font-size: 13px; color: var(--muted); }
.note-list li { position: relative; padding-left: 14px; font-size: 14px; color: var(--ink-2); }
.note-list li + li { margin-top: 8px; }
.note-list li::before { content: '·'; position: absolute; left: 2px; font-weight: 800; }

/* 예약 패널 (데스크톱: 사이드 / 모바일: 바텀시트) */
.book-panel { background: #fff; }
.book-panel__title { font-size: 18px; font-weight: 800; margin-bottom: 16px; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field > label, .field__label { font-size: 13.5px; font-weight: 700; color: var(--ink-2); }
.field__label em, .field > label em { color: var(--red); font-style: normal; margin-left: 2px; }
.input {
  width: 100%; height: 50px; padding: 0 14px;
  border: 1px solid #d9d6cf; border-radius: 12px; background: #fff;
  font-size: 16px; /* iOS 확대 방지 */
  transition: border-color 0.15s, box-shadow 0.15s;
}
.input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(29, 78, 137, 0.15); }
textarea.input { height: auto; min-height: 96px; padding: 12px 14px; resize: vertical; }
.input.is-invalid { border-color: var(--danger); }
.field__help { font-size: 12.5px; color: var(--muted); }
.field__error { font-size: 12.5px; color: var(--danger); }
.stepper { display: flex; align-items: center; justify-content: space-between; height: 50px; border: 1px solid #d9d6cf; border-radius: 12px; padding: 0 6px; }
.stepper button { width: 40px; height: 40px; border: 0; border-radius: 10px; background: var(--bg-soft); font-size: 20px; font-weight: 600; }
.stepper button:disabled { opacity: 0.35; cursor: not-allowed; }
.stepper output { font-weight: 700; font-size: 16px; }
.sum { display: grid; gap: 8px; padding: 16px 0; margin: 4px 0 16px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 14px; }
.sum div { display: flex; justify-content: space-between; gap: 12px; }
.sum dt { color: var(--muted); }
.sum dd { margin: 0; font-weight: 600; text-align: right; }
.sum .sum__total dt { color: var(--ink); font-weight: 700; }
.sum .sum__total dd { font-size: 20px; font-weight: 800; color: var(--blue); }

@media (min-width: 960px) {
  .book-panel { position: sticky; top: calc(var(--header-h) + 24px); padding: 24px; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
  .book-panel .sheet-close, .book-bar { display: none !important; }
}
@media (max-width: 959px) {
  .book-panel {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    max-height: 88svh; overflow-y: auto;
    padding: 12px 20px calc(20px + env(safe-area-inset-bottom));
    border-radius: 20px 20px 0 0; box-shadow: var(--shadow-lg);
    transform: translateY(105%); transition: transform 0.28s ease;
  }
  .book-panel.is-open { transform: none; }
  .book-panel::before { content: ''; display: block; width: 40px; height: 4px; border-radius: 4px; background: #d5d2cb; margin: 0 auto 12px; }
  .sheet-close { position: absolute; top: 14px; right: 12px; }
  .sheet-backdrop { position: fixed; inset: 0; z-index: 80; background: rgba(10, 16, 30, 0.5); opacity: 0; pointer-events: none; transition: opacity 0.25s; }
  .sheet-backdrop.is-open { opacity: 1; pointer-events: auto; }
  .page-detail { --dock-h: calc(76px + env(safe-area-inset-bottom)); }
}
.book-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: flex; align-items: center; gap: 12px;
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  background: #fff; box-shadow: 0 -1px 0 var(--line), 0 -8px 24px rgba(0, 0, 0, 0.05);
}
.book-bar__price { flex: 1; line-height: 1.3; }
.book-bar__price small { display: block; font-size: 12px; color: var(--muted); }
.book-bar__price strong { font-size: 19px; font-weight: 800; }
.book-bar .btn { flex: 0 0 46%; }
.kakao-inline { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 10px; font-size: 13.5px; color: var(--muted); }
.kakao-inline a { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================
   예약 · 결제 페이지
   ========================================================== */
.page-booking, .page-done { background: var(--bg-soft); }
.steps { display: flex; justify-content: center; gap: 6px; padding: 18px 0 6px; font-size: 13px; color: var(--muted); }
.steps li { display: flex; align-items: center; gap: 6px; }
.steps li + li::before { content: ''; width: 18px; height: 1px; background: #c9c4ba; }
.steps span { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #dcd8d0; color: #fff; font-size: 12px; font-weight: 800; }
.steps .is-current { color: var(--ink); font-weight: 700; }
.steps .is-current span, .steps .is-done span { background: var(--blue); }
.booking-layout { display: grid; gap: 12px; padding: 12px 0 40px; }
@media (min-width: 960px) { .booking-layout { grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; padding-top: 20px; } }
.card { background: #fff; border-radius: var(--radius); padding: 20px; }
.card + .card { margin-top: 12px; }
.card__title { font-size: 17px; font-weight: 800; margin-bottom: 16px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.card__title small { font-size: 12.5px; font-weight: 500; color: var(--muted); }
@media (max-width: 639px) { .booking-layout .card { border-radius: 0; margin: 0 calc(var(--gutter) * -1); } .booking-layout .card + .card { margin-top: 10px; } }

.product-mini { display: flex; gap: 14px; align-items: center; }
.product-mini img { width: 84px; height: 84px; border-radius: 12px; object-fit: cover; flex: none; }
.product-mini b { display: block; font-size: 15.5px; line-height: 1.4; }
.product-mini p { font-size: 13px; color: var(--muted); margin-top: 4px; }
.trip-info { display: grid; gap: 8px; margin-top: 16px; padding: 14px; background: var(--bg-soft); border-radius: 12px; font-size: 14px; }
.trip-info div { display: flex; justify-content: space-between; gap: 12px; }
.trip-info dt { color: var(--muted); }
.trip-info dd { margin: 0; font-weight: 600; text-align: right; }
.trip-info a { color: var(--blue); font-size: 13px; font-weight: 600; }

.form-grid { display: grid; gap: 0 12px; }
@media (min-width: 640px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } }
.traveler { margin: 0; min-width: 0; padding: 16px; border: 1px solid var(--line); border-radius: 12px; }
.traveler + .traveler { margin-top: 10px; }
.traveler__title { font-weight: 700; font-size: 14px; margin-bottom: 12px; color: var(--blue); }
.traveler .field { margin-bottom: 12px; }
.check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 14.5px; }
.check input { appearance: none; flex: none; width: 22px; height: 22px; margin: 0; border: 1.5px solid #c9c4ba; border-radius: 6px; background: #fff; display: grid; place-items: center; cursor: pointer; }
.check input:checked { background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12 4 4 8-8' stroke='white' stroke-width='3' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / 14px; border-color: var(--blue); }
.skip-travelers { margin-bottom: 14px; padding: 12px 14px; background: var(--blue-50); border-radius: 10px; }

.options { display: grid; gap: 8px; }
.options--methods { grid-template-columns: 1fr 1fr; }
.option { position: relative; }
.option input { position: absolute; opacity: 0; pointer-events: none; }
.option span { display: flex; flex-direction: column; justify-content: center; min-height: 52px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; font-weight: 600; font-size: 14.5px; cursor: pointer; transition: border-color 0.15s, background 0.15s; }
.option span small { font-weight: 500; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.option input:checked + span { border-color: var(--blue); background: var(--blue-50); color: var(--blue-600); }
.option input:focus-visible + span { outline: 3px solid rgba(29, 78, 137, 0.35); }
.options--methods .option span { align-items: center; text-align: center; }

.agree-all { padding: 14px; border-radius: 12px; background: var(--bg-soft); font-weight: 700; }
.agree-list { display: grid; gap: 4px; margin-top: 10px; padding: 0 4px; }
.agree-item { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 0; }
.agree-item .check { font-size: 14px; color: var(--ink-2); }
.agree-item button { border: 0; background: none; font-size: 13px; color: var(--muted); text-decoration: underline; flex: none; padding: 4px; }
.agree-detail { margin: 0 0 8px 32px; padding: 12px 14px; border-radius: 10px; background: var(--bg-soft); font-size: 13px; color: var(--ink-2); max-height: 220px; overflow-y: auto; }
.agree-detail p + p, .agree-detail ul { margin-top: 6px; }
.agree-detail li { list-style: disc; margin-left: 16px; }

.pay-summary .sum { margin: 0 0 16px; border-top: 0; padding-top: 0; }
.pay-summary .note { margin: 0 0 16px; }
@media (min-width: 960px) { .pay-summary { position: sticky; top: calc(var(--header-h) + 20px); } }
@media (max-width: 959px) {
  .pay-summary .btn--pay { display: none; }
  .page-booking { --dock-h: calc(76px + env(safe-area-inset-bottom)); }
}
.pay-bar { display: none; }
@media (max-width: 959px) {
  .pay-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -1px 0 var(--line), 0 -8px 24px rgba(0, 0, 0, 0.05); }
}
.demo-banner { display: flex; gap: 8px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: #fff7e6; color: #8a5a17; font-size: 13px; line-height: 1.5; }
.demo-banner b { color: #6b440f; }

/* 결제 진행 모달 */
.modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 24px; background: rgba(10, 16, 30, 0.55); }
.modal__box { width: min(100%, 360px); background: #fff; border-radius: 20px; padding: 28px 24px; text-align: center; }
.modal__box b { display: block; font-size: 18px; margin: 16px 0 6px; }
.modal__box p { font-size: 14px; color: var(--muted); }
.spinner { width: 44px; height: 44px; margin: 0 auto; border-radius: 50%; border: 4px solid var(--blue-50); border-top-color: var(--blue); animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ==========================================================
   예약 완료
   ========================================================== */
.done { max-width: 560px; margin: 0 auto; padding: 32px 0 48px; }
.done__icon { width: 72px; height: 72px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; font-size: 36px; }
.done__head { text-align: center; margin-bottom: 24px; }
.done__head h1 { font-size: 24px; font-weight: 800; }
.done__head p { margin-top: 8px; color: var(--muted); font-size: 14.5px; }
.done__no { display: inline-block; margin-top: 14px; padding: 8px 14px; border-radius: 10px; background: #fff; font-weight: 700; letter-spacing: 0.04em; }
.next-steps { counter-reset: step; display: grid; gap: 14px; }
.next-steps li { counter-increment: step; display: flex; gap: 12px; font-size: 14.5px; }
.next-steps li::before { content: counter(step); flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); font-size: 12px; font-weight: 800; margin-top: 1px; }
.done__btns { display: grid; gap: 8px; margin-top: 20px; }

/* ==========================================================
   약관
   ========================================================== */
.terms { max-width: 820px; margin: 0 auto; padding: 32px 0 56px; }
.terms h1 { font-size: 26px; font-weight: 800; margin-bottom: 8px; }
.terms > p { color: var(--muted); font-size: 14px; }
.terms section { margin-top: 40px; scroll-margin-top: calc(var(--header-h) + 16px); }
.terms h2 { font-size: 19px; font-weight: 800; padding-bottom: 10px; border-bottom: 2px solid var(--ink); margin-bottom: 14px; }
.terms h3 { font-size: 15px; margin: 18px 0 6px; }
.terms p, .terms li { font-size: 14px; color: var(--ink-2); }
.terms ul { margin-top: 6px; }
.terms li { list-style: disc; margin-left: 18px; }
.terms table { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: 14px; }
.terms th, .terms td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.terms th { background: var(--bg-soft); }
.notice-box { margin-top: 16px; padding: 14px 16px; border-radius: 12px; background: #fff7e6; color: #8a5a17; font-size: 13.5px; }
