/* Cameron Guide — mobile-first. One breakpoint (min-width: 860px) for desktop. */
:root {
  --bg: #f6f7f3;
  --surface: #ffffff;
  --ink: #1b2620;
  --muted: #5d6b63;
  --line: #e1e6df;
  --brand: #1f5f43;      /* tea-leaf green */
  --brand-ink: #ffffff;
  --brand-soft: #e4f0e8;
  --wa: #1fa855;
  --wa-ink: #ffffff;
  --ok: #2f7d4f;
  --ok-soft: #e3f3e8;
  --warn: #a8640a;
  --warn-soft: #fdf1dc;
  --bad: #b3261e;
  --bad-soft: #fde7e5;
  --featured: #d99a1c;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(20, 40, 30, .06), 0 4px 14px rgba(20, 40, 30, .06);
  --gutter: 16px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.5 var(--font);
  padding-bottom: calc(64px + env(safe-area-inset-bottom));
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); }
h1 { font-size: 1.6rem; line-height: 1.2; margin: .2em 0 .4em; letter-spacing: -.01em; }
h2 { font-size: 1.15rem; margin: 1.6em 0 .6em; }
h3 { font-size: 1rem; margin: 0 0 .2em; }
p { margin: .4em 0 .8em; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 720px; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.lead { font-size: 1.05rem; color: var(--muted); }
.page-head { padding-top: 12px; }

/* header */
.top { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.top-in { display: flex; align-items: center; gap: 12px; height: 56px; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); text-decoration: none; margin-right: auto; }
.nav { display: none; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.lang a { padding: 4px 12px; font-size: .85rem; font-weight: 600; color: var(--muted); text-decoration: none; }
.lang a[aria-current] { background: var(--brand); color: var(--brand-ink); }

/* bottom tab bar (mobile) */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--surface); border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}
.tabbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 0; font-size: .72rem; color: var(--muted); text-decoration: none; }
.tabbar svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.tabbar a[aria-current] { color: var(--brand); font-weight: 600; }

