/* ==========================================================================
   京都大阪兵庫6日遊 — 靜態旅遊網站樣式
   風格：日式、莫蘭迪色系、清爽現代
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+TC:wght@500;600;700&family=Noto+Sans+TC:wght@400;500;700&display=swap');

:root {
  /* Morandi palette */
  --sage: #8a9a8a;
  --sage-dark: #5f6f60;
  --sage-light: #dfe6de;
  --clay: #c48a7a;
  --clay-dark: #a06a5c;
  --clay-light: #ecd9d1;
  --sand: #c7b299;
  --sand-dark: #9c8567;
  --sand-light: #eee3d3;
  --dusk: #8996a8;
  --dusk-dark: #5f6d80;
  --dusk-light: #dfe4ec;
  --plum: #a68a94;
  --plum-dark: #7c6470;
  --plum-light: #ecdfe3;
  --stone: #9a9186;

  --color-bg: #faf7f2;
  --color-surface: #ffffff;
  --color-surface-soft: #f4efe7;
  --color-text: #3a352f;
  --color-text-soft: #6f6759;
  --color-text-faint: #9a9186;
  --color-line: #e6ded2;
  --color-primary: var(--sage-dark);
  --color-accent: var(--clay);

  --shadow-sm: 0 2px 8px rgba(60, 50, 40, 0.06);
  --shadow-md: 0 8px 24px rgba(60, 50, 40, 0.10);
  --shadow-lg: 0 16px 40px rgba(60, 50, 40, 0.16);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --font-serif: 'Noto Serif TC', serif;
  --font-sans: 'Noto Sans TC', -apple-system, "Segoe UI", sans-serif;

  --header-h: 64px;
  --container-w: 1120px;

  /* .info-strip overlaps the bottom of .hero by this much (negative margin-top).
     Anything inside .hero that must stay clear of that opaque card (the CTA
     buttons, the mascot photo) needs at least this much bottom clearance —
     keep them derived from this variable so they can't drift out of sync. */
  --hero-overlap: 64px;

  color-scheme: light;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 0.6em;
  letter-spacing: 0.02em;
}

p { margin: 0 0 1em; }

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

.section {
  padding: 56px 0;
}
.section--tight { padding: 32px 0; }
.section--soft { background: var(--color-surface-soft); }

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 36px;
}
.section-head .eyebrow {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  color: var(--color-primary);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-head h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin-bottom: 8px;
}
.section-head p { color: var(--color-text-soft); margin: 0; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color .25s ease;
  min-height: 48px;
  line-height: 1;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--sage-dark);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { background: var(--sage); box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.btn-outline {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.7);
  color: #fff;
  backdrop-filter: blur(4px);
}
.btn-outline:hover { background: rgba(255,255,255,0.28); transform: translateY(-2px); }
.btn-ghost {
  background: var(--color-surface);
  border-color: var(--color-line);
  color: var(--color-text);
}
.btn-ghost:hover { border-color: var(--sage-dark); color: var(--sage-dark); }
.btn-sm { padding: 9px 18px; font-size: 0.86rem; min-height: 38px; }
.btn-block { width: 100%; }

