:root {
  --teal-900: #08343d;
  --teal-800: #0b4f5c;
  --teal-700: #0f6473;
  --teal-100: #e3f1f2;
  --teal-50: #f2f8f8;
  --orange: #ff7a2e;
  --orange-700: #e2601a;
  --orange-100: #fff0e6;
  --green: #3f8f5a;
  --blue: #2f7fb8;
  --night: #12313b;
  --kakao: #fee500;
  --kakao-ink: #191600;
  --ink: #1b2528;
  --ink-2: #4b5a5e;
  --ink-3: #7b8a8e;
  --line: #e2e8e9;
  --bg: #ffffff;
  --bg-soft: #f6f8f7;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 6px 24px rgba(8, 52, 61, .08);
  --shadow-lg: 0 18px 48px rgba(8, 52, 61, .18);
  --header-h: 64px;
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; word-break: keep-all; overflow-wrap: anywhere; }
img { max-width: 100%; display: block; }
svg { width: 1em; height: 1em; flex-shrink: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { line-height: 1.3; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
.pc { display: none; }
@media (min-width: 768px) { .pc { display: inline; } }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 780px; }

/* ---------- 버튼 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1.5px solid transparent; font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap; transition: transform .15s, background-color .15s, box-shadow .15s; }
.btn:active { transform: scale(.98); }
.btn svg { font-size: 20px; }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 14px; }
.btn-lg { min-height: 52px; padding: 0 26px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-700); }
.btn-kakao { background: var(--kakao); color: var(--kakao-ink); }
.btn-kakao:hover { box-shadow: 0 4px 14px rgba(254, 229, 0, .45); }
.btn-outline { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-outline:hover { border-color: var(--teal-700); color: var(--teal-700); }
.btn-light { background: #fff; color: var(--teal-800); }
.btn-ghost { background: var(--teal-50); color: var(--teal-800); }
.btn-ghost:hover { background: var(--teal-100); }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 0; background: transparent; }
.icon-btn svg { font-size: 22px; }
.icon-btn:hover { background: var(--bg-soft); }
.link { background: none; border: 0; padding: 0; text-decoration: underline; color: inherit; font-size: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

/* ---------- 헤더 ---------- */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { width: auto; height: 40px; display: block; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text strong { font-size: 17px; color: var(--teal-900); }
.logo-text small { font-size: 11px; color: var(--ink-3); letter-spacing: .04em; }
.nav { display: none; margin-left: auto; gap: 4px; }
.nav a { padding: 8px 12px; border-radius: 8px; text-decoration: none; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.nav a:hover { color: var(--teal-800); background: var(--teal-50); }
.header-cta { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.header-cta .btn-kakao span { display: none; }
@media (min-width: 420px) { .header-cta .btn-kakao span { display: inline; } }
@media (min-width: 960px) {
  .nav { display: flex; }
  .header-cta { margin-left: 8px; }
  .menu-toggle { display: none; }
}
@media (max-width: 959px) {
  .nav.open { display: flex; flex-direction: column; position: absolute; top: var(--header-h); left: 0; right: 0; background: #fff; padding: 8px 12px 16px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.open a { padding: 14px 12px; font-size: 16px; }
}

/* ---------- 히어로 ---------- */
.hero { position: relative; color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: var(--teal-900); }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,52,61,.35) 0%, rgba(8,52,61,.55) 55%, rgba(8,52,61,.85) 100%); }
/* 투어코스 사진 로테이션 — 장당 6초, 사진을 늘리면 animation 길이(6초×장수)와 delay 를 함께 맞출 것 */
.hero-bg i { position: absolute; inset: 0; background: center 60% / cover no-repeat; opacity: 0; animation: hero-fade 24s infinite; }
.hero-bg i:nth-child(2) { animation-delay: 6s; }
.hero-bg i:nth-child(3) { animation-delay: 12s; }
.hero-bg i:nth-child(4) { animation-delay: 18s; }
.hero-bg i:first-child { opacity: 1; }
@keyframes hero-fade {
  0% { opacity: 0; transform: scale(1); }
  5% { opacity: 1; }
  25% { opacity: 1; }
  32% { opacity: 0; transform: scale(1.08); }
  100% { opacity: 0; transform: scale(1.08); }
}
@media (prefers-reduced-motion: reduce) { .hero-bg i { animation: none; } }
.hero-inner { position: relative; padding-top: 56px; padding-bottom: 32px; min-height: 50vh; display: flex; flex-direction: column; justify-content: flex-end; }
.eyebrow { display: inline-block; align-self: flex-start; font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.18); backdrop-filter: blur(6px); margin-bottom: 16px; }
.hero h1 { font-size: clamp(32px, 7.4vw, 60px); font-weight: 800; letter-spacing: -0.035em; text-shadow: 0 2px 18px rgba(0,0,0,.25); }
.hero .lead { margin-top: 16px; font-size: clamp(15px, 2.2vw, 19px); color: rgba(255,255,255,.92); max-width: 620px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero-cta .btn { flex: 1 1 200px; }
@media (min-width: 640px) { .hero-cta .btn { flex: 0 0 auto; } }
.hero-facts { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; max-width: 560px; }
.hero-facts li { background: rgba(255,255,255,.14); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.2); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; }
.hero-facts strong { font-size: clamp(17px, 3.4vw, 22px); }
.hero-facts span { font-size: 12px; color: rgba(255,255,255,.85); }

/* ---------- 섹션 공통 ---------- */
.section { padding: 64px 0; }
@media (min-width: 768px) { .section { padding: 96px 0; } }
.section-title { font-size: clamp(24px, 4.4vw, 36px); font-weight: 800; color: var(--teal-900); }
.section-sub { margin-top: 10px; color: var(--ink-2); font-size: clamp(15px, 2vw, 17px); max-width: 640px; }
.note { margin-top: 12px; font-size: 13px; color: var(--ink-3); }
.tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.tag-teal { background: var(--teal-100); color: var(--teal-800); }
.tag-orange { background: var(--orange); color: #fff; }

/* 왜 */
.why-grid { margin-top: 32px; display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .why-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.why-card { background: var(--bg-soft); border-radius: var(--radius); padding: 24px; }
.why-card svg { font-size: 30px; color: var(--teal-700); }
.why-card h3 { margin-top: 14px; font-size: 18px; }
.why-card p { margin-top: 6px; color: var(--ink-2); font-size: 15px; }

/* 운영 방식 */
.schedule { background: var(--teal-50); }
.schedule-grid { margin-top: 32px; display: grid; gap: 16px; }
@media (min-width: 860px) { .schedule-grid { grid-template-columns: 1.4fr 1fr; gap: 20px; } }
.schedule-card { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.schedule-card h3 { font-size: 22px; }
.schedule-card > p { color: var(--ink-2); }
.schedule-card.dark { background: linear-gradient(150deg, var(--teal-800), var(--teal-900)); color: #fff; }
.schedule-card.dark > p { color: rgba(255,255,255,.85); }
.schedule-card.dark .btn { margin-top: auto; }
.week { list-style: none; padding: 0; margin: 8px 0 0; width: 100%; display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.week li { text-align: center; border-radius: 10px; padding: 10px 2px; background: var(--teal-800); color: #fff; display: flex; flex-direction: column; gap: 2px; }
.week li b { font-size: 13px; opacity: .8; }
.week li span { font-size: clamp(12px, 2.6vw, 15px); font-weight: 700; }
.week li.off { background: var(--orange-100); color: var(--orange-700); }

/* 투어 */
.tabs { margin-top: 28px; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; margin-left: -20px; margin-right: -20px; padding-left: 20px; padding-right: 20px; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: 0 0 auto; border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 9px 16px; font-weight: 700; font-size: 14px; color: var(--ink-2); }
.tab[aria-selected="true"] { background: var(--teal-800); border-color: var(--teal-800); color: #fff; }
.tour-grid { margin-top: 20px; display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .tour-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .tour-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.tour-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.tour-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.tour-art { position: relative; aspect-ratio: 16 / 10; display: grid; place-items: end center; overflow: hidden; }
.tour-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tour-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.tone-teal .tour-art { background: linear-gradient(180deg, #d8eef0, #b6dde1); color: var(--teal-700); }
.tone-blue .tour-art { background: linear-gradient(180deg, #e2f0fb, #bcdcf3); color: var(--blue); }
.tone-orange .tour-art { background: linear-gradient(180deg, #fff3e9, #ffd9bf); color: var(--orange); }
.tone-green .tour-art { background: linear-gradient(180deg, #e6f3e7, #c4e3c8); color: var(--green); }
.tone-night .tour-art { background: linear-gradient(180deg, #0f2a35, #1d4756); color: #0c2a33; }
.tour-badge { position: absolute; top: 12px; left: 12px; font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--teal-900); }
.tour-card.soon .tour-badge { background: var(--night); color: #e8ff8a; }
.tour-body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.tour-body h3 { font-size: 19px; }
.tour-body .summary { color: var(--ink-2); font-size: 15px; }
.route { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 13px; color: var(--ink-2); }
.route li:not(:last-child)::after { content: "›"; margin: 0 6px; color: var(--ink-3); }
.tour-start { margin: 10px 0 0; font-size: 13px; font-weight: 700; color: var(--orange-700); }
.tour-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line); }
.tour-meta .duration { font-size: 13px; color: var(--ink-3); }
.tour-meta .price { font-size: 20px; font-weight: 800; color: var(--teal-900); }
.tour-meta .price small { font-size: 13px; font-weight: 600; color: var(--ink-3); margin-right: 4px; }
.tour-meta .price.ask { font-size: 14px; color: var(--orange-700); }
.tour-actions { display: flex; gap: 8px; }
.tour-actions .btn { flex: 1; padding: 0 12px; }
.tour-actions .icon-btn { border: 1.5px solid var(--line); width: 44px; height: 44px; flex: 0 0 44px; }

/* 이용 안내 */
.info { background: var(--bg-soft); }
.info-grid { margin-top: 32px; display: grid; gap: 16px; }
@media (min-width: 900px) { .info-grid { grid-template-columns: 1.3fr 1fr 1fr; gap: 20px; } }
.info-card { background: #fff; border-radius: var(--radius); padding: 24px; }
.info-card h3 { font-size: 18px; margin-bottom: 14px; color: var(--teal-900); }
.info-card > p { color: var(--ink-2); }
.pickups { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.pickups li { display: flex; gap: 12px; align-items: center; }
.pickups time { flex: 0 0 auto; font-weight: 800; color: #fff; background: var(--teal-800); border-radius: 8px; padding: 4px 8px; font-size: 14px; }
.incl { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.incl h4 { font-size: 14px; color: var(--ink-3); margin-bottom: 6px; }
.incl ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; font-size: 15px; }
.checks li::before { content: "✓"; color: var(--green); font-weight: 800; margin-right: 6px; }
.dots li::before { content: "–"; color: var(--ink-3); margin-right: 6px; }

/* 단체 */
.group-inner { display: grid; gap: 28px; align-items: center; }
.group-inner .btn { margin-top: 24px; }
@media (min-width: 900px) { .group-inner { grid-template-columns: 1fr 1.1fr; gap: 48px; } }
.vehicles { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.vehicles li { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 4px; }
.vehicles svg { font-size: 26px; color: var(--teal-700); margin-bottom: 6px; }
.vehicles strong { font-size: 16px; }
.vehicles .seats { font-weight: 800; color: var(--orange-700); }
.vehicles .fit { font-size: 13px; color: var(--ink-3); }

/* 카카오 */
.kakao { background: linear-gradient(160deg, #fffbd6 0%, #fff7b0 100%); }
.steps { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 14px; counter-reset: step; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.steps li { background: #fff; border-radius: var(--radius); padding: 22px; position: relative; counter-increment: step; }
.steps li::before { content: counter(step, decimal-leading-zero); position: absolute; top: 18px; right: 20px; font-weight: 800; font-size: 22px; color: #f0e7a0; }
.step-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--kakao); color: var(--kakao-ink); }
.step-icon svg { font-size: 22px; }
.steps h3 { margin-top: 14px; font-size: 17px; }
.steps p { margin-top: 4px; color: var(--ink-2); font-size: 14px; }
.kakao-cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 10px; }
.kakao-cta .btn { flex: 1 1 220px; }
@media (min-width: 640px) { .kakao-cta .btn { flex: 0 0 auto; } }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { margin-top: 24px; border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 36px 18px 0; font-weight: 700; font-size: 16px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 400; color: var(--teal-700); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 0 20px; color: var(--ink-2); }

/* 푸터 */
.site-footer { background: var(--teal-900); color: rgba(255,255,255,.75); padding: 40px 0 calc(96px + env(safe-area-inset-bottom)); font-size: 13px; }
@media (min-width: 768px) { .site-footer { padding-bottom: 40px; } }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; }
.footer-brand { color: #fff; font-weight: 800; font-size: 16px; margin-bottom: 8px; }
.footer-brand small { font-weight: 500; opacity: .7; margin-left: 4px; }
.footer-info { line-height: 1.9; }
.footer-info span { white-space: nowrap; }
.footer-info span + span::before { content: "|"; margin: 0 8px; opacity: .35; }
.footer-links { display: flex; gap: 16px; align-items: flex-start; }
.footer-links a, .footer-links .link { color: #fff; }

/* 모바일 하단 바 */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1.3fr 1.3fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
.mobile-bar > * { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; border-radius: 12px; border: 0; font-weight: 700; font-size: 15px; text-decoration: none; }
.mobile-bar svg { font-size: 20px; }
.mb-call { background: var(--bg-soft); color: var(--teal-900); }
.mb-kakao { background: var(--kakao); color: var(--kakao-ink); }
.mb-reserve { background: var(--orange); color: #fff; }
.fab-kakao { display: none; }
@media (min-width: 768px) {
  .mobile-bar { display: none; }
  .fab-kakao { display: grid; place-items: center; position: fixed; right: 24px; bottom: 24px; z-index: 40; width: 60px; height: 60px; border-radius: 50%; border: 0; background: var(--kakao); color: var(--kakao-ink); box-shadow: var(--shadow-lg); transition: transform .2s; }
  .fab-kakao:hover { transform: scale(1.06); }
  .fab-kakao svg { font-size: 30px; }
}

/* 모달 */
.modal { border: 0; padding: 0; width: min(560px, 100%); max-height: 100%; border-radius: 20px; box-shadow: var(--shadow-lg); color: var(--ink); }
.modal::backdrop { background: rgba(8, 30, 36, .55); backdrop-filter: blur(2px); }
@media (max-width: 599px) {
  .modal { margin: auto 0 0; max-width: 100%; width: 100%; border-radius: 20px 20px 0 0; max-height: 92dvh; }
}
.modal-body { padding: 22px 20px calc(22px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 14px; }
@media (min-width: 600px) { .modal-body { padding: 28px; } }
.modal-head { display: flex; align-items: center; justify-content: space-between; }
.modal-head h2 { font-size: 21px; }
.modal-sub { font-size: 14px; color: var(--ink-2); margin-top: -6px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink-2); min-width: 0; }
.field small { font-weight: 400; color: var(--ink-3); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 16px; font-weight: 500; color: var(--ink); padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal-700); box-shadow: 0 0 0 3px var(--teal-100); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: #d64545; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.agree input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--teal-800); flex: 0 0 auto; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-error { color: #c43c3c; font-size: 14px; min-height: 0; }
.form-error:empty { display: none; }
.modal-foot { text-align: center; font-size: 13px; color: var(--ink-3); }
.modal-foot a { color: var(--teal-800); font-weight: 700; }
.done { align-items: center; text-align: center; padding-top: 36px; }
.done-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--teal-100); color: var(--teal-800); display: grid; place-items: center; }
.done-icon svg { font-size: 34px; }
.done h2 { font-size: 22px; }
.done p { color: var(--ink-2); white-space: pre-line; }
.done-actions { width: 100%; display: grid; gap: 8px; margin-top: 8px; }
.privacy { margin: 0; display: grid; gap: 4px; font-size: 14px; }
.privacy dt { font-weight: 700; margin-top: 10px; color: var(--teal-900); }
.privacy dd { margin: 0; color: var(--ink-2); }

/* 토스트 */
.toast { position: fixed; left: 50%; bottom: calc(90px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; font-size: 14px; max-width: calc(100% - 32px); box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 100; text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (min-width: 768px) { .toast { bottom: 32px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
