/* Ride Sidekick: light design, white + ash grey + cobalt blue. */
:root {
  color-scheme: light;
  --bg: #ffffff;
  --alt: #f3f4f6;
  --alt-2: #f9fafb;
  --text: #1f2937;
  --heading: #111827;
  --muted: #6b7280;
  --muted-2: #4b5563;
  --border: #e5e7eb;
  --border-soft: #eef0f3;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-soft: #eff6ff;
  --accent-soft-2: #dbeafe;
  --accent-ink: #1e40af;
  --focus: rgba(37, 99, 235, .45);
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .06);
  --shadow: 0 1px 3px rgba(16, 24, 40, .06), 0 6px 16px rgba(16, 24, 40, .06);
  --shadow-lg: 0 18px 48px rgba(17, 24, 39, .12), 0 2px 6px rgba(17, 24, 39, .05);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}
[hidden] { display: none !important; }
img, iframe { max-width: 100%; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { color: var(--heading); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(30px, 5vw, 52px); font-weight: 800; letter-spacing: -.03em; }
h2 { font-size: clamp(22px, 2.6vw, 28px); }
h3 { font-size: 18px; }
p { margin: 0 0 1em; }
button, input, select { font: inherit; color: inherit; }

.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }
.narrow { max-width: 780px; }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 50; background: #fff; padding: 8px 12px; border-radius: 8px; box-shadow: var(--shadow); }

.icon { width: 20px; height: 20px; flex: none; }
.icon-sm { width: 18px; height: 18px; }
.icon-xs { width: 15px; height: 15px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 18px; border-radius: 12px; border: 1px solid var(--accent);
  background: var(--accent); color: #fff; font: 600 15px/1.2 var(--font);
  text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s, color .15s, box-shadow .15s;
}
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; }
.btn-outline { background: #fff; color: var(--accent); border-color: rgba(37, 99, 235, .55); }
.btn-outline:hover { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-hover); }
.btn-sm { min-height: 38px; padding: 7px 14px; font-size: 14px; border-radius: 10px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .7; cursor: progress; }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid var(--border); position: relative; z-index: 20; }
@media (min-width: 1024px) {
  .site-header { position: sticky; top: 0; }
}
.header-row { display: flex; align-items: center; gap: 12px 20px; min-height: var(--header-h); padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--heading); text-decoration: none; }
.logo:hover { color: var(--heading); }
.logo-mark { width: 28px; height: 35px; flex: none; }
.logo-word { display: flex; flex-direction: column; font-weight: 700; font-size: 18px; line-height: 1.05; letter-spacing: -.02em; }
.nav { display: flex; align-items: center; gap: 4px 22px; margin-left: auto; }
.nav a { color: var(--text); text-decoration: none; font-weight: 500; font-size: 15px; padding: 6px 0; }
.nav a:hover { color: var(--accent); }

/* Region dropdown */
.region { position: relative; }
.region summary {
  display: inline-flex; align-items: center; gap: 8px; list-style: none; cursor: pointer;
  padding: 8px 12px 8px 11px; border: 1px solid var(--border); border-radius: 12px; background: #fff;
  font-weight: 500; font-size: 14px; color: var(--text); box-shadow: var(--shadow-sm); white-space: nowrap;
}
.region summary::-webkit-details-marker { display: none; }
.region summary:hover { border-color: #cbd5e1; }
.region summary .icon:first-child { color: var(--accent); }
.region-chev { color: var(--muted); transition: transform .15s; }
.region[open] .region-chev { transform: rotate(180deg); }
.region-menu {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 30; min-width: 260px; margin: 0; padding: 6px; list-style: none;
  background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-lg);
}
.region-menu a {
  display: flex; justify-content: space-between; gap: 16px; padding: 10px 12px; border-radius: 10px;
  color: var(--text); text-decoration: none; font-size: 15px; font-weight: 500;
}
.region-menu a:hover { background: var(--alt-2); }
.region-menu a[aria-current="page"] { background: var(--accent-soft); color: var(--accent-ink); }
.region-n { color: var(--muted); font-size: 13px; font-weight: 500; white-space: nowrap; }

