/* ============================================================================
   Cumbria Guru — design system (mobile-first)
   Brand: fresh green, editorial, trusted. Fraunces display + Albert Sans body.
   ========================================================================== */

:root {
  /* Brand palette */
  --guru: #00A652;        /* primary green — buttons, badges, logo */
  --guru-deep: #008A44;   /* hover state for primary */
  --pine: #077C46;        /* text-safe green — links, eyebrows */
  --pine-deep: #063F2B;   /* deep green surfaces */
  --soft-green: #E9F7EF;
  --paper: #F7F6EF;
  --card: #FFFFFF;
  --ink: #10251B;
  --ink-soft: #3D564A;
  --ink-faint: #64746B;   /* trust grey */
  --lake: #2E7FA3;
  --lake-deep: #1E566F;
  --lake-soft: #DDEDF4;
  --warm: #D96B2B;        /* warm accent — used sparingly */
  --warm-soft: #F8E6D7;
  --amber: #F4A261;       /* warning amber — needs-checking states */
  --amber-soft: #FDF0E3;
  --gold: #D9A441;
  --gold-soft: #F5EEDA;
  --heather: #8A6D8F;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Albert Sans", system-ui, -apple-system, sans-serif;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow-card: 0 1px 2px rgba(16, 37, 27, 0.06), 0 6px 20px -6px rgba(16, 37, 27, 0.12);
  --shadow-lift: 0 2px 4px rgba(16, 37, 27, 0.08), 0 16px 36px -12px rgba(16, 37, 27, 0.22);

  --wrap: 72rem;
  --tap: 44px; /* minimum touch target */
}

/* --- Base ------------------------------------------------------------------ */

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  /* faint paper grain */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0.06 0 0 0 0 0.15 0 0 0 0 0.1 0 0 0 0.03 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  padding-bottom: 76px; /* room for bottom nav on mobile */
}

h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; margin: 0 0 0.4em; letter-spacing: -0.01em; }
h1 { font-size: 2rem; font-weight: 700; }
h2 { font-size: 1.45rem; font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 600; }
p { margin: 0 0 0.8em; }
a { color: var(--pine); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; font-size: inherit; cursor: pointer; }

::selection { background: var(--guru); color: #fff; }

:focus-visible {
  outline: 3px solid var(--lake);
  outline-offset: 2px;
  border-radius: 4px;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.muted { color: var(--ink-faint); }
.text-pine { color: var(--pine); }
.text-guru { color: var(--guru); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0; padding: 0; margin: -1px;
}

.eyebrow {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pine);
  margin: 0 0 0.35em;
}

.section { margin: 40px 0; }
.section-sub { color: var(--ink-soft); font-size: 0.85rem; max-width: 40rem; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.section-head .see-all { flex-shrink: 0; font-weight: 700; font-size: 0.85rem; white-space: nowrap; }
.section-head-inline { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.section-head-inline h2 { margin: 0; }

/* --- Buttons & chips --------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: var(--tap);
  padding: 10px 20px;
  border: 0; border-radius: 999px;
  font-weight: 700; font-size: 0.9rem;
  text-decoration: none !important;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.btn-primary { background: var(--guru); color: #fff; box-shadow: var(--shadow-card); }
.btn-primary:hover { background: var(--guru-deep); transform: translateY(-1px); box-shadow: var(--shadow-lift); }
.btn-dark { background: var(--pine-deep); color: var(--paper); box-shadow: var(--shadow-card); }
.btn-dark:hover { transform: translateY(-1px); }
.btn-ghost { background: var(--card); color: var(--ink-soft); box-shadow: inset 0 0 0 1px rgba(16,37,27,0.15); }
.btn-ghost:hover { color: var(--pine); box-shadow: inset 0 0 0 1px var(--pine); }
.btn-sm { min-height: 36px; padding: 7px 16px; font-size: 0.85rem; }
.btn-block { display: flex; width: 100%; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; transform: none !important; }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 38px;
  padding: 7px 15px;
  border: 0; border-radius: 999px;
  background: var(--card); color: var(--ink-soft);
  box-shadow: inset 0 0 0 1px rgba(16,37,27,0.1), var(--shadow-card);
  font-weight: 600; font-size: 0.82rem;
  text-decoration: none !important;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.chip:hover { color: var(--pine); transform: translateY(-1px); }
.chip.is-active { background: var(--guru); color: #fff; box-shadow: var(--shadow-card); }
.chip.is-active-dark { background: var(--pine-deep); color: var(--paper); }
.chip.is-active-lake { background: var(--lake); color: #fff; }
.chip-dashed { box-shadow: none; border: 1.5px dashed rgba(16,37,27,0.25); background: transparent; color: var(--ink-faint); }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-rail { display: flex; gap: 8px; overflow-x: auto; padding: 4px 16px; margin: 0 -16px; scrollbar-width: none; }
.chip-rail::-webkit-scrollbar { display: none; }
.chip-rail .chip { flex-shrink: 0; }

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

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 246, 239, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(16,37,27,0.08);
}
.site-header-inner { display: flex; align-items: center; justify-content: space-between; height: 58px; }
.logo { display: flex; align-items: center; gap: 9px; text-decoration: none !important; }
.logo-mark {
  display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--guru); color: #fff;
}
.logo-word { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--ink); margin: 0; }
.logo-word em { font-style: normal; color: var(--guru); }
.main-nav { display: none; align-items: center; gap: 20px; }
.main-nav a { font-size: 0.88rem; font-weight: 600; color: var(--ink-soft); }
.main-nav a:hover { color: var(--pine); text-decoration: none; }
.main-nav a[aria-current="page"] { color: var(--pine); }
.header-cta-mobile { display: inline-flex; }

/* --- Bottom nav (mobile) ------------------------------------------------------- */

.bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(16,37,27,0.08);
  padding-bottom: env(safe-area-inset-bottom);
}
.bottom-nav-item {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 9px 4px 8px;
  font-size: 0.66rem; font-weight: 700;
  color: var(--ink-faint);
  text-decoration: none !important;
}
.bottom-nav-item.is-active { color: var(--guru); }

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

.hero { position: relative; overflow: hidden; }
.hero-scene { position: absolute; inset: 0; z-index: -1; }
.hero-scene .scene { width: 100%; height: 100%; }
.hero-scene::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(247,246,239,0.35), rgba(247,246,239,0.65) 55%, var(--paper));
}
.hero-inner { padding: 44px 0 30px; max-width: 42rem; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.85); backdrop-filter: blur(6px);
  border-radius: 999px; padding: 5px 13px;
  font-size: 0.66rem; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--pine); box-shadow: var(--shadow-card);
}
.hero-kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--warm); }
.hero h1 { font-size: 2.2rem; margin: 18px 0 10px; }
.hero h1 em { font-style: normal; color: var(--pine); }
.hero-sub { color: var(--ink-soft); font-size: 1rem; max-width: 30rem; }

