/* ============================================
   Jeon Tours — Design System
   Aurora-inspired palette, Pretendard typography
   ============================================ */

@font-face {
  font-family: 'Pretendard';
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/Pretendard-Regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Pretendard';
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/Pretendard-Bold.woff2') format('woff2');
}

:root {
  /* Aurora palette */
  --c-night: #0a1628;
  --c-night-2: #0f1e36;
  --c-aurora: #4ade80;
  --c-aurora-2: #22c55e;
  --c-glacier: #38bdf8;
  --c-warm: #fde68a;
  --c-magenta: #c084fc;

  /* Surface */
  --c-bg: #ffffff;
  --c-bg-soft: #f8fafc;
  --c-bg-card: #ffffff;
  --c-border: #e2e8f0;

  /* Text */
  --c-text: #0f172a;
  --c-text-2: #334155;
  --c-text-mute: #64748b;
  --c-text-faint: #94a3b8;
  --c-on-dark: #f8fafc;
  --c-on-dark-mute: #cbd5e1;

  /* Accent (brand) */
  --c-brand: #1b4332;
  --c-brand-hi: #2d6a4f;

  /* Spacing & radii */
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 20px;

  /* Layout */
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  word-break: keep-all;
  overflow-wrap: break-word;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

a:focus-visible, button:focus-visible {
  outline: 3px solid var(--c-glacier);
  outline-offset: 3px;
  border-radius: 4px;
}

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ============================================
   Header / Nav
   ============================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--c-border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; padding-bottom: 14px;
}
.brand { display: flex; align-items: baseline; gap: 10px; font-weight: 700; }
.brand-mark {
  font-size: 1.05rem; letter-spacing: 0.18em;
  background: linear-gradient(135deg, var(--c-brand), var(--c-aurora-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand-since { font-size: 0.78rem; color: var(--c-text-mute); letter-spacing: 0.14em; font-weight: 500; }
.nav-links { display: flex; gap: 28px; list-style: none; align-items: center; }
.nav-links a { color: var(--c-text-2); font-weight: 500; font-size: 0.95rem; }
.nav-links a:hover { color: var(--c-brand); }
.nav-links .cta {
  padding: 8px 16px; border-radius: 999px;
  background: var(--c-brand); color: #fff !important;
  font-weight: 600;
}
.nav-links .cta:hover { background: var(--c-brand-hi); color: #fff; }

/* 통화 셀렉터 (상단 nav 우측) */
.currency-switcher {
  display: inline-flex; align-items: center;
  border: 1px solid var(--c-border, #e5e7eb);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
}
.currency-switcher button {
  appearance: none;
  background: transparent;
  border: 0;
  color: var(--c-text-2);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 10px;
  cursor: pointer;
  line-height: 1;
  min-width: 28px;
}
.currency-switcher button + button {
  border-left: 1px solid var(--c-border, #e5e7eb);
}
.currency-switcher button:hover {
  color: var(--c-brand);
  background: rgba(0, 0, 0, 0.03);
}
.currency-switcher button.active {
  background: var(--c-brand);
  color: #fff;
}
.currency-switcher button.active:hover {
  background: var(--c-brand-hi);
  color: #fff;
}

/* 모바일 햄버거 메뉴 (≤720px에서만 노출) */
.nav-toggle {
  display: none;
  appearance: none;
  background: transparent;
  border: 0;
  padding: 6px;
  margin-left: 4px;
  color: var(--c-text-2);
  cursor: pointer;
  line-height: 0;
}
.nav-toggle svg { display: block; width: 26px; height: 26px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.nav-panel {
  display: none;
  position: absolute;
  top: 100%; left: 0; right: 0;
  flex-direction: column;
  margin-top: 1px;
  padding: 4px 0 10px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--c-border);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.10);
}
.nav-panel.open { display: flex; }
.nav-panel a {
  display: block;
  padding: 13px 2px;
  color: var(--c-text-2);
  font-weight: 600;
  font-size: 1.02rem;
}
.nav-panel a + a { border-top: 1px solid var(--c-border); }
.nav-panel a:hover { color: var(--c-brand); }

/* 햄버거 패널 내부: 통화 선택 행 + 상담 CTA */
.nav-panel-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 12px 2px;
  border-top: 1px solid var(--c-border);
}
.nav-panel-label { color: var(--c-text-2); font-weight: 600; font-size: 1.02rem; }
.nav-panel .currency-switcher button {
  padding: 9px 14px; font-size: 1rem; min-width: 40px;
}
.nav-panel .cta {
  margin-top: 12px; text-align: center;
  padding: 12px 16px; border-radius: 999px;
  background: var(--c-brand); color: #fff !important;
  font-weight: 600; border-top: 0;
}
.nav-panel .cta:hover { background: var(--c-brand-hi); }

@media (max-width: 720px) {
  .nav { position: relative; }
  .site-header nav { display: flex; align-items: center; gap: 8px; }
  .nav-toggle { display: inline-flex; align-items: center; }
  .nav-links { gap: 12px; }
  .nav-links li:not(.always-show) { display: none; }
  .nav-links .currency-switcher button { padding: 5px 6px; font-size: 0.8rem; min-width: 22px; }
}

/* ============================================
   Hero (page-specific via .hero--variant)
   ============================================ */
.hero {
  position: relative;
  color: var(--c-on-dark);
  background: var(--c-night);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 22% 28%, rgba(74,222,128,0.30) 0%, transparent 60%),
    radial-gradient(50% 50% at 78% 18%, rgba(56,189,248,0.28) 0%, transparent 65%),
    radial-gradient(45% 45% at 60% 82%, rgba(192,132,252,0.22) 0%, transparent 60%),
    linear-gradient(180deg, #050b18 0%, #0a1628 60%, #0f2740 100%);
  z-index: -1;
  animation: aurora 16s ease-in-out infinite alternate;
}

/* Aurora photo hero — used on home + Iceland pages */
.hero--aurora { background: #050b18; }
.hero--aurora::before {
  background:
    /* Darkening + readability gradient */
    linear-gradient(180deg, rgba(5,11,24,0.55) 0%, rgba(5,11,24,0.35) 40%, rgba(5,11,24,0.85) 100%),
    /* Aurora photograph — WebP first, JPEG fallback */
    image-set(
      url('/images/aurora-hero.webp?v=20260510') type('image/webp'),
      url('/images/aurora-hero.jpg?v=20260510') type('image/jpeg')
    ) center/cover no-repeat;
  animation: none;
}
/* Subtle aurora glow shimmer over the photo */
.hero--aurora::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 40% at 80% 10%, rgba(74,222,128,0.15) 0%, transparent 60%),
    radial-gradient(50% 40% at 20% 5%, rgba(56,189,248,0.10) 0%, transparent 60%);
  z-index: -1;
  animation: aurora 18s ease-in-out infinite alternate;
}
@keyframes aurora {
  0%   { transform: translate3d(0,0,0)    scale(1); }
  50%  { transform: translate3d(-2%,1%,0) scale(1.05); }
  100% { transform: translate3d(2%,-1%,0) scale(1.03); }
}

/* Generic photo hero — drives background via --hero-bg inline custom prop */
.hero--photo { background: #050b18; position: relative; }
.hero--photo::before {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(5,11,24,0.55) 0%, rgba(5,11,24,0.30) 40%, rgba(5,11,24,0.85) 100%),
    var(--hero-bg, none) center/cover no-repeat;
  z-index: -1;
}
.hero-inner { padding-top: 96px; padding-bottom: 88px; }
.hero-eyebrow {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  font-size: 0.82rem; letter-spacing: 0.12em; font-weight: 500;
  color: var(--c-on-dark-mute);
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  text-wrap: balance;
}
.hero h1 .accent {
  background: linear-gradient(110deg, var(--c-aurora) 0%, var(--c-glacier) 60%, var(--c-magenta) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lede {
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  color: var(--c-on-dark-mute);
  max-width: 56ch;
  margin-bottom: 28px;
}
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 18px 28px;
  margin-top: 28px; padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.92rem; color: var(--c-on-dark-mute);
}
.hero-meta strong { color: var(--c-on-dark); font-weight: 600; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600; font-size: 0.96rem;
  border: 1px solid transparent;
  transition: transform .18s ease, background .2s ease, color .2s ease, border-color .2s ease;
  cursor: pointer; font-family: inherit;
}
.btn-primary { background: var(--c-aurora); color: #052e16; }
.btn-primary:hover { background: #86efac; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--c-on-dark); border-color: rgba(255,255,255,0.35); }
.btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.6); }
.btn-dark { background: var(--c-brand); color: #fff; }
.btn-dark:hover { background: var(--c-brand-hi); transform: translateY(-1px); }
.btn-outline { background: #fff; color: var(--c-brand); border-color: var(--c-brand); }
.btn-outline:hover { background: var(--c-brand); color: #fff; }

/* ============================================
   Sections
   ============================================ */
.section { padding: 88px 0; }
.section--soft { background: var(--c-bg-soft); }
.section--dark { background: var(--c-night); color: var(--c-on-dark); }
.section--dark p { color: var(--c-on-dark-mute); }

.section-eyebrow {
  font-size: 0.82rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--c-brand-hi); font-weight: 600;
  margin-bottom: 10px;
}
.section--dark .section-eyebrow { color: var(--c-aurora); }
.section-title {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 700; letter-spacing: -0.015em;
  line-height: 1.25; margin-bottom: 14px;
  text-wrap: balance;
}
.section-lede {
  font-size: 1.05rem; color: var(--c-text-mute);
  max-width: 60ch;
  margin-bottom: 40px;
}
.section--dark .section-lede { color: var(--c-on-dark-mute); }

.section-head { margin-bottom: 48px; }
.section-head--center { text-align: center; }
.section-head--center .section-lede { margin-left: auto; margin-right: auto; }

/* ============================================
   Tour cards (list)
   ============================================ */
.tours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.tour-card {
  display: flex; flex-direction: column;
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .2s ease;
}
.tour-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(15,23,42,0.18);
  border-color: var(--c-aurora);
}
.tour-card-cover {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--c-night) 0%, var(--c-night-2) 100%);
  position: relative; overflow: hidden;
}
.tour-card-cover img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.tour-card:hover .tour-card-cover img { transform: scale(1.04); }
.tour-card-cover::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(60% 60% at 30% 30%, rgba(74,222,128,0.35) 0%, transparent 60%),
    radial-gradient(60% 60% at 75% 70%, rgba(56,189,248,0.35) 0%, transparent 60%);
  mix-blend-mode: screen;
}
.tour-card-cover.has-image::after {
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.35) 100%);
  mix-blend-mode: normal;
}
.tour-card--uk .tour-card-cover {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
}
.tour-card--uk .tour-card-cover::after {
  background:
    radial-gradient(60% 60% at 30% 30%, rgba(192,132,252,0.32) 0%, transparent 60%),
    radial-gradient(60% 60% at 75% 70%, rgba(253,224,138,0.30) 0%, transparent 60%);
}
.tour-card-tag {
  position: absolute; top: 14px; left: 14px;
  font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: #fff; background: rgba(0,0,0,0.45);
  padding: 5px 10px; border-radius: 999px;
  backdrop-filter: blur(6px);
  z-index: 1;
}
.tour-card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.tour-card h3 {
  font-size: 1.18rem; font-weight: 700;
  letter-spacing: -0.01em; line-height: 1.35;
}
.tour-card-meta {
  display: flex; flex-wrap: wrap; gap: 6px 14px;
  font-size: 0.86rem; color: var(--c-text-mute);
  margin-bottom: 4px;
}
.tour-card-meta span::before { content: '·'; margin-right: 14px; color: var(--c-text-faint); }
.tour-card-meta span:first-child::before { content: ''; margin: 0; }
.tour-card-desc { color: var(--c-text-2); font-size: 0.96rem; flex: 1; }
.tour-card-foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--c-border);
  font-size: 0.92rem;
}
.tour-card-from { color: var(--c-text-mute); }
.tour-card-from strong { color: var(--c-text); font-weight: 600; }
.tour-card-link { color: var(--c-brand-hi); font-weight: 600; }
.tour-card-link::after { content: ' →'; transition: transform .2s ease; display: inline-block; }
.tour-card:hover .tour-card-link::after { transform: translateX(4px); }