@media (max-width: 759px) {
  .header-row { gap: 10px 12px; }
  .nav-cta { margin-left: auto; }
  .region { order: 3; }
  .nav { order: 4; margin-left: auto; gap: 4px 14px; }
  .nav a { font-size: 14px; }
}
@media (max-width: 479px) {
  .region-long { display: none; }
  .nav a[href$="cities/"], .nav a[href="/about/"]:not(:only-child) { display: none; }
}
@media (max-width: 419px) {
  .logo-word { font-size: 16px; }
  .search-tab { padding: 8px 10px; }
  .search-tab .icon { display: none; }
}

/* Hero + search box */
.hero {
  background: radial-gradient(1100px 420px at 50% -12%, #e8f0ff 0%, rgba(232, 240, 255, 0) 72%), #fff;
  padding: 52px 0 40px; text-align: center;
}
@media (min-width: 960px) { .hero { padding: 68px 0 48px; } }
.hero-inner { display: flex; flex-direction: column; align-items: center; }
.hero-sub { font-size: clamp(16px, 1.6vw, 19px); color: var(--muted-2); max-width: 660px; margin: 14px auto 28px; }
.hero-cover { margin: 18px 0 0; font-size: 14px; color: var(--muted); }
.hero-actions { margin: 0; }

.searchbox {
  width: 100%; max-width: 940px; text-align: left; background: #fff; border: 1px solid rgba(17, 24, 39, .06);
  border-radius: 22px; box-shadow: var(--shadow-lg); padding: 8px;
}
.search-tabs { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px 4px 8px; }
.search-tab {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border: 0; border-radius: 10px;
  background: transparent; color: var(--muted-2); font-weight: 600; font-size: 14px; cursor: pointer; white-space: nowrap;
}
.search-tab:hover { background: var(--alt-2); color: var(--heading); }
.search-tab[aria-selected="true"] { background: var(--accent-soft); color: var(--accent); }

.finder { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; align-items: center; }
.sfield { position: relative; display: flex; align-items: center; gap: 12px; min-height: 66px; padding: 8px 16px; border-radius: 16px; }
.sfield:hover, .sfield:focus-within { background: var(--alt-2); }
.finder .sfield + .sfield::before {
  content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; width: 1px; background: var(--border);
}
.sfield-icon { width: 22px; height: 22px; color: var(--muted); }
.sfield:focus-within .sfield-icon { color: var(--accent); }
.sfield-text { display: flex; flex-direction: column; flex: 1; min-width: 0; cursor: text; }
.sfield-label { font-size: 13px; font-weight: 600; color: var(--heading); }
.sfield input, .sfield select {
  width: 100%; border: 0; padding: 2px 0 0; background: transparent; font-size: 15px; color: var(--text); outline: none; min-width: 0;
}
.sfield input::placeholder { color: #9ca3af; }
.sfield select {
  appearance: none; cursor: pointer; padding-right: 22px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right center / 16px;
}
.near-btn {
  display: inline-grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 50%;
  background: transparent; color: var(--accent); cursor: pointer; flex: none;
}
.near-btn:hover, .near-btn[aria-pressed="true"] { background: var(--accent-soft); }
.search-btn { min-height: 54px; padding: 0 30px; margin: 0 6px; border-radius: 14px; font-size: 16px; }
@media (max-width: 759px) {
  .finder { grid-template-columns: 1fr; }
  .finder .sfield + .sfield::before { left: 16px; right: 16px; top: 0; bottom: auto; width: auto; height: 1px; }
  .search-btn { margin: 8px 0 0; width: 100%; }
}

/* AI search panel */
.ask { display: grid; gap: 12px; }
.ask-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px; }
.ask-btn { min-height: 54px; padding: 0 26px; margin-right: 6px; border-radius: 14px; font-size: 16px; }
@media (max-width: 759px) {
  .ask-row { grid-template-columns: 1fr; }
  .ask-btn { width: 100%; margin: 0; }
}
.ask-loc, .ask-try, .ask-note { margin: 0 12px; }
.ask-loc { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.ask-loc:not(:has(.ask-loc-btn:not([hidden]), .ask-loc-chip:not([hidden]), .ask-loc-msg:not(:empty))) { display: none; }
.ask-loc-icon { width: 16px; height: 16px; }
.ask-loc-btn {
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px; cursor: pointer; white-space: nowrap;
  font-weight: 600; font-size: 14px; color: var(--accent); background: #fff;
  border: 1px solid rgba(37, 99, 235, .45); border-radius: 999px; padding: 6px 14px 6px 11px;
}
.ask-loc-btn:hover { background: var(--accent-soft); border-color: var(--accent); }
.ask-loc-btn:disabled { opacity: .8; cursor: progress; }
.ask-loc-chip {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  font-weight: 600; font-size: 14px; color: #fff; background: var(--accent); border-radius: 999px; padding: 3px 3px 3px 11px;
}
.ask-loc-x {
  display: inline-grid; place-items: center; width: 30px; height: 30px; border: 0; border-radius: 50%; cursor: pointer;
  font-size: 20px; font-weight: 600; line-height: 1; color: #fff; background: transparent;
}
.ask-loc-x:hover { background: rgba(255, 255, 255, .18); }
.ask-loc-msg { font-size: 14px; color: var(--muted-2); max-width: 70ch; }
.ask-loc-msg a { font-weight: 600; }
.ask-try { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ask-try-label { color: var(--muted); font-size: 14px; font-weight: 600; }
.ask-example {
  font-weight: 500; font-size: 14px; line-height: 1.2; color: var(--text); background: var(--alt); cursor: pointer;
  border: 1px solid transparent; border-radius: 999px; padding: 7px 12px; white-space: nowrap;
}
.ask-example:hover { background: var(--accent-soft); color: var(--accent-ink); }
.ask-note { padding-bottom: 6px; font-size: 13px; color: var(--muted); max-width: 78ch; }

/* AI search results */
.ask-results { background: var(--alt-2); border-bottom: 1px solid var(--border); }
.ask-results h2:focus { outline: none; }
.ask-status { font-size: 18px; font-weight: 500; color: var(--heading); max-width: 72ch; }
.ask-status:empty { display: none; }
.match-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.ask-card {
  display: flex; flex-direction: column; gap: 8px; background: #fff; border: 1px solid var(--border-soft);
  border-radius: 16px; padding: 18px; box-shadow: var(--shadow);
}
.ask-card .card-title { font-size: 18px; }
.ask-meta { margin: 0; color: var(--muted); font-size: 14px; font-weight: 600; }
.ask-why { margin: 0; }
.ask-card .card-actions { margin-top: auto; padding-top: 8px; display: flex; flex-wrap: wrap; gap: 8px; }
.ask-fine { margin: 18px 0 0; }

/* List + map */
.browse { padding: 28px 0 56px; border-top: 1px solid var(--border-soft); }
.browse-grid { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 1024px) {
  .browse-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
  .view-toggle { display: none !important; }
  .map-col { position: sticky; top: calc(var(--header-h) + 18px); height: calc(100vh - var(--header-h) - 36px); min-height: 520px; }
}
@media (max-width: 1023px) {
  .browse:not([data-view="map"]) .map-col { display: none; }
  .browse[data-view="map"] .list-col > :not(.list-head) { display: none; }
  .map-col { height: 72vh; min-height: 420px; }
}
.list-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.result-count { font-size: 20px; letter-spacing: -.01em; }
.view-toggle { display: inline-flex; padding: 3px; gap: 2px; background: var(--alt); border-radius: 12px; }
.vt-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 0; border-radius: 9px;
  background: transparent; color: var(--muted-2); font-weight: 600; font-size: 14px; cursor: pointer;
}
.vt-btn[aria-pressed="true"] { background: #fff; color: var(--heading); box-shadow: var(--shadow-sm); }
.list-tools { display: grid; gap: 12px; margin-bottom: 16px; }
.name-search {
  display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 14px; background: #fff;
  border: 1px solid var(--border); border-radius: 12px; color: var(--muted);
}
.name-search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft-2); }
.name-search input { flex: 1; min-width: 0; border: 0; outline: none; font-size: 15px; color: var(--text); background: transparent; }
.quick-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.qf {
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border); background: #fff; color: var(--text);
  font-weight: 600; font-size: 14px; line-height: 1.2; cursor: pointer; white-space: nowrap; box-shadow: var(--shadow-sm);
}
.qf:hover { border-color: #cbd5e1; }
.qf[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.qf-more {
  padding: 8px 14px; border-radius: 999px; border: 1px dashed #cbd5e1; background: transparent; color: var(--accent);
  font-weight: 600; font-size: 14px; line-height: 1.2; cursor: pointer; white-space: nowrap;
}
.qf-more:hover { border-color: var(--accent); background: var(--accent-soft); }

.shop-list { display: grid; gap: 14px; }
.shop-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); }
.shop-card {
  display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; align-items: center; gap: 16px;
  padding: 14px; background: #fff; border: 1px solid var(--border-soft); border-radius: 18px; box-shadow: var(--shadow);
  transition: box-shadow .15s, border-color .15s;
}
.shop-card:hover, .shop-card.is-active { border-color: var(--accent-soft-2); box-shadow: 0 0 0 3px var(--accent-soft), var(--shadow); }
.card-thumb {
  width: 96px; height: 84px; border-radius: 14px; display: grid; place-items: center; color: var(--accent);
  background: linear-gradient(140deg, #f1f6ff 0%, #dbeafe 100%);
}
.thumb-icon { width: 34px; height: 34px; }
.card-body { min-width: 0; }
.card-title { font-size: 17px; line-height: 1.3; letter-spacing: -.01em; }
.card-title a { color: var(--heading); text-decoration: none; }
.card-title a:hover { color: var(--accent); text-decoration: underline; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; padding: 0; list-style: none; }
.tag { padding: 4px 10px; border-radius: 8px; background: var(--alt); color: #374151; font-size: 12.5px; font-weight: 600; line-height: 1.3; white-space: nowrap; }
.tag-primary { background: var(--accent-soft-2); color: var(--accent-ink); }
.tag-more { background: transparent; color: var(--muted); padding-left: 2px; }
.card-loc { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; margin: 0; font-size: 13.5px; color: var(--muted); }
.card-loc .icon { color: var(--muted); }
.loc-city { font-weight: 600; color: #374151; }
.card-dist { color: var(--accent); font-weight: 600; white-space: nowrap; }
.card-dist::before, .loc-addr::before { content: "·"; margin-right: 6px; color: #9ca3af; font-weight: 400; }
.card-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.card-call { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; text-decoration: none; white-space: nowrap; }
.card-more {
  padding: 6px 12px; border: 1px solid var(--border); border-radius: 10px; font-weight: 600; font-size: 14px;
  color: var(--text); text-decoration: none; white-space: nowrap;
}
.card-more:hover { border-color: var(--accent); color: var(--accent); }
.card-more:only-child { margin-left: auto; }
/* Cards in multi-column grids (nearby, city and service pages) stack like the phone layout. */
.shop-grid .shop-card { grid-template-columns: 60px minmax(0, 1fr); gap: 12px; align-items: start; }
.shop-grid .card-thumb { width: 60px; height: 60px; border-radius: 12px; }
.shop-grid .thumb-icon { width: 26px; height: 26px; }
.shop-grid .card-side { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; padding-top: 10px; border-top: 1px solid var(--border-soft); }
@media (max-width: 599px) {
  .shop-card { grid-template-columns: 60px minmax(0, 1fr); gap: 12px; align-items: start; }
  .card-thumb { width: 60px; height: 60px; border-radius: 12px; }
  .thumb-icon { width: 26px; height: 26px; }
  .card-side { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; padding-top: 10px; border-top: 1px solid var(--border-soft); }
}
.empty { text-align: center; padding: 32px 16px; background: var(--alt-2); border: 1px dashed var(--border); border-radius: 16px; }
.empty p { color: var(--muted-2); }
.more-row { text-align: center; margin: 20px 0 0; }
.more-row:not(:has(button:not([hidden]))) { display: none; }

.map-box {
  position: relative; width: 100%; height: 100%; border-radius: 22px; overflow: hidden;
  background: #eef0f3; border: 1px solid var(--border); box-shadow: var(--shadow);
}
.map-note { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; padding: 24px; text-align: center; color: var(--muted); font-size: 14px; }
.map-box .maplibregl-ctrl-group { border-radius: 10px; box-shadow: var(--shadow); }
.map-box .maplibregl-popup-content { border-radius: 12px; padding: 12px 14px; box-shadow: var(--shadow-lg); font-family: var(--font); }
.map-box .maplibregl-popup-close-button { font-size: 18px; width: 26px; height: 26px; right: 2px; top: 2px; border-radius: 8px; }
.pop-name { display: block; font-weight: 700; font-size: 15px; color: var(--heading); text-decoration: none; padding-right: 18px; }
.pop-name:hover { color: var(--accent); }
.pop-meta { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.pop-call { display: inline-block; margin-top: 6px; font-weight: 600; font-size: 13.5px; text-decoration: none; }
.me-dot { width: 18px; height: 18px; border-radius: 50%; background: var(--accent); border: 3px solid #fff; box-shadow: 0 0 0 7px rgba(37, 99, 235, .22), var(--shadow); }
.map-legend {
  position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 6px; z-index: 2;
  padding: 7px 12px; background: #fff; border-radius: 999px; box-shadow: var(--shadow); font-size: 13px; font-weight: 600; color: var(--accent-ink);
}
.map-legend::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

/* Sections */
.section { padding: 56px 0; }
.section-alt { background: var(--alt); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap; margin-bottom: 20px; }
.more-link { font-weight: 600; text-decoration: none; }
.fine { font-size: 13px; color: var(--muted); }
.empty-note { color: var(--muted-2); }

.tiles { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); margin: 0; padding: 0; list-style: none; }
.tile {
  display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; background: #fff; border: 1px solid var(--border);
  border-radius: 14px; text-decoration: none; color: var(--text); box-shadow: var(--shadow-sm); transition: border-color .15s, box-shadow .15s;
}
.tile:hover { border-color: var(--accent); box-shadow: var(--shadow); color: var(--text); }
.tile-name { font-weight: 600; font-size: 16px; color: var(--heading); }
.tile-count { font-size: 13px; color: var(--muted); }

.region-cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); margin: 0; padding: 0; list-style: none; }
.region-card {
  display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; padding: 20px; background: #fff; border: 1px solid var(--border);
  border-radius: 18px; text-decoration: none; color: var(--text); box-shadow: var(--shadow-sm); height: 100%;
}
.region-card:hover { border-color: var(--accent); box-shadow: var(--shadow); color: var(--text); }
.region-card-icon { grid-row: 1 / span 3; width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); }
.region-card-name { font-weight: 700; font-size: 18px; color: var(--heading); }
.region-card-areas { font-size: 14px; color: var(--muted-2); }
.region-card-n { font-size: 14px; font-weight: 600; color: var(--accent); }

/* CTA band */
.cta-band { padding: 56px 0; }
.cta-row {
  display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap;
  padding: 32px; border-radius: 24px; color: #fff; background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 60%, #3b82f6 100%);
  box-shadow: var(--shadow-lg);
}
.cta-row h2 { color: #fff; }
.cta-row p { margin: 8px 0 0; color: rgba(255, 255, 255, .88); max-width: 60ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cta-band .btn { background: #fff; color: var(--accent); border-color: #fff; }
.cta-band .btn:hover { background: var(--accent-soft); }
.cta-band .btn-outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .65); }
.cta-band .btn-outline:hover { background: rgba(255, 255, 255, .12); color: #fff; }

/* Inner pages */
.page-head {
  padding: 36px 0 28px; border-bottom: 1px solid var(--border-soft);
  background: radial-gradient(900px 300px at 20% -20%, #e8f0ff 0%, rgba(232, 240, 255, 0) 70%), #fff;
}
.page-head h1 { font-size: clamp(28px, 4vw, 40px); }
.page-sub { margin: 10px 0 0; font-size: 17px; color: var(--muted-2); max-width: 70ch; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 0 0 14px; padding: 0; list-style: none; font-size: 14px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: #9ca3af; }
.crumbs a { color: var(--muted-2); text-decoration: none; }
.crumbs a:hover { color: var(--accent); text-decoration: underline; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--accent-soft);
  color: var(--accent-ink); font-weight: 600; font-size: 14px; text-decoration: none; white-space: nowrap;
}
a.chip:hover { background: var(--accent-soft-2); color: var(--accent-ink); }
.chip-more { background: var(--alt); color: var(--muted-2); }
.chip-n { font-weight: 500; color: var(--accent); }

/* Shop profile */
.profile-top { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 18px; }
.profile-icon {
  width: 84px; height: 84px; border-radius: 22px; display: grid; place-items: center; color: var(--accent);
  background: linear-gradient(140deg, #f1f6ff 0%, #dbeafe 100%); box-shadow: var(--shadow-sm);
}
.profile-icon-svg { width: 40px; height: 40px; }
.profile-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; margin: 10px 0 0; font-size: 15px; color: var(--muted-2); }
.profile-meta span, .profile-meta a { display: inline-flex; align-items: center; gap: 6px; }
.profile-meta a { font-weight: 600; text-decoration: none; }
.profile-type { padding: 4px 10px; border-radius: 8px; background: var(--accent-soft-2); color: var(--accent-ink); font-weight: 600; font-size: 13px; }
@media (max-width: 599px) {
  .profile-top { gap: 14px; }
  .profile-icon { width: 60px; height: 60px; border-radius: 16px; }
  .profile-icon-svg { width: 30px; height: 30px; }
}
.area-map { height: 380px; margin-bottom: 24px; }
@media (max-width: 599px) { .area-map { height: 300px; } }
.shop-section { padding-top: 32px; }
.svc-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); margin: 0; padding: 0; list-style: none; }
.svc-item {
  display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--border); border-radius: 14px;
  color: var(--text); text-decoration: none; height: 100%;
}
.svc-item:hover { border-color: var(--accent); color: var(--text); background: var(--alt-2); }
.svc-icon { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.svc-text { display: flex; flex-direction: column; min-width: 0; }
.svc-name { font-weight: 600; color: var(--heading); }
.svc-more { font-size: 13px; color: var(--muted); }
.hours-none { display: flex; align-items: flex-start; gap: 10px; margin: 0; color: var(--muted-2); }
.hours-none .icon { margin-top: 3px; color: var(--muted); }
.claim-box {
  display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap;
  padding: 22px; border-radius: 18px; background: var(--accent-soft); border: 1px solid var(--accent-soft-2);
}
.claim-box h2 { font-size: 19px; }
.claim-box p { margin: 6px 0 0; color: var(--muted-2); max-width: 52ch; }
.shop-layout { display: grid; gap: 24px; }
@media (min-width: 900px) { .shop-layout { grid-template-columns: minmax(0, 1fr) 380px; align-items: start; } }
/* Phones and tablets: Call / Get directions / reviews right under the header, the map after the details. */
@media (max-width: 899px) {
  .shop-side { display: contents; }
  .shop-side .action-panel { order: -1; margin-bottom: 0; }
  .shop-side .shop-map, .shop-side .map { order: 1; }
}
.panel { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 20px; box-shadow: var(--shadow-sm); margin-bottom: 16px; }
.panel-h { font-size: 17px; margin-bottom: 12px; }
.details { margin: 0; display: grid; gap: 14px; }
.details div { display: grid; gap: 2px; }
.details dt { font-size: 13px; font-weight: 600; color: var(--muted); }
.details dd { margin: 0; font-size: 16px; }
.hours { margin: 0 0 10px; padding-left: 18px; }
.claim { font-size: 14px; color: var(--muted-2); }
.action-panel { display: grid; gap: 10px; }
.review-links { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding-top: 6px; }
.review-label { font-size: 14px; color: var(--muted-2); margin-right: 2px; }
.review-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--border); background: #fff; color: #374151; transition: border-color .15s, color .15s, background .15s;
}
.review-btn:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.brand-icon { width: 20px; height: 20px; }
.map { border-radius: 18px; overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.map iframe { display: block; width: 100%; height: 320px; border: 0; }
.shop-map { height: 320px; }

.prose p { font-size: 17px; }
.ghl-wrap { max-width: 900px; }

/* Owner-confirmed listings */
.owner-badge { padding: 4px 10px; border-radius: 8px; background: #dcfce7; color: #166534; font-weight: 600; font-size: 13px; }
.owner-badge .icon { stroke-width: 2.4; }
.owner-mark { display: inline-grid; place-items: center; width: 18px; height: 18px; margin-left: 6px; border-radius: 50%; background: #16a34a; color: #fff; vertical-align: 1px; }
.owner-mark .icon { width: 12px; height: 12px; }

/* Private shop report */
.eyebrow { margin: 0 0 6px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.report .panel + .panel, .report .report-grid + .panel { margin-top: 0; }
.report-grid { display: grid; gap: 16px; margin-bottom: 16px; }
@media (min-width: 900px) { .report-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: start; } .report-grid .panel { margin-bottom: 0; } }
.stat-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); margin: 0 0 12px; padding: 0; list-style: none; }
.stat { display: flex; flex-direction: column; gap: 2px; padding: 14px; border-radius: 14px; background: var(--alt-2); border: 1px solid var(--border-soft); }
.stat-n { font-size: 28px; font-weight: 800; letter-spacing: -.02em; color: var(--heading); line-height: 1.1; }
.stat-l { font-size: 14px; font-weight: 600; color: var(--muted-2); }
.stat-all { font-size: 12.5px; color: var(--muted); min-height: 1em; }
.score { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; }
.score-n { font-weight: 700; white-space: nowrap; }
.score-bar { flex: 1; height: 10px; border-radius: 999px; background: var(--alt); overflow: hidden; }
.score-bar span { display: block; height: 100%; border-radius: 999px; background: var(--accent); }
.checklist { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.checklist li { display: flex; align-items: center; gap: 10px; }
.checklist .ok .icon { color: #16a34a; }
.checklist .todo { color: var(--muted-2); }
.checklist .todo .icon { color: #cbd5e1; }
.report-card { margin-bottom: 10px; }
.report-open { margin: 0; }
.report .claim-box { margin-top: 16px; }

/* Footer */
.site-footer { background: var(--alt); border-top: 1px solid var(--border); padding: 48px 0 24px; }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-note { margin: 14px 0 0; font-size: 14px; color: var(--muted-2); max-width: 46ch; }
.footer-h { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.footer-links { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.footer-links a { color: var(--text); text-decoration: none; font-size: 15px; }
.footer-links a:hover { color: var(--accent); }
.footer-base { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.powered a { font-weight: 600; }
.footer-base p { margin: 0; font-size: 13px; color: var(--muted); }