.prompt-box {
  display: flex; align-items: center; gap: 8px;
  background: var(--card); border-radius: 16px; padding: 8px;
  box-shadow: var(--shadow-lift), inset 0 0 0 1px rgba(16,37,27,0.08);
  margin: 20px 0 14px;
}
.prompt-box svg { flex-shrink: 0; margin-left: 8px; color: var(--guru); }
.prompt-box input {
  flex: 1; min-width: 0; border: 0; background: none; outline: none;
  font: inherit; font-size: 0.95rem; padding: 9px 2px; color: var(--ink);
}
.prompt-box input::placeholder { color: var(--ink-faint); }

/* --- Cards ------------------------------------------------------------------------ */

.scene { width: 100%; height: 100%; }

.card-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
.card-rail { display: flex; gap: 12px; overflow-x: auto; padding: 4px 16px 10px; margin: 0 -16px; scrollbar-width: none; }
.card-rail::-webkit-scrollbar { display: none; }
.card-rail > * { flex-shrink: 0; width: 16rem; }

.place-card {
  display: block; overflow: hidden;
  background: var(--card); border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  text-decoration: none !important; color: var(--ink);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.place-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.place-card-media { position: relative; display: block; height: 158px; overflow: hidden; }
.place-card-media .scene { height: 100%; transition: transform 0.4s ease; }
.place-card:hover .scene { transform: scale(1.05); }
.place-card-badges { position: absolute; top: 10px; left: 10px; right: 40px; }
.place-card-score {
  position: absolute; bottom: 10px; right: 10px;
  background: rgba(16,37,27,0.72); color: var(--paper);
  border-radius: 999px; padding: 2px 9px;
  font-size: 0.72rem; font-weight: 800;
  backdrop-filter: blur(4px);
}
.place-card-body { display: block; padding: 13px 15px 15px; }
.place-card-title-row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.place-card-title { font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; line-height: 1.25; }
.place-card-price { font-size: 0.75rem; font-weight: 700; color: var(--ink-faint); flex-shrink: 0; }
.place-card-meta { display: block; font-size: 0.74rem; font-weight: 600; color: var(--ink-faint); margin-top: 2px; }
.place-card-blurb {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  font-size: 0.82rem; color: var(--ink-soft); margin-top: 7px; line-height: 1.45;
}

.mini-card {
  display: flex; gap: 12px; align-items: center;
  background: var(--card); border-radius: var(--radius-sm); padding: 10px;
  box-shadow: var(--shadow-card);
  text-decoration: none !important; color: var(--ink);
  transition: transform 0.15s ease;
}
.mini-card:hover { transform: translateY(-2px); }
.mini-card-media { width: 76px; height: 58px; border-radius: 9px; overflow: hidden; flex-shrink: 0; }
.mini-card-title { display: block; font-family: var(--font-display); font-weight: 600; font-size: 0.92rem; line-height: 1.2; }
.mini-card-meta { display: block; font-size: 0.7rem; color: var(--ink-faint); margin: 2px 0 5px; }

/* Clip cards (9:16 vertical) */
.clip-card {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 9 / 16; border-radius: 16px;
  box-shadow: var(--shadow-card);
  text-decoration: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.clip-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.clip-card .scene { position: absolute; inset: 0; height: 100%; }
.clip-card-shade { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(16,37,27,0.35), transparent 35%, transparent 55%, rgba(16,37,27,0.78)); }
.clip-card-top { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; justify-content: space-between; align-items: flex-start; gap: 6px; }
.clip-views { background: rgba(16,37,27,0.6); color: var(--paper); border-radius: 999px; padding: 2px 9px; font-size: 0.66rem; font-weight: 800; backdrop-filter: blur(4px); }
.clip-status { background: var(--gold-soft); color: #8a5a1c; border-radius: 999px; padding: 2px 9px; font-size: 0.62rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; }
.clip-platforms { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.clip-platform { border-radius: 999px; padding: 2px 7px; font-size: 0.56rem; font-weight: 800; }
.clip-platform-tiktok { background: var(--ink); color: var(--paper); }
.clip-platform-reels { background: var(--heather); color: #fff; }
.clip-platform-shorts { background: var(--warm); color: #fff; }
.clip-play {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,0.88); color: var(--ink);
  box-shadow: var(--shadow-lift); backdrop-filter: blur(4px);
  border: 0;
  transition: transform 0.15s ease;
}
.clip-card:hover .clip-play, .clip-play:hover { transform: translate(-50%, -50%) scale(1.1); }
.clip-play svg { margin-left: 2px; }
.clip-card-bottom { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px; }
.clip-hook { display: block; font-family: var(--font-display); font-weight: 700; font-size: 0.85rem; line-height: 1.3; color: var(--paper); text-shadow: 0 1px 3px rgba(0,0,0,0.3); }
.clip-place { display: block; font-size: 0.66rem; font-weight: 600; color: rgba(247,246,239,0.85); margin-top: 4px; }

/* Town tiles */
.town-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.town-tile {
  position: relative; display: block; overflow: hidden;
  height: 120px; border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  text-decoration: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.town-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.town-tile .scene { position: absolute; inset: 0; height: 100%; transition: transform 0.4s ease; }
.town-tile:hover .scene { transform: scale(1.05); }
.town-tile-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(16,37,27,0.72), rgba(16,37,27,0.08) 55%, transparent); }
.town-tile-text { position: absolute; left: 12px; right: 12px; bottom: 10px; }
.town-tile-name { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--paper); }
.town-tile-strap { display: block; font-size: 0.66rem; color: rgba(247,246,239,0.85); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* --- Badges -------------------------------------------------------------------------- */

.badges { display: inline-flex; flex-wrap: wrap; gap: 5px; }
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  border-radius: 999px; padding: 2.5px 9px;
  font-size: 0.6rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase;
  line-height: 1.4; white-space: nowrap;
}
.badge-icon { font-size: 0.65rem; }
.badge-recommended { background: var(--guru); color: #fff; }
.badge-visited { background: #DDF2E4; color: var(--pine); }
.badge-gem { background: rgba(138,109,143,0.16); color: var(--heather); }
.badge-rain { background: var(--lake-soft); color: var(--lake-deep); }
.badge-family { background: var(--gold-soft); color: #8a5a1c; }
.badge-dog { background: var(--warm-soft); color: #a4501f; }
.badge-sponsored { background: transparent; color: var(--ink-faint); box-shadow: inset 0 0 0 1px rgba(100,116,107,0.5); }
.badge-offer { background: var(--soft-green); color: var(--pine); }
.badge-checking { background: var(--amber-soft); color: #a06018; }

/* --- Panels (verdict, live data, trust) ------------------------------------------------ */

.panel {
  background: var(--card); border-radius: var(--radius);
  padding: 16px; box-shadow: var(--shadow-card);
}
.panel-soft { background: var(--soft-green); box-shadow: none; }
.panel-dark { background: var(--pine-deep); color: var(--paper); }
.panel-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; margin-bottom: 10px; }
.panel-title { font-size: 0.68rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); margin: 0; }
.panel-dark .panel-title { color: var(--guru); }
.panel-detail { font-size: 0.84rem; color: var(--ink-soft); }
.panel-foot { border-top: 1px solid rgba(16,37,27,0.08); padding-top: 9px; margin: 10px 0 0; font-size: 0.72rem; color: var(--ink-faint); }
.panel-mini-label { font-size: 0.62rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-faint); margin: 0 0 4px; }
.panel-mini-value { font-size: 0.84rem; font-weight: 500; margin: 0; line-height: 1.4; }

.live-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--lake-soft); color: var(--lake-deep);
  border-radius: 999px; padding: 2.5px 9px;
  font-size: 0.58rem; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase;
  white-space: nowrap; flex-shrink: 0;
}
.live-dot { position: relative; width: 6px; height: 6px; border-radius: 50%; background: var(--lake); }
.live-dot::after {
  content: ""; position: absolute; inset: -3px; border-radius: 50%;
  background: var(--lake); opacity: 0.4;
  animation: cg-ping 1.6s ease-out infinite;
}
@keyframes cg-ping { 0% { transform: scale(0.6); opacity: 0.5; } 80%, 100% { transform: scale(1.6); opacity: 0; } }

.state-pill { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 4px 12px; font-size: 0.76rem; font-weight: 800; }
.state-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.state-open { background: #DDF2E4; color: var(--pine); }
.state-closed { background: var(--warm-soft); color: #a4501f; }
.state-always { background: var(--lake-soft); color: var(--lake-deep); }

.hours-list { margin: 10px 0 0; border-top: 1px solid rgba(16,37,27,0.08); padding-top: 9px; }
.hours-list div { display: flex; justify-content: space-between; gap: 10px; font-size: 0.78rem; padding: 2px 0; }
.hours-list dt { font-weight: 600; color: var(--ink-soft); margin: 0; }
.hours-list dd { color: var(--ink-faint); margin: 0; }

.rating-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 5px 0; font-size: 0.85rem; }
.rating-source { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.rating-logo { display: grid; place-items: center; width: 21px; height: 21px; border-radius: 50%; font-size: 0.66rem; font-weight: 800; }
.rating-logo-g { background: #4285F4; color: #fff; }
.rating-logo-t { background: #34E0A1; color: var(--ink); }
.rating-value { display: flex; align-items: center; gap: 6px; }
.stars { letter-spacing: 1px; font-size: 0.8rem; }
.star { color: #DFE5DC; } .star.is-on { color: var(--gold); }

.transport-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.transport-list li { display: flex; gap: 10px; align-items: flex-start; }
.transport-list strong { display: block; font-size: 0.85rem; }
.transport-list .muted { display: block; font-size: 0.74rem; }
.transport-icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--lake-soft); flex-shrink: 0; }

.hotel-price-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 10px; }
.hotel-price { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; }
.hotel-price em { font-style: normal; font-size: 0.78rem; font-family: var(--font-body); color: var(--ink-faint); font-weight: 500; }
.hotel-scarcity { font-size: 0.7rem; font-weight: 800; color: #a4501f; text-align: right; }
.hotel-providers { display: grid; gap: 8px; }
.hotel-provider {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  border: 0; border-radius: var(--radius-sm); padding: 10px 14px;
  background: var(--paper); color: var(--ink-soft);
  box-shadow: inset 0 0 0 1px rgba(16,37,27,0.1);
  font-weight: 600; font-size: 0.85rem; text-align: left;
  transition: transform 0.15s ease;
}
.hotel-provider:hover { transform: translateY(-1px); }
.hotel-provider.is-direct { background: var(--guru); color: #fff; box-shadow: var(--shadow-card); font-weight: 700; }
.hotel-provider-label { display: block; font-size: 0.64rem; font-weight: 500; opacity: 0.75; }

.experience-title { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; margin: 0; }
.experience-price { font-size: 0.74rem; opacity: 0.75; margin: 2px 0 12px; }
.experience-slots { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.slot-btn {
  border: 0; border-radius: var(--radius-sm); padding: 8px 14px;
  background: rgba(247,246,239,0.12); color: var(--paper);
  font-weight: 700; font-size: 0.85rem;
  transition: background 0.15s ease;
}
.slot-btn span { display: block; font-size: 0.62rem; font-weight: 600; opacity: 0.75; }
.slot-btn:hover { background: rgba(247,246,239,0.22); }
.slot-btn.is-selected { background: var(--guru); color: #fff; box-shadow: var(--shadow-card); }

.demo-note { background: var(--lake-soft); color: var(--lake-deep); border-radius: 10px; padding: 8px 12px; font-size: 0.72rem; font-weight: 600; margin: 10px 0 0; }
.demo-note-dark { background: rgba(247,246,239,0.12); color: rgba(247,246,239,0.9); }

.forecast-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 16px; }
.forecast-day { background: rgba(247,246,239,0.08); border-radius: var(--radius-sm); padding: 9px 6px; text-align: center; }
.forecast-day.is-today { background: rgba(247,246,239,0.16); box-shadow: inset 0 0 0 1px rgba(247,246,239,0.3); }
.forecast-label { display: block; font-size: 0.58rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.7; }
.forecast-icon { display: block; font-size: 1.1rem; margin: 2px 0; }
.forecast-temp { display: block; font-size: 0.76rem; font-weight: 800; }
.forecast-temp em { font-style: normal; opacity: 0.6; font-weight: 500; }
.forecast-note { display: none; font-size: 0.6rem; opacity: 0.65; margin-top: 2px; }

/* --- Trust panel --------------------------------------------------------------------------- */

.trust-panel { background: var(--card); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow-card); }
.trust-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.trust-row { display: flex; gap: 10px; align-items: flex-start; }
.trust-dot {
  display: grid; place-items: center; flex-shrink: 0;
  width: 19px; height: 19px; border-radius: 50%;
  font-size: 0.62rem; font-weight: 800; margin-top: 1px;
}
.trust-dot-yes { background: var(--guru); color: #fff; }
.trust-dot-neutral { background: var(--gold-soft); color: #8a5a1c; }
.trust-dot-no { background: rgba(16,37,27,0.08); color: var(--ink-faint); }
.trust-label { display: block; font-size: 0.82rem; font-weight: 700; line-height: 1.25; }
.trust-note { display: block; font-size: 0.72rem; color: var(--ink-faint); }
.trust-checked { font-size: 0.72rem; color: var(--ink-faint); border-top: 1px solid rgba(16,37,27,0.08); padding-top: 10px; margin: 12px 0 0; }
.trust-checked-warn { color: #a06018; background: var(--amber-soft); border-radius: 8px; padding: 8px 10px; border-top: 0; font-weight: 600; }
.trust-policy { font-size: 0.68rem; color: var(--ink-faint); margin: 8px 0 0; }

/* --- Perks ------------------------------------------------------------------------------------ */

.perk-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
.perk-card { background: var(--card); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow-card); display: flex; flex-direction: column; }
.perk-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.perk-discount { background: var(--guru); color: #fff; border-radius: 9px; padding: 4px 11px; font-size: 0.82rem; font-weight: 800; }
.perk-title { margin: 10px 0 2px; font-size: 1.05rem; }
.perk-place { font-size: 0.82rem; color: var(--ink-soft); margin: 0 0 8px; }
.perk-place a { font-weight: 700; }
.perk-terms { font-size: 0.8rem; color: var(--ink-soft); margin: 0 0 6px; line-height: 1.45; }
.perk-dates { font-size: 0.68rem; margin: 0 0 10px; }
.perk-trust { display: flex; gap: 7px; align-items: flex-start; font-size: 0.72rem; font-weight: 600; margin: 0 0 12px; }
.perk-trust .trust-dot { width: 16px; height: 16px; font-size: 0.55rem; }
.perk-trust-yes { color: var(--pine); }
.perk-trust-no { color: var(--ink-faint); }
.perk-actions { display: flex; gap: 8px; border-top: 1px solid rgba(16,37,27,0.08); padding-top: 12px; margin-top: auto; }
.perk-actions .btn { flex: 1; }
.perk-code-btn.is-revealed {
  background: #DDF2E4; color: var(--pine);
  border: 2px dashed var(--guru);
  font-family: ui-monospace, monospace; letter-spacing: 0.15em;
  box-shadow: none;
}
.perk-no-code { flex: 1; display: grid; place-items: center; background: #DDF2E4; color: var(--pine); border-radius: 999px; font-size: 0.82rem; font-weight: 800; min-height: var(--tap); }

.trust-banner {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--pine-deep); color: var(--paper);
  border-radius: var(--radius); padding: 15px 16px;
  box-shadow: var(--shadow-card);
}
.trust-banner .trust-dot { width: 24px; height: 24px; font-size: 0.75rem; margin-top: 0; }
.trust-banner p { margin: 0; font-size: 0.84rem; line-height: 1.5; color: rgba(247,246,239,0.9); }
.trust-banner strong { color: var(--guru); }

/* --- Watch / share sections --------------------------------------------------------------------- */

.watch-motto { background: var(--pine-deep); color: var(--guru); border-radius: 999px; padding: 3px 11px; font-size: 0.6rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; }
.watch-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
.watch-player { position: relative; overflow: hidden; aspect-ratio: 9 / 16; max-width: 15rem; margin: 0 auto; border-radius: 16px; box-shadow: var(--shadow-lift); width: 100%; }
.watch-player .scene { position: absolute; inset: 0; height: 100%; }
.watch-facts { display: grid; gap: 10px; }
.watch-verdict { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; line-height: 1.35; margin: 0; }
.honest-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.honest-list li { position: relative; padding-left: 16px; font-size: 0.8rem; color: var(--ink-soft); line-height: 1.45; }
.honest-list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--warm); }
.watch-fact-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.watch-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.embed-placeholder {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--card); border-radius: 999px; padding: 8px 14px;
  font-size: 0.72rem; font-weight: 600; color: var(--ink-soft);
  box-shadow: inset 0 0 0 1px rgba(16,37,27,0.1);
}
.tt-mark { display: grid; place-items: center; width: 17px; height: 17px; border-radius: 4px; background: var(--ink); color: var(--paper); font-size: 0.5rem; font-weight: 800; }

.share-preview pre { white-space: pre-wrap; font-family: inherit; font-size: 0.8rem; color: var(--ink-soft); margin: 0; max-height: 240px; overflow-y: auto; line-height: 1.5; }

.hype-card { display: block; background: var(--card); border-radius: var(--radius); padding: 15px; box-shadow: var(--shadow-card); text-decoration: none !important; color: var(--ink); transition: transform 0.15s ease; }
.hype-card:hover { transform: translateY(-2px); }
.hype-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 8px; }
.hype-pill { border-radius: 999px; padding: 3.5px 11px; font-size: 0.62rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; }
.hype-worth { background: var(--guru); color: #fff; }
.hype-caveats { background: var(--gold-soft); color: #8a5a1c; }
.hype-overrated { background: var(--warm); color: #fff; }
.hype-views { font-size: 0.68rem; font-weight: 800; color: var(--ink-faint); }
.hype-card h3 { margin: 0 0 1px; }
.hype-meta { font-size: 0.7rem; color: var(--ink-faint); margin: 0 0 7px; }
.hype-note { font-size: 0.8rem; color: var(--ink-soft); margin: 0; line-height: 1.45; }

/* --- Pillars / USP ------------------------------------------------------------------------------- */

.pillars { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
.pillar { background: var(--card); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow-card); }
.pillar-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; font-size: 1rem; margin-bottom: 8px; }
.pillar h3 { margin: 0 0 3px; font-size: 0.95rem; }
.pillar p { margin: 0; font-size: 0.74rem; color: var(--ink-soft); line-height: 1.45; }
.pillar-dark { background: var(--pine-deep); color: var(--paper); }
.pillar-dark p { color: rgba(247,246,239,0.8); }
.pillar-icon-lake { background: var(--lake-soft); }
.pillar-icon-warm { background: var(--warm-soft); }
.pillar-icon-green { background: #DDF2E4; }
.pillar-icon-guru { background: var(--guru); }

/* --- Weather card ---------------------------------------------------------------------------------- */

.weather-card { background: var(--lake-deep); color: var(--paper); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-lift); }
.weather-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 0.64rem; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; color: rgba(247,246,239,0.7); margin-bottom: 8px; }
.weather-card h2 { color: var(--paper); margin-bottom: 6px; }
.weather-card p { color: rgba(247,246,239,0.85); font-size: 0.86rem; }
.weather-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 14px; }
.weather-actions .btn-light { background: var(--paper); color: var(--lake-deep); }
.weather-actions .btn-outline { background: transparent; color: var(--paper); box-shadow: inset 0 0 0 1.5px rgba(247,246,239,0.4); }

/* --- Trust band -------------------------------------------------------------------------------------- */

.trust-band { background: var(--pine-deep); color: var(--paper); border-radius: var(--radius); padding: 24px 20px; box-shadow: var(--shadow-lift); }
.trust-band .eyebrow { color: var(--guru); }
.trust-band h2 { color: var(--paper); }
.trust-band h2 em { font-style: normal; color: var(--guru); }
.trust-band p { color: rgba(247,246,239,0.8); font-size: 0.86rem; max-width: 30rem; }
.trust-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 16px 0; }
.trust-stat { background: rgba(247,246,239,0.08); border-radius: var(--radius-sm); padding: 12px 8px; text-align: center; }
.trust-stat strong { display: block; font-family: var(--font-display); font-size: 1.7rem; color: var(--guru); }
.trust-stat span { font-size: 0.64rem; color: rgba(247,246,239,0.7); line-height: 1.3; display: block; }

/* --- Planner / chat / timeline ------------------------------------------------------------------------ */

.pref-card { background: var(--card); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow-card); margin-bottom: 12px; }
.pref-label { font-size: 0.64rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-faint); margin: 0 0 9px; }

.toggle-card {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  background: var(--pine-deep); color: var(--paper);
  border-radius: var(--radius); padding: 14px 16px;
  box-shadow: var(--shadow-card); margin-bottom: 12px;
  cursor: pointer;
}
.toggle-card strong { display: block; font-size: 0.88rem; }
.toggle-card small { color: rgba(247,246,239,0.65); font-size: 0.72rem; }
.toggle {
  position: relative; flex-shrink: 0;
  width: 48px; height: 28px; border-radius: 999px; border: 0;
  background: rgba(247,246,239,0.25);
  transition: background 0.2s ease;
}
.toggle::after {
  content: ""; position: absolute; top: 4px; left: 4px;
  width: 20px; height: 20px; border-radius: 50%; background: #fff;
  transition: left 0.2s ease;
}
.toggle[aria-checked="true"] { background: var(--guru); }
.toggle[aria-checked="true"]::after { left: 24px; }

.plan-empty { display: grid; place-items: center; min-height: 240px; border: 2px dashed rgba(16,37,27,0.15); border-radius: var(--radius); padding: 30px; text-align: center; }
.plan-empty p { color: var(--ink-soft); font-size: 0.9rem; max-width: 22rem; }

.plan-note { background: var(--gold-soft); color: #8a5a1c; border-radius: var(--radius-sm); padding: 10px 14px; font-size: 0.82rem; font-weight: 600; margin: 12px 0; }

.stop-row { display: flex; gap: 11px; }
.stop-time-col { display: flex; flex-direction: column; align-items: center; }
.stop-time { display: grid; place-items: center; width: 52px; height: 38px; border-radius: var(--radius-sm); background: var(--pine); color: #fff; font-size: 0.74rem; font-weight: 800; flex-shrink: 0; }
.stop-line { flex: 1; width: 2px; background: rgba(16,37,27,0.12); margin-top: 4px; }
.stop-card { flex: 1; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-card); overflow: hidden; margin-bottom: 14px; }
.stop-card-inner { padding: 13px 15px; }
.stop-slot { font-size: 0.62rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--pine); margin: 0 0 2px; }
.stop-name { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.stop-meta { font-size: 0.72rem; color: var(--ink-faint); }
.stop-note { font-size: 0.8rem; color: var(--ink-soft); margin: 6px 0 8px; line-height: 1.45; }
.stop-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.swap-btn { border: 1px solid rgba(16,37,27,0.15); background: none; border-radius: 999px; padding: 5px 12px; font-size: 0.72rem; font-weight: 700; color: var(--ink-soft); min-height: 34px; }
.swap-btn:hover { border-color: var(--pine); color: var(--pine); }

/* Chat (Guru Mode) */
.chat-thread { display: grid; gap: 16px; margin: 20px 0; }
.chat-user { display: flex; justify-content: flex-end; }
.chat-user p { background: var(--pine); color: #fff; border-radius: 16px 16px 4px 16px; padding: 10px 15px; font-size: 0.88rem; max-width: 85%; margin: 0; box-shadow: var(--shadow-card); }
.chat-guru { display: flex; gap: 10px; }
.chat-avatar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--guru); color: #fff; flex-shrink: 0; margin-top: 2px; }
.chat-bubble { background: var(--card); border-radius: 4px 16px 16px 16px; padding: 12px 15px; box-shadow: var(--shadow-card); }
.chat-bubble p { font-size: 0.88rem; color: var(--ink-soft); line-height: 1.55; margin: 0 0 9px; }
.chat-bubble p:last-child { margin-bottom: 0; }
.chat-cards { display: flex; gap: 10px; overflow-x: auto; padding: 10px 0 4px; scrollbar-width: none; }
.chat-cards::-webkit-scrollbar { display: none; }
.chat-cards .mini-card { flex-shrink: 0; width: 15.5rem; }
.chat-followups { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 9px; }
.chat-followups .chip { min-height: 34px; font-size: 0.76rem; color: var(--pine); box-shadow: inset 0 0 0 1px rgba(0,166,82,0.4); }
.chat-followups .chip:hover { background: var(--guru); color: #fff; }
.chat-typing { display: inline-flex; gap: 4px; padding: 6px 2px; }
.chat-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-faint); animation: cg-bounce 1s infinite; }
.chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.chat-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes cg-bounce { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-5px); } }