/* ============================================
   Tour detail content
   ============================================ */
.prose { max-width: 68ch; }
.prose p { margin-bottom: 1.1em; color: var(--c-text-2); font-size: 1.04rem; }
.prose p.first { font-size: 1.16rem; color: var(--c-text); }

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  margin: 32px 0 8px;
  padding: 22px;
  background: var(--c-bg-soft);
  border-radius: var(--r);
  border: 1px solid var(--c-border);
}
.section--dark .facts {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.10);
}
.fact-label {
  display: block; font-size: 0.74rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--c-text-mute); margin-bottom: 4px;
}
.section--dark .fact-label { color: var(--c-on-dark-mute); }
.fact-value { font-weight: 600; font-size: 1rem; color: var(--c-text); }
.section--dark .fact-value { color: var(--c-on-dark); }

.highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  list-style: none;
}
.highlights li {
  background: var(--c-bg-card); padding: 18px 20px;
  border: 1px solid var(--c-border);
  border-radius: var(--r);
  border-left: 3px solid var(--c-aurora-2);
  font-size: 0.98rem; color: var(--c-text-2);
}

.included-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
@media (max-width: 640px) { .included-grid { grid-template-columns: 1fr; } }
.included-list { list-style: none; }
.included-list li { padding-left: 28px; position: relative; margin-bottom: 10px; color: var(--c-text-2); }
.included-list.yes li::before {
  content: '✓'; position: absolute; left: 0; top: 0;
  color: var(--c-aurora-2); font-weight: 700;
}
.included-list.no li::before {
  content: '·'; position: absolute; left: 6px; top: -4px;
  color: #ef4444; font-weight: 700; font-size: 1.4em; line-height: 1;
}
.included-card {
  padding: 24px; border-radius: var(--r);
  background: var(--c-bg-card); border: 1px solid var(--c-border);
}
.included-card h4 { margin-bottom: 14px; font-size: 1rem; font-weight: 700; }

