/* Nestara — shared styles
   Mobile-first, one design-token system shared by every page. */

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

:root {
  --bg: oklch(98% 0.007 80);
  --surface: oklch(100% 0 0);
  --surface-alt: oklch(96% 0.01 80);
  --ink: oklch(22% 0.02 75);
  --ink-muted: oklch(52% 0.02 75);
  --ink-faint: oklch(68% 0.015 75);
  --border: oklch(90% 0.012 75);
  --accent: oklch(38% 0.09 152);
  --accent-ink: oklch(30% 0.08 152);
  --accent-soft: oklch(94% 0.045 152);
  --accent-soft-border: oklch(85% 0.06 152);
  --gold: oklch(72% 0.13 80);
  --max: 560px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Public Sans', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.4;
}
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
a { color: var(--accent-ink); text-decoration: none; }
a:hover { color: var(--accent); }
.serif { font-family: 'Instrument Serif', Georgia, serif; }

.wrap { max-width: var(--max); margin: 0 auto; }

/* ---- top nav ---- */
.topbar {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; background: color-mix(in oklab, var(--bg) 92%, transparent);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--border);
}
.topbar-inner { max-width: var(--max); margin: 0 auto; width: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 8px; }
.brand svg { color: var(--accent); }
.brand-mark { width: 26px; height: 26px; flex-shrink: 0; }
.brand-name { font-size: 23px; font-style: italic; color: var(--ink); letter-spacing: 0.01em; }
.icon-btn {
  width: 38px; height: 38px; border-radius: 999px; border: 1px solid var(--border);
  background: var(--surface); display: flex; align-items: center; justify-content: center;
  color: var(--ink-muted); flex-shrink: 0;
}
.topbar.subpage .topbar-inner { justify-content: flex-start; gap: 12px; }
.subpage-title { font-size: 16px; font-weight: 600; color: var(--ink); }

/* ---- generic pieces ---- */
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; color: var(--accent-ink); text-transform: uppercase; }
h1.headline { font-size: clamp(28px, 6vw, 36px); font-style: italic; line-height: 1.14; margin: 10px 0 8px; color: var(--ink); font-weight: 400; }
.lede { font-size: 15px; line-height: 1.55; color: var(--ink-muted); margin: 0; max-width: 42ch; }

.toggle { margin: 22px 0 0; padding: 4px; background: var(--surface-alt); border: 1px solid var(--border); border-radius: 999px; display: flex; gap: 4px; }
.toggle button { flex: 1; padding: 11px 0; border: none; border-radius: 999px; background: transparent; color: var(--ink-muted); font-size: 14px; font-weight: 600; }
.toggle button.active { background: var(--accent); color: oklch(99% 0.005 152); }

.card { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; }

.search-card { margin-top: 16px; padding: 6px; box-shadow: 0 1px 2px oklch(0% 0 0 / 0.03), 0 8px 24px oklch(30% 0.02 152 / 0.06); }
.search-row { display: flex; align-items: center; gap: 12px; padding: 14px; }
.search-row > div { flex: 1; min-width: 0; }
.search-row svg { color: var(--ink-faint); flex-shrink: 0; }
.search-row .label { font-size: 11px; color: var(--ink-faint); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.search-row .value { font-size: 15px; color: var(--ink-muted); }
.search-split { display: flex; }
.search-split .search-row { flex: 1 1 0; min-width: 0; }
.hdiv { height: 1px; background: var(--border); margin: 0 14px; }
.vdiv { width: 1px; flex: 0 0 1px; background: var(--border); margin: 10px 0; }

.btn-primary {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%;
  padding: 15px; border-radius: 14px; border: none; background: var(--accent);
  color: oklch(99% 0.005 152); font-size: 15px; font-weight: 600;
}
.btn-secondary {
  width: 100%; padding: 15px; border-radius: 14px; border: 1px solid var(--border);
  background: transparent; color: var(--ink); font-size: 14.5px; font-weight: 600;
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 18px 0; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface); font-size: 13px; font-weight: 500;
  color: var(--ink); white-space: nowrap; flex-shrink: 0;
}

.trust-strip { margin: 6px 0 8px; padding: 18px; background: var(--accent-soft); border: 1px solid var(--accent-soft-border); border-radius: 18px; }
.trust-row { display: flex; gap: 12px; align-items: flex-start; }
.trust-row svg { color: var(--accent-ink); flex-shrink: 0; margin-top: 1px; }
.trust-row p { font-size: 13.5px; line-height: 1.5; color: var(--accent-ink); font-weight: 500; margin: 0; }
.trust-strip .hdiv { background: var(--accent-soft-border); margin: 14px 0; }
.trust-strip a { display: block; margin-top: 14px; font-size: 12.5px; font-weight: 700; }