/* ===== Header / Nav ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(250, 247, 242, 0.86);
  backdrop-filter: blur(10px) saturate(1.2);
  border-bottom: 1px solid var(--color-line);
  transition: box-shadow .25s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }

.nav-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 20px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--color-text);
  white-space: nowrap;
}
.brand .brand-en {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: var(--color-text-faint);
  font-family: var(--font-sans);
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: inline-block;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--color-text-soft);
  transition: background .2s ease, color .2s ease;
}
.nav-links a:hover { background: var(--sage-light); color: var(--sage-dark); }
.nav-links a.is-active { background: var(--sage-dark); color: #fff; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--color-line);
  background: var(--color-surface);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle .bar {
  position: relative;
  width: 20px;
  height: 2px;
  background: var(--color-text);
  transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle .bar::before,
.nav-toggle .bar::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--color-text);
  transition: transform .25s ease, top .25s ease;
}
.nav-toggle .bar::before { top: -6px; }
.nav-toggle .bar::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .bar::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar::after { top: 0; transform: rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 62%;
  transform: scale(1.06);
  animation: heroZoom 16s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1.06); }
  to { transform: scale(1); }
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(30,28,24,0.15) 0%, rgba(30,28,24,0.35) 55%, rgba(25,24,20,0.82) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 40px 0 calc(var(--hero-overlap) + 24px);
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 14px;
}
.hero h1 {
  font-size: clamp(2.1rem, 6vw, 3.6rem);
  margin-bottom: 14px;
  text-shadow: 0 4px 24px rgba(0,0,0,0.35);
}
.hero-dates {
  font-size: clamp(1rem, 2.4vw, 1.3rem);
  font-weight: 500;
  margin-bottom: 26px;
  color: rgba(255,255,255,0.94);
}
.hero-dates .sep { margin: 0 10px; opacity: 0.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-mascot {
  position: absolute;
  z-index: 2;
  right: clamp(12px, 4vw, 64px);
  bottom: calc(var(--hero-overlap) + 24px);
  width: clamp(120px, 16vw, 190px);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0,0,0,0.35), 0 0 0 4px rgba(255,255,255,0.18);
  animation: floatY 5s ease-in-out infinite;
}
.hero-mascot img { width: 100%; display: block; }
.hero-mascot .mascot-tag {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 5px 8px 6px;
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-align: center;
  color: #fff;
  background: linear-gradient(0deg, rgba(20,18,15,0.75), transparent);
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ===== Trip info strip ===== */
.info-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px;
  background: var(--color-line);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: calc(-1 * var(--hero-overlap));
  position: relative;
  z-index: 5;
  box-shadow: var(--shadow-lg);
}
.info-item {
  background: var(--color-surface);
  padding: 20px 18px;
  text-align: center;
}
.info-item .label {
  display: block;
  font-size: 0.74rem;
  color: var(--color-text-faint);
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.info-item .value {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-text);
}
.info-item .value small { font-weight: 500; font-size: 0.72em; color: var(--color-text-soft); display:block; margin-top:2px; }

/* ===== Day cards (quick browse) ===== */
.day-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}
.day-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 260px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
  background-size: cover;
  background-position: center;
}
.day-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.day-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,18,15,0.05) 30%, rgba(20,18,15,0.82) 100%);
}
.day-card-body { position: relative; z-index: 2; padding: 20px; width: 100%; }
.day-card .day-tag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.22);
  backdrop-filter: blur(4px);
  margin-bottom: 8px;
}
.day-card h3 { margin: 0 0 4px; font-size: 1.15rem; }
.day-card .day-date { font-size: 0.82rem; opacity: 0.85; margin-bottom: 8px; }
.day-card .day-spots { font-size: 0.82rem; opacity: 0.92; line-height: 1.5; }

/* per-day accent colors */
.tone-1 { --tone: var(--dusk); }
.tone-2 { --tone: var(--sage); }
.tone-3 { --tone: var(--plum); }
.tone-4 { --tone: var(--clay); }
.tone-5 { --tone: var(--sand-dark); }
.tone-6 { --tone: var(--stone); }

/* ===== Day sub-nav (jump between days) ===== */
.day-pillbar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0 8px;
  margin-bottom: 28px;
  scrollbar-width: none;
}
.day-pillbar::-webkit-scrollbar { display: none; }
.day-pill {
  flex: 0 0 auto;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--color-text-soft);
  white-space: nowrap;
  transition: all .2s ease;
}
.day-pill:hover { border-color: var(--sage-dark); color: var(--sage-dark); }
.day-pill.is-active { background: var(--sage-dark); border-color: var(--sage-dark); color: #fff; }

/* ===== Day page header ===== */
.day-hero {
  position: relative;
  color: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-md);
}
.day-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,18,15,0.05) 20%, rgba(20,18,15,0.78) 100%);
}
.day-hero-body { position: relative; z-index: 2; padding: 28px 30px; width: 100%; }
.day-hero .day-num {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.9;
}
.day-hero h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin: 6px 0 10px; }
.day-meta { display: flex; flex-wrap: wrap; gap: 10px 18px; font-size: 0.92rem; opacity: 0.95; }
.day-meta span { display: inline-flex; align-items: center; gap: 6px; }
.day-hero-sticker {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 8px;
  width: 108px;
  filter: drop-shadow(0 6px 10px rgba(0,0,0,0.35));
  pointer-events: none;
}
@media (max-width: 640px) {
  .day-hero-sticker { width: 76px; right: 10px; bottom: 4px; }
}