.quote {
  border-left: 3px solid var(--c-aurora);
  padding: 8px 0 8px 22px;
  font-size: 1.12rem; color: var(--c-text);
  font-style: italic;
  max-width: 60ch;
  margin: 32px 0;
}

/* ============================================
   About / timeline
   ============================================ */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start;
}
@media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; gap: 32px; } }
.timeline { list-style: none; border-left: 2px solid var(--c-border); padding-left: 26px; }
.timeline li { position: relative; padding-bottom: 18px; }
.timeline li::before {
  content: ''; position: absolute; left: -33px; top: 8px;
  width: 12px; height: 12px; border-radius: 999px;
  background: var(--c-aurora-2); box-shadow: 0 0 0 4px rgba(34,197,94,0.18);
}
.timeline-year { font-weight: 700; color: var(--c-brand-hi); margin-right: 12px; }

/* ============================================
   Contact
   ============================================ */
.contact-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px;
}
.contact-card {
  padding: 24px; border-radius: var(--r);
  background: var(--c-bg-card); border: 1px solid var(--c-border);
  display: flex; flex-direction: column; gap: 6px;
  transition: border-color .2s ease, transform .2s ease;
}
.contact-card:hover { border-color: var(--c-aurora-2); transform: translateY(-2px); }
.contact-label { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-text-mute); }
.contact-value { font-weight: 700; font-size: 1.06rem; color: var(--c-text); }
.contact-note { font-size: 0.88rem; color: var(--c-text-mute); }

