/* =========================================================================
   PageMe — Design system & styles
   -------------------------------------------------------------------------
   Mobile-first: base styles target a ~360px phone. Larger screens are
   progressive enhancements via min-width media queries:
     600px  large phones / small tablets
     900px  tablets landscape & desktop (header nav replaces bottom nav)
     1200px wide desktop
   Brand colour is taken from the logo: #0077C8.
   ========================================================================= */

/* ---------- 1. Tokens --------------------------------------------------- */
:root {
  /* Brand (from logo) */
  --brand: #0077C8;
  --brand-600: #0068B0;
  --brand-700: #00548F;   /* text/links on white — 7:1 */
  --brand-800: #003F6B;
  --brand-50: #EEF6FC;
  --brand-100: #D6EAF8;
  --brand-200: #A9D2F0;

  /* Neutrals */
  --ink: #0E1B2B;
  --ink-2: #44546A;
  --ink-3: #5F6E80;
  --line: #E3E9F0;
  --line-2: #C9D3DF;
  --bg: #F5F8FB;
  --surface: #FFFFFF;

  /* Supporting */
  --green: #0B7A48;       /* open / success */
  --green-bg: #E7F5EE;
  --wa: #0B7D46;          /* WhatsApp action — AA with white text */
  --wa-600: #096A3B;
  --amber: #D98E04;       /* star ratings */
  --red: #B42318;         /* errors / closed */
  --red-bg: #FEF1EF;

  /* Shape & depth */
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(14, 27, 43, .06);
  --shadow: 0 4px 14px rgba(14, 27, 43, .08);
  --shadow-lg: 0 16px 40px rgba(14, 27, 43, .18);

  /* Layout */
  --header-h: 60px;
  --nav-h: 64px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --gutter: 16px;
  --maxw: 1200px;

  --font-display: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --navy: #0B2238;
  --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'%3E%3Cpath d='M14 3 25 14 14 25 3 14Z' fill='none' stroke='%23ffffff' stroke-opacity='.09' stroke-width='1.5'/%3E%3Ccircle cx='14' cy='14' r='2.2' fill='%23ffffff' fill-opacity='.13'/%3E%3C/svg%3E");
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --ease: cubic-bezier(.2, .7, .3, 1);
}

/* ---------- 2. Base ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--nav-h) + var(--safe-b));
  overflow-x: hidden;
}
body.modal-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--brand-700); text-decoration-thickness: 1px; text-underline-offset: 2px; }
h1, h2, h3, h4, p, ul, ol, dl, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
[hidden] { display: none !important; }
mark { background: var(--brand-100); color: inherit; border-radius: 3px; padding: 0 1px; }
.icon { flex-shrink: 0; }

:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
.hero :focus-visible, .biz-cta :focus-visible { outline-color: #fff; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff;
  padding: 10px 14px; border-radius: var(--r-sm); text-decoration: none; transition: top .15s;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.container--form { max-width: 640px; }
.page { padding-top: 20px; padding-bottom: 32px; }
.page--narrow { max-width: 640px; }
.muted { color: var(--ink-3); }
.center { text-align: center; }
.mt-sm { margin-top: 12px; }
.mt-lg { margin-top: 28px; }

/* Visibility helpers */
.desk-only { display: none !important; }
.show-xs, .show-xs-inline { display: none; }
@media (max-width: 399px) {
  .hide-xs { display: none !important; }
  .show-xs { display: inline; }
}
@media (max-width: 359px) {
  .hide-xxs { display: none !important; }
  .bottom-nav__item { font-size: 10.5px; }
}

/* Page transition — quick, never blocking */
#app:focus { outline: none; }
.page-enter { animation: pageIn .18s var(--ease); }
@keyframes pageIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* ---------- 3. Buttons -------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 10px 18px; border-radius: 10px;
  font-weight: 600; font-size: 16px; line-height: 1.2; text-decoration: none; white-space: nowrap;
  border: 1.5px solid transparent;
  transition: background-color .15s, border-color .15s, color .15s, transform .1s, box-shadow .15s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .7; cursor: progress; }
.btn--sm { min-height: 40px; padding: 8px 12px; font-size: 14px; gap: 6px; border-radius: 9px; }
.btn--lg { min-height: 54px; font-size: 17px; padding-inline: 22px; }
.btn--block { display: flex; width: 100%; }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-600); }
.btn--outline { background: var(--surface); color: var(--brand-700); border-color: var(--line-2); }
.btn--outline:hover { border-color: var(--brand); background: var(--brand-50); }
.btn--ghost { color: var(--brand-700); background: transparent; }
.btn--ghost:hover { background: var(--brand-50); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: var(--wa-600); }
.btn--light { background: #fff; color: var(--brand-700); }
.btn--light:hover { background: var(--brand-50); }
.btn--on-dark { color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn--on-dark:hover { background: rgba(255, 255, 255, .1); }
.btn--link { color: var(--ink-2); text-decoration: underline; min-height: 48px; padding: 0 8px; font-weight: 500; }
@media (max-width: 599px) { .btn--block-xs { display: flex; width: 100%; } }

.linklike { color: var(--brand-700); text-decoration: underline; text-underline-offset: 2px; font-weight: 600; font-size: inherit; padding: 4px 2px; }

.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  color: var(--ink-2); transition: background-color .15s;
}
.icon-btn:hover { background: var(--brand-50); color: var(--brand-700); }
.icon-btn--glass { background: rgba(255, 255, 255, .92); color: var(--ink); box-shadow: var(--shadow-sm); }
.icon-btn--glass:hover { background: #fff; }
.icon-btn--light { background: rgba(255, 255, 255, .95); color: var(--ink); width: 36px; height: 36px; }

.spinner {
  width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .4); border-top-color: #fff;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- 4. Header & bottom nav ------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 40; background: var(--surface);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
body.is-scrolled .site-header { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.site-header__inner { display: flex; align-items: center; gap: 12px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; padding: 4px 0; }
.brand img { height: 36px; width: auto; }
.site-header__right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.site-nav { gap: 4px; margin-left: 24px; }
.site-nav__link {
  color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 15px;
  padding: 8px 12px; border-radius: 8px;
}
.site-nav__link:hover { background: var(--brand-50); color: var(--brand-700); }
.site-nav__link[aria-current="page"] { color: var(--brand-700); background: var(--brand-50); }
.avatar-btn {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--brand); color: #fff; font-weight: 700; font-size: 14px; text-decoration: none;
}

.bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: var(--surface); border-top: 1px solid var(--line);
  padding-bottom: var(--safe-b); height: calc(var(--nav-h) + var(--safe-b));
  box-shadow: 0 -2px 10px rgba(14, 27, 43, .05);
}
.bottom-nav__item {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  color: var(--ink-3); text-decoration: none; font-size: 11.5px; font-weight: 600; letter-spacing: -.01em; min-width: 0;
  -webkit-tap-highlight-color: transparent;
}
.bottom-nav__item[aria-current="page"] { color: var(--brand-700); }
.bottom-nav__item[aria-current="page"]::before {
  content: ""; position: absolute; top: 0; left: 28%; right: 28%; height: 3px; border-radius: 0 0 3px 3px; background: var(--brand);
}
.bottom-nav__icon { position: relative; }
.bottom-nav__badge {
  position: absolute; top: -6px; right: -10px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px; background: var(--brand); color: #fff; font-size: 11px; line-height: 18px; text-align: center;
}
.bottom-nav__label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }

/* Focused flows hide the bottom nav on phones */
body[data-layout="focus"] { padding-bottom: 0; }
body[data-layout="focus"] .bottom-nav { display: none; }
body[data-layout="profile"] .bottom-nav { display: none; }
body[data-layout="profile"] { padding-bottom: calc(76px + var(--safe-b)); }

/* ---------- 5. Search bar & suggestions -------------------------------- */
.searchbar {
  position: relative; display: grid; grid-template-columns: 1fr auto; gap: 8px;
  background: var(--surface); border-radius: var(--r-lg); padding: 8px;
  box-shadow: var(--shadow-lg);
}
.searchbar__what { position: relative; grid-column: 1 / -1; }
.searchbar__icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--ink-3); pointer-events: none; }
.searchbar input[type="search"] {
  width: 100%; min-height: 52px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--bg);
  padding: 12px 44px 12px 44px; font-size: 16px; -webkit-appearance: none; appearance: none;
}
.searchbar input[type="search"]::-webkit-search-cancel-button { display: none; }
.searchbar input[type="search"]:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 3px var(--brand-100); }
.searchbar__clear { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; display: grid; place-items: center; color: var(--ink-3); border-radius: 50%; }
.searchbar__clear:hover { background: var(--line); }
.searchbar__where {
  display: flex; align-items: center; gap: 6px; min-height: 48px; padding: 8px 12px; min-width: 0;
  border: 1.5px solid var(--line); border-radius: 10px; color: var(--ink); font-weight: 600; font-size: 15px; text-align: left;
}
.searchbar__where:hover { border-color: var(--brand); }
.searchbar__where .icon:first-child { color: var(--brand); }
.searchbar__where-text { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.searchbar__submit { min-height: 48px; padding-inline: 20px; }

.searchbar--compact { box-shadow: none; border: 1px solid var(--line); padding: 6px; }
.searchbar--compact input[type="search"] { min-height: 48px; }

.suggest {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 30;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow-lg); max-height: min(60vh, 420px); overflow-y: auto; padding: 6px;
  animation: dropIn .14s var(--ease);
}
@keyframes dropIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.suggest__label {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-3); padding: 10px 10px 4px;
}
.suggest__label .linklike { text-transform: none; letter-spacing: 0; font-size: 13px; }
.suggest__item { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 8px; cursor: pointer; min-height: 48px; }
.suggest__item:hover, .suggest__item.is-active { background: var(--brand-50); }
.suggest__icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: var(--bg); color: var(--brand-700); flex-shrink: 0; }
.suggest__text { flex: 1; min-width: 0; font-size: 15px; }
.suggest__text small { display: block; color: var(--ink-3); font-size: 13px; }
.suggest__tag { font-size: 12px; color: var(--ink-3); border: 1px solid var(--line); padding: 2px 8px; border-radius: 99px; }