/* alert banner */
.alert { background: var(--bad); color: #fff; padding: 10px 0; font-weight: 500; }
.alert a { color: #fff; }

/* hero banner (home) — photo credit is in the footer */
.hero-banner { position: relative; height: 280px; display: flex; align-items: flex-end; overflow: hidden; background: var(--brand); }
.hero-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(10, 25, 18, .05) 30%, rgba(10, 25, 18, .7)); }
.hero-banner .wrap { position: relative; z-index: 1; width: 100%; padding-bottom: 52px; }
.hero-banner h1 { color: #fff; margin: 0; text-shadow: 0 1px 8px rgba(0, 0, 0, .45); }

/* hero verdict — pulled up to overlap the banner */
.hero { position: relative; z-index: 1; margin-top: -36px; }
.verdict { border-radius: var(--radius); padding: 16px; background: var(--ok-soft); border-left: 6px solid var(--ok); box-shadow: var(--shadow); }
.verdict .eyebrow { margin: 0; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }
.verdict-main { font-size: 1.25rem; font-weight: 700; margin: .2em 0; }
.verdict-tip { margin: 0; }
.verdict-normal, .verdict-busy { background: var(--warn-soft); border-color: var(--warn); }
.verdict-very, .verdict-extreme { background: var(--bad-soft); border-color: var(--bad); }

/* deep tea-green band behind the live section (home) — continues the banner photo */
.live-band { background: #17382a; padding-bottom: 28px; }
.live-band .panel { border-color: transparent; box-shadow: 0 2px 6px rgba(0, 0, 0, .18), 0 10px 28px rgba(0, 0, 0, .22); }
.live-band .verdict { box-shadow: 0 10px 28px rgba(0, 0, 0, .25); }

/* panels */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow); }
.panel h2 { margin: 0 0 .5em; font-size: 1rem; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.panel-head h2 { margin: 0; }
.grid-2 { display: grid; gap: 12px; margin-top: 12px; }
.stack { display: grid; gap: 12px; align-content: start; }
.map-frame { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--line); border: 1px solid var(--line); }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.times { list-style: none; margin: 0; padding: 0; }
.times li { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.times li:last-child { border-bottom: 0; }

/* busy days */
.busy-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.busy-list li { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "date pill" "label pill"; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.busy-date { grid-area: date; font-weight: 600; font-size: .9rem; }
.busy-label { grid-area: label; color: var(--muted); font-size: .9rem; }
.pill { grid-area: pill; font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--warn-soft); color: var(--warn); }
.pill-2, .pill-3 { background: var(--bad-soft); color: var(--bad); }
.hint { margin-top: 10px; background: var(--brand-soft); border-radius: 10px; padding: 10px 12px; }

/* explore tiles */
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.tile { display: flex; align-items: center; gap: 10px; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; font-weight: 600; }
.tile span { font-size: 1.4rem; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; }

/* cards */
.card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--ink); text-decoration: none; box-shadow: var(--shadow); }
.card a { color: inherit; text-decoration: none; }
.card-img { position: relative; aspect-ratio: 4 / 3; background: var(--line); display: block; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 12px; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.card-body .muted { font-size: .88rem; margin: 0; }
.card-foot { margin-top: auto; padding-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.cards-2 { display: grid; grid-template-columns: 1fr; gap: 12px; }
.cards-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.tag { position: absolute; top: 10px; left: 10px; font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.tag-featured { background: var(--featured); color: #fff; }
.badge { font-size: .78rem; font-weight: 600; color: var(--ok); background: var(--ok-soft); border-radius: 999px; padding: 2px 8px; }
.tip { font-size: .9rem; background: var(--brand-soft); border-radius: 8px; padding: 6px 10px; margin: 6px 0; }
.area { font-size: .82rem; color: var(--muted); font-weight: 500; }

/* horizontal swipe rows */
.row-section h2 { margin-bottom: .5em; }
.hscroll {
  display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  padding: 2px var(--gutter) 12px; scroll-padding: 0 var(--gutter);
  scrollbar-width: none;
}
.hscroll::-webkit-scrollbar { display: none; }
.hscroll > * { scroll-snap-align: start; }

/* chips */
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 8px; scrollbar-width: none; }
.chips a { flex: none; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; font-size: .9rem; font-weight: 500; }
.chips a[aria-current] { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 18px; border-radius: 10px; background: var(--brand); color: var(--brand-ink); font-weight: 600; text-decoration: none; border: 0; font: inherit; font-weight: 600; cursor: pointer; }
.btn { white-space: nowrap; }
.btn-sm { padding: 6px 12px; font-size: .88rem; }
.btn-block { display: flex; width: 100%; margin-bottom: 8px; }
.btn-ghost { background: transparent; color: var(--brand); border: 1px solid var(--line); }
.btn-wa { background: var(--wa); color: var(--wa-ink); }
.ico { width: 18px; height: 18px; fill: currentColor; flex: none; }

/* listing page */
.gallery { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; background: var(--line); scrollbar-width: none; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; scroll-snap-align: start; }
.gallery .tag { left: 16px; top: 16px; }
.back { display: inline-block; margin: 12px 0 4px; text-decoration: none; font-size: .9rem; }
.verified { display: flex; gap: 12px; align-items: center; background: var(--ok-soft); border-radius: 12px; padding: 12px; margin: 12px 0; }
.verified-ico { width: 36px; height: 36px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; font-weight: 700; flex: none; }
.facts { list-style: none; padding: 0; margin: 12px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.facts li { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 6px 12px; font-size: .9rem; }
.ticks, .dots { padding-left: 1.2em; }
.ticks li::marker { content: "✓  "; color: var(--ok); }
.contact-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); margin: 16px 0; }
.price { font-size: 1.25rem; font-weight: 700; margin-top: 0; }
.report { margin-top: 24px; font-size: .85rem; }
.report a { color: var(--muted); }
.mobile-cta {
  position: fixed; left: 0; right: 0; z-index: 9;
  bottom: calc(57px + env(safe-area-inset-bottom));
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px var(--gutter); background: var(--surface); border-top: 1px solid var(--line);
}
.listing { padding-bottom: 64px; }
.hero-img img { width: 100%; max-height: 420px; object-fit: cover; }

/* food */
.food-list { display: grid; gap: 10px; }
.food-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.food-item p { margin: .3em 0; }

/* cta & steps */
.cta-box { margin: 28px 0 8px; background: var(--brand-soft); border-radius: var(--radius); padding: 18px; }
.cta-box h2 { margin-top: 0; }
.steps { padding-left: 1.3em; }
.steps li { margin-bottom: 8px; }

/* footer */
.foot { margin-top: 40px; padding: 24px 0; border-top: 1px solid var(--line); background: var(--surface); font-size: .9rem; }
.foot-cta { font-weight: 700; text-decoration: none; }

@media (min-width: 860px) {
  body { padding-bottom: 0; }
  h1 { font-size: 2.1rem; }
  .tabbar { display: none; }
  .nav { display: flex; gap: 4px; margin-right: 12px; }
  .nav a { padding: 8px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 500; }
  .nav a[aria-current] { background: var(--brand-soft); color: var(--brand); }
  .grid-2 { grid-template-columns: 3fr 2fr; }
  .hero-banner { height: 420px; }
  .hero-banner .wrap { padding-bottom: 64px; }
  .tiles { grid-template-columns: repeat(5, 1fr); }
  .tile { flex-direction: column; text-align: center; padding: 20px 10px; }
  .cards-2 { grid-template-columns: repeat(2, 1fr); }
  .cards-grid { grid-template-columns: repeat(3, 1fr); }
  .hscroll { grid-auto-columns: calc((min(1120px, 100vw) - 2 * var(--gutter) - 36px) / 4); padding-left: max(var(--gutter), calc((100vw - 1120px) / 2 + var(--gutter))); scroll-padding-left: max(var(--gutter), calc((100vw - 1120px) / 2 + var(--gutter))); }
  .gallery { grid-auto-columns: 50%; max-width: 1120px; margin: 16px auto 0; border-radius: var(--radius); }
  .listing-grid { display: grid; grid-template-columns: 1fr 340px; gap: 32px; }
  .contact { position: relative; }
  .mobile-cta { display: none; }
  .listing { padding-bottom: 0; }
  .contact-box { position: sticky; top: 72px; }
}