/* ============================================
   Footer
   ============================================ */
.site-footer {
  background: var(--c-night);
  color: var(--c-on-dark-mute);
  padding: 56px 0 32px;
  font-size: 0.94rem;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px;
  margin-bottom: 32px;
}
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { color: var(--c-on-dark); font-size: 0.92rem; letter-spacing: 0.06em; margin-bottom: 12px; }
.footer-grid ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-grid a:hover { color: var(--c-aurora); }
.footer-bot {
  padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.10);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 0.84rem; color: var(--c-text-faint);
}
.footer-credit { font-size: 0.78rem; opacity: 0.7; }
.footer-credit a { color: inherit; border-bottom: 1px dotted currentColor; }
.footer-credit a:hover { color: var(--c-aurora); border-bottom-color: var(--c-aurora); }

.brand--footer { align-items: center; gap: 12px; }
.brand-logo { width: 36px; height: auto; display: block; }

/* ============================================
   About page — company motto band
   ============================================ */
.section--motto { padding: 36px 0; background: var(--c-bg-soft); border-bottom: 1px solid var(--c-border); }
.motto-inner { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.motto-logo { width: 80px; height: auto; margin-bottom: 4px; }
.motto-latin { font-size: 1.25rem; letter-spacing: 0.04em; color: var(--c-brand); font-style: italic; margin: 0; }
.motto-translation { font-size: 0.95rem; color: var(--c-text-mute); margin: 0; }
@media (max-width: 720px) {
  .motto-latin { font-size: 1.1rem; }
  .motto-logo { width: 64px; }
}

/* ============================================
   Utilities
   ============================================ */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-2 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 32px; }