/* ---------- 6. Chips ---------------------------------------------------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips--scroll { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
.chips--scroll::-webkit-scrollbar { display: none; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 8px 14px;
  border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface);
  color: var(--ink); font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap;
  transition: background-color .15s, border-color .15s;
}
a.chip:hover, .chip--btn:hover { border-color: var(--brand); background: var(--brand-50); }
.chip .icon { color: var(--brand-700); }
.chip--static { min-height: 36px; background: var(--brand-50); border-color: transparent; color: var(--ink); }
.chip--static .icon { color: var(--green); }
.chip--hero { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .35); color: #fff; min-height: 36px; padding: 6px 12px; }
a.chip--hero:hover { background: rgba(255, 255, 255, .22); border-color: #fff; }
.chip--filter { font-weight: 600; }
.chip--filter.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
.chip--filter.is-active .icon { color: #fff; }
.chip--select { position: relative; padding-right: 6px; }
.chip--select select { border: 0; background: transparent; font-weight: 600; padding: 4px 6px; font-size: 14px; cursor: pointer; min-height: 0; width: auto; box-shadow: none; }
.chip--select select:focus { outline: none; }
.chip--select:focus-within { outline: 3px solid var(--brand); outline-offset: 2px; }
.chip--clear { border-style: dashed; color: var(--ink-2); }
.chip--add { border-style: dashed; color: var(--brand-700); }
.chips--removable .chip { padding-right: 4px; background: var(--brand-50); border-color: var(--brand-100); }
.chips--removable .chip button { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: var(--ink-2); }
.chips--removable .chip button:hover { background: var(--brand-100); }

/* ---------- 7. Status, rating, badges ---------------------------------- */
.rating { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; }
.rating__star { color: var(--amber); }
.rating__count { color: var(--ink-3); }
.rating--new { color: var(--brand-700); font-size: 13px; font-weight: 600; background: var(--brand-50); padding: 2px 8px; border-radius: 99px; }
.status { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; }
.status__dot { width: 8px; height: 8px; border-radius: 50%; }
.status--open { color: var(--green); }
.status--open .status__dot { background: var(--green); box-shadow: 0 0 0 3px var(--green-bg); }
.status--closed { color: var(--red); }
.status--closed .status__dot { background: transparent; border: 2px solid var(--red); } /* hollow = closed (shape, not only colour) */
.verified { display: inline-flex; align-items: center; gap: 4px; color: var(--brand); font-size: 14px; font-weight: 600; vertical-align: middle; }
.badge { display: inline-block; min-width: 20px; padding: 1px 7px; border-radius: 99px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; text-align: center; line-height: 18px; }
.badge--sm { font-size: 11px; padding: 0 6px; }
.pill { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 99px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.pill--live { background: var(--green-bg); color: var(--green); }
.pill--hidden { background: var(--line); color: var(--ink-2); }
.today-pill { font-style: normal; font-size: 11px; font-weight: 700; background: var(--brand); color: #fff; padding: 1px 6px; border-radius: 99px; margin-left: 4px; vertical-align: middle; }

/* ---------- 8. Logos, covers, monograms ------------------------------- */
.biz-logo { width: var(--s, 56px); height: var(--s, 56px); border-radius: 12px; object-fit: cover; flex-shrink: 0; background: #fff; }
img.biz-logo { border: 1px solid var(--line); }
.biz-logo--mono {
  display: grid; place-items: center; font-weight: 800; letter-spacing: .02em;
  font-size: calc(var(--s, 56px) * .36);
}
.tint-blue { background: #E6F2FA; color: #00548F; }
.tint-green { background: #E6F4EC; color: #0B6B3F; }
.tint-amber { background: #FDF3E1; color: #7A4F00; }
.tint-violet { background: #EFEBFA; color: #53358E; }
.tint-rose { background: #FCECEA; color: #962A1D; }

.cover-ph {
  position: relative; width: 100%; height: 100%; overflow: hidden; background-color: var(--brand);
  background-image: radial-gradient(rgba(255, 255, 255, .14) 1.2px, transparent 1.4px);
  background-size: 16px 16px;
}
.cover-ph--green { background-color: #0B6E58; }
.cover-ph--amber { background-color: #A8650A; }
.cover-ph--violet { background-color: #4353A8; }
.cover-ph--rose { background-color: #A7412D; }
.cover-ph__icon { position: absolute; right: -10px; bottom: -22px; color: rgba(255, 255, 255, .22); }
.cover-ph--card .cover-ph__icon svg { width: 96px; height: 96px; }

/* ---------- 9. Business cards ----------------------------------------- */
.results { display: grid; gap: 12px; }
.biz-card {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 14px; transition: box-shadow .15s, border-color .15s;
}
.biz-card:focus-within { border-color: var(--brand-200); }
.biz-card__main { display: flex; gap: 12px; align-items: flex-start; }
.biz-card__body { min-width: 0; flex: 1; padding-right: 30px; }
.biz-card__name { font-size: 17px; font-weight: 700; line-height: 1.3; }
.biz-card__name .verified, .feat-card__name .verified { margin-left: 4px; position: relative; top: -1px; }
.biz-card__name a { color: var(--ink); text-decoration: none; }
.biz-card__name a:hover { color: var(--brand-700); text-decoration: underline; }
.stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.biz-card__meta { font-size: 14px; color: var(--ink-2); margin-top: 1px; }
.biz-card__loc { display: flex; align-items: center; gap: 4px; font-size: 14px; color: var(--ink-2); }
.biz-card__loc .icon { color: var(--ink-3); }
.dist { font-weight: 700; color: var(--ink); }
.biz-card__row { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin-top: 6px; }
.biz-card__desc { font-size: 14px; color: var(--ink-2); margin-top: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.biz-card__actions { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1fr); gap: 8px; margin-top: 12px; }
.biz-card__actions .btn { padding-inline: 6px; }
.save-btn {
  position: relative; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  color: var(--ink-3); transition: color .15s, transform .15s, background-color .15s;
}
.save-btn:hover { color: var(--red); background: var(--red-bg); }
.save-btn.is-saved { color: #D1335B; }
.save-btn.is-saved svg { animation: pop .28s var(--ease); }
@keyframes pop { 50% { transform: scale(1.25); } }
.biz-card__save { position: absolute; top: 6px; right: 6px; }

/* Featured (home scroller) */
.scroller {
  display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gutter) 12px;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.scroller::-webkit-scrollbar { display: none; }
.scroller__item { flex: 0 0 min(78vw, 290px); scroll-snap-align: start; }
.feat-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; height: 100%; transition: box-shadow .15s, transform .15s; }
.feat-card__cover { height: 112px; }
.feat-card__cover img { width: 100%; height: 100%; object-fit: cover; }
.feat-card__body { padding: 0 14px 14px; }
.feat-card__body .biz-logo { margin-top: -24px; position: relative; border: 3px solid #fff; box-shadow: var(--shadow-sm); }
.feat-card__name { font-size: 16px; font-weight: 700; margin-top: 8px; line-height: 1.3; }
.feat-card__name a { color: var(--ink); text-decoration: none; }
.feat-card__meta { font-size: 14px; color: var(--ink-2); }
.feat-card__save { position: absolute; top: 8px; right: 8px; background: rgba(255, 255, 255, .92); }

@media (hover: hover) {
  .biz-card:hover, .feat-card:hover { box-shadow: var(--shadow); border-color: var(--line-2); }
  .feat-card:hover { transform: translateY(-2px); }
}

/* ---------- 10. Home -------------------------------------------------- */
.hero { background: var(--brand); color: #fff; padding: 24px 0 28px; position: relative; overflow: hidden; }
.hero::after { /* subtle dot texture echoing the logo's clean geometry */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .09) 1.2px, transparent 1.4px); background-size: 18px 18px;
  -webkit-mask-image: linear-gradient(to left, #000, transparent 70%); mask-image: linear-gradient(to left, #000, transparent 70%);
}
.hero__inner { position: relative; z-index: 2; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; background: rgba(255, 255, 255, .14); padding: 4px 10px; border-radius: 99px; }
.hero__title { font-size: clamp(27px, 7.5vw, 46px); line-height: 1.12; font-weight: 800; letter-spacing: -.02em; margin-top: 12px; }
.hero__sub { font-size: 16px; color: rgba(255, 255, 255, .92); margin: 8px 0 18px; max-width: 560px; }
.popular-searches { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; }
.popular-searches__label { font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .9); }

.paths { display: grid; gap: 10px; margin-top: 16px; }
.path-card {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--r);
  background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.path-card:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.path-card strong { display: block; font-size: 16px; }
.path-card__sub { display: block; font-size: 14px; color: var(--ink-2); }
.path-card__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--brand-50); color: var(--brand-700); flex-shrink: 0; }
.path-card--biz .path-card__icon { background: var(--green-bg); color: var(--green); }
.path-card__chev { margin-left: auto; color: var(--ink-3); }

.section { padding-block: 28px; }
.section--tint { background: var(--brand-50); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.section-title { font-size: 20px; font-weight: 800; letter-spacing: -.01em; line-height: 1.25; }
.section-sub { font-size: 14px; color: var(--ink-2); margin-top: 2px; }
.section-link { display: inline-flex; align-items: center; gap: 2px; font-weight: 600; font-size: 15px; white-space: nowrap; text-decoration: none; padding: 8px 0; }
.section-link:hover { text-decoration: underline; }
.mini-title { font-size: 15px; font-weight: 700; margin: 16px 0 10px; }

.cat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cat-grid .cat-tile { flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px; }
.cat-tile {
  display: flex; align-items: center; gap: 10px; padding: 12px; min-height: 64px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  text-decoration: none; color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.cat-tile:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.cat-tile__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: var(--brand-50); color: var(--brand-700); flex-shrink: 0; }
.cat-tile__text { min-width: 0; }
.cat-tile__name { display: block; font-weight: 700; font-size: 14px; line-height: 1.25; overflow-wrap: anywhere; }
.cat-tile__count { display: block; font-size: 13px; color: var(--ink-3); }
.cat-tile--row { padding: 12px 14px; }
.cat-tile--row .cat-tile__name { font-size: 16px; }
.cat-tile__chev { margin-left: auto; color: var(--ink-3); }
.cat-list { display: grid; gap: 8px; }

.city-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.city-tile {
  position: relative; display: block; padding: 14px 36px 14px 14px; border-radius: var(--r);
  background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.city-tile:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.city-tile__name { display: block; font-weight: 700; font-size: 16px; }
.city-tile__meta { display: block; font-size: 13px; color: var(--ink-3); }
.city-tile__arrow { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--brand); }

.steps { display: grid; gap: 12px; counter-reset: none; }
.step { display: flex; gap: 14px; align-items: flex-start; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.step__num { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; flex-shrink: 0; }
.step h3 { font-size: 16px; }
.step p { font-size: 14px; color: var(--ink-2); }

.biz-cta { background: var(--brand-800); color: #fff; border-radius: var(--r-lg); padding: 24px 20px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; margin: 8px 0; }
.biz-cta__eyebrow { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--brand-200); }
.biz-cta__title { font-size: clamp(22px, 5.5vw, 32px); line-height: 1.2; font-weight: 800; margin: 6px 0 14px; letter-spacing: -.01em; }
.ticks { display: grid; gap: 8px; margin-bottom: 20px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.ticks .icon { color: #7FD1A6; margin-top: 3px; }
.biz-cta__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.biz-cta__actions .btn { flex: 1 1 220px; white-space: normal; text-align: center; }
.biz-cta__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; align-content: center; }
.mini-stat { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--r); padding: 12px 8px; text-align: center; font-size: 13px; color: rgba(255, 255, 255, .88); }
.mini-stat__n { display: block; font-size: 22px; font-weight: 800; color: #fff; }
.biz-cta__note { grid-column: 1 / -1; font-size: 12px; color: rgba(255, 255, 255, .7); text-align: center; }

/* ---------- 11. Search results --------------------------------------- */
.search-top { background: var(--surface); border-bottom: 1px solid var(--line); padding: 12px 0 4px; }
.filter-row {
  display: flex; align-items: center; gap: 8px; overflow-x: auto; padding: 10px var(--gutter) 10px; margin-inline: calc(var(--gutter) * -1);
  scrollbar-width: none;
}
.filter-row::-webkit-scrollbar { display: none; }
.results-wrap { padding-top: 16px; padding-bottom: 32px; }
.results-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-bottom: 12px; }
.results-title { font-size: 18px; font-weight: 700; line-height: 1.3; }
.results-near { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; color: var(--ink-2); }
.did-you-mean { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 14px; color: var(--ink-2); background: var(--brand-50); padding: 8px 12px; border-radius: var(--r-sm); margin-bottom: 12px; }
.did-you-mean .icon { color: var(--brand); }
.cat-hero { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.cat-hero__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: var(--brand); color: #fff; flex-shrink: 0; }
.cat-hero__title { font-size: 22px; font-weight: 800; line-height: 1.2; }
.crumbs { font-size: 14px; color: var(--ink-3); }
.more-wrap { display: flex; justify-content: center; margin-top: 16px; }
.recent { margin-bottom: 4px; }
.recent__head { display: flex; justify-content: space-between; align-items: center; }
.recent__head .mini-title { margin-bottom: 10px; }
.list-cta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 24px; padding: 14px 16px;
  border: 1px dashed var(--line-2); border-radius: var(--r); background: var(--surface);
}
.list-cta .icon { color: var(--green); }
.list-cta p { flex: 1 1 200px; font-size: 14px; color: var(--ink-2); }
.list-cta strong { color: var(--ink); }

.empty { text-align: center; padding: 36px 12px; }
.empty__icon { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--brand-50); color: var(--brand); margin-bottom: 14px; }
.empty__title { font-size: 20px; font-weight: 800; }
.empty__text { color: var(--ink-2); max-width: 420px; margin: 6px auto 0; font-size: 15px; }
.empty__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; }
.empty-inline { color: var(--ink-2); margin-top: 12px; }

/* ---------- 12. Page heads, lists ------------------------------------ */
.page-head { margin-bottom: 16px; }
.page-title { font-size: 24px; font-weight: 800; letter-spacing: -.01em; line-height: 1.2; }
.page-sub { color: var(--ink-2); margin-top: 4px; }
.back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); text-decoration: none; font-weight: 600; margin-bottom: 8px; min-height: 44px; }
.field--search { margin-bottom: 14px; }
.input-icon { position: relative; }
.input-icon .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--ink-3); }
.input-icon input { padding-left: 42px !important; }
.state-list { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.state-list a { display: flex; justify-content: space-between; align-items: center; min-height: 48px; padding: 10px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); text-decoration: none; color: var(--ink); font-weight: 600; font-size: 15px; }
.state-list a:hover { border-color: var(--brand); }
.state-list__n { color: var(--ink-3); font-weight: 500; font-size: 13px; }

/* ---------- 13. Business profile -------------------------------------- */
.owner-bar { background: var(--ink); color: #fff; font-size: 14px; }
.owner-bar__inner { display: flex; align-items: center; gap: 10px; min-height: 52px; padding-block: 6px; }
.owner-bar__inner span { flex: 1; }
.profile-cover { position: relative; height: 176px; background: var(--brand); }
.profile-cover > .photo, .profile-cover > img { width: 100%; height: 100%; }
.profile-cover__bar { position: absolute; top: 12px; left: 0; right: 0; display: flex; justify-content: space-between; z-index: 3; }
.profile-cover__right { display: flex; gap: 8px; }
.profile-cover .save-btn { color: var(--ink); }
.profile-cover .save-btn.is-saved { color: #D1335B; }
.profile-layout { display: block; }
.profile-main { min-width: 0; }
.profile-head { position: relative; display: block; padding-bottom: 8px; }
.profile-head__logo { margin-top: -44px; margin-bottom: 10px; position: relative; z-index: 2; width: max-content; }
.profile-head__logo .biz-logo { border: 4px solid #fff; border-radius: 18px; box-shadow: var(--shadow); }
.cat-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; text-decoration: none; background: var(--brand-50); padding: 3px 10px; border-radius: 99px; }
.profile-name { font-size: clamp(24px, 6vw, 32px); font-weight: 800; letter-spacing: -.015em; line-height: 1.15; margin-top: 8px; }
.profile-tagline { color: var(--ink-2); font-size: 16px; margin-top: 4px; }
.profile-facts { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; margin-top: 10px; }
.profile-loc { display: flex; align-items: center; gap: 6px; color: var(--ink-2); margin-top: 6px; }
.profile-loc .icon { color: var(--ink-3); }
.profile-open { margin-top: 4px; }

.quick-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(56px, 1fr)); gap: 4px; margin: 16px 0 8px; padding: 10px 4px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.qa { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 6px 2px; border-radius: 10px; text-decoration: none; color: var(--ink); font-size: 13px; font-weight: 600; min-width: 0; }
.qa:hover { background: var(--brand-50); }
.qa__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--brand-50); color: var(--brand-700); }
.qa:nth-child(2) .qa__icon { background: var(--green-bg); color: var(--wa); }
.qa__label { white-space: nowrap; font-size: 12px; letter-spacing: -.01em; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }

.p-section { padding: 20px 0; border-top: 1px solid var(--line); }
.p-section:first-of-type { border-top: 0; }
.p-title { font-size: 18px; font-weight: 800; margin-bottom: 10px; }
.p-text { color: var(--ink-2); font-size: 16px; max-width: 70ch; }
.hours-now { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px; margin-bottom: 8px; }
.hours-tz { font-size: 13px; color: var(--ink-3); }
.hours-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.hours-table th, .hours-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); font-weight: 500; }
.hours-table td { text-align: right; color: var(--ink-2); }
.hours-table tr.is-today th, .hours-table tr.is-today td { font-weight: 700; color: var(--ink); background: var(--brand-50); }

.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.gallery__item { aspect-ratio: 4 / 3; border-radius: var(--r-sm); overflow: hidden; width: 100%; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s; }
button.gallery__item:hover img { transform: scale(1.03); }
.gallery__item--ph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; font-size: 13px; font-weight: 600; text-align: center; padding: 8px; }

.mapbox { position: relative; height: 170px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.mapbox__art { width: 100%; height: 100%; }
.m-bg { fill: #EAF1F7; }
.m-road { stroke: #fff; stroke-width: 10; fill: none; }
.m-road--main { stroke: #FFE8B8; stroke-width: 14; }
.m-road--thin { stroke-width: 6; }
.m-park { fill: #D7EEDD; }
.mapbox__pin { position: absolute; left: 50%; top: 44%; transform: translate(-50%, -80%); color: var(--brand); filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .25)); }
.mapbox__pin svg { stroke: #fff; }
.mapbox__label { position: absolute; left: 50%; top: 52%; transform: translateX(-50%); background: #fff; font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 99px; box-shadow: var(--shadow-sm); white-space: nowrap; }
.addr { margin-top: 12px; }
.addr__line { display: flex; gap: 8px; align-items: flex-start; }
.addr__line .icon { color: var(--brand); margin-top: 3px; }
.addr__landmark { display: block; color: var(--ink-3); font-size: 14px; }
.addr__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

.contact-list li + li { border-top: 1px solid var(--line); }
.contact-list a { display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 8px 4px; text-decoration: none; color: var(--ink); word-break: break-word; }
.contact-list a:hover { background: var(--brand-50); }
.contact-list .icon { color: var(--brand-700); }
.contact-list small { display: block; font-size: 13px; color: var(--ink-3); }

.claim { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); background: var(--surface); border: 1px dashed var(--line-2); border-radius: var(--r); padding: 14px; margin: 8px 0 24px; }
.claim .icon { color: var(--brand); margin-top: 1px; }

.profile-side { display: none; }
.side-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; display: grid; gap: 10px; box-shadow: var(--shadow); }
.side-card__status { margin-bottom: 2px; }
.side-card__note { font-size: 13px; color: var(--ink-3); text-align: center; }

.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1fr); gap: 8px;
  padding: 10px var(--gutter) calc(10px + var(--safe-b));
  background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(14, 27, 43, .08);
}
.action-bar .btn { padding-inline: 8px; }

/* ---------- 14. Forms -------------------------------------------------- */
.field { margin-bottom: 18px; border: 0; padding: 0; min-width: 0; }
.field__label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.field__opt { font-weight: 500; color: var(--ink-3); font-size: 14px; }
.field__hint { font-size: 14px; color: var(--ink-2); margin-top: 6px; }
.field__error { display: flex; gap: 6px; font-size: 14px; color: var(--red); font-weight: 600; margin-top: 6px; }
.field__error::before { content: "!"; display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--red); color: #fff; font-size: 12px; flex-shrink: 0; margin-top: 1px; }
.field__counter { font-size: 13px; color: var(--ink-3); text-align: right; margin-top: 4px; }
.form-group-title { font-size: 16px; font-weight: 800; margin: 8px 0 10px; }

input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="password"],
input[type="search"], input[type="time"], select, textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; font-size: 16px; /* 16px stops iOS zoom */
  border: 1.5px solid var(--line-2); border-radius: 10px; background: var(--surface); color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
  -webkit-appearance: none; appearance: none;
}
textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-100); }
input::placeholder, textarea::placeholder { color: #8795A5; }
[aria-invalid="true"] { border-color: var(--red) !important; background: var(--red-bg) !important; }
input:disabled { background: var(--bg); color: var(--ink-3); }

.select-wrap { position: relative; }
.select-wrap select { padding-right: 42px; cursor: pointer; }
.select-wrap__chev { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--ink-2); }
.input-group { display: flex; align-items: stretch; }
.input-group__prefix { display: flex; align-items: center; padding: 0 12px; background: var(--bg); border: 1.5px solid var(--line-2); border-right: 0; border-radius: 10px 0 0 10px; color: var(--ink-2); font-weight: 600; font-size: 15px; white-space: nowrap; }
.input-group input { border-radius: 0 10px 10px 0; min-width: 0; }
.input-group--pw { position: relative; }
.input-group--pw input { border-radius: 10px; padding-right: 52px; }
.pw-toggle { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; display: grid; place-items: center; color: var(--ink-2); border-radius: 8px; }