/* ===== Timeline ===== */
.timeline {
  position: relative;
  margin-top: 40px;
  padding-left: 34px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 10px; top: 6px; bottom: 6px;
  width: 2px;
  background: repeating-linear-gradient(180deg, var(--color-line) 0 6px, transparent 6px 12px);
}
.timeline-item {
  position: relative;
  margin-bottom: 30px;
}
.timeline-item:last-child { margin-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: -34px;
  top: 4px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 3px solid var(--tone, var(--sage-dark));
  box-shadow: 0 0 0 4px var(--color-bg);
}
.timeline-card {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.timeline-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 18px;
  cursor: pointer;
  user-select: none;
  background: var(--color-surface);
}
.timeline-card-head:hover { background: var(--color-surface-soft); }
.timeline-time {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--tone, var(--sage-dark));
  font-size: 0.86rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.timeline-title { font-weight: 700; font-size: 1.05rem; flex: 1; }
.timeline-chevron {
  width: 22px; height: 22px;
  flex-shrink: 0;
  transition: transform .25s ease;
  color: var(--color-text-faint);
}
.timeline-card.is-open .timeline-chevron { transform: rotate(180deg); }
/* Fully readable by default (no JS required); the collapse/expand accordion
   behavior only arms once main.js confirms it is running via .js-ready. */
.timeline-card-body { max-height: none; overflow: visible; }
.timeline-chevron { display: none; }
.js-ready .timeline-card-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.js-ready .timeline-card.is-open .timeline-card-body { max-height: 3000px; }
.js-ready .timeline-chevron { display: block; }
.timeline-card-inner { padding: 4px 18px 22px; }
.timeline-desc { color: var(--color-text-soft); font-size: 0.95rem; }
.timeline-note {
  margin-top: 10px;
  font-size: 0.86rem;
  color: var(--sand-dark);
  background: var(--sand-light);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  display: flex;
  gap: 8px;
}

/* ===== Recommendation accordion (eat / shop tips) ===== */
.reco-block {
  margin-top: 12px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  background: var(--color-surface-soft);
  overflow: hidden;
}
.reco-summary {
  cursor: pointer;
  list-style: none;
  padding: 10px 14px;
  font-size: 0.87rem;
  font-weight: 700;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: 8px;
  user-select: none;
}
.reco-summary::-webkit-details-marker { display: none; }
.reco-summary::after {
  content: "展開 ▸";
  margin-left: auto;
  font-weight: 400;
  font-size: 0.78rem;
  color: var(--color-text-faint);
}
.reco-block[open] .reco-summary::after { content: "收合 ▾"; }
.reco-list {
  list-style: none;
  margin: 0;
  padding: 2px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.reco-item { display: flex; gap: 10px; align-items: flex-start; }
.reco-tag {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  margin-top: 1px;
}
.reco-tag.eat { background: var(--clay-light); color: var(--clay-dark); }
.reco-tag.shop { background: var(--sage-light); color: var(--sage-dark); }
.reco-body { flex: 1; }
.reco-name { margin: 0; font-weight: 700; font-size: 0.87rem; color: var(--color-text); }
.reco-budget { font-weight: 400; font-size: 0.78rem; color: var(--color-text-faint); margin-left: 6px; }
.reco-desc { margin: 2px 0 0; font-size: 0.83rem; color: var(--color-text-soft); }

.timeline-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px;
  margin-top: 14px;
}
.timeline-gallery img,
.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-sm);
  cursor: zoom-in;
  transition: transform .25s ease, filter .25s ease;
}
.timeline-gallery img:hover,
.gallery-grid img:hover { transform: scale(1.03); filter: brightness(1.03); }

.transit-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--color-text-faint);
  font-size: 0.82rem;
  padding: 6px 0 6px 0;
  margin-left: -34px;
}
.transit-row svg { width: 16px; height: 16px; flex-shrink: 0; }

