/* ParkMySpot — public listings site
   Colors match the Flutter app (AppColors). */
:root {
  --primary: #1565C0;
  --primary-light: #1E88E5;
  --primary-dark: #0D47A1;
  --primary-soft: #E3F2FD;
  --success: #2E7D32;
  --success-soft: #E8F5E9;
  --warning: #F9A825;
  --warning-soft: #FFF8E1;
  --danger: #C62828;
  --danger-soft: #FFEBEE;
  --text: #1A1A1A;
  --muted: #5F6368;
  --bg: #F7F9FC;
  --surface: #FFFFFF;
  --outline: #DADCE0;
  --price: #0D47A1;
  --shadow: 0 8px 28px rgba(13, 71, 161, 0.08);
  --shadow-lg: 0 18px 50px rgba(13, 71, 161, 0.14);
  --radius: 18px;
  --radius-sm: 12px;
  --header-h: 68px;
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  min-height: 100vh;
  min-width: 0;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--primary-dark); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 0.5em; letter-spacing: -0.03em; }
p { margin: 0 0 0.8em; }

.skip-link {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--primary-dark);
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 80;
}
.skip-link:focus { top: 12px; }
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
button:focus:not(:focus-visible),
a:focus:not(:focus-visible) { outline: none; }

.wrap {
  width: min(1160px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--outline);
}
.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 12px 24px;
  min-width: 0;
  flex-wrap: wrap;
}
.header-cta { flex: none; white-space: nowrap; }
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  margin-right: auto;
  min-width: 0;
}
.brand img { width: 40px; height: 40px; border-radius: 10px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-weight: 800; font-size: 1.15rem; letter-spacing: -0.04em; }
.brand-sub { font-size: 0.72rem; color: var(--muted); font-weight: 500; }
.header-nav { display: flex; gap: 18px; }
.header-nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.92rem;
}
.header-nav a:hover { color: var(--primary-dark); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 11px 18px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 16px rgba(21, 101, 192, 0.28);
}
.btn-primary:hover { background: var(--primary-light); color: #fff; }
.btn-ghost {
  background: var(--primary-soft);
  color: var(--primary-dark);
}
.btn-ghost:hover { background: #d3e9fb; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-disabled {
  background: #e8eaed;
  color: #80868b;
  box-shadow: none;
  cursor: not-allowed;
}

.intro { padding: 36px 0 12px; }
.eyebrow {
  display: inline-block;
  color: var(--primary-dark);
  background: var(--primary-soft);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.eyebrow-light { background: rgba(255,255,255,0.16); color: #fff; }
.intro h1 {
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  font-weight: 800;
  max-width: 18ch;
}
.lede { max-width: 62ch; color: var(--muted); font-size: 1.05rem; }
.lede-short { display: none; }

.explorer { padding: 12px 0 48px; }
.explorer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.explorer-head > div:first-child { min-width: 0; flex: 1 1 180px; }
.view-toggle { flex: none; }
.explorer-head h2 { margin: 0; font-size: 1.35rem; }
.explorer-meta { margin: 4px 0 0; color: var(--muted); font-size: 0.92rem; }

.view-toggle {
  display: flex;
  background: #fff;
  border: 1px solid var(--outline);
  border-radius: 999px;
  padding: 3px;
}
.view-btn {
  border: 0;
  background: transparent;
  padding: 7px 14px;
  border-radius: 999px;
  font-weight: 650;
  color: var(--muted);
  font-size: 0.88rem;
}
.view-btn.is-active {
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px 16px;
  margin-bottom: 16px;
}
.filter-group { border: 0; margin: 0; padding: 0; min-width: 0; }
.filter-group legend {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  border: 1px solid var(--outline);
  background: #fff;
  color: var(--text);
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 0.82rem;
  font-weight: 600;
}
.chip:hover { border-color: var(--primary-light); }
.chip.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.sample-banner {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto 16px;
  background: var(--warning-soft);
  color: #5d4a00;
  border: 1px solid #f0e0a0;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-weight: 600;
  font-size: 0.92rem;
}

.explorer-body {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.2fr);
  gap: 16px;
  align-items: start;
  min-height: 620px;
}
.explorer-body[data-view="list"] .map-pane { display: none; }
.explorer-body[data-view="list"] { grid-template-columns: 1fr; }
.explorer-body[data-view="map"] .list-pane { display: none; }
.explorer-body[data-view="map"] { grid-template-columns: 1fr; }

.list-pane { min-width: 0; }
.map-pane {
  position: sticky;
  top: calc(var(--header-h) + 12px);
  min-width: 0;
}
#map {
  height: 640px;
  border-radius: var(--radius);
  border: 1px solid var(--outline);
  box-shadow: var(--shadow);
  background: #d9e7f5;
  overflow: hidden;
}
.map-note {
  margin: 8px 2px 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.status-block, .empty-state {
  background: #fff;
  border: 1px dashed var(--outline);
  border-radius: var(--radius);
  padding: 28px 20px;
  color: var(--muted);
  text-align: center;
}
.status-block[hidden], .empty-state[hidden] { display: none; }

.space-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.space-card {
  background: #fff;
  border: 1px solid var(--outline);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  height: 100%;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.space-card:hover, .space-card:focus-within {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-lg);
}
.space-card.is-selected {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.2), var(--shadow);
}
.space-card.is-unbookable { opacity: 0.96; }

.card-art {
  background: linear-gradient(160deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 12px;
  height: 128px;
  position: relative;
  overflow: hidden;
}
.card-art .cover-photo,
.drawer-hero .cover-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-art.has-photo::after,
.drawer-hero.has-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 24, 40, 0.62), rgba(10, 24, 40, 0.05) 55%);
  pointer-events: none;
}
.card-art .p-mark,
.card-art .art-area {
  position: relative;
  z-index: 1;
}
.card-art .p-mark {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  width: 36px;
  height: 36px;
  border: 2px solid rgba(255,255,255,0.85);
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.1rem;
}
.card-art .art-area {
  font-weight: 700;
  font-size: 0.82rem;
  text-shadow: 0 1px 8px rgba(0,0,0,0.35);
  z-index: 1;
}