.check-row { display: flex; align-items: center; gap: 10px; min-height: 44px; margin: -8px 0 12px; font-size: 15px; cursor: pointer; }
.check-row input, .hours-row__day input { width: 22px; height: 22px; accent-color: var(--brand); flex-shrink: 0; margin: 0; }

.switch-row { position: relative; display: flex; align-items: center; gap: 12px; cursor: pointer; min-height: 48px; }
.switch-row input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch-row__sub { display: block; font-size: 14px; color: var(--ink-2); font-weight: 400; }
.switch { position: relative; width: 48px; height: 28px; border-radius: 99px; background: var(--line-2); flex-shrink: 0; transition: background-color .15s; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); transition: transform .18s var(--ease); }
.switch-row input:checked + .switch { background: var(--brand); }
.switch-row input:checked + .switch::after { transform: translateX(20px); }
.switch-row input:focus-visible + .switch { outline: 3px solid var(--brand); outline-offset: 2px; }
.switch-row--card { padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); margin-bottom: 12px; }

.chip-input { display: flex; gap: 8px; }
.chip-input input { flex: 1; min-width: 0; }
.chip-input .btn { min-height: 50px; }
.chips--removable { margin-top: 10px; }
.service-suggest { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 12px; }
.service-suggest__label { width: 100%; font-size: 13px; color: var(--ink-3); font-weight: 600; }