.mt-4 { margin-top: 32px; }
.flow > * + * { margin-top: 1em; }
.text-mute { color: var(--c-text-mute); }
.cluster { display: flex; flex-wrap: wrap; gap: 12px; }

/* ============================================
   Mobile (≤720px) — compress vertical rhythm,
   tighten typography, optimise tap targets
   ============================================ */
@media (max-width: 720px) {
  .hero-inner { padding-top: 64px; padding-bottom: 56px; }
  .hero-eyebrow { margin-bottom: 14px; font-size: 0.78rem; }
  .hero h1 { line-height: 1.22; margin-bottom: 14px; }
  .hero p.lede { margin-bottom: 22px; }
  .hero-meta {
    gap: 10px 18px;
    margin-top: 22px; padding-top: 18px;
    font-size: 0.88rem;
  }

  .section { padding: 56px 0; }
  .section-head { margin-bottom: 32px; }
  .section-lede { font-size: 1rem; margin-bottom: 28px; }
  .section-title { letter-spacing: -0.01em; line-height: 1.28; }

  /* balance often produces awkward orphans on narrow viewports */
  .hero h1, .section-title { text-wrap: pretty; }

  .nav { padding-top: 12px; padding-bottom: 12px; }
  .nav-links .cta { padding: 7px 14px; font-size: 0.9rem; }

  .tour-card-meta { font-size: 0.82rem; }
  .tour-card-foot { margin-top: 12px; padding-top: 12px; font-size: 0.88rem; }

  .contact-card { padding: 22px 18px !important; }

  .tours-grid { gap: 18px; }
  .tour-card-body { padding: 18px 18px 20px; gap: 8px; }
  .tour-card h3 { font-size: 1.08rem; }

  .quote { margin: 24px 0; padding-left: 16px; font-size: 1.04rem; }

  .site-footer { padding: 40px 0 24px; }
  .footer-grid { gap: 24px; margin-bottom: 24px; }
}

/* Narrow phones — give the hero CTAs full-width tap targets,
   widen safe-area side gutters slightly */