.card-body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 6px; min-width: 0; flex: 1; }
.card-top { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; }
.card-title { margin: 0; font-size: 0.98rem; font-weight: 750; min-width: 0; overflow-wrap: anywhere; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; min-height: 2.5em; }
.card-price {
  color: var(--price);
  font-weight: 800;
  font-size: 0.95rem;
  text-align: right;
  flex: none;
  max-width: 42%;
  line-height: 1.25;
}
.card-price small { display: block; font-weight: 600; color: var(--muted); font-size: 0.72rem; }
.price-na { color: var(--muted); font-weight: 700; font-size: 0.85rem; }
.card-meta, .pill-row { display: flex; flex-wrap: wrap; gap: 6px; }
.pill {
  background: var(--bg);
  color: var(--muted);
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 0.75rem;
  font-weight: 650;
}
.pill-ok { background: var(--success-soft); color: var(--success); }
.card-actions { margin-top: auto; padding-top: 6px; }

.leaflet-container { font-family: var(--font); }
.spot-pin {
  width: 32px;
  height: 32px;
  border-radius: 50% 50% 50% 4px;
  transform: rotate(-45deg);
  background: var(--primary);
  border: 3px solid #fff;
  box-shadow: 0 4px 12px rgba(13, 71, 161, 0.4);
}
.spot-pin.is-selected { background: var(--primary-dark); box-shadow: 0 0 0 4px rgba(21, 101, 192, 0.28); }
.spot-pin.is-unbookable { background: #90a4ae; }
.leaflet-tooltip.area-tip {
  background: #fff;
  border: 0;
  border-radius: 8px;
  box-shadow: var(--shadow);
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--text);
}

.how { padding: 24px 0 56px; }
.how h2 { font-size: 1.6rem; margin-bottom: 20px; }
.how-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.how-grid li {
  background: #fff;
  border: 1px solid var(--outline);
  border-radius: var(--radius);
  padding: 20px 18px 22px;
  box-shadow: var(--shadow);
}
.how-num {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-weight: 800;
  margin-bottom: 12px;
}
.how-grid h3 { font-size: 1.05rem; margin-bottom: 6px; }
.how-grid p { margin: 0; color: var(--muted); font-size: 0.92rem; }

.get-app {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 58%, var(--primary-light) 100%);
  color: #fff;
  padding: 48px 0;
}
.get-app-inner {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
}
.get-app h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); max-width: 18ch; }
.get-app p { color: rgba(255,255,255,0.9); max-width: 52ch; }
.store-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.play-badge img { height: 72px; width: auto; }
.soon-badge { display: inline-flex; opacity: 0.96; }
.soon-badge img { height: 56px; width: auto; }