.pin-box { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 14px; background: var(--brand-50); border-radius: var(--r); margin-bottom: 18px; }
.pin-box__text { display: flex; gap: 10px; flex: 1 1 220px; font-size: 14px; }
.pin-box__text .icon { color: var(--brand); margin-top: 2px; }
.pin-box__text strong { display: block; font-size: 15px; }
.pin-box__text span { color: var(--ink-2); }

.preset-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 14px; }
.preset-row__label { font-size: 14px; font-weight: 600; color: var(--ink-2); width: 100%; }
.hours-editor { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.hours-row { display: grid; grid-template-columns: 92px 1fr; align-items: center; gap: 8px; padding: 8px 12px; border: 0; margin: 0; min-width: 0; }
.hours-row + .hours-row { border-top: 1px solid var(--line); }
.hours-row__day { display: flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 700; cursor: pointer; }
.hours-row__times { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--ink-3); min-width: 0; }
.hours-row__times input { min-height: 44px; padding: 8px; font-size: 15px; min-width: 0; flex: 1; }
.hours-row__closed { display: none; color: var(--ink-3); font-weight: 600; }
.hours-row.is-closed .hours-row__times { display: none; }
.hours-row.is-closed .hours-row__closed { display: block; }
@media (max-width: 379px) {
  .hours-row { grid-template-columns: 1fr auto; }
  .hours-row__times { grid-column: 1 / -1; }
  .hours-row.is-closed .hours-row__closed { grid-column: 2; grid-row: 1; }
}

.photo-block { margin-bottom: 22px; }
.photo-block__head { margin-bottom: 10px; }
.photo-block__head .form-group-title { margin: 0; }
.upload { position: relative; border-radius: var(--r); overflow: hidden; background: var(--bg); }
.upload--logo { width: 132px; height: 132px; }
.upload--cover { width: 100%; height: clamp(140px, 38vw, 220px); }
.upload img { width: 100%; height: 100%; object-fit: cover; }
.upload__empty {
  width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  border: 2px dashed var(--line-2); border-radius: var(--r); color: var(--brand-700); font-weight: 700; font-size: 14px; padding: 8px; text-align: center;
}
.upload__empty small { color: var(--ink-3); font-weight: 500; font-size: 12px; }
.upload__empty:hover { border-color: var(--brand); background: var(--brand-50); }
.upload__actions { position: absolute; left: 8px; right: 8px; bottom: 8px; display: flex; justify-content: space-between; gap: 6px; }
.upload--logo .upload__actions .btn { padding: 6px 8px; min-height: 36px; font-size: 13px; }
.upload-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.upload-grid__item, .upload-grid__add { position: relative; aspect-ratio: 1; border-radius: var(--r-sm); overflow: hidden; }
.upload-grid__item img { width: 100%; height: 100%; object-fit: cover; }
.upload-grid__rm { position: absolute; top: 4px; right: 4px; width: 32px; height: 32px; }
.upload-grid__add { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border: 2px dashed var(--line-2); color: var(--brand-700); font-weight: 700; font-size: 13px; }
.upload-grid__add:hover { border-color: var(--brand); background: var(--brand-50); }