@media (max-width: 480px) {
  .container { padding-left: 20px; padding-right: 20px; }

  .hero-cta { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-cta .btn { justify-content: center; width: 100%; }

  .cluster .btn { flex: 1 1 100%; justify-content: center; }

  .footer-bot { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* ============================================
   Photo gallery (tour pages)
   ============================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}
.gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  overflow: hidden;
  background: var(--c-night);
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 12px 14px 10px;
  font-size: 0.86rem; color: #fff;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.72) 100%);
  letter-spacing: 0.01em;
}
.gallery-item--tall { aspect-ratio: 3 / 4; }
.gallery-item--wide { aspect-ratio: 16 / 9; grid-column: span 2; }
@media (max-width: 720px) {
  .gallery-item--wide { grid-column: span 1; }
}

/* ---------- Price FX (GBP → KRW/USD) ---------- */
.price-fx {
  display: inline;
  margin-left: 4px;
  font-size: 0.82em;
  font-weight: 400;
  color: var(--c-text-mute);
  white-space: nowrap;
}
.tour-card-from .price-fx { font-size: 0.78em; }

/* ---------- Travel Letter verse ---------- */
.letter-verse {
  margin-top: 22px;
  font-family: "Pretendard", serif;
  font-size: 1.25rem;
  line-height: 1.9;
  font-style: italic;
  color: var(--c-aurora, #4fd1c5);
  letter-spacing: 0.02em;
}
.letter-verse-credit {
  margin-top: 8px;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--c-text-mute);
}
@media (max-width: 720px) {
  .letter-verse { font-size: 1.1rem; }
}

/* ---------- Cost notes (투어 비용) ---------- */
.cost-notes {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 72ch;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 1rem;
  color: var(--c-text-2);
}
.cost-notes li {
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.6);
  border-left: 3px solid var(--c-aurora, #2c7a7b);
  border-radius: 4px;
  line-height: 1.6;
}
.cost-notes li strong { color: var(--c-text-1); margin-right: 6px; }
.section-title .price-from {
  display: inline-block;
  margin-left: 8px;
  font-size: 0.95em;
  color: var(--c-aurora, #2c7a7b);
}
.section-title .price-from .price-fx {
  display: block;
  font-size: 0.62em;
  font-weight: 500;
  color: var(--c-text-mute);
  margin-top: 4px;
}

/* ---------- Contact form ---------- */
.contact-form {
  max-width: 640px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 18px;
}
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row label {
  font-size: 0.86rem; font-weight: 600; color: var(--c-text-2);
  letter-spacing: 0.02em;
}
.contact-form input,
.contact-form textarea {
  font: inherit; color: var(--c-text);
  padding: 12px 14px; border-radius: var(--r);
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  transition: border-color .15s, box-shadow .15s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--c-aurora-2);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
}
.contact-form textarea { resize: vertical; min-height: 140px; }
.form-honey {
  position: absolute; left: -9999px; width: 1px; height: 1px;
  overflow: hidden;
}
.form-consent {
  font-size: 0.85rem; color: var(--c-text-mute); margin: 0;
}
.form-consent a { color: var(--c-brand); text-decoration: underline; }
.form-actions {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.form-status { margin: 0; font-size: 0.92rem; }
.form-status.is-ok    { color: var(--c-aurora-2); font-weight: 600; }
.form-status.is-error { color: #b91c1c; font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ============================================
   Travel Letter — public list & detail, admin
   ============================================ */

.letter-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.letter-card {
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
  color: inherit;
}
.letter-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -22px rgba(15,23,42,0.25); }

.letter-card-cover {
  position: relative;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #1b4332 0%, #38bdf8 100%);
  overflow: hidden;
}
.letter-card-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.letter-card-cover::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10,22,40,0.55) 100%);
}

.letter-card-tag {
  position: absolute; top: 14px; left: 14px;
  background: rgba(15,23,42,0.78); color: #fff;
  padding: 4px 12px; font-size: 0.78rem; border-radius: 999px;
  letter-spacing: 0.04em;
  z-index: 1;
}

.letter-card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.letter-card-meta { display: flex; gap: 12px; font-size: 0.84rem; color: var(--c-text-mute); flex-wrap: wrap; }
.letter-card-body h3 { font-size: 1.12rem; line-height: 1.45; color: var(--c-text); }
.letter-card-excerpt { color: var(--c-text-2); font-size: 0.94rem; }
.letter-card-foot {
  margin-top: auto; padding-top: 12px; display: flex; justify-content: space-between; align-items: center;
  font-size: 0.86rem; color: var(--c-text-mute); border-top: 1px solid var(--c-border);
}
.letter-card-link { color: var(--c-brand); font-weight: 600; }

/* Detail page */
.letter-hero {
  position: relative;
  padding: clamp(60px, 12vw, 110px) 0 clamp(30px, 6vw, 60px);
  color: #fff;
  background: linear-gradient(180deg, #0a1628 0%, #0f1e36 100%);
  overflow: hidden;
}
.letter-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--hero-bg);
  background-size: cover; background-position: center;
  opacity: 0.45;
  z-index: 0;
}
.letter-hero > .container { position: relative; z-index: 1; }
.letter-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.25; margin: 14px 0 18px; }
.letter-meta {
  display: flex; gap: 18px; font-size: 0.92rem; color: var(--c-on-dark-mute); flex-wrap: wrap;
}
.letter-meta strong { color: var(--c-on-dark); font-weight: 600; }