.site-footer { background: #0f2238; color: #d7dee8; padding: 36px 0 28px; }
.footer-inner { display: grid; gap: 16px; }
.footer-brand { display: flex; gap: 12px; align-items: flex-start; }
.footer-brand img { border-radius: 9px; }
.footer-brand strong { color: #fff; }
.footer-brand p { margin: 2px 0 0; font-size: 0.9rem; color: #b6c2d0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px 18px; list-style: none; margin: 0; padding: 0; }
.footer-links a { color: #fff; font-weight: 600; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-note { margin: 0; font-size: 0.82rem; color: #9aabc0; max-width: 80ch; }
.footer-note a { color: #c9d7e8; }

.drawer-root, .modal-root {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: end center;
}
.modal-root { place-items: center; padding: 16px; z-index: 210; }
.drawer-root[hidden], .modal-root[hidden] { display: none; }
.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 34, 56, 0.45);
}
.drawer, .modal {
  position: relative;
  background: #fff;
  width: min(560px, 100%);
  max-height: min(92vh, 900px);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
}
.drawer {
  border-radius: 24px 24px 0 0;
}
.modal {
  border-radius: 20px;
  padding: 0 0 22px;
}
.drawer-scroll, #drawer-body {
  overflow: auto;
  padding: 20px 22px 28px;
  flex: 1;
  min-height: 0;
  -webkit-overflow-scrolling: touch;
}
.modal h2, .modal-lead, .modal form, .wa-result {
  padding-left: 22px;
  padding-right: 22px;
}
.modal h2 { padding-top: 20px; padding-right: 108px; }
.overlay-close {
  position: absolute;
  top: max(12px, env(safe-area-inset-top, 0px));
  right: 12px;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 44px;
  padding: 0 14px 0 10px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #1A1A1A;
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: 0 4px 16px rgba(15, 34, 56, 0.28);
  line-height: 1;
}
.overlay-close span { font-size: 1.6rem; font-weight: 500; line-height: 1; }
.overlay-close:hover, .overlay-close:focus {
  background: var(--primary-soft);
  outline: none;
}
.wa-result { display: grid; gap: 10px; padding-top: 8px; }
.wa-result[hidden] { display: none; }
.wa-result-lead { margin: 0; font-weight: 650; color: var(--text); }
.wa-fallback {
  text-align: center;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 8px;
}
form.is-sent { display: none; }
.drawer-hero {
  background: linear-gradient(160deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  border-radius: 16px;
  padding: 22px 18px;
  margin-bottom: 12px;
  min-height: 200px;
  height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
}
.drawer-hero .area,
.drawer-hero h2 { position: relative; z-index: 1; }
.drawer-hero .area { font-weight: 700; opacity: 0.92; }
.drawer-hero h2 { margin: 4px 0 0; color: #fff; }
.photo-gallery {
  display: flex;
  gap: 8px;
  margin: 0 0 16px;
}
.photo-thumb {
  width: 72px;
  height: 56px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  background: #e8eaed;
}
.photo-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-thumb.is-active { border-color: var(--primary); }
.detail-price { font-size: 1.35rem; font-weight: 800; color: var(--price); margin: 0 0 12px; line-height: 1.25; }
.detail-price .price-note, .detail-price span {
  display: block;
  margin-top: 4px;
  font-size: 0.9rem;
  font-weight: 650;
  color: var(--muted);
}
.rates-table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 16px;
  font-size: 0.92rem;
}
.rates-table th, .rates-table td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--outline); }
.rates-table th { color: var(--muted); font-weight: 650; font-size: 0.78rem; }
.notice {
  background: var(--warning-soft);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 0.9rem;
  color: #4a3d08;
  margin: 0 0 16px;
}
.detail-copy { color: var(--muted); font-size: 0.95rem; }
.detail-copy:empty { display: none; }

.modal h2 { padding-right: 120px; }
.modal-lead { color: var(--muted); margin-top: -4px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.field label { font-weight: 650; font-size: 0.88rem; }
.optional { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  border: 1px solid var(--outline);
  border-radius: 12px;
  padding: 10px 12px;
  background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 3px solid var(--primary-soft);
  border-color: var(--primary);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-hint { font-size: 0.8rem; color: var(--muted); margin: 10px 0 0; }
.form-error { color: var(--danger); background: var(--danger-soft); border-radius: 10px; padding: 8px 10px; font-size: 0.88rem; font-weight: 650; }

body.modal-open { overflow: hidden; }
body.modal-open .site-header {
  z-index: 1;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  visibility: hidden;
  pointer-events: none;
}

@media (max-width: 960px) {
  :root { --header-h: 108px; }
  .filters { grid-template-columns: 1fr 1fr; }
  .how-grid { grid-template-columns: 1fr 1fr; }
  .explorer-body {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .map-pane { position: static; }
  #map { height: 360px; }
  .header-nav {
    display: flex;
    width: 100%;
    order: 3;
    gap: 14px;
    padding: 0 0 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .get-app-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 700px) {
  :root { --header-h: 100px; }
  .header-cta { padding: 8px 12px; font-size: 0.85rem; }
  .intro { padding-top: 16px; padding-bottom: 4px; }
  .intro h1 { font-size: 1.55rem; max-width: none; }
  .lede-long { display: none; }
  .lede-short { display: block; font-size: 0.95rem; }
  .filters { grid-template-columns: 1fr; gap: 8px; margin-bottom: 10px; }
  .explorer-head { margin-bottom: 10px; }
  .card-art { height: 150px; }
  .how-grid { grid-template-columns: 1fr; }
  .explorer-body[data-view="split"] .map-pane { display: block; position: static; }
  .explorer-body[data-view="split"] { grid-template-columns: 1fr; }
  .explorer-body[data-view="split"] #map { height: 240px; }
  .explorer-body[data-view="map"] #map { height: 70vh; min-height: 320px; }
  .modal { padding: 16px 16px 14px; }
  .modal h2 { font-size: 1.2rem; margin-bottom: 0.25em; }
  .modal-lead { font-size: 0.88rem; margin-bottom: 0.6em; }
  .field { margin-bottom: 8px; gap: 4px; }
  .field input, .field select, .field textarea { padding: 8px 10px; }
  .form-hint { font-size: 0.75rem; }
  .field-row { grid-template-columns: 1fr; }
  .explorer-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .explorer-head > div:first-child { flex: none; width: 100%; }
  .drawer, .modal { width: 100%; max-height: 100dvh; }
  .drawer { max-height: 100dvh; }
  .overlay-close { height: 44px; }
  .waitlist-form { grid-template-columns: 1fr; }
  .waitlist-form .btn { width: 100%; justify-self: stretch; }
  .btn-block { min-height: 44px; }
  .hero-cta .btn, .header-cta { min-height: 40px; }
  .wrap { width: min(1160px, calc(100% - 24px)); }
}


@media (min-width: 701px) {
  .drawer-root { place-items: center; }
  .drawer { border-radius: 20px; margin: 24px; }
}

/* ----- Multi-page landing, legal, contact ----- */
.intro-listings { padding-bottom: 8px; }
.intro-listings h1 { font-size: clamp(1.6rem, 3vw, 2.1rem); }

.hero {
  padding: 48px 0 28px;
  background:
    radial-gradient(1200px 400px at 10% -10%, rgba(21, 101, 192, 0.12), transparent 60%),
    radial-gradient(800px 300px at 100% 0%, rgba(13, 71, 161, 0.08), transparent 50%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2rem, 4.6vw, 3.35rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  max-width: 16ch;
}
.hero .lede { font-size: 1.12rem; margin: 0 0 24px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.hero-panel {
  background: #fff;
  border-radius: 24px;
  box-shadow: var(--shadow-lg, 0 18px 50px rgba(15, 34, 56, 0.14));
  padding: 22px;
  display: grid;
  gap: 12px;
}
.hero-stat { display: flex; gap: 12px; align-items: flex-start; }
.hero-stat strong { display: block; font-size: 1rem; }
.hero-stat span { color: var(--muted); font-size: 0.92rem; }
.hero-mark {
  flex: none;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--primary-soft, #E3F2FD);
  color: var(--primary-dark, #0D47A1);
  display: grid; place-items: center;
  font-weight: 800;
}

.audience { padding: 20px 0 8px; }
.audience-grid, .trust-grid, .faq-list, .featured-grid {
  display: grid;
  gap: 16px;
}
.audience-grid { grid-template-columns: 1fr 1fr; }
.audience-card, .trust-card, .feature-card, .faq-item, .contact-card {
  background: #fff;
  border-radius: 20px;
  padding: 22px 22px 20px;
  box-shadow: 0 8px 28px rgba(15, 34, 56, 0.08);
}
.audience-card ol { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.audience-card li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; color: var(--muted); }
.audience-card li strong { display: block; color: var(--text); }
.step-num {
  width: 28px; height: 28px; border-radius: 999px;
  background: var(--primary); color: #fff;
  display: grid; place-items: center;
  font-weight: 800; font-size: 0.85rem;
}

.trust { padding: 36px 0; }
.trust-grid { grid-template-columns: repeat(4, 1fr); }
.trust-card h3 { margin: 0 0 6px; font-size: 1.02rem; }
.trust-card p { margin: 0; color: var(--muted); font-size: 0.92rem; }

.featured { padding: 12px 0 40px; }
.featured-head { display: flex; justify-content: space-between; gap: 12px; align-items: end; flex-wrap: wrap; margin-bottom: 16px; }
.featured-head h2 { margin: 0; }
.featured-grid { grid-template-columns: repeat(3, 1fr); }
.feature-card { padding: 0; overflow: hidden; text-decoration: none; color: inherit; display: flex; flex-direction: column; }
.feature-card:hover { outline: 2px solid var(--primary-soft, #E3F2FD); }
.feature-card .card-art { height: 160px; }
.feature-card .feature-body { padding: 14px 16px 16px; display: grid; gap: 4px; }
.feature-card h3 { margin: 0; font-size: 1.05rem; }
.featured-empty { color: var(--muted); }

.faq { padding: 10px 0 48px; }
.faq-list { max-width: 800px; }
.faq-item + .faq-item { margin-top: 0; }
.faq-item details { margin: 0; }
.faq-item summary { font-weight: 700; cursor: pointer; }
.faq-item p { margin: 8px 0 0; color: var(--muted); }

.legal-page, .contact-page { padding: 28px 0 64px; }
.legal-page h1, .contact-page h1 { margin: 0 0 8px; font-size: clamp(1.8rem, 3vw, 2.4rem); }
.legal-kicker { color: var(--muted); margin: 0 0 28px; }
.legal-page h2 { font-size: 1.15rem; margin: 1.6em 0 0.4em; }
.legal-page p, .legal-page li { color: var(--text); max-width: 72ch; }
.legal-page ul { padding-left: 1.2em; }
.legal-page a { font-weight: 650; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 800px; }
.contact-card p { color: var(--muted); margin: 0 0 14px; }

@media (max-width: 900px) {
  .hero-grid, .trust-grid, .featured-grid, .contact-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .hero { padding: 20px 0 16px; }
  .hero-grid, .audience-grid, .trust-grid, .featured-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: none; font-size: 1.85rem; }
  .hero-panel { order: -1; }
}


.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25em;
  margin-left: 0.35em;
  padding: 0.1em 0.5em 0.1em 0.4em;
  border-radius: 999px;
  background: #e8f6ee;
  color: #0b6b3a;
  font-size: 0.68em;
  font-weight: 650;
  letter-spacing: 0.01em;
  vertical-align: middle;
}
.verified-badge::before {
  content: "";
  width: 0.7em;
  height: 0.7em;
  border-radius: 50%;
  background: #14804a;
  box-shadow: inset 0 0 0 2px #14804a, inset 0.15em -0.05em 0 -0.05em #fff, inset -0.12em 0.2em 0 -0.08em #fff;
  transform: rotate(40deg);
}
.waitlist-band {
  margin: 2.5rem auto 3rem;
  padding: 1.4rem 1.25rem 1.6rem;
  border: 1px solid var(--line, #e4e2dc);
  border-radius: 16px;
  background: #faf9f6;
}
.waitlist-band h2 { margin: 0 0 0.35rem; font-size: 1.25rem; }
.waitlist-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.75rem 1rem;
  align-items: end;
  margin-top: 1rem;
}
.waitlist-form label { display: flex; flex-direction: column; gap: 0.3rem; font-size: 0.9rem; }
.waitlist-form input, .waitlist-form select {
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--line, #d6d3cb);
  border-radius: 8px;
  font: inherit;
}
.waitlist-form .btn { justify-self: start; }
.review-list { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--line, #e4e2dc); }
.review-list h3 { margin: 0 0 0.6rem; font-size: 1rem; }
.review-card { margin: 0 0 0.75rem; }
.review-stars { color: #c28a14; margin: 0 0 0.2rem; letter-spacing: 0.08em; }

/* Empty listings, area banner, share toast, contact form */
.status-block .empty-title { margin: 0 0 12px; }
.empty-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.area-filter-banner { margin: 0; font-size: 0.92rem; color: var(--muted); }
.text-btn {
  border: 0;
  background: none;
  color: var(--primary-dark);
  font: inherit;
  font-weight: 650;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}
.share-toast {
  position: fixed;
  z-index: 80;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  background: var(--text);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
}
.share-toast[hidden] { display: none; }
.contact-form { display: grid; gap: 0; }
.contact-form .btn { margin-top: 8px; }
.form-error.is-ok { color: var(--success); background: var(--success-soft); }
.area-index { padding: 0; list-style: none; display: grid; gap: 12px; margin: 0 0 24px; max-width: 28rem; }
.area-index a {
  display: block;
  padding: 16px 18px;
  border: 1px solid var(--outline);
  border-radius: var(--radius-sm);
  background: var(--surface);
  text-decoration: none;
  color: var(--text);
  font-weight: 650;
}
.area-index a:hover { border-color: var(--primary); color: var(--primary-dark); }

/* Compact Find-a-bay list */
@media (min-width: 961px) {
  .list-pane {
    max-height: 640px;
    overflow: auto;
    padding-right: 4px;
  }
  .explorer-body[data-view="list"] .list-pane { max-height: none; overflow: visible; }
  .explorer-body[data-view="list"] .space-list {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    align-items: stretch;
  }
}
.load-more-row { list-style: none; grid-column: 1 / -1; }
.approx-map {
  height: 180px;
  border-radius: 12px;
  border: 1px solid var(--outline);
  margin: 8px 0;
  background: #d9e7f5;
  overflow: hidden;
}
.approx-map.is-empty {
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 0.88rem;
  padding: 12px;
}
.detail-section { margin: 16px 0 8px; }
.detail-section h3 { margin: 0 0 6px; font-size: 1.02rem; }
.good-to-know {
  background: var(--warning-soft);
  border-radius: 12px;
  padding: 12px 14px;
}
#fee-summary {
  background: var(--primary-soft);
  border-radius: 12px;
  padding: 12px 14px;
  margin: 10px 0;
}
#fee-summary[hidden] { display: none; }
.fee-copy, .fee-refund, .fee-total { margin: 0 0 6px; font-size: 0.88rem; }
.fee-total { font-weight: 750; margin-bottom: 0; }

/* Place search */
.place-search-wrap { margin: 0 auto 16px; position: relative; }
.place-search-label { display: block; font-weight: 700; margin: 0 0 6px; }
.place-search { display: flex; gap: 8px; align-items: center; }
.place-search input {
  flex: 1;
  min-width: 0;
  width: 100%;
  border: 1px solid var(--line, #d9dee8);
  border-radius: 14px;
  padding: 12px 14px;
  font: inherit;
  min-height: 44px;
}
.place-search-clear {
  flex: none;
  border: 0;
  background: transparent;
  color: var(--primary, #1565C0);
  font-weight: 700;
  min-height: 44px;
  padding: 0 8px;
}
.place-suggest {
  position: absolute;
  left: 0; right: 0;
  z-index: 8;
  background: #fff;
  border: 1px solid var(--line, #d9dee8);
  border-radius: 12px;
  margin-top: 4px;
  max-height: 240px;
  overflow: auto;
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.12);
}
.place-suggest-item {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: #fff;
  padding: 12px 14px;
  font: inherit;
  border-bottom: 1px solid #f0f2f6;
}
.place-suggest-item:last-child { border-bottom: 0; }
.place-near-chip {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin: 8px 0 0;
  font-weight: 600;
}
.place-near-chip button {
  border: 0;
  background: transparent;
  color: var(--primary, #1565C0);
  font-weight: 700;
  min-height: 36px;
}

/* Price card — parking total separate from one-time fee */
.price-card {
  background: #fff;
  border: 1px solid #e8ecf2;
  border-radius: 18px;
  padding: 16px 16px 14px;
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.06);
  position: relative;
  overflow: hidden;
  margin: 12px 0;
}
.price-card-head { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price-new { font-size: 1.85rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.price-period { color: var(--muted, #5b6573); font-weight: 600; }
.price-old { text-decoration: line-through; color: #8b93a0; font-weight: 600; }
.price-ribbon {
  position: absolute;
  top: 14px;
  right: -28px;
  transform: rotate(32deg);
  background: #16a34a;
  color: #fff;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  padding: 4px 36px;
}
.price-stars { margin: 8px 0 12px; color: #f5b400; letter-spacing: 1px; font-size: 0.95rem; }
.price-rows { border-top: 1px solid #eceff4; padding-top: 10px; }
.price-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 6px 0;
  font-size: 0.95rem;
}
.price-total { border-top: 1px solid #eceff4; margin-top: 4px; padding-top: 10px; font-weight: 800; }
.price-fee { color: #1f2937; }
.price-fee-label { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.fee-info {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid #9aa3b2;
  background: #fff;
  font: 700 0.75rem/1 inherit;
  color: #334155;
  padding: 0;
  cursor: help;
}
.price-avail { margin: 10px 0 0; font-weight: 700; }
.price-avail.is-open::before,
.price-avail.is-closed::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 8px;
  background: #16a34a;
}
.price-avail.is-closed::before { background: #94a3b8; }

.btn-book {
  width: 100%;
  background: #f5c400;
  color: #1a1a1a;
  border: 0;
  font-weight: 800;
  min-height: 48px;
  border-radius: 14px;
}
.btn-book:hover { background: #e0b400; color: #1a1a1a; }
.drawer-actions { display: grid; gap: 10px; margin-top: 12px; }
.drawer-more-actions {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}
.btn-compact {
  min-height: 44px;
  width: 100%;
  padding: 8px 6px;
  font-size: 0.85rem;
}

.good-to-know-page {
  margin: 28px auto 8px;
  padding: 16px 18px;
  background: #fff8e1;
  border-radius: 16px;
}
.good-to-know-page h2 { margin: 0 0 6px; font-size: 1.1rem; }
.good-to-know-page p { margin: 0; }

/* Shorter homepage */
.hero-points { display: grid; gap: 10px; align-content: start; }
.hero-points p { margin: 0; font-size: 1rem; }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.step-card {
  background: #fff;
  border: 1px solid #e8ecf2;
  border-radius: 16px;
  padding: 16px;
}
.step-card h3 { margin: 8px 0 6px; }
.step-card p { margin: 0; color: var(--muted, #5b6573); }
.step-host { background: #f4f8ff; }

.fee-line { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 0 0 8px; }

@media (max-width: 900px) {
  .steps-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 412px) {
  :root { --header-h: 104px; }
  body { overflow-x: hidden; }
  img, video, .card-art, .drawer-hero, .approx-map { max-width: 100%; }
  .wrap { padding-left: 16px; padding-right: 16px; }
  .hero { padding: 16px 0 12px; }
  .hero h1 { font-size: 1.7rem; line-height: 1.15; margin: 0 0 10px; }
  .hero .lede, .intro .lede { font-size: 1rem; margin: 0 0 14px; }
  .hero-cta, .store-badges { gap: 8px; }
  .hero-cta .btn, .header-cta, .btn { min-height: 44px; }
  .header-inner { gap: 8px; padding-top: 8px; padding-bottom: 8px; }
  .header-nav { gap: 10px; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 2px; }
  .space-card, .audience-card, .trust-card, .step-card { overflow: hidden; }
  .card-title { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .drawer-more-actions { grid-template-columns: 1fr; }
  .steps-grid, .trust-grid, .featured-grid, .filters, .waitlist-form {
    grid-template-columns: 1fr;
  }
  .filters { display: grid; gap: 10px; }
  .chips { display: flex; flex-wrap: wrap; gap: 6px; }
  .explorer-head, .featured-head, .get-app-inner {
    display: grid;
    gap: 10px;
  }
  .view-toggle { width: 100%; display: grid; grid-template-columns: 1fr 1fr 1fr; }
  .place-search { width: 100%; }
  .price-new { font-size: 1.6rem; }
  .list-pane, .map-pane { min-width: 0; }
  .drawer-scroll, #drawer-body { padding-bottom: 24px; }
}