.badge-verified {
  display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px 5px 8px; border-radius: 999px;
  background: color-mix(in oklab, var(--surface) 92%, transparent); color: var(--accent-ink);
  font-size: 11px; font-weight: 600;
}

/* listing card (grid + list) */
.listing-card { overflow: hidden; text-decoration: none; color: inherit; display: block; }
.listing-thumb { position: relative; background: linear-gradient(150deg, oklch(72% 0.05 140), oklch(56% 0.07 165)); }
.listing-thumb .badge-verified { position: absolute; top: 10px; left: 10px; }
.listing-body { padding: 14px; }
.listing-title-row { display: flex; justify-content: space-between; gap: 8px; }
.listing-title { font-size: 15px; font-weight: 600; color: var(--ink); }
.sample-label { font-size: 11px; font-weight: 700; color: var(--ink-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.rating { display: flex; align-items: center; gap: 3px; flex-shrink: 0; }
.rating svg { color: var(--gold); }
.rating span { font-size: 12.5px; color: var(--ink-muted); }
.listing-loc { font-size: 12.5px; color: var(--ink-muted); margin-top: 2px; }
.amenity-row { display: flex; gap: 12px; margin-top: 9px; flex-wrap: wrap; }
.amenity { font-size: 11.5px; color: var(--ink-faint); font-weight: 500; }
.listing-price { font-size: 15px; font-weight: 700; color: var(--ink); }
.listing-price small { font-weight: 500; color: var(--ink-muted); font-size: 12.5px; }

.results-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 720px) {
  .results-grid { grid-template-columns: 1fr 1fr; }
  .wrap.wide { max-width: 900px; }
}

footer.site-footer { margin-top: 48px; padding: 28px 20px 40px; border-top: 1px solid var(--border); text-align: center; }
footer.site-footer p { font-size: 12px; color: var(--ink-faint); margin: 6px 0; }
footer.site-footer nav { display: flex; gap: 16px; justify-content: center; margin-bottom: 10px; flex-wrap: wrap; }
footer.site-footer nav a { font-size: 12.5px; font-weight: 600; }

.price-details { padding: 16px; }
.price-line { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--ink); padding: 6px 0; }
.price-line.muted { color: var(--ink-muted); }
.price-total { display: flex; justify-content: space-between; font-size: 15px; font-weight: 700; color: var(--ink); padding: 2px 0; }
.callout { display: flex; gap: 8px; align-items: flex-start; margin-top: 14px; padding: 12px; background: var(--accent-soft); border-radius: 12px; }
.callout svg { color: var(--accent-ink); flex-shrink: 0; margin-top: 1px; }
.callout span { font-size: 12px; color: var(--accent-ink); font-weight: 500; line-height: 1.5; }

.amenity-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
.amenity-item { display: flex; align-items: center; gap: 10px; }
.amenity-item svg { color: var(--ink-muted); flex-shrink: 0; }
.amenity-item span { font-size: 13.5px; color: var(--ink); font-weight: 500; }

.gallery { position: relative; height: 260px; border-radius: 0 0 24px 24px; overflow: hidden;
  background: linear-gradient(160deg, oklch(74% 0.05 140), oklch(52% 0.07 165) 60%, oklch(44% 0.06 175)); }
@media (min-width: 560px) { .gallery { height: 340px; border-radius: 24px; margin-top: 16px; } }

.sticky-cta {
  position: sticky; bottom: 0; display: flex; align-items: center; justify-content: space-between;
  gap: 14px; padding: 14px 20px 20px; background: color-mix(in oklab, var(--surface) 95%, transparent);
  backdrop-filter: blur(8px); border-top: 1px solid var(--border); margin-top: 24px;
}

.support-target {
  border-radius: 22px; padding: 26px 22px; margin-top: 6px;
  background: linear-gradient(165deg, var(--accent) 0%, oklch(30% 0.08 158) 100%); color: oklch(98% 0.01 152);
}
.support-target .num { font-size: clamp(36px, 8vw, 48px); font-style: italic; line-height: 1; margin-bottom: 8px; font-family: 'Instrument Serif', serif; }

.section-label { font-size: 11px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-faint); margin: 26px 0 10px; }

.step { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--border); }
.step:last-child { border-bottom: none; }
.step svg { color: var(--accent-ink); flex-shrink: 0; }
.step span { font-size: 13.5px; color: var(--ink); font-weight: 500; }

.success-icon { width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 999px; background: var(--accent-soft); display: flex; align-items: center; justify-content: center; }
.center { text-align: center; }

main.page { padding: 0 20px; }
main.page.no-pad-top { padding-top: 0; }
.section { padding: 26px 0 0; }