.letter-body {
  max-width: 72ch; margin: 0 auto;
  font-size: 1.05rem; line-height: 1.85; color: var(--c-text-2);
}
.letter-body p { margin: 1em 0; }
.letter-body h2 { font-size: 1.5rem; margin: 1.8em 0 0.6em; color: var(--c-text); }
.letter-body h3 { font-size: 1.2rem; margin: 1.5em 0 0.4em; color: var(--c-text); }
.letter-body img { border-radius: var(--r-sm); margin: 1.4em 0; }
.letter-body video {
  width: 100%; border-radius: var(--r-sm); margin: 1.4em 0; background: #000;
}
.letter-body blockquote {
  border-left: 3px solid var(--c-aurora);
  padding: 6px 0 6px 16px; margin: 1.4em 0; color: var(--c-text); font-style: italic;
}
.letter-body ul, .letter-body ol { padding-left: 1.4em; margin: 1em 0; }
.letter-body code { background: var(--c-bg-soft); padding: 2px 6px; border-radius: 4px; font-size: 0.94em; }

.letter-gallery {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  margin: 28px 0;
}
.letter-gallery figure { margin: 0; }
.letter-gallery img, .letter-gallery video {
  width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--r-sm); background: #000;
}
.letter-gallery figcaption { font-size: 0.84rem; color: var(--c-text-mute); padding: 6px 4px 0; }

.letter-empty {
  padding: 60px 20px; text-align: center; color: var(--c-text-mute);
  border: 1px dashed var(--c-border); border-radius: var(--r);
}

/* Admin */
.admin-shell { max-width: 880px; margin: 60px auto; padding: 0 24px; }
.admin-shell h1 { font-size: 1.6rem; margin-bottom: 8px; }
.admin-shell .lede { color: var(--c-text-mute); margin-bottom: 28px; }

.admin-row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }
.admin-row label { min-width: 110px; color: var(--c-text-2); font-weight: 600; font-size: 0.94rem; }
.admin-row input[type="text"],
.admin-row input[type="password"],
.admin-row select,
.admin-row textarea {
  flex: 1; min-width: 220px;
  padding: 11px 14px; font: inherit;
  border: 1px solid var(--c-border); border-radius: var(--r-sm);
  background: #fff; color: var(--c-text);
}
.admin-row textarea { min-height: 280px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.94rem; line-height: 1.6; }

.admin-row .admin-drop {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 100%; min-width: 0; box-sizing: border-box;
  border: 2px dashed var(--c-border); border-radius: var(--r);
  padding: 28px; text-align: center; color: var(--c-text-mute);
  background: var(--c-bg-soft); cursor: pointer;
  font-weight: 400; font-size: 0.94rem;
  transition: border-color .15s ease, background .15s ease;
}
.admin-row .admin-drop strong { display: block; color: var(--c-text); font-size: 1rem; font-weight: 700; }
.admin-row .admin-drop > span { display: block; font-weight: 400; font-size: 0.92rem; color: var(--c-text-mute); margin-top: 6px; }
.admin-drop.is-over { border-color: var(--c-aurora); background: rgba(74,222,128,0.06); color: var(--c-text); }
.admin-drop input { display: none; }