.form-alert { background: var(--red-bg); color: var(--red); border: 1px solid #F5C2BC; border-radius: var(--r-sm); padding: 10px 12px; font-size: 14px; font-weight: 600; margin-bottom: 14px; }
.fineprint { font-size: 13px; color: var(--ink-3); margin: 8px 0 14px; }
.note { display: flex; gap: 10px; align-items: flex-start; background: var(--brand-50); border-radius: var(--r); padding: 12px 14px; font-size: 14px; color: var(--ink-2); margin: 16px 0; }
.note .icon { color: var(--brand); margin-top: 2px; }

/* ---------- 15. Auth & account --------------------------------------- */
.auth-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 18px; }
.auth-card .page-sub { margin-bottom: 18px; }
.or { display: flex; align-items: center; gap: 12px; color: var(--ink-3); font-size: 14px; margin: 18px 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-switch { text-align: center; font-size: 15px; margin-top: 14px; color: var(--ink-2); }
.acct-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; margin-bottom: 14px; display: grid; gap: 10px; }
.acct-card h2 { font-size: 18px; }
.acct-card p { color: var(--ink-2); font-size: 15px; }
.acct-card__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--brand-50); color: var(--brand-700); }
.acct-card--biz .acct-card__icon { background: var(--green-bg); color: var(--green); }
.acct-card .btn--ghost { justify-self: start; padding-left: 0; }
.profile-card { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.profile-card .page-sub { word-break: break-word; font-size: 14px; }
.avatar-lg { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; font-size: 20px; flex-shrink: 0; }
.menu-list { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 16px; overflow: hidden; }
.menu-list li + li { border-top: 1px solid var(--line); }
.menu-list a { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 14px; text-decoration: none; color: var(--ink); font-weight: 600; }
.menu-list a:hover { background: var(--brand-50); }
.menu-list a > .icon:first-child { color: var(--brand-700); }
.menu-list__chev { margin-left: auto; color: var(--ink-3); }
.menu-list .badge { margin-left: auto; }
.menu-list .badge + .menu-list__chev { margin-left: 8px; }

/* ---------- 16. Wizard ------------------------------------------------ */
.wizard { padding-bottom: 24px; }
.wizard__progress { background: var(--surface); border-bottom: 1px solid var(--line); padding: 12px 0; position: sticky; top: var(--header-h); z-index: 20; }
.wizard__meta { display: flex; justify-content: space-between; font-size: 14px; font-weight: 700; color: var(--ink-2); margin-bottom: 8px; }
.wizard__saved { display: inline-flex; align-items: center; gap: 4px; color: var(--green); font-weight: 600; font-size: 13px; }
.progress { display: flex; gap: 4px; }
.progress__seg { flex: 1; height: 6px; border-radius: 99px; background: var(--line); transition: background-color .25s; }
.progress__seg.is-done, .progress__seg.is-current { background: var(--brand); }
.progress__seg.is-current { background: linear-gradient(90deg, var(--brand) 50%, var(--brand-200) 50%); }
.wizard__labels { display: none; }
.wizard__form { padding-top: 20px; }
.wizard__title { font-size: 24px; font-weight: 800; letter-spacing: -.01em; line-height: 1.2; }
.wizard__title:focus { outline: none; }
.wizard__sub { color: var(--ink-2); margin: 4px 0 20px; }
.wizard__nav {
  position: sticky; bottom: 0; z-index: 15; display: flex; align-items: center; gap: 8px;
  background: var(--bg); padding: 12px 0 calc(12px + var(--safe-b)); margin-top: 12px; border-top: 1px solid var(--line);
}
.wizard__nav .btn--primary { flex: 1; }
.wizard__nav .btn--link { margin-left: auto; }
.btn--publish { background: var(--green); }
.btn--publish:hover { background: #096A3E; }
.preview-card { pointer-events: auto; margin-bottom: 8px; }
.review { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.review-row { display: grid; grid-template-columns: 96px 1fr auto; gap: 10px; padding: 12px 14px; font-size: 15px; }
.review-row + .review-row { border-top: 1px solid var(--line); }
.review-row dt { font-weight: 700; color: var(--ink-2); font-size: 14px; }
.review-row dd { margin: 0; min-width: 0; word-break: break-word; }
.review-row__edit .linklike { font-size: 14px; }

.done { text-align: center; padding: 12px 0 20px; }
.done__icon { display: inline-grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--green); color: #fff; margin-bottom: 14px; animation: pop .45s var(--ease); box-shadow: 0 0 0 10px var(--green-bg); }
.share-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px; margin: 16px 0; display: grid; gap: 10px; }
.share-box .mini-title { margin: 0; }
.share-box p { color: var(--ink-2); font-size: 14px; }
.share-box__link { display: flex; gap: 8px; }
.share-box__link input { min-height: 44px; font-size: 14px; flex: 1; min-width: 0; background: var(--bg); }
.done__actions { display: grid; gap: 8px; }

/* ---------- 17. Dashboard & editor ------------------------------------ */
.dash { padding-top: 16px; }
.dash-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.dash-hello { color: var(--ink-2); font-weight: 600; font-size: 15px; }
.biz-switch { position: relative; display: inline-flex; align-items: center; }
.biz-switch select { min-height: 44px; padding: 8px 36px 8px 12px; font-size: 15px; font-weight: 600; }
.biz-switch .icon { position: absolute; right: 10px; pointer-events: none; }
.dash-tabs { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--line); margin: 0 calc(var(--gutter) * -1) 16px; padding: 0 var(--gutter); scrollbar-width: none; }
.dash-tabs::-webkit-scrollbar { display: none; }
.dash-tab { display: inline-flex; align-items: center; gap: 6px; padding: 12px 10px; min-height: 48px; text-decoration: none; color: var(--ink-2); font-weight: 700; font-size: 15px; white-space: nowrap; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.dash-tab:hover { color: var(--brand-700); }
.dash-tab[aria-current="page"] { color: var(--brand-700); border-bottom-color: var(--brand); }
.dash-grid { display: grid; gap: 12px; margin-bottom: 12px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px; }
.card-title { font-size: 17px; font-weight: 800; }
.card .section-head { margin-bottom: 10px; align-items: center; }
.listing-card__top { display: flex; align-items: center; gap: 12px; }
.listing-card__text { flex: 1; min-width: 0; }
.listing-card__text h2 { font-size: 18px; line-height: 1.25; }
.listing-card__text p { font-size: 14px; color: var(--ink-2); }
.listing-card__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.complete-card__head { display: flex; justify-content: space-between; align-items: baseline; }
.complete-card__pct { font-size: 24px; font-weight: 800; color: var(--brand-700); }
.meter { height: 10px; background: var(--line); border-radius: 99px; overflow: hidden; margin: 8px 0 10px; }
.meter span { display: block; height: 100%; background: var(--brand); border-radius: 99px; transition: width .6s var(--ease); }
.complete-card__sub { font-size: 14px; color: var(--ink-2); display: flex; align-items: center; gap: 6px; }
.todo { margin-top: 8px; }
.todo a { display: flex; align-items: center; gap: 8px; min-height: 44px; text-decoration: none; font-weight: 600; font-size: 15px; border-top: 1px solid var(--line); }
.todo__chev { margin-left: auto; color: var(--ink-3); }
.dash-section { margin: 20px 0 12px; }
.dash-section .section-head { align-items: center; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; display: grid; gap: 2px; }
.stat__icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--brand-50); color: var(--brand-700); margin-bottom: 6px; }
.stat__label { font-size: 13px; color: var(--ink-2); font-weight: 600; }
.stat__value { font-size: 26px; font-weight: 800; letter-spacing: -.01em; line-height: 1.1; }
.chart-card .card-title { font-size: 15px; margin-bottom: 10px; }
.chart svg { width: 100%; height: auto; overflow: visible; }
.chart__grid { stroke: var(--line); stroke-width: 1; stroke-dasharray: 3 4; }
.chart__bar { fill: var(--brand-200); transition: fill .15s; }
.chart__bar:hover { fill: var(--brand-600); }
.chart__bar.is-today { fill: var(--brand); }
.chart__label { font-size: 13px; fill: var(--ink-3); font-family: var(--font); }
.enq-mini li + li { border-top: 1px solid var(--line); }
.enq-mini a { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 10px 0; text-decoration: none; color: var(--ink); }
.enq-mini__name { font-weight: 700; }
.enq-mini__msg { grid-column: 1 / -1; font-size: 14px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.enq-mini__time { font-size: 13px; color: var(--ink-3); grid-row: 1; grid-column: 2; }
.is-unread .enq-mini__msg { color: var(--ink); }
.manage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.manage-item { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--ink); font-weight: 600; font-size: 14px; }
.manage-item:hover { border-color: var(--brand); background: var(--brand-50); }
.manage-item .icon { color: var(--brand-700); }

.tabs { display: flex; gap: 6px; overflow-x: auto; margin: 0 calc(var(--gutter) * -1) 12px; padding: 2px var(--gutter) 6px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { min-height: 42px; padding: 8px 14px; border-radius: 99px; border: 1px solid var(--line-2); background: var(--surface); font-weight: 600; font-size: 14px; white-space: nowrap; color: var(--ink-2); }
.tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.editor { padding-bottom: 0; }
.tab-panel { padding-bottom: 8px; }
.save-bar {
  position: sticky; bottom: calc(var(--nav-h) + var(--safe-b)); z-index: 15; display: flex; align-items: center; gap: 8px;
  margin: 8px -16px -16px; padding: 12px 16px; background: var(--surface); border-top: 1px solid var(--line);
  border-radius: 0 0 var(--r-lg) var(--r-lg);
}
.save-bar__status { flex: 1; font-size: 13px; line-height: 1.3; color: var(--ink-3); font-weight: 600; }
.save-bar__status.is-dirty { color: #8A5A00; }
.save-bar__status.is-dirty::before { content: "● "; }

.enq-list { display: grid; gap: 8px; }
.enq { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.enq.is-unread { border-left: 4px solid var(--brand); }
.enq summary { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 14px; cursor: pointer; list-style: none; }
.enq summary::-webkit-details-marker { display: none; }
.enq__avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--brand-50); color: var(--brand-700); font-weight: 800; font-size: 14px; }
.enq__head { min-width: 0; }
.enq__name { font-weight: 700; display: block; }
.enq__preview { display: block; font-size: 14px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.enq__time { font-size: 13px; color: var(--ink-3); align-self: start; }
.enq details[open] .enq__preview { display: none; }
.enq__body { padding: 0 14px 14px 66px; }
.enq__body > p:first-child { white-space: pre-wrap; }
.enq__contact { display: flex; align-items: center; gap: 6px; color: var(--ink-2); font-size: 14px; margin-top: 8px; }
.enq__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
@media (max-width: 399px) { .enq__body { padding-left: 14px; } }

/* ---------- 18. About ------------------------------------------------- */
.about-grid { display: grid; gap: 12px; }
.about-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; display: grid; gap: 10px; justify-items: start; }
.about-card h2 { display: flex; align-items: center; gap: 8px; font-size: 18px; }
.about-card h2 .icon { color: var(--brand); }
.about-card p { color: var(--ink-2); }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 8px; }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 16px; min-height: 56px; font-weight: 700; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .2s; color: var(--ink-3); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq p { padding: 0 16px 16px; color: var(--ink-2); }

