/* ==========================================================================
   spot.novice.tw — 台灣景點通
   ========================================================================== */

:root {
  --bg: #f8f6f1;
  --surface: #ffffff;
  --surface-2: #f1ede4;
  --ink: #14211d;
  --ink-2: #2c3a35;
  --muted: #5f6d67;
  --line: #e3ded3;
  --brand: #0f6b5c;
  --brand-dark: #0a4a40;
  --brand-light: #e6f2ee;
  --accent: #d9775c;
  --max: 1180px;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(20, 33, 29, .05);
  --shadow-md: 0 12px 30px -18px rgba(20, 33, 29, .35);
  --font: "Noto Sans TC", "PingFang TC", "Hiragino Sans CNS", "Microsoft JhengHei", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

h1, h2, h3, h4 { line-height: 1.25; letter-spacing: -.01em; margin: 0 0 .5em; font-weight: 800; }
p { margin: 0 0 1em; }

:focus-visible { outline: 3px solid #2a9d8a; outline-offset: 2px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 22px; }

.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;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 1000;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ---------- 按鈕 / 標籤 ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; border: 1px solid transparent;
  padding: 11px 22px; font-weight: 700; font-size: .95rem; line-height: 1.2;
  cursor: pointer; transition: background .18s, color .18s, border-color .18s, transform .18s;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--solid { background: var(--brand); color: #fff; }
.btn--solid:hover { background: var(--brand-dark); color: #fff; }
.btn--ghost { background: transparent; color: var(--brand); border-color: #bcd4cd; }
.btn--ghost:hover { background: var(--brand-light); color: var(--brand-dark); }
.btn--sm { padding: 8px 16px; font-size: .9rem; }
.btn--block { width: 100%; }
.btn svg { flex: none; }

.badge {
  display: inline-flex; align-items: center;
  padding: 4px 11px; border-radius: 999px;
  font-size: .76rem; font-weight: 700; letter-spacing: .02em;
  color: #fff; background: var(--brand);
  text-decoration: none;
}
.badge:hover { text-decoration: none; filter: brightness(1.08); }
.badge--teal { background: #0f6b5c; }
.badge--green { background: #3f7d3a; }
.badge--amber { background: #a56a22; }
.badge--coral { background: #c25e44; }
.badge--gold { background: #8f7420; }
.badge--blue { background: #3a6188; }
.badge--plum { background: #7c4a6d; }

.eyebrow {
  margin: 0 0 .5em; font-size: .78rem; font-weight: 800;
  letter-spacing: .16em; color: var(--brand); text-transform: uppercase;
}

.link-more { font-weight: 700; font-size: .92rem; white-space: nowrap; }

.dot { color: var(--muted); margin: 0 4px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(248, 246, 241, .92);
  backdrop-filter: saturate(1.6) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: 26px;
  min-height: 72px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-mark { color: var(--brand); display: inline-flex; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 1.06rem; letter-spacing: .02em; }
.brand-text small { font-size: .62rem; letter-spacing: .22em; color: var(--muted); margin-top: 3px; }

.primary-nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.primary-nav a {
  color: var(--ink-2); font-weight: 600; font-size: .95rem;
  padding: 8px 12px; border-radius: 999px;
}
.primary-nav a:hover { background: var(--surface-2); text-decoration: none; }
.primary-nav a.is-active { color: var(--brand); background: var(--brand-light); }

.header-search { margin-left: auto; position: relative; }
.header-search form {
  display: flex; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 4px 4px 4px 14px; width: 250px;
  transition: width .2s, border-color .2s, box-shadow .2s;
}
.header-search form:focus-within { width: 300px; border-color: #9fc4ba; box-shadow: 0 0 0 4px rgba(15, 107, 92, .1); }
.header-search input {
  border: 0; background: transparent; outline: none; flex: 1; min-width: 0;
  font: inherit; font-size: .9rem; color: var(--ink);
}
.header-search button {
  border: 0; background: var(--brand); color: #fff; width: 34px; height: 34px;
  border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}

.nav-toggle {
  display: none; border: 1px solid var(--line); background: #fff; color: var(--ink);
  border-radius: 10px; width: 42px; height: 42px; align-items: center; justify-content: center; cursor: pointer;
}

.suggest {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 50;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 20px 40px -20px rgba(20, 33, 29, .45);
  overflow: hidden;
}
.suggest a {
  display: block; padding: 10px 14px; color: var(--ink); border-bottom: 1px solid #f2eee6;
  font-size: .92rem;
}
.suggest a:hover, .suggest a.is-focus { background: var(--brand-light); text-decoration: none; }
.suggest a strong { font-weight: 700; }
.suggest a small { display: block; color: var(--muted); font-weight: 500; }
.suggest-empty { padding: 12px 14px; color: var(--muted); font-size: .9rem; }

/* ---------- Hero ---------- */

.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 420px at 82% -20%, #1b8a76 0%, rgba(27, 138, 118, 0) 62%),
    linear-gradient(155deg, #0a3b33 0%, #0d4f44 55%, #0a3a32 100%);
}
.hero-pattern {
  position: absolute; inset: 0; opacity: .16; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='600' viewBox='0 0 900 600'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1.1'%3E%3Cpath d='M-40 480c120-90 210-90 330-30s230 60 350-20 210-40 320 30'/%3E%3Cpath d='M-40 520c120-90 210-90 330-30s230 60 350-20 210-40 320 30'/%3E%3Cpath d='M-40 560c120-90 210-90 330-30s230 60 350-20 210-40 320 30'/%3E%3Cpath d='M-40 420c120-90 210-90 330-30s230 60 350-20 210-40 320 30'/%3E%3Cpath d='M-40 360c120-90 210-90 330-30s230 60 350-20 210-40 320 30'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 900px 600px; background-position: bottom center; background-repeat: repeat-x;
}
.hero-inner { position: relative; padding: 84px 22px 64px; max-width: 980px; }
.hero-kicker {
  font-size: .76rem; letter-spacing: .28em; font-weight: 700;
  color: #9fd6c8; margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem); line-height: 1.12; margin: 0 0 18px;
  letter-spacing: -.02em;
}
.hero-lead { font-size: clamp(1rem, 1.6vw, 1.18rem); color: #d6e8e2; max-width: 640px; margin-bottom: 30px; }
.hero-lead strong { color: #fff; }

.hero-search {
  position: relative; display: flex; align-items: center; gap: 10px;
  background: #fff; border-radius: 999px; padding: 7px 7px 7px 20px;
  max-width: 640px; box-shadow: 0 20px 50px -24px rgba(0, 0, 0, .6);
  color: var(--muted);
}
.hero-search input {
  flex: 1; min-width: 0; border: 0; outline: none; background: transparent;
  font: inherit; font-size: 1rem; color: var(--ink); padding: 10px 0;
}
.hero-search .btn { flex: none; }
.suggest--hero { left: 12px; right: 12px; top: calc(100% + 10px); color: var(--ink); }

.hero-regions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.region-pill {
  display: inline-flex; align-items: baseline; gap: 8px;
  border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px;
  padding: 8px 16px; color: #fff; background: rgba(255, 255, 255, .07);
  font-weight: 700; font-size: .92rem; transition: background .18s, border-color .18s;
}
.region-pill:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .5); text-decoration: none; }
.region-pill small { font-weight: 500; color: #c6ded7; font-size: .78rem; }

/* ---------- Sections ---------- */

.section { padding: 66px 0; }
.section--tint { background: #f2eee5; }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 20px;
  margin-bottom: 30px;
}
.section-head h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin: 0; }
.section-sub { margin: 8px 0 0; color: var(--muted); }
.section-head--compact { margin-bottom: 18px; }

/* ---------- Region ---------- */

.region-grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.region-card {
  position: relative; display: flex; flex-direction: column; gap: 6px;
  min-height: 190px; padding: 22px; border-radius: var(--radius);
  color: #fff; text-decoration: none; overflow: hidden;
  background: linear-gradient(160deg, #14574c, #0c3a32);
  transition: transform .2s, box-shadow .2s;
}
.region-card:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -26px rgba(10, 45, 38, .8); text-decoration: none; }
.region-card::after {
  content: ""; position: absolute; right: -50px; bottom: -70px; width: 190px; height: 190px;
  border-radius: 50%; border: 26px solid rgba(255, 255, 255, .09);
}
.region-card--north { background: linear-gradient(155deg, #11574f, #0a3a35); }
.region-card--central { background: linear-gradient(155deg, #3d6b3a, #1e4024); }
.region-card--south { background: linear-gradient(155deg, #a3662f, #6b3f1f); }
.region-card--east { background: linear-gradient(155deg, #2c5f7a, #173c52); }
.region-card--islands { background: linear-gradient(155deg, #5a5578, #33304a); }
.region-card-name { font-size: 1.5rem; font-weight: 800; }
.region-card-desc { font-size: .82rem; color: rgba(255, 255, 255, .78); line-height: 1.5; }
.region-card-count { margin-top: auto; font-size: 1.3rem; font-weight: 800; }
.region-card-count small { font-size: .7rem; font-weight: 600; letter-spacing: .12em; color: rgba(255, 255, 255, .7); }

/* ---------- City tiles ---------- */

.city-grid { display: grid; gap: 12px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.city-grid--wide { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.city-tile {
  display: flex; flex-direction: column; gap: 2px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 16px 18px; color: var(--ink); text-decoration: none;
  transition: border-color .18s, transform .18s, box-shadow .18s;
}
.city-tile:hover {
  border-color: #b9d3cb; transform: translateY(-2px);
  box-shadow: var(--shadow-md); text-decoration: none;
}
.city-tile-name { font-weight: 800; font-size: 1.05rem; }
.city-tile-en { font-size: .7rem; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
.city-tile-count { font-size: .84rem; color: var(--brand); font-weight: 700; margin-top: 6px; }
.city-section { padding: 26px 0; border-top: 1px solid var(--line); }
.city-section:first-of-type { border-top: 0; }

/* ---------- Themes ---------- */

.theme-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.theme-chips--center { justify-content: center; margin-top: 26px; }
.theme-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 16px; color: var(--ink); font-weight: 600; font-size: .92rem;
  transition: border-color .18s, background .18s, transform .18s;
}
.theme-chip:hover { border-color: #b9d3cb; background: var(--brand-light); transform: translateY(-1px); text-decoration: none; }
.theme-chip small { color: var(--muted); font-weight: 600; font-size: .78rem; }

.theme-grid { display: grid; gap: 14px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.theme-card {
  position: relative; display: flex; flex-direction: column; gap: 4px;
  padding: 24px; border-radius: var(--radius); border: 1px solid var(--line);
  background: #fff; color: var(--ink); min-height: 130px; overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.theme-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); text-decoration: none; }
.theme-card::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 6px; background: var(--brand);
}
.theme-card--green::before { background: #3f7d3a; }
.theme-card--amber::before { background: #a56a22; }
.theme-card--coral::before { background: #c25e44; }
.theme-card--gold::before { background: #8f7420; }
.theme-card--blue::before { background: #3a6188; }
.theme-card--plum::before { background: #7c4a6d; }
.theme-card-name { font-size: 1.1rem; font-weight: 800; }
.theme-card-count { font-size: .86rem; color: var(--muted); }
.theme-card-arrow { position: absolute; right: 20px; bottom: 16px; color: var(--brand); font-weight: 800; }

/* ---------- Spot card ---------- */

.spot-grid { display: grid; gap: 22px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.spot-grid--list { margin-top: 26px; }

.spot-card {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.spot-card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -26px rgba(20, 33, 29, .5); border-color: #cfd9d2; }
.card-media { position: relative; display: block; aspect-ratio: 16 / 11; background: #eae5da; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.spot-card:hover .card-media img { transform: scale(1.04); }
.card-media .badge { position: absolute; left: 12px; top: 12px; box-shadow: 0 2px 8px rgba(0, 0, 0, .18); }
.card-body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-place { margin: 0; font-size: .78rem; font-weight: 700; color: var(--brand); letter-spacing: .02em; }
.card-title { margin: 0; font-size: 1.06rem; font-weight: 800; line-height: 1.35; }
.card-title a { color: var(--ink); }
.card-title a:hover { color: var(--brand); text-decoration: none; }
.card-excerpt { margin: 0; font-size: .86rem; color: var(--muted); line-height: 1.6; }

/* ---------- Page head / list ---------- */

.page-head { padding: 26px 0 18px; background: linear-gradient(180deg, #f2eee5 0%, var(--bg) 100%); }
.page-head h1 { font-size: clamp(1.8rem, 4vw, 2.7rem); margin: 10px 0 12px; }
.page-lead { max-width: 860px; color: var(--ink-2); }
.page-lead p { margin: 0; }

.breadcrumbs { font-size: .82rem; color: var(--muted); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 6px; }
.breadcrumbs li + li::before { content: "/"; color: #b7b0a1; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--brand); }
.breadcrumbs [aria-current] { color: var(--ink-2); font-weight: 600; }

.list-layout { padding-bottom: 70px; }

.filter-bar {
  display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 18px; margin-top: 6px;
}
.filter-field { display: flex; flex-direction: column; gap: 5px; min-width: 150px; }
.filter-field span { font-size: .76rem; font-weight: 700; color: var(--muted); letter-spacing: .04em; }
.filter-field select {
  appearance: none; border: 1px solid var(--line); border-radius: 10px;
  padding: 9px 34px 9px 12px; font: inherit; font-size: .9rem; color: var(--ink);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%235f6d67' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 10px center;
  cursor: pointer;
}
.filter-field select:focus { border-color: #9fc4ba; outline: none; box-shadow: 0 0 0 3px rgba(15, 107, 92, .1); }
.filter-actions { display: flex; gap: 8px; margin-left: auto; }

.result-count { margin: 22px 2px 0; color: var(--muted); font-size: .92rem; }
.result-count strong { color: var(--ink); }

.empty-state { text-align: center; padding: 70px 20px; }
.empty-state h2 { font-size: 1.4rem; }
.empty-state p { color: var(--muted); }

.pagination { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 44px 0 10px; flex-wrap: wrap; }
.page-numbers { display: inline-flex; gap: 4px; align-items: center; }
.page-num, .page-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 38px; height: 38px; padding: 0 12px; border-radius: 10px;
  border: 1px solid var(--line); background: #fff; color: var(--ink-2);
  font-size: .9rem; font-weight: 600;
}
.page-num:hover, .page-btn:hover { border-color: #b9d3cb; background: var(--brand-light); text-decoration: none; }
.page-num.is-current { background: var(--brand); border-color: var(--brand); color: #fff; }
.page-btn--nav { min-width: 92px; }
.page-btn.is-disabled { color: #b9b3a6; background: #f4f1ea; }
.page-gap { color: var(--muted); padding: 0 4px; }

.search-again { display: flex; gap: 10px; max-width: 560px; margin: 6px 0 14px; }
.search-again input {
  flex: 1; border: 1px solid var(--line); border-radius: 999px;
  padding: 11px 18px; font: inherit; background: #fff;
}
.search-again input:focus { outline: none; border-color: #9fc4ba; box-shadow: 0 0 0 4px rgba(15, 107, 92, .1); }

/* ---------- Spot detail ---------- */

.spot-header { padding: 20px 0 0; }
.spot-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 44px;
  padding: 22px 22px 80px; align-items: start;
}
.spot-main { min-width: 0; }
.spot-head { margin-bottom: 20px; }
.spot-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.spot-head h1 { font-size: clamp(1.9rem, 4.4vw, 3rem); margin: 0 0 10px; }
.spot-place { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; color: var(--muted); font-size: .94rem; margin: 0; }
.spot-place svg { color: var(--accent); }

.spot-cover { margin: 0 0 30px; border-radius: var(--radius); overflow: hidden; background: #eae5da; }
.spot-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.spot-cover figcaption { padding: 9px 16px; font-size: .78rem; color: var(--muted); background: #fff; border-top: 1px solid var(--line); }

.spot-section { margin-bottom: 38px; }
.spot-section h2 { font-size: 1.3rem; padding-bottom: 10px; border-bottom: 2px solid #e8e3d7; margin-bottom: 16px; }
.spot-section h3 { font-size: 1.02rem; margin: 18px 0 6px; color: var(--brand-dark); }
.spot-desc p { color: var(--ink-2); font-size: 1.01rem; line-height: 1.9; }
.spot-section p, .spot-desc p, .prose p, .prose li { overflow-wrap: anywhere; }
.spot-desc p:last-child { margin-bottom: 0; }

.map-head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; border-bottom: 2px solid #e8e3d7; margin-bottom: 16px; padding-bottom: 10px; }
.map-head h2 { border: 0; margin: 0; padding: 0; }
.spot-map { height: 380px; border-radius: var(--radius); border: 1px solid var(--line); z-index: 0; background: #e8e4da; }
.map-note { font-size: .74rem; color: var(--muted); margin: 8px 2px 0; }
.leaflet-container { font-family: var(--font) !important; }

.photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.photo-item { display: block; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 3 / 2; background: #eae5da; }
.photo-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.photo-item:hover img { transform: scale(1.05); }

.spot-aside { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 18px; }
.info-card, .aside-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px;
}
.info-card h2, .aside-card h2 { font-size: 1.02rem; margin: 0 0 14px; letter-spacing: .02em; }
.info-list { margin: 0 0 18px; display: flex; flex-direction: column; gap: 12px; }
.info-row { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 10px; margin: 0; }
.info-row dt { color: var(--muted); font-size: .8rem; font-weight: 700; padding-top: 2px; }
.info-row dd { margin: 0; font-size: .9rem; color: var(--ink-2); word-break: break-word; }
.info-card .btn { margin-top: 10px; }
.info-updated { margin: 14px 0 0; font-size: .74rem; color: var(--muted); text-align: center; }

.mini-links { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: .9rem; }
.mini-links a::before { content: "›"; color: var(--brand); margin-right: 7px; font-weight: 800; }

/* ---------- Footer ---------- */

.site-footer { background: #0f231e; color: #cfdcd7; margin-top: 20px; }
.footer-grid {
  display: grid; grid-template-columns: 1.7fr repeat(3, 1fr); gap: 36px;
  padding: 56px 22px 40px;
}
.brand--footer { color: #fff; margin-bottom: 14px; }
.brand--footer .brand-mark { color: #7fd0bc; }
.footer-brand p { font-size: .86rem; line-height: 1.8; color: #9db2ab; max-width: 360px; }
.footer-col h2 { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: #7fd0bc; margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.footer-col a { color: #cfdcd7; font-size: .88rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 20px 22px 30px; display: flex; flex-direction: column; gap: 6px;
}
.footer-bottom p { margin: 0; font-size: .76rem; color: #8fa49d; line-height: 1.7; }
.footer-bottom a { color: #b9cfc8; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Prose ---------- */

.prose { max-width: 820px; padding: 10px 22px 80px; }
.prose h2 { font-size: 1.35rem; margin-top: 38px; }
.prose h2:first-child { margin-top: 10px; }
.prose p, .prose li { color: var(--ink-2); line-height: 1.9; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 8px; }
.prose-block { max-width: 900px; }
.prose-block h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.prose-block p { color: var(--ink-2); font-size: 1rem; line-height: 1.9; max-width: 780px; }

.stat-list { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 30px 0 0; padding: 0; }
.stat-list li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 18px; }
.stat-list strong { display: block; font-size: 1.5rem; color: var(--brand); }
.stat-list span { font-size: .8rem; color: var(--muted); }

/* ---------- 404 ---------- */

.notfound { text-align: center; padding: 90px 22px 110px; }
.notfound h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.notfound p { color: var(--muted); }
.notfound-actions { display: flex; gap: 12px; justify-content: center; margin: 26px 0 0; flex-wrap: wrap; }

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .spot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .region-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .city-grid, .city-grid--wide { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .theme-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .spot-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 30px; }
} 

@media (max-width: 900px) {
  .header-search { display: none; }
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .primary-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 12px 22px 18px; flex-direction: column; align-items: stretch; gap: 4px;
    box-shadow: 0 20px 30px -24px rgba(20, 33, 29, .4);
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: 11px 12px; font-size: 1rem; }

  .spot-layout { grid-template-columns: 1fr; padding-bottom: 60px; }
  .spot-aside { position: static; }
  .spot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .region-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .theme-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .city-grid, .city-grid--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .spot-map { height: 320px; }
  .hero-inner { padding: 60px 22px 48px; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .hero-search { flex-wrap: wrap; border-radius: 20px; padding: 12px; }
  .hero-search svg { margin-left: 6px; }
  .hero-search input { flex: 1 1 60%; }
  .hero-search .btn { flex: 1 0 100%; }
  .hero-regions { gap: 8px; }
  .region-pill { padding: 7px 12px; font-size: .86rem; }
  .section { padding: 46px 0; }
  .region-grid { grid-template-columns: 1fr; }
  .region-card { min-height: 140px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .spot-grid { grid-template-columns: 1fr; gap: 16px; }
  .city-grid, .city-grid--wide { grid-template-columns: 1fr 1fr; }
  .theme-grid { grid-template-columns: 1fr; }
  .filter-bar { flex-direction: column; align-items: stretch; }
  .filter-field { min-width: 0; }
  .filter-actions { margin-left: 0; }
  .filter-actions .btn { flex: 1; }
  .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-list { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; padding-top: 40px; }
  .footer-brand { grid-column: 1 / -1; }
  .spot-cover img { aspect-ratio: 4 / 3; }
  .spot-section h2 { font-size: 1.18rem; }
  .pagination { gap: 8px; }
  .page-numbers { flex-wrap: wrap; justify-content: center; }
  .spot-layout { padding-left: 16px; padding-right: 16px; }
}

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