.admin-media-list { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); margin-top: 16px; }
.admin-media-item { position: relative; border: 1px solid var(--c-border); border-radius: var(--r-sm); overflow: hidden; background: #000; }
.admin-media-item img, .admin-media-item video { width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block; }
.admin-media-item .caption-input {
  width: 100%; padding: 6px 8px; border: 0; border-top: 1px solid var(--c-border);
  font-size: 0.82rem; background: #fff;
}
.admin-media-item .remove-btn {
  position: absolute; top: 6px; right: 6px;
  background: rgba(15,23,42,0.85); color: #fff;
  border: 0; border-radius: 50%; width: 26px; height: 26px;
  font-size: 14px; cursor: pointer; line-height: 1;
}
.admin-media-item.is-cover { outline: 3px solid var(--c-aurora); }
.admin-media-item .cover-btn {
  position: absolute; bottom: 38px; left: 6px;
  background: rgba(15,23,42,0.85); color: #fff;
  border: 0; border-radius: var(--r-sm); padding: 4px 8px;
  font-size: 0.74rem; cursor: pointer;
}

.admin-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--c-border); }
.admin-status { margin: 0; padding: 8px 0; font-size: 0.92rem; }
.admin-status.is-ok    { color: var(--c-aurora-2); font-weight: 600; }
.admin-status.is-error { color: #b91c1c; font-weight: 600; }

.admin-list { display: grid; gap: 12px; margin-top: 18px; }
.admin-list-item {
  display: flex; align-items: center; gap: 14px;
  border: 1px solid var(--c-border); border-radius: var(--r-sm);
  padding: 12px 16px; background: #fff;
}
.admin-list-item .meta { flex: 1; }
.admin-list-item .meta h3 { font-size: 1rem; margin: 0 0 4px; }
.admin-list-item .meta .sub { font-size: 0.84rem; color: var(--c-text-mute); }
.admin-badge {
  display: inline-block; padding: 2px 10px; border-radius: 999px;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em;
}
.admin-badge.pub    { background: rgba(34,197,94,0.14); color: var(--c-aurora-2); }
.admin-badge.draft  { background: rgba(148,163,184,0.18); color: var(--c-text-mute); }

/* Quill editor area inside admin compose page */
#f-editor-toolbar { border-radius: var(--r-sm) var(--r-sm) 0 0; border: 1px solid var(--c-border); border-bottom: 0; background: #fff; }
#f-editor {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  min-height: 360px;
}
#f-editor .ql-editor {
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.85;
  padding: 18px 20px;
  min-height: 320px;
  color: var(--c-text);
}
#f-editor .ql-editor.ql-blank::before {
  font-style: normal;
  color: var(--c-text-faint);
  font-size: 0.96rem;
}
#f-editor .ql-editor h2 { font-size: 1.35rem; margin: 1.2em 0 0.4em; line-height: 1.4; }
#f-editor .ql-editor h3 { font-size: 1.12rem; margin: 1em 0 0.3em; line-height: 1.45; }
#f-editor .ql-editor blockquote {
  border-left: 3px solid var(--c-aurora);
  padding-left: 14px; margin: 0.8em 0; color: var(--c-text);
}
#f-editor .ql-editor img { border-radius: var(--r-sm); margin: 1em 0; max-height: 480px; }



/* ── 문의하기 팝업 (WhatsApp / KakaoTalk 선택) ───────────────── */
.inq-overlay{position:fixed;inset:0;z-index:1000;display:none;align-items:center;justify-content:center;padding:20px;background:rgba(10,22,40,.55);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
.inq-overlay.open{display:flex}
.inq-card{background:var(--c-bg-card);color:var(--c-text);width:100%;max-width:360px;border-radius:20px;padding:30px 24px 24px;box-shadow:0 24px 60px rgba(0,0,0,.35);position:relative;text-align:center}
.inq-card h3{font-size:1.2rem;margin:0 0 6px}
.inq-card>p{color:var(--c-text-mute);font-size:.92rem;margin:0 0 18px}
.inq-actions{display:flex;flex-direction:column;gap:10px}
.inq-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:13px 20px;border-radius:999px;font-weight:600;font-size:.98rem;border:1px solid transparent;cursor:pointer;font-family:inherit;text-decoration:none;transition:filter .18s ease}
.inq-wa{background:#25D366;color:#053d1c}
.inq-wa:hover{filter:brightness(1.05)}
.inq-kakao{background:#FEE500;color:#3c1e1e}
.inq-kakao:hover{filter:brightness(1.03)}
.inq-note{margin:12px 0 0;font-size:.82rem;color:var(--c-aurora-2);min-height:1em}
.inq-alt{margin:12px 0 0;font-size:.85rem}
.inq-alt a{color:var(--c-text-mute);text-decoration:underline}
.inq-close{position:absolute;top:10px;right:14px;background:none;border:none;font-size:1.5rem;line-height:1;color:var(--c-text-faint);cursor:pointer}

/* ── 푸터 SNS 아이콘 ─────────────────────────────────────────── */
.footer-social{display:inline-flex;gap:14px;align-items:center}
.footer-social a{color:var(--c-on-dark-mute);display:inline-flex;transition:color .18s ease}
.footer-social a:hover{color:var(--c-on-dark)}
.footer-social svg{width:22px;height:22px;fill:currentColor}