/* day summary meal/hotel card */
.day-summary-card {
  margin-top: 34px;
  background: var(--color-surface-soft);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.summary-block h4 {
  font-size: 0.86rem;
  letter-spacing: 0.1em;
  color: var(--color-text-faint);
  margin-bottom: 10px;
  text-transform: uppercase;
}
.meal-row { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px dashed var(--color-line); font-size: 0.92rem; }
.meal-row:last-child { border-bottom: none; }
.meal-row .meal-label { color: var(--color-text-soft); flex-shrink: 0; }
.meal-row .meal-value { text-align: right; }
.meal-tag { display:inline-block; width: 18px; text-align:center; font-weight:700; border-radius:4px; margin-right:6px; }
.meal-tag.on { color: var(--sage-dark); }
.meal-tag.off { color: var(--clay-dark); }

/* ===== Attraction / Gallery cards ===== */
.attraction-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.attraction-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-line);
  transition: transform .3s ease, box-shadow .3s ease;
}
.attraction-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.attraction-card .thumb {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  cursor: zoom-in;
}
.attraction-card-body { padding: 18px 20px 22px; }
.attraction-card .day-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 3px 11px;
  border-radius: 999px;
  background: var(--sage-light);
  color: var(--sage-dark);
  margin-bottom: 10px;
}
.attraction-card h3 { font-size: 1.08rem; margin-bottom: 6px; }
.attraction-card p { color: var(--color-text-soft); font-size: 0.92rem; margin-bottom: 0; }

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}
.filter-chip {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--color-line);
  background: var(--color-surface);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--color-text-soft);
  cursor: pointer;
  transition: all .2s ease;
}
.filter-chip:hover { border-color: var(--sage-dark); }
.filter-chip.is-active { background: var(--sage-dark); border-color: var(--sage-dark); color: #fff; }

/* ===== Hotel cards ===== */
.hotel-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 0;
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 22px;
}
.hotel-card .hotel-visual {
  background: var(--tone-dark, var(--sage-dark));
  background: linear-gradient(160deg, var(--tone, var(--sage)) 0%, color-mix(in srgb, var(--tone, var(--sage)) 60%, #2c2620) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  padding: 20px;
  text-align: center;
  gap: 8px;
}
.hotel-visual .hotel-icon { width: 46px; height: 46px; opacity: 0.9; }
.hotel-visual .hotel-night {
  font-family: var(--font-serif);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  opacity: 0.92;
}
.hotel-body { padding: 22px 26px; }
.hotel-body .hotel-day-tag {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--tone-dark, var(--sage-dark));
  background: var(--tone-light, var(--sage-light));
  padding: 3px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.hotel-body h3 { font-size: 1.2rem; margin-bottom: 8px; }
.hotel-options { color: var(--color-text-soft); font-size: 0.92rem; margin-bottom: 12px; }
.hotel-options .opt { display: inline; }
.hotel-options .opt:not(:last-child)::after { content: " ・ "; color: var(--color-text-faint); }
.hotel-facts { display: flex; flex-wrap: wrap; gap: 16px; font-size: 0.86rem; color: var(--color-text-faint); }
.hotel-facts strong { color: var(--color-text); font-weight: 700; }

@media (max-width: 640px) {
  .hotel-card { grid-template-columns: 1fr; }
  .hotel-card .hotel-visual { flex-direction: row; padding: 14px 20px; justify-content: flex-start; }
  .hotel-visual .hotel-icon { width: 30px; height: 30px; }
}

/* ===== Weather ===== */
.weather-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
}
.weather-card {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  padding: 18px 14px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.weather-card .w-date { font-weight: 700; font-size: 0.92rem; margin-bottom: 2px; }
.weather-card .w-weekday { font-size: 0.76rem; color: var(--color-text-faint); margin-bottom: 10px; }
.weather-card .w-icon { font-size: 2.1rem; margin-bottom: 8px; }
.weather-card .w-temps { font-size: 0.95rem; font-weight: 700; margin-bottom: 4px; }
.weather-card .w-temps .lo { color: var(--color-text-faint); font-weight: 500; }
.weather-card .w-rain { font-size: 0.78rem; color: var(--dusk-dark); }
.weather-card .w-desc { font-size: 0.78rem; color: var(--color-text-soft); margin-top: 4px; }
.weather-status {
  text-align: center;
  color: var(--color-text-faint);
  font-size: 0.88rem;
  padding: 20px 0;
}
.weather-status.is-error { color: var(--clay-dark); }
.weather-loc-group { margin-bottom: 36px; }
.weather-loc-group h3 { font-size: 1.05rem; margin-bottom: 14px; display:flex; align-items:center; gap:8px; }

.spinner {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 3px solid var(--color-line);
  border-top-color: var(--sage-dark);
  animation: spin 0.8s linear infinite;
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== Map ===== */
.mymap-embed {
  position: relative;
  width: 100%;
  padding-top: 65%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-line);
  box-shadow: var(--shadow-sm);
  margin-bottom: 32px;
}
.mymap-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.map-card {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}
.map-card img { width: 100%; object-fit: contain; background: #eef2ee; cursor: zoom-in; }
.map-card-body { padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.map-card-body h3 { margin: 0; font-size: 1.02rem; }

/* ===== Info list (baggage / notes) ===== */
.info-list {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  margin-bottom: 22px;
}
.info-list h3 { font-size: 1.05rem; margin-bottom: 14px; color: var(--sage-dark); }
.info-list ul { margin: 0; padding-left: 1.2em; color: var(--color-text-soft); font-size: 0.94rem; }
.info-list li { margin-bottom: 8px; }
.info-list li:last-child { margin-bottom: 0; }

/* ===== Flight table ===== */
.table-wrap { overflow-x: auto; border-radius: var(--radius-md); border: 1px solid var(--color-line); }
table.data-table { width: 100%; border-collapse: collapse; min-width: 480px; background: var(--color-surface); }
.data-table th, .data-table td {
  padding: 13px 16px;
  text-align: left;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--color-line);
  white-space: nowrap;
}
.data-table th { background: var(--color-surface-soft); color: var(--color-text-soft); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.04em; }
.data-table tr:last-child td { border-bottom: none; }

/* ===== Lightbox ===== */
.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(20,18,15,0.92);
  display: flex; align-items: center; justify-content: center;
  padding: 30px;
  opacity: 0; visibility: hidden;
  transition: opacity .25s ease;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: 100%; max-height: 86vh;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.lightbox-close {
  position: absolute; top: 20px; right: 24px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
  font-size: 1.4rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.lightbox-caption {
  position: absolute; bottom: 24px; left: 0; right: 0;
  text-align: center; color: rgba(255,255,255,0.85); font-size: 0.9rem;
}

/* ===== Back to top ===== */
.back-to-top {
  position: fixed;
  right: 20px; bottom: 20px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--sage-dark);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden;
  transform: translateY(10px);
  transition: all .3s ease;
  z-index: 900;
  cursor: pointer;
  border: none;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* ===== Footer ===== */
.site-footer {
  background: #2f2b25;
  color: rgba(255,255,255,0.75);
  padding: 44px 0 26px;
  margin-top: 60px;
}
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; margin-bottom: 28px; }
.footer-grid h4 { color: #fff; font-size: 0.95rem; margin-bottom: 12px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 8px; font-size: 0.88rem; }
.footer-grid a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 20px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  text-align: center;
}

/* ===== Page header (non-hero pages) ===== */
.page-header {
  padding: 44px 0 8px;
  text-align: center;
}
.page-header .eyebrow {
  font-family: var(--font-serif);
  letter-spacing: 0.3em;
  font-size: 0.78rem;
  color: var(--color-primary);
  text-transform: uppercase;
}
.page-header h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); margin: 10px 0 8px; }
.page-header p { color: var(--color-text-soft); max-width: 560px; margin: 0 auto; }

/* ===== Utilities ===== */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
/* Content is visible by default so the page never depends on JS to be readable.
   Only once main.js confirms it is running (adds .js-ready to <html>) do we
   arm the subtle scroll-fade animation. */
.reveal { opacity: 1; transform: none; }
.js-ready .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.js-ready .reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav-wrap { flex-wrap: wrap; row-gap: 4px; }
  .nav-wrap nav { flex: 1 1 100%; order: 3; }
  .js-ready .nav-wrap nav { flex: 0 0 auto; }

  /* No-JS fallback: nav links simply wrap under the header, always visible
     and clickable, so navigation still works even if main.js fails to run. */
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
    padding: 8px 0;
  }
  .nav-links a { padding: 9px 14px; border-radius: 10px; font-size: 0.92rem; }
  .nav-links a.is-active { background: var(--sage-light); color: var(--sage-dark); }

  /* Once JS confirms it is running, upgrade to the hamburger dropdown. */
  .js-ready .nav-links {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-line);
    padding: 10px 16px 18px;
    box-shadow: var(--shadow-md);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: all .25s ease;
    gap: 2px;
  }
  .js-ready .nav-links.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  .js-ready .nav-links a { padding: 13px 16px; font-size: 1rem; }

  /* Smaller overlap on mobile (the card has less room to peek over the hero);
     redeclaring the variable keeps .info-strip's margin-top and the
     .hero-content/.hero-mascot clearance above it automatically in sync. */
  :root { --hero-overlap: 40px; }

  .hero { min-height: 92vh; }
  .hero-mascot { width: 108px; right: 12px; opacity: 0.95; }
  .info-strip { grid-template-columns: repeat(2, 1fr); }
  .hotel-card { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .section { padding: 40px 0; }
  h1 { font-size: 1.7rem; }
  .btn { padding: 13px 22px; font-size: 0.92rem; }
  .info-strip { grid-template-columns: repeat(2, 1fr); }
}