/* ---------- 19. Footer ------------------------------------------------ */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding: 28px 0 20px; margin-top: 24px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 16px; }
.footer-brand { grid-column: 1 / -1; }
.footer-brand p { color: var(--ink-2); font-size: 14px; margin-top: 8px; max-width: 340px; }
.footer-title { font-size: 14px; font-weight: 800; margin-bottom: 8px; }
.footer-links li { margin: 2px 0; }
.footer-links a { display: inline-block; padding: 6px 0; color: var(--ink-2); text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: var(--brand-700); text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; border-top: 1px solid var(--line); margin-top: 24px; padding-top: 16px; font-size: 13px; color: var(--ink-3); }
.footer-bottom a, .footer-bottom .linklike { color: var(--ink-2); font-weight: 500; font-size: 13px; }
body[data-layout="profile"] .site-footer { margin-top: 0; }

/* ---------- 20. Modals & toasts --------------------------------------- */
.modal-root { position: fixed; inset: 0; z-index: 100; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(14, 27, 43, .5); opacity: 0; transition: opacity .2s; }
.modal {
  position: absolute; left: 0; right: 0; bottom: 0; max-height: 92vh; max-height: 92dvh;
  display: flex; flex-direction: column; background: var(--surface);
  border-radius: 18px 18px 0 0; box-shadow: var(--shadow-lg);
  transform: translateY(100%); transition: transform .24s var(--ease);
}
.modal:focus { outline: none; }
.modal-root.is-open .modal-backdrop { opacity: 1; }
.modal-root.is-open .modal { transform: none; }
.modal__grab { width: 40px; height: 4px; border-radius: 99px; background: var(--line-2); margin: 8px auto 0; }
.modal__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 8px 6px 20px; border-bottom: 1px solid var(--line); }
.modal__title { font-size: 18px; font-weight: 800; }
.modal__body { padding: 16px 20px calc(20px + var(--safe-b)); overflow-y: auto; overscroll-behavior: contain; }
.modal--bare .modal__body { padding: 0; }
.modal-biz { display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: var(--bg); border-radius: var(--r); margin-bottom: 16px; }
.modal-biz span { display: block; font-size: 14px; color: var(--ink-2); }
.modal-lead { color: var(--ink-2); margin-bottom: 16px; }
.quick-msgs { display: flex; flex-wrap: wrap; gap: 6px; margin: -4px 0 12px; }
.quick-msgs .chip { min-height: 36px; font-size: 13px; padding: 6px 12px; }
.option-list { margin: 8px -8px 0; }
.option-list__label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); padding: 14px 8px 6px; }
.option { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px; padding: 8px; border-radius: 10px; text-align: left; font-weight: 600; }
.option:hover { background: var(--brand-50); }
.option > .icon:first-child { color: var(--brand-700); }
.option small { display: block; font-weight: 400; color: var(--ink-3); font-size: 13px; }
.option__meta { margin-left: auto; color: var(--ink-3); font-weight: 500; font-size: 14px; }
.option__check { color: var(--brand); margin-left: 8px; }
.option.is-selected { background: var(--brand-50); color: var(--brand-700); }
.option.is-selected .option__meta + .option__check { margin-left: 8px; }
.option:not(:has(.option__meta)) .option__check { margin-left: auto; }
.success { text-align: center; display: grid; gap: 12px; padding: 8px 0; }
.success__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--green); color: #fff; margin: 0 auto; box-shadow: 0 0 0 8px var(--green-bg); animation: pop .4s var(--ease); }
.success h3 { font-size: 20px; }
.success h3:focus { outline: none; }
.success p { color: var(--ink-2); }
.lightbox { position: relative; background: #0B1320; }
.lightbox img { width: 100%; max-height: 72vh; object-fit: contain; }
.lightbox figcaption { color: #fff; text-align: center; font-size: 14px; padding: 8px; }
.lightbox__prev, .lightbox__next { position: absolute; top: 45%; background: rgba(255, 255, 255, .9); color: var(--ink); }
.lightbox__prev { left: 8px; }
.lightbox__next { right: 8px; }

.toast-root { position: fixed; left: 0; right: 0; bottom: calc(var(--nav-h) + var(--safe-b) + 12px); z-index: 120; display: grid; justify-items: center; gap: 8px; pointer-events: none; padding: 0 16px; }
body[data-layout="profile"] .toast-root { bottom: calc(84px + var(--safe-b)); }
body[data-layout="focus"] .toast-root { bottom: calc(88px + var(--safe-b)); }
.toast {
  display: flex; align-items: center; gap: 10px; max-width: min(440px, 100%);
  background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 12px; font-size: 15px; font-weight: 500; box-shadow: var(--shadow-lg);
  opacity: 0; transform: translateY(8px); transition: opacity .2s, transform .2s var(--ease);
}
.toast.is-in { opacity: 1; transform: none; }
.toast--success .icon { color: #7FD1A6; }
.toast--error { background: #7A1B12; }

/* =========================================================================
   Progressive enhancement: larger screens
   ========================================================================= */
@media (min-width: 600px) {
  :root { --gutter: 24px; }
  .searchbar--hero { grid-template-columns: 1fr minmax(170px, 220px) auto; padding: 10px; }
  .searchbar--hero .searchbar__what { grid-column: auto; }
  .searchbar--compact { grid-template-columns: 1fr minmax(150px, 200px) auto; }
  .searchbar--compact .searchbar__what { grid-column: auto; }
  .paths { grid-template-columns: 1fr 1fr; }
  .cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .city-grid { grid-template-columns: repeat(3, 1fr); }
  .results { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .cat-list { grid-template-columns: 1fr 1fr; }
  .state-list { grid-template-columns: repeat(3, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .upload-grid { grid-template-columns: repeat(4, 1fr); }
  .wizard__labels { display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; color: var(--ink-3); margin-top: 6px; }
  .wizard__labels li { flex: 1; text-align: center; }
  .wizard__labels .is-current { color: var(--brand-700); font-weight: 800; }
  .wizard__labels .is-done { color: var(--ink-2); }
  .wizard__title { font-size: 28px; }
  .wizard__nav .btn--primary { flex: 0 0 auto; margin-left: auto; min-width: 200px; }
  .wizard__nav .btn--link + .btn--primary { margin-left: 0; }
  .auth-card { padding: 32px; }
  .about-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.4fr repeat(4, 1fr); }
  .footer-brand { grid-column: auto; }
  .profile-cover { height: 240px; }
  .biz-cta { padding: 32px; }
  .modal {
    left: 50%; right: auto; bottom: auto; top: 50%; width: min(520px, 92vw); max-height: 86vh;
    border-radius: 18px; transform: translate(-50%, -46%) scale(.97); opacity: 0;
    transition: transform .2s var(--ease), opacity .2s;
  }
  .modal--wide { width: min(900px, 94vw); }
  .modal-root.is-open .modal { transform: translate(-50%, -50%); opacity: 1; }
  .modal__grab { display: none; }
  .modal__head { padding: 10px 10px 10px 22px; }
  .toast-root { bottom: calc(var(--nav-h) + 16px); }
}

@media (min-width: 900px) {
  body, body[data-layout="profile"] { padding-bottom: 0; }
  .desk-only { display: flex !important; }
  .bottom-nav { display: none; }
  .action-bar { display: none; }
  .toast-root, body[data-layout="profile"] .toast-root, body[data-layout="focus"] .toast-root { bottom: 24px; }
  :root { --header-h: 68px; }
  .brand img { height: 40px; }
  .hero { padding: 48px 0 56px; }
  .hero__sub { font-size: 18px; }
  .paths { margin-top: -28px; position: relative; z-index: 3; }
  .path-card { box-shadow: var(--shadow); }
  .section { padding-block: 44px; }
  .section-title { font-size: 24px; }
  .city-grid { grid-template-columns: repeat(5, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .biz-cta { grid-template-columns: 1.3fr 1fr; padding: 40px; align-items: center; }
  .scroller { display: grid; grid-template-columns: repeat(4, 1fr); overflow: visible; max-width: var(--maxw); margin-inline: auto; }
  .scroller__item:nth-child(n+9) { display: none; }
  .search-top { padding-top: 16px; }
  .results-title { font-size: 20px; }
  .page { padding-top: 28px; }
  .page-title { font-size: 30px; }
  .profile-cover { height: 300px; }
  .mapbox { height: 240px; }
  .profile-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
  .profile-side { display: block; position: sticky; top: calc(var(--header-h) + 20px); margin-top: 24px; }
  .quick-actions { max-width: 560px; }
  .dash-grid { grid-template-columns: 1fr 1fr; }
  .save-bar { bottom: 0; }
  .stats { grid-template-columns: repeat(6, 1fr); }
  .manage-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1200px) {
  .results { grid-template-columns: repeat(3, 1fr); }
  .cat-list { grid-template-columns: repeat(3, 1fr); }
}

/* Respect users who prefer less motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* =========================================================================
   v2 — Character layer: display type, photography, new home page
   ========================================================================= */

/* ---------- Display typography ---------------------------------------- */
.hero2__title, .section-title, .page-title, .profile-name, .wizard__title, .empty__title,
.owner-cta__title, .stats-band__n, .steps2__n, .cat-hero__title, .card-title, .p-title,
.cat-photo__name, .city-tile__name, .biz-card__name, .feat-card__name, .done .page-title {
  font-family: var(--font-display);
  font-optical-sizing: auto;
}
.section-title { font-size: clamp(24px, 6vw, 38px); letter-spacing: -.025em; line-height: 1.08; font-weight: 800; }
.page-title { letter-spacing: -.02em; }
.eyebrow { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--brand-700); margin-bottom: 6px; }
.eyebrow--light { color: var(--brand-200); }

/* ---------- Photo component ------------------------------------------- */
.photo { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; background: #E6F2FA; color: #00548F; }
.photo--green { background: #E6F4EC; color: #0B6B3F; }
.photo--amber { background: #FDF3E1; color: #7A4F00; }
.photo--violet { background: #EFEBFA; color: #53358E; }
.photo--rose { background: #FCECEA; color: #962A1D; }
.photo__ph { position: absolute; inset: 0; display: grid; place-items: center; opacity: .55; }
.photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s ease, transform .5s var(--ease); }
.photo > img.is-loaded { opacity: 1; }
.photo--cover { border-radius: 0; }

/* ---------- Cards with photos ------------------------------------------ */
.biz-thumb { position: relative; flex-shrink: 0; width: 84px; height: 84px; }
.biz-thumb > .photo { border-radius: 14px; }
.biz-thumb__logo { position: absolute; right: -6px; bottom: -6px; }
.biz-thumb__logo .biz-logo { border: 2px solid #fff; border-radius: 9px; box-shadow: var(--shadow-sm); font-size: 11px; }
.biz-thumb--mono .biz-logo { width: 84px; height: 84px; border-radius: 14px; font-size: 26px; }
.biz-card { border-radius: var(--r-lg); }
.biz-card__meta { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--brand-700); margin: 2px 0 2px; }
.biz-card__name { font-size: 18px; letter-spacing: -.01em; }
@media (hover: hover) { .biz-card:hover .photo > img.is-loaded, .feat-card:hover .photo > img.is-loaded { transform: scale(1.05); } }

.feat-card { border-radius: var(--r-lg); }
.feat-card__cover { position: relative; height: 158px; }
.feat-card__cat { position: absolute; left: 10px; top: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 5px; background: rgba(255,255,255,.94); color: var(--ink); font-size: 12px; font-weight: 700; padding: 4px 9px; border-radius: 99px; }
.feat-card__cat .icon { color: var(--brand-700); }
.feat-card__meta { display: flex; align-items: center; gap: 4px; }
.feat-card__meta .icon { color: var(--ink-3); }
.feat-card__name { font-size: 18px; }

.gallery__item { position: relative; display: block; padding: 0; }
.gallery__item .photo { border-radius: inherit; }
button.gallery__item:hover .photo > img.is-loaded { transform: scale(1.04); }

/* ---------- Home: hero ----------------------------------------------- */
.hero2 { position: relative; background: #F1F7FD; padding: 22px 0 30px; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero2__grid { display: grid; gap: 26px; align-items: center; }
.hero2__copy { position: relative; z-index: 3; min-width: 0; }
.hero2__kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--ink-2); background: #fff; border: 1px solid var(--line); padding: 5px 12px 5px 8px; border-radius: 99px; }
.ng-flag { display: inline-flex; width: 18px; height: 12px; border-radius: 2px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.ng-flag i { flex: 1; background: #008751; }
.ng-flag i:nth-child(2) { background: #fff; }
.hero2__title { font-size: clamp(36px, 10.5vw, 72px); line-height: .98; letter-spacing: -.035em; font-weight: 800; color: var(--navy); margin: 14px 0 12px; }
.hero2__line { display: block; white-space: nowrap; }
.rotator { display: grid; justify-items: start; color: var(--brand); white-space: nowrap; margin: .04em 0 .08em; }
.rotator__word {
  grid-area: 1 / 1; position: relative; opacity: 0; transform: translateY(.3em);
  transition: opacity .3s, transform .35s var(--ease);
}
.rotator__word.is-active { opacity: 1; transform: none; }
.rotator__word::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -.06em; height: .2em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M2 9 C 50 2, 110 2, 198 7' fill='none' stroke='%23A9D2F0' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}
.hero2__sub { font-size: 17px; color: var(--ink-2); max-width: 520px; margin-bottom: 18px; }
.hero2 .searchbar { box-shadow: 0 18px 40px rgba(0, 84, 143, .14); border: 1px solid var(--line); }
.hero2__popular { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; font-size: 14px; font-weight: 700; color: var(--ink-2); }
.chip--soft { background: #fff; min-height: 36px; padding: 6px 12px; font-size: 13.5px; }
.hero2__proof { display: flex; align-items: center; gap: 12px; margin-top: 18px; font-size: 14px; color: var(--ink-2); }
.hero2__proof strong { color: var(--ink); }
.avatars { display: flex; flex-shrink: 0; }
.avatars .avatar { width: 36px; height: 36px; border-radius: 50%; border: 2px solid #fff; margin-left: -10px; box-shadow: var(--shadow-sm); }
.avatars .avatar:first-child { margin-left: 0; }

.hero2__art { position: relative; min-width: 0; }
.collage { display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: 124px 124px; gap: 10px; }
.collage__cell { border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.collage__cell .photo { border-radius: inherit; }
.collage__cell--1 { grid-row: 1 / 3; }
.collage__cell--4 { display: none; }
.float-card {
  position: absolute; z-index: 4; display: flex; align-items: center; gap: 8px; max-width: 220px;
  background: #fff; border-radius: 14px; padding: 8px 12px; box-shadow: var(--shadow-lg); font-size: 12.5px; color: var(--ink-2); line-height: 1.3;
}
.float-card strong { display: block; color: var(--ink); font-size: 13px; }
.float-card--open { top: -10px; right: 6px; }
.float-card--open .icon { color: var(--green); }
.float-card--rating { bottom: -14px; left: 8px; }
.float-card--rating .icon { color: var(--amber); }
.float-card--wa { display: none; }
.float-card--wa .icon { color: var(--wa); }
.hero2__shape { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .float-card { animation: bob 6s ease-in-out infinite; }
  .float-card--rating { animation-delay: -2s; }
  .float-card--wa { animation-delay: -4s; }
}
@keyframes bob { 50% { transform: translateY(-6px); } }

/* ---------- Home: marquee -------------------------------------------- */
.marquee { display: flex; overflow: hidden; background: var(--navy) var(--pattern); color: #fff; padding: 14px 0; user-select: none; }
.marquee__track { display: flex; flex-shrink: 0; gap: 34px; padding-right: 34px; animation: marquee 38s linear infinite; }
.marquee__track li { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; font-weight: 700; font-size: 15px; }
.marquee__track .icon { color: #7FD1A6; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; flex-wrap: wrap; flex-shrink: 1; justify-content: center; padding: 0 16px; gap: 10px 24px; }
  .marquee__track[aria-hidden] { display: none; }
}
.paths--lift { margin-top: 20px; }

/* ---------- Home: bento categories ----------------------------------- */
.bento { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; gap: 10px; }
.cat-photo { position: relative; display: block; border-radius: 18px; overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; }
.cat-photo > .photo { position: absolute; inset: 0; }
.cat-photo--lg { grid-column: 1 / -1; }
.cat-photo__scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(11, 34, 56, 0) 30%, rgba(11, 34, 56, .82) 100%); }
.cat-photo__text { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2; display: grid; gap: 2px; }
.cat-photo__icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: rgba(255, 255, 255, .2); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); margin-bottom: 4px; }
.cat-photo__name { font-size: 16px; font-weight: 800; line-height: 1.1; letter-spacing: -.01em; overflow-wrap: break-word; hyphens: auto; }
.cat-photo--lg .cat-photo__name { font-size: 24px; }
.cat-photo__count { font-size: 13px; opacity: .9; }
.cat-photo:hover .photo > img.is-loaded { transform: scale(1.06); }
.cat-photo:focus-visible { outline-offset: 3px; }
.chips--more { margin-top: 14px; }

/* ---------- Home: trending city tabs --------------------------------- */
.city-tabs { display: flex; gap: 8px; overflow-x: auto; margin: 0 calc(var(--gutter) * -1) 14px; padding: 2px var(--gutter) 4px; scrollbar-width: none; }
.city-tabs::-webkit-scrollbar { display: none; }
.city-tab { flex-shrink: 0; min-height: 42px; padding: 8px 16px; border-radius: 99px; border: 1px solid var(--line-2); background: #fff; font-weight: 700; font-size: 14px; color: var(--ink-2); }
.city-tab:hover { border-color: var(--brand); color: var(--brand-700); }
.city-tab[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ---------- Home: stats band ----------------------------------------- */
.stats-band { display: grid; grid-template-columns: 1fr 1fr; background: #fff; border: 1px solid var(--line); border-radius: 22px; margin: 28px 0 0; overflow: hidden; }
.stats-band > div { padding: 18px 16px; display: grid; gap: 2px; }
.stats-band > div:nth-child(odd) { border-right: 1px solid var(--line); }
.stats-band > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
.stats-band__n { font-size: clamp(34px, 9vw, 52px); font-weight: 800; letter-spacing: -.03em; line-height: 1; color: var(--brand); }
.stats-band__l { font-size: 14px; color: var(--ink-2); font-weight: 600; }

/* ---------- Home: how it works --------------------------------------- */
.seg { display: flex; background: #E8EEF5; border-radius: 99px; padding: 4px; margin-bottom: 16px; max-width: 520px; }
.seg__btn { flex: 1; min-height: 44px; padding: 8px 12px; border-radius: 99px; font-weight: 700; font-size: 14px; color: var(--ink-2); line-height: 1.2; }
.seg__btn[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.steps2 { display: grid; gap: 12px; }
.steps2 li { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px; }
.steps2__n { display: block; font-size: 44px; font-weight: 800; line-height: 1; color: var(--brand-200); -webkit-text-stroke: 1.5px var(--brand); color: transparent; margin-bottom: 10px; letter-spacing: -.02em; }
@supports not (-webkit-text-stroke: 1px black) { .steps2__n { color: var(--brand-200); } }
.steps2 h3 { font-size: 18px; margin-bottom: 4px; }
.steps2 p { color: var(--ink-2); font-size: 15px; }

/* ---------- Home: owner stories -------------------------------------- */
.section--ink { background: var(--navy) var(--pattern); color: #fff; }
.section--ink .section-title { color: #fff; }
.section--ink .section-sub { color: rgba(255, 255, 255, .78); }
.section--ink .eyebrow { color: var(--brand-200); }
.stories { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 8px; scrollbar-width: none; }
.stories::-webkit-scrollbar { display: none; }
.story { flex: 0 0 min(84vw, 340px); scroll-snap-align: start; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 22px; padding: 10px 10px 18px; display: flex; flex-direction: column; gap: 12px; }
.story__photo { position: relative; height: 230px; border-radius: 16px; overflow: hidden; }
.story__photo .photo { border-radius: inherit; }
.story__stat { position: absolute; left: 10px; bottom: 10px; z-index: 2; background: #fff; color: var(--ink); font-size: 13px; font-weight: 800; padding: 6px 10px; border-radius: 99px; }
.story__quote { margin: 0 6px; font-size: 16px; line-height: 1.5; color: #fff; flex: 1; }
.story__who { margin: 0 6px; font-size: 14px; color: rgba(255, 255, 255, .78); }
.story__who strong { display: block; color: #fff; font-size: 15px; }
.story__who a { color: var(--brand-200); }
.section--ink :focus-visible { outline-color: #fff; }

/* ---------- Home: owner CTA with photo ------------------------------- */
.owner-cta { position: relative; border-radius: 24px; overflow: hidden; margin: 28px 0 4px; color: #fff; isolation: isolate; background: var(--brand-800); }
.owner-cta__bg { position: absolute !important; inset: 0; z-index: -2; }
.owner-cta__scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 53, 92, .88) 0%, rgba(0, 53, 92, .78) 55%, rgba(11, 34, 56, .95) 100%); }
.owner-cta__content { padding: 26px 20px 8px; }
.owner-cta__title { font-size: clamp(26px, 7vw, 42px); line-height: 1.05; letter-spacing: -.025em; font-weight: 800; margin: 4px 0 16px; max-width: 560px; }
.owner-cta__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.owner-cta__actions .btn--light { flex: 1 1 240px; white-space: normal; }
.owner-cta .ticks .icon { color: #7FD1A6; }
.mini-dash { position: relative; margin: 20px; background: #fff; color: var(--ink); border-radius: 18px; padding: 16px; box-shadow: var(--shadow-lg); display: grid; gap: 8px; }
.mini-dash__title { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 800; color: var(--ink-2); text-transform: uppercase; letter-spacing: .06em; }
.mini-dash__title .icon { color: var(--brand); }
.mini-dash__row { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: baseline; font-size: 14px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.mini-dash__row strong { font-family: var(--font-display); font-size: 20px; }
.mini-dash__row em { font-style: normal; font-size: 12px; font-weight: 800; color: var(--green); }
.mini-dash__bars { display: flex; align-items: flex-end; gap: 4px; height: 56px; margin-top: 4px; }
.mini-dash__bars i { flex: 1; background: var(--brand-200); border-radius: 3px 3px 0 0; }
.mini-dash__bars i:last-child { background: var(--brand); }

/* ---------- City photo tiles ----------------------------------------- */
.city-tile { position: relative; display: block; height: 132px; padding: 0; border: 0; border-radius: 18px; overflow: hidden; color: #fff; isolation: isolate; }
.city-tile__photo { position: absolute !important; inset: 0; z-index: -2; }
.city-tile__scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 34, 56, .05) 20%, rgba(11, 34, 56, .82) 100%); }
.city-tile__text { position: absolute; left: 12px; right: 36px; bottom: 12px; }
.city-tile__name { display: block; font-size: 18px; font-weight: 800; letter-spacing: -.01em; color: #fff; }
.city-tile__meta { display: block; font-size: 12.5px; color: rgba(255, 255, 255, .88); }
.city-tile__arrow { top: auto; bottom: 14px; transform: none; color: #fff; }
.city-tile:hover { box-shadow: var(--shadow); }
.city-tile:hover .photo > img.is-loaded { transform: scale(1.06); }

/* ---------- Footer (dark, with pattern) ------------------------------ */
.site-footer { background: var(--navy) var(--pattern); color: rgba(255, 255, 255, .78); border-top: 0; }
.footer-logo { display: inline-block; background: #fff; border-radius: 12px; padding: 6px 12px; }
.footer-brand p { color: rgba(255, 255, 255, .75); }
.footer-title { color: #fff; }
.footer-links a { color: rgba(255, 255, 255, .78); }
.footer-links a:hover { color: #fff; }
.footer-bottom { border-top-color: rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .65); }
.footer-bottom a, .footer-bottom .linklike { color: rgba(255, 255, 255, .85); }
.site-footer :focus-visible { outline-color: #fff; }
.footer-tools { margin-top: 20px; }
.switch-row--dark { color: #fff; }
.switch-row--dark .switch-row__sub { color: rgba(255, 255, 255, .7); }
.switch-row--dark .switch { background: rgba(255, 255, 255, .25); }

/* ---------- v2 responsive -------------------------------------------- */
@media (min-width: 600px) {
  .collage { grid-template-rows: 150px 150px; }
  .float-card--wa { display: flex; bottom: 40px; right: -6px; }
  .bento { grid-auto-rows: 180px; }
  .cat-photo__name { font-size: 19px; }
  .stats-band { grid-template-columns: repeat(4, 1fr); }
  .stats-band > div { border-bottom: 0 !important; border-right: 1px solid var(--line); }
  .stats-band > div:last-child { border-right: 0; }
  .steps2 { grid-template-columns: repeat(3, 1fr); }
  .city-tile { height: 160px; }
  .city-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .hero2 { padding: 56px 0 72px; }
  .hero2__grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 56px; }
  .collage { grid-template-rows: 150px 150px 150px; gap: 14px; }
  .collage__cell--1 { grid-row: 1 / 3; }
  .collage__cell--2 { grid-row: 1 / 2; }
  .collage__cell--3 { grid-column: 2; grid-row: 2 / 4; }
  .collage__cell--4 { display: block; grid-column: 1; grid-row: 3 / 4; }
  .float-card--open { top: 22px; left: -34px; right: auto; }
  .float-card--rating { bottom: 36px; left: -42px; }
  .float-card--wa { bottom: -16px; right: 18px; }
  .hero2__shape { display: block; position: absolute; z-index: -1; right: -60px; top: -40px; width: 300px; height: 300px; border-radius: 64px; background: var(--brand); opacity: .08; transform: rotate(18deg); }
  .hero2__art { z-index: 1; }
  .paths--lift { margin-top: 28px; }
  .bento { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 210px; gap: 14px; }
  .cat-photo--lg { grid-column: span 2; grid-row: span 2; }
  .cat-photo--lg .cat-photo__name { font-size: 32px; }
  .stories { display: grid; grid-template-columns: repeat(3, 1fr); overflow: visible; margin: 0; padding: 0; gap: 18px; }
  .story__photo { height: 280px; }
  .owner-cta { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: center; min-height: 460px; }
  .owner-cta__content { padding: 48px; }
  .owner-cta__scrim { background: linear-gradient(90deg, rgba(0, 53, 92, .94) 0%, rgba(0, 53, 92, .8) 55%, rgba(0, 53, 92, .25) 100%); }
  .mini-dash { margin: 40px 48px 40px 0; justify-self: end; width: 300px; }
  .city-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .city-tile { height: 190px; }
  .feat-card__cover { height: 170px; }
}
@media (min-width: 900px) {
  .hero2__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
  .hero2 .searchbar--hero { grid-template-columns: minmax(0, 1fr) minmax(140px, 170px) auto; }
}
@media (min-width: 900px) {
  /* scale with the column so each of the three lines always fits on one line */
  .hero2__title { font-size: clamp(44px, 5vw, 72px); }
}