.chat-composer { position: sticky; bottom: 82px; padding: 10px 0; }
.chat-composer .prompt-box { margin: 0; }

.example-prompts { display: grid; gap: 9px; }
.example-prompt {
  display: block; width: 100%; text-align: left;
  background: var(--card); border: 0; border-radius: var(--radius-sm);
  padding: 13px 16px; font-size: 0.86rem; font-weight: 500; color: var(--ink-soft);
  box-shadow: var(--shadow-card);
  transition: transform 0.15s ease, color 0.15s ease;
}
.example-prompt:hover { transform: translateY(-2px); color: var(--pine); }

/* --- Explore layout -------------------------------------------------------------------------------------- */

.explore-layout { display: grid; gap: 20px; grid-template-columns: 1fr; }
.map-panel { display: none; }
.results-count { font-size: 0.82rem; color: var(--ink-faint); margin: 14px 0 10px; }
.no-results { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-card); padding: 36px 20px; text-align: center; }
.no-results p { color: var(--ink-soft); font-size: 0.88rem; }

/* --- Itinerary ---------------------------------------------------------------------------------------------- */

.itinerary-hero { position: relative; height: 210px; overflow: hidden; }
.itinerary-hero .scene { position: absolute; inset: 0; height: 100%; }
.itinerary-hero-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(16,37,27,0.62), rgba(16,37,27,0.05) 60%, transparent); }
.itinerary-hero-text { position: absolute; left: 0; right: 0; bottom: 0; padding-bottom: 16px; }
.itinerary-hero-text h1 { color: var(--paper); text-shadow: 0 1px 4px rgba(0,0,0,0.3); margin: 6px 0 0; }
.itinerary-kicker { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,0.9); border-radius: 999px; padding: 4px 12px; font-size: 0.62rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.07em; color: var(--lake-deep); }
.action-bar { position: sticky; top: 58px; z-index: 30; display: flex; gap: 8px; overflow-x: auto; padding: 10px 16px; margin: 0 -16px 8px; background: rgba(247,246,239,0.92); backdrop-filter: blur(8px); scrollbar-width: none; }
.action-bar::-webkit-scrollbar { display: none; }
.action-bar .btn { flex-shrink: 0; }
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; margin: 14px 0; }
.stat-card { background: var(--card); border-radius: var(--radius-sm); padding: 10px 8px; text-align: center; box-shadow: var(--shadow-card); }
.stat-card span { display: block; font-size: 0.58rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.07em; color: var(--ink-faint); }
.stat-card strong { font-family: var(--font-display); font-size: 0.9rem; }

.route-preview { background: var(--soft-green); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); }
.route-preview svg { width: 100%; height: auto; display: block; }
.route-caption { background: var(--card); padding: 10px 14px; font-size: 0.76rem; color: var(--ink-soft); font-weight: 600; }
.map-label { position: absolute; top: 10px; left: 10px; background: rgba(255,255,255,0.9); border-radius: 999px; padding: 3px 11px; font-size: 0.62rem; font-weight: 800; color: var(--ink-soft); }

.confidence-meter { display: flex; gap: 4px; margin-top: 10px; }
.confidence-meter span { height: 8px; flex: 1; border-radius: 999px; background: var(--guru); }

/* --- Toast ---------------------------------------------------------------------------------------------------- */

.toast {
  position: fixed; left: 50%; bottom: 92px; z-index: 90;
  transform: translateX(-50%);
  background: var(--ink); color: var(--paper);
  border-radius: 999px; padding: 10px 20px;
  font-size: 0.82rem; font-weight: 600;
  box-shadow: var(--shadow-lift);
  max-width: calc(100vw - 32px);
}

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

.site-footer { background: #EFEDE2; border-top: 1px solid rgba(16,37,27,0.08); margin-top: 48px; padding: 30px 0 18px; }
.footer-grid { display: grid; gap: 24px; grid-template-columns: 1fr; padding-bottom: 8px; }
.footer-about .muted { font-size: 0.82rem; max-width: 24rem; }
.footer-col { display: grid; gap: 7px; font-size: 0.84rem; }
.footer-col a, .footer-col span { color: var(--ink-soft); }
.footer-head { font-weight: 800; font-size: 0.8rem; margin: 0 0 2px; color: var(--ink); }
.footer-note { font-size: 0.72rem; border-top: 1px solid rgba(16,37,27,0.08); padding-top: 14px; }

/* --- Admin ----------------------------------------------------------------------------------------------------------- */

.admin-banner {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  background: var(--ink); color: var(--paper);
  border-radius: var(--radius); padding: 12px 16px; margin: 16px 0;
}
.admin-banner .pill { background: var(--gold); color: var(--ink); border-radius: 999px; padding: 3px 11px; font-size: 0.62rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; }
.admin-banner p { margin: 0; font-size: 0.76rem; color: rgba(247,246,239,0.85); }
.admin-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.admin-table { width: 100%; border-collapse: collapse; background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); font-size: 0.82rem; }
.admin-table th { text-align: left; background: var(--soft-green); color: var(--pine); font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.07em; padding: 10px 12px; }
.admin-table td { padding: 10px 12px; border-top: 1px solid rgba(16,37,27,0.06); vertical-align: top; }
.form-grid { display: grid; gap: 14px; }
.form-field label { display: block; font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.07em; color: var(--ink-faint); margin-bottom: 5px; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; border: 1px solid rgba(16,37,27,0.15); border-radius: var(--radius-sm);
  background: var(--card); padding: 10px 12px; font: inherit; font-size: 0.88rem; color: var(--ink);
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { outline: 2px solid var(--guru); outline-offset: 1px; border-color: transparent; }
.gen-output { background: var(--card); border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow-card); margin-bottom: 12px; }
.gen-output pre { white-space: pre-wrap; font-family: inherit; font-size: 0.82rem; color: var(--ink-soft); margin: 6px 0 0; line-height: 1.5; }

/* --- Print (itinerary export) -------------------------------------------------------------------------------------------- */

@media print {
  .print-hide, .bottom-nav, .site-header, .site-footer, .action-bar, .toast { display: none !important; }
  body { background: #fff; padding-bottom: 0; }
  .place-card, .stop-card, .panel { box-shadow: none; border: 1px solid #ddd; }
  a { color: inherit; }
}
