/* ===========================================================================
 * Production stylesheet — Design 1C: Navy + Amber Premium.
 * Pairs with Bebas Neue (display) + Open Sans (body) loaded from Google Fonts
 * in the layout. The whole file is ~5KB so the cost of inlining it later is
 * trivial; for now it's a single /static/css/app.css with a 1-year cache.
 * =========================================================================== */

:root {
  --primary:        #0f172a;
  --primary-dark:   #020617;
  --primary-light:  #1e293b;
  --accent:         #d97706;
  --accent-dark:    #b45309;
  --accent-light:   #fef3c7;

  --ink:    #0f172a;
  --ink-2:  #334155;
  --ink-3:  #64748b;
  --ink-4:  #94a3b8;

  --bg:    #fefdfb;
  --bg-2:  #f5f1ea;
  --bg-3:  #ede5d3;

  --line:       #e7dfcf;
  --line-soft:  #f0e9d9;

  --shadow-sm: 0 1px 2px rgba(15,23,42,.05), 0 1px 3px rgba(15,23,42,.07);
  --shadow-md: 0 4px 12px rgba(15,23,42,.08), 0 2px 4px rgba(15,23,42,.04);
  --shadow-lg: 0 16px 32px rgba(15,23,42,.14);

  --radius:    6px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

* , *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
  scroll-behavior: smooth;
  /* Header (sticky) + breathing room — used by every #anchor target so
     letter-jump links and #write-review don't disappear behind the header. */
  scroll-padding-top: 96px;
}

body {
  font-family: 'Open Sans', ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a       { color: inherit; text-decoration: none; }
img,svg { max-width: 100%; display: block; }
button  { font-family: inherit; cursor: pointer; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* Globally-styled <select> and <hr> — referenced by the form pages without
   a local class. Without these rules the controls fall back to the native
   OS look, which clashes with the rest of the design. */
select {
  font: inherit; font-size: 15px;
  background: #fff; color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 36px 10px 12px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--ink-3) 50%),
    linear-gradient(135deg, var(--ink-3) 50%, transparent 50%);
  background-position: right 14px top 17px, right 9px top 17px;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  appearance: none; -webkit-appearance: none;
  transition: border-color .15s, box-shadow .15s;
}
select:focus {
  outline: 0;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(217,119,6,.15);
}
hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 24px 0;
}

/* Inline-text utility, used wherever a faint count or auxiliary label sits
   next to a primary label. Previously had per-context overrides only — now
   anywhere `.dim` appears gets the right colour without an extra parent. */
.dim {
  color: var(--ink-3);
  font-weight: 400;
}

/* Small content-page wrapper for /about, /privacy-policy, /terms-and-conditions.
   Constrains the reading line to ~70 ch and centers the column inside the
   1180-px page wrap so long-form copy isn't 110 ch wide on a 14" monitor. */
.static-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 32px 0 48px;
}
.static-wrap .card + .card { margin-top: 18px; }
.static-wrap h2 { margin-top: 28px; }
.static-wrap h2:first-child { margin-top: 0; }

/* ---- Accessibility ---- */
.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;
}
.focus\:not-sr-only:focus {
  position: static; width: auto; height: auto;
  clip: auto; white-space: normal;
  background: #fff; padding: 8px 12px; border-radius: 4px; box-shadow: var(--shadow-md);
}

/* Visible keyboard focus ring on every interactive element. Skipped for
   pointer users via :focus-visible. */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 3px;
}
/* Buttons + links inside cards get a softer, inset ring so the outer card
   shadow doesn't compete. */
.btn-primary:focus-visible,
.btn-secondary:focus-visible,
button:focus-visible {
  outline-offset: -2px;
}

/* Respect users who opt out of motion. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* Inline SVG icon helper — every icon emitted from templ gets `class="icon"`,
   inherits currentColor, and sits on the typographic baseline. */
.icon {
  width: 1em; height: 1em;
  display: inline-block; vertical-align: -0.15em;
  flex: none;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.icon-lg { width: 18px; height: 18px; }
.icon-xl { width: 22px; height: 22px; }

/* ===== HEADER =========================================================== */
header.site {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
header.site .inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px; color: var(--primary); letter-spacing: .04em;
}
.logo .mark {
  width: 34px; height: 34px; border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--accent);
  display: grid; place-items: center;
  font-family: 'Open Sans', sans-serif; font-weight: 800; font-size: 13px;
  border: 1px solid var(--accent);
}
nav.top { display: flex; align-items: center; gap: 8px; }
nav.top a {
  font-size: 14px; color: var(--ink-2); font-weight: 600;
  padding: 8px 14px; border-radius: var(--radius);
  transition: background .15s, color .15s;
}
nav.top a:hover { background: var(--bg-2); color: var(--ink); }
nav.top a.cta {
  background: var(--accent); color: #fff;
  padding: 9px 18px;
}
nav.top a.cta:hover { background: var(--accent-dark); color: #fff; }

/* Language switcher — small <details> dropdown in the header. Native
   element gives free click-outside-to-close + keyboard accessibility. */
.lang-switch {
  position: relative;
  margin-left: 4px;
}
.lang-switch > summary {
  list-style: none; cursor: pointer;
  padding: 8px 14px; border-radius: var(--radius);
  font-size: 14px; font-weight: 600; color: var(--ink-2);
  display: inline-flex; align-items: center; gap: 6px;
  transition: background .15s, color .15s;
  user-select: none;
}
.lang-switch > summary::-webkit-details-marker { display: none; }
.lang-switch > summary::after {
  content: "▾"; font-size: 10px; color: var(--ink-3); margin-left: 2px;
}
.lang-switch[open] > summary,
.lang-switch > summary:hover {
  background: var(--bg-2); color: var(--ink);
}
.lang-switch__menu {
  position: absolute; right: 0; top: calc(100% + 6px);
  min-width: 180px; max-height: 320px; overflow-y: auto;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 6px;
  z-index: 60;
}
.lang-switch__menu a,
.lang-switch__menu span {
  display: block; padding: 8px 12px;
  font-size: 14px; color: var(--ink); border-radius: 4px;
  transition: background .15s, color .15s;
}
.lang-switch__menu a:hover { background: var(--bg-2); color: var(--accent-dark); }
.lang-switch__current {
  background: var(--accent-light); color: var(--accent-dark);
  font-weight: 600;
}

/* Header search — compact persistent search input in the site header.
   Sits between the logo and primary nav; collapses on small screens. */
.header-search {
  display: flex; align-items: center;
  flex: 0 1 360px; max-width: 360px; min-width: 180px;
  margin: 0 18px;
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 2px;
  transition: border-color .15s, box-shadow .15s;
}
.header-search:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(217, 119, 6, .15);
  background: #fff;
}
.header-search input {
  flex: 1; border: 0; background: transparent;
  padding: 7px 10px; font: inherit; font-size: 14px;
  color: var(--ink); min-width: 0;
}
.header-search input:focus { outline: 0; }
.header-search button {
  background: var(--primary); color: var(--accent);
  border: 0; border-radius: calc(var(--radius) - 2px);
  width: 32px; height: 30px;
  display: grid; place-items: center;
  cursor: pointer; transition: background .15s;
}
.header-search button:hover { background: var(--primary-light); }

/* ===== HERO ============================================================ */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  padding: 80px 0 88px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; top: -150px; right: -100px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(217,119,6,.18) 0%, transparent 60%);
}
.hero::after {
  content: ""; position: absolute; bottom: -100px; left: -100px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(251,191,36,.08) 0%, transparent 60%);
}
.hero .content { position: relative; z-index: 2; text-align: center; }
h1.title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(40px, 5.5vw, 64px);
  letter-spacing: .02em; line-height: 1; margin: 0 0 16px;
}
h1.title em {
  font-style: normal; color: var(--accent);
  background: linear-gradient(135deg, #fbbf24, #d97706);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero .description {
  font-size: 17px; line-height: 1.55;
  max-width: 56ch; margin: 0 auto 32px;
  color: rgba(255,255,255,.88);
}
.search-box {
  max-width: 640px; margin: 0 auto;
  background: #fff; border-radius: var(--radius-md); padding: 6px;
  display: flex; align-items: center;
  box-shadow: var(--shadow-lg);
}
.search-box input {
  flex: 1; border: 0; padding: 14px 18px;
  font: inherit; font-size: 15px; color: var(--ink); background: transparent;
  min-width: 0;
}
.search-box input:focus { outline: 0; }
.search-box button {
  background: var(--accent); color: #fff; border: 0;
  padding: 12px 24px; border-radius: var(--radius);
  font-family: inherit; font-weight: 700; font-size: 14px;
  letter-spacing: .04em; transition: background .15s;
}
.search-box button:hover { background: var(--accent-dark); }

/* ===== STATS BAND ====================================================== */
.stats-band {
  background: var(--bg); padding: 32px 0;
  border-bottom: 1px solid var(--line);
}
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; text-align: center;
}
.stat .n {
  font-family: 'Bebas Neue', sans-serif; font-size: 44px;
  color: var(--primary); letter-spacing: .02em; line-height: 1;
}
.stat .l {
  color: var(--ink-3); font-size: 13px; margin-top: 6px;
  font-weight: 600; text-transform: uppercase; letter-spacing: .08em;
}

/* ===== SECTION ========================================================= */
section.block { padding: 64px 0; }
section.block.alt { background: var(--bg-2); }
.sec-head {
  margin-bottom: 28px;
  display: flex; justify-content: space-between; align-items: end;
  gap: 16px; flex-wrap: wrap;
}
.sec-head h2 {
  font-family: 'Bebas Neue', sans-serif; font-size: 34px;
  letter-spacing: .02em; margin: 0; color: var(--primary); line-height: 1.1;
}
.sec-head h2::before {
  content: ""; display: inline-block;
  width: 6px; height: 24px; background: var(--accent);
  margin-right: 12px; vertical-align: middle; border-radius: 2px;
}
.sec-head .sub { color: var(--ink-3); font-size: 14px; margin-top: 6px; }
.sec-head .more {
  font-size: 14px; font-weight: 600; color: var(--accent-dark);
  display: flex; align-items: center; gap: 4px;
}
.sec-head .more:hover { color: var(--accent); }

/* ===== AREA + CATEGORY CARDS =========================================== */
.card-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}
.area-card, .cat-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px; transition: all .15s; display: block;
}
.area-card:hover, .cat-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px); box-shadow: var(--shadow-md);
}
.area-card .name, .cat-card .name {
  font-weight: 700; color: var(--primary); font-size: 16px; margin-bottom: 2px;
}
.area-card .meta, .cat-card .meta { color: var(--ink-3); font-size: 13px; }

/* ===== BUSINESS CARDS ================================================== */
.biz-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 16px;
}
.biz-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 20px; transition: all .15s;
  border-left: 3px solid var(--accent);
}
.biz-card:hover {
  border-color: var(--primary); box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-left-color: var(--accent);
}
.biz-card h3 {
  margin: 0 0 6px;
  font-family: 'Open Sans', sans-serif; font-size: 17px; font-weight: 700;
}
.biz-card h3 a { color: var(--primary); transition: color .15s; }
.biz-card h3 a:hover { color: var(--accent-dark); }
.biz-card .addr {
  color: var(--ink-2); font-size: 14px; margin: 0 0 10px;
  display: flex; align-items: flex-start; gap: 8px;
  line-height: 1.5;
}
.biz-card .addr .icon { color: var(--ink-3); margin-top: 2px; flex: none; }
.biz-card .meta-row {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--ink-3); flex-wrap: wrap;
}
.biz-card .stars { color: var(--accent); font-weight: 700; }
.biz-card .badge {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--accent-light); color: var(--accent-dark);
  font-size: 11px; font-weight: 700; padding: 3px 8px;
  border-radius: 4px; letter-spacing: .04em; text-transform: uppercase;
}

/* ===== HELP BLOCK (link footer above the real footer) ================== */
.help-block {
  background: var(--bg-2); padding: 48px 0;
  border-top: 1px solid var(--line);
}
.help-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.help-col h3 {
  font-family: 'Bebas Neue', sans-serif; font-size: 20px;
  letter-spacing: .02em; margin: 0 0 12px; color: var(--primary);
}
.help-col ul { list-style: none; padding: 0; margin: 0; }
.help-col li { padding: 4px 0; font-size: 14px; }
.help-col a { color: var(--ink-2); }
.help-col a:hover { color: var(--accent-dark); }

/* ===== FOOTER ========================================================== */
footer.site {
  background: var(--primary); color: #94a3b8;
  padding: 36px 0 24px; text-align: center; font-size: 13px;
}
footer.site a { color: #cbd5e1; margin: 0 10px; }
footer.site a:hover { color: var(--accent); }
footer.site .copy { margin-top: 16px; color: #64748b; }
footer.site .page-gen {
  margin-top: 4px;
  font-size: 10px;
  color: #94a3b8;
  letter-spacing: .04em;
  font-variant-numeric: tabular-nums;
}

/* ===== BREADCRUMBS ===================================================== */
.breadcrumbs {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  font-size: 13px;
}
.breadcrumbs ol {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  list-style: none; margin: 0; padding: 0; color: var(--ink-3);
}
.breadcrumbs a { color: var(--ink-2); font-weight: 500; }
.breadcrumbs a:hover { color: var(--accent-dark); }
.breadcrumbs .sep { color: var(--ink-4); }
.breadcrumbs [aria-current="page"] {
  color: var(--ink); font-weight: 600;
  max-width: 60ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* ===== BUSINESS HERO (smaller than home hero) ========================== */
.biz-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  padding: 44px 0 36px;
  position: relative; overflow: hidden;
}
.biz-hero::before {
  content: ""; position: absolute; top: -150px; right: -100px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(217,119,6,.16) 0%, transparent 60%);
}
.biz-hero .wrap { position: relative; z-index: 2; }
.biz-hero__cat {
  display: inline-block;
  padding: 4px 12px; border: 1px solid var(--accent);
  background: rgba(217,119,6,.18);
  color: var(--accent-light);
  font-size: 12px; font-weight: 700; letter-spacing: .08em;
  border-radius: 4px; margin-bottom: 14px;
  transition: background .15s;
}
.biz-hero__cat:hover { background: rgba(217,119,6,.32); color: #fff; }
.biz-hero__name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(32px, 4.5vw, 50px);
  letter-spacing: .02em; line-height: 1.05; margin: 0 0 14px; color: #fff;
}
.biz-hero__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  font-size: 15px;
}
.biz-hero__rating {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.10);
  padding: 6px 12px; border-radius: 6px;
  backdrop-filter: blur(4px);
}
.biz-hero__rating .stars { color: var(--accent-light); font-weight: 700; }
.biz-hero__rating strong { color: #fff; }
.biz-hero__rating .dim { color: rgba(255,255,255,.7); }
.biz-hero__badge {
  background: var(--accent); color: #fff;
  padding: 5px 10px; border-radius: 4px;
  font-size: 12px; font-weight: 700; letter-spacing: .04em;
}
.biz-hero__dot { color: rgba(255,255,255,.4); }
.biz-hero__area { color: rgba(255,255,255,.92); font-weight: 600; }
.biz-hero__area:hover { color: var(--accent-light); }

/* ===== ACTION BAR ====================================================== */
.action-bar {
  background: #fff; border-bottom: 1px solid var(--line);
  padding: 16px 0; position: sticky; top: 64px; z-index: 40;
}
.action-bar .actions {
  display: flex; gap: 10px; overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.action {
  flex: 1; min-width: 130px;
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 12px 16px;
  border: 1px solid var(--line); border-radius: var(--radius-md);
  background: var(--bg);
  transition: all .15s;
}
.action:hover {
  border-color: var(--primary); transform: translateY(-1px);
  box-shadow: var(--shadow-sm); background: #fff;
}
.action .ico {
  display: grid; place-items: center;
  color: var(--accent);
  margin-bottom: 2px;
}
.action .ico .icon { width: 22px; height: 22px; stroke-width: 2; }
.action:hover .ico { color: var(--accent-dark); }
.action .label {
  font-weight: 700; font-size: 14px; color: var(--primary); margin-top: 4px;
}
.action .sub { font-size: 12px; color: var(--ink-3); margin-top: 1px; }

/* ===== BUSINESS BODY (2-col on desktop) ================================ */
.biz-body { padding: 40px 0; background: var(--bg); }
.biz-grid-2col {
  display: grid; grid-template-columns: 1fr 360px;
  gap: 24px; align-items: start;
}
.biz-main, .biz-aside { display: flex; flex-direction: column; gap: 20px; }
/* Sticky sidebar offset = header (~64px) + 16px breathing room. The business
   detail page used to push this to 156 px to clear the action-bar, but every
   other page (area/category/combo/reviews/search/static) doesn't have one,
   so the larger value left a big empty top. Pages with the action-bar pin
   the sidebar via .biz-aside--with-bar instead. */
.biz-aside .sticky { position: sticky; top: 80px; }
.biz-aside--with-bar .sticky { top: 156px; }

.card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-md); padding: 24px;
}
.card-title {
  font-family: 'Bebas Neue', sans-serif; font-size: 22px;
  letter-spacing: .02em; color: var(--primary);
  margin: 0 0 14px; line-height: 1;
}
.card-title::before {
  content: ""; display: inline-block;
  width: 4px; height: 18px; background: var(--accent);
  margin-right: 10px; vertical-align: middle; border-radius: 2px;
}
.card-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; margin-bottom: 14px;
}
.card-head .card-title { margin: 0; }
.card-more {
  font-size: 13px; font-weight: 600;
  color: var(--accent-dark);
}
.card-more:hover { color: var(--accent); }

.prose {
  margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.7;
}

/* DETAILS info grid */
.info-grid {
  display: grid; grid-template-columns: 130px 1fr;
  gap: 10px 16px; margin: 0; font-size: 14px;
}
.info-grid dt {
  color: var(--ink-3); font-weight: 600;
  text-transform: uppercase; font-size: 11px; letter-spacing: .08em;
  padding-top: 4px;
}
.info-grid dd { margin: 0; color: var(--ink); }
.info-grid dd a { color: var(--accent-dark); }
.info-grid dd a:hover { color: var(--accent); text-decoration: underline; }

/* REVIEW LIST */
.empty {
  color: var(--ink-3); font-size: 14px;
  padding: 24px; background: var(--bg-2);
  border-radius: var(--radius); border: 1px solid var(--line);
  text-align: center; margin: 0;
  line-height: 1.6;
}
.empty strong { color: var(--ink-2); }
.review-list { list-style: none; margin: 0; padding: 0; }
.review {
  padding: 16px 0; border-bottom: 1px solid var(--line-soft);
}
.review:last-child { border-bottom: 0; }
.review-head {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  margin-bottom: 6px; font-size: 14px;
}
.review-head .stars { color: var(--accent); font-weight: 700; }
.review-head .dim { color: var(--ink-3); font-size: 13px; }
.review-title {
  font-size: 16px; font-weight: 700; color: var(--ink);
  margin: 4px 0;
}
.review-body { color: var(--ink-2); font-size: 14.5px; line-height: 1.6; margin: 0; }

/* CONTACT card buttons */
.card .addr {
  margin: 0 0 14px; font-size: 14px; color: var(--ink-2);
  display: flex; align-items: flex-start; gap: 8px;
  line-height: 1.5;
}
.card .addr .icon { color: var(--ink-3); margin-top: 2px; }
.btn-primary, .btn-secondary, .btn-claim {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  text-align: center;
  padding: 12px 16px;
  border-radius: var(--radius); font-weight: 700; font-size: 14px;
  margin-bottom: 8px;
  transition: background .15s, border-color .15s, color .15s, transform .15s, box-shadow .15s;
}
.btn-primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,.05), inset 0 1px 0 rgba(255,255,255,.1);
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(217,119,6,.25);
}
.btn-secondary {
  background: var(--bg-2); color: var(--primary);
  border: 1px solid var(--line);
}
.btn-secondary:hover { background: #fff; border-color: var(--primary); }

/* Inline button variant — used when the button sits inline in flowing text
   (e.g. "Back to home" after a success message). Doesn't expand full width. */
.btn-inline {
  display: inline-flex !important; width: auto;
  margin-top: 8px;
  padding: 10px 18px;
}

.card.claim {
  background: var(--primary); color: #fff;
  border: 0;
}
.card.claim h3 {
  font-family: 'Bebas Neue', sans-serif; font-size: 20px;
  letter-spacing: .02em; color: var(--accent-light); margin: 0 0 8px;
}
.card.claim p { font-size: 14px; color: rgba(255,255,255,.82); margin: 0 0 14px; }
.btn-claim {
  background: var(--accent); color: #fff; margin: 0;
}
.btn-claim:hover { background: var(--accent-dark); }

.similar-block { padding-top: 48px; padding-bottom: 56px; }

/* ===== DESCRIPTION CARD (auto-generated SEO paragraph) ================= */
.description-card .prose { font-size: 15.5px; line-height: 1.75; }
.prose-sub {
  color: var(--ink-3); font-size: 13.5px; margin: 0 0 14px;
}

/* ===== QUICK INFO TABULAR (Rating / Contact / Address) ================ */
.quick-info {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.qi-col {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  display: flex; flex-direction: column; gap: 8px;
}
.qi-head {
  display: flex; align-items: center; gap: 8px;
}
.qi-ico {
  display: inline-grid; place-items: center;
  width: 28px; height: 28px;
  border-radius: 6px;
  background: var(--accent-light); color: var(--accent-dark);
  font-weight: 700;
}
.qi-title {
  font-family: 'Bebas Neue', sans-serif; font-size: 18px;
  letter-spacing: .04em; margin: 0; color: var(--primary);
}
.qi-stars { color: var(--accent); font-size: 18px; }
.qi-rating-num { font-family: 'Bebas Neue', sans-serif; font-size: 28px; color: var(--primary); }
.qi-sub { color: var(--ink-3); font-size: 13px; }
.qi-line {
  display: flex; align-items: center; gap: 10px;
  color: var(--ink); font-size: 14px;
  padding: 4px 0;
  word-break: break-word; min-width: 0;
}
.qi-line .icon { color: var(--ink-3); flex: none; }
.qi-line:hover { color: var(--accent-dark); }
.qi-line:hover .icon { color: var(--accent-dark); }
.qi-line.qi-area {
  margin-top: 4px; color: var(--accent-dark); font-weight: 600;
}
.qi-addr { color: var(--ink); font-size: 14px; line-height: 1.5; }
.qi-empty { color: var(--ink-3); font-size: 13px; font-style: italic; }
@media (max-width: 720px) {
  .quick-info { grid-template-columns: 1fr; }
}

/* ===== LANDMARKS TABLE ================================================ */
.landmarks-card { }
.landmarks {
  width: 100%; border-collapse: collapse;
  font-size: 14px;
}
.landmarks thead th {
  text-align: left; font-weight: 700;
  font-size: 12px; letter-spacing: .04em; text-transform: uppercase;
  color: var(--ink-3);
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
}
.landmarks tbody td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}
.landmarks tbody tr:last-child td { border-bottom: 0; }
.landmarks tbody a { color: var(--accent-dark); font-weight: 600; }
.landmarks tbody a:hover { color: var(--accent); text-decoration: underline; }
.landmarks .num {
  text-align: right; white-space: nowrap;
  font-variant-numeric: tabular-nums;
  color: var(--primary); font-weight: 600;
}

/* ===== MAP CARD ======================================================= */
.map-card .map-embed {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-2);
  margin: 8px 0 12px;
}
.map-card .map-embed iframe { display: block; }
.map-card .directions-btn { width: fit-content; padding: 10px 18px; }

/* ===== FAQ CARD ======================================================= */
.faq-card .faq-list {
  display: flex; flex-direction: column; gap: 6px;
}
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  transition: border-color .15s;
}
.faq-item[open] { border-color: var(--accent); background: #fff; }
.faq-item summary {
  list-style: none; cursor: pointer;
  padding: 14px 18px;
  font-weight: 600; font-size: 15px; color: var(--primary);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  color: var(--accent); font-weight: 700; font-size: 20px;
  transition: transform .15s;
}
.faq-item[open] summary::after { content: "−"; }
.faq-q { /* same selector covers summary */ }
.faq-a {
  margin: 0; padding: 0 18px 16px;
  color: var(--ink-2); font-size: 14.5px; line-height: 1.65;
}

/* ===== BROWSE PAGE: smaller hero + sidebar widgets ==================== */
.browse-hero { padding: 40px 0 36px; }
.biz-hero__sub {
  margin: 12px 0 0; color: rgba(255,255,255,.92);
  max-width: 60ch; font-size: 15px; line-height: 1.55;
}
.top-cats-card .top-cats-grid {
  display: flex; flex-direction: column; gap: 10px;
}
.top-cats-row {
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  border-left: 3px solid var(--accent);
}
.top-cats-name {
  display: block; font-weight: 700; font-size: 15px; color: var(--primary);
  margin-bottom: 4px;
}
.top-cats-name:hover { color: var(--accent-dark); }
.top-cats-inline { font-size: 13px; color: var(--ink-3); line-height: 1.6; }
.top-cats-inline a { color: var(--accent-dark); }
.top-cats-inline a:hover { color: var(--accent); text-decoration: underline; }
.top-cats-inline .sep { color: var(--ink-4); margin: 0 6px; }

/* Sidebar mini stats */
.stats-side-card .qi-mini {
  display: grid; grid-template-columns: 1fr auto; gap: 4px 12px;
  margin: 0 0 14px;
}
.qi-mini dt {
  color: var(--ink-3); font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .04em;
  padding-top: 4px;
}
.qi-mini dd {
  margin: 0; color: var(--primary); font-weight: 700;
  text-align: right;
}
.qi-mini dd a { color: var(--accent-dark); }
.qi-mini dd a:hover { color: var(--accent); }

/* Sidebar nav list */
.nav-list {
  list-style: none; margin: 0; padding: 0;
}
.nav-list li { padding: 5px 0; font-size: 14px; }
.nav-list a {
  display: flex; justify-content: space-between; align-items: center;
  color: var(--ink); font-weight: 500;
}
.nav-list a:hover { color: var(--accent-dark); }
.nav-list .dim {
  font-variant-numeric: tabular-nums;
  font-size: 12px; color: var(--ink-3);
  background: var(--bg-2); padding: 1px 6px; border-radius: 3px;
}

/* Listings list (browse pages) */
.listings { list-style: none; margin: 0; padding: 0; }
.listing {
  display: grid; grid-template-columns: 40px 1fr; gap: 18px;
  padding: 18px 12px;
  margin: 0 -12px;
  border-bottom: 1px solid var(--line-soft);
  border-radius: var(--radius);
  transition: background .15s;
}
.listing:last-child { border-bottom: 0; }
.listing:hover { background: var(--bg-2); }
.listing-rank {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  font-family: 'Open Sans', sans-serif; font-size: 13px; font-weight: 700;
  background: var(--primary); color: var(--accent);
  border-radius: 999px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  line-height: 1;
  margin-top: 2px;
  border: 1px solid var(--primary-light);
}
.listing-body h3 {
  margin: 0 0 4px; font-family: 'Open Sans', sans-serif;
  font-size: 16px; font-weight: 700;
}
.listing-body h3 a { color: var(--primary); }
.listing-body h3 a:hover { color: var(--accent-dark); }
.listing-addr {
  color: var(--ink-2); font-size: 13.5px; margin: 0 0 6px;
  display: flex; align-items: center; gap: 6px;
}
.listing-addr .icon { color: var(--ink-3); }
.listing-meta {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: 13px; color: var(--ink-3);
}
.listing-meta .stars { color: var(--accent); font-weight: 700; }
.listing-meta .badge {
  background: var(--accent-light); color: var(--accent-dark);
  font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px;
  letter-spacing: .04em; text-transform: uppercase;
}

/* Pagination */
.pager {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-top: 22px; padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}
.pager-link {
  font-weight: 600; font-size: 14px; color: var(--accent-dark);
  padding: 8px 14px; border-radius: var(--radius);
  border: 1px solid var(--line);
}
.pager-link:hover {
  background: var(--accent-light); border-color: var(--accent);
  color: var(--accent-dark);
}
.pager-link.disabled {
  color: var(--ink-4); border-color: var(--line-soft);
  background: var(--bg-2); cursor: not-allowed;
}
.pager-info { color: var(--ink-3); font-size: 13.5px; }

/* ===== COUNTRY INDEX PAGES (A-Z letter sections) ====================== */
.letter-jump {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin: 22px 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  position: sticky; top: 72px;
  z-index: 30;
  /* Frosted bar so the heading underneath stays partially visible when scrolled. */
  background: rgba(254, 253, 251, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
}
.letter-jump a {
  display: inline-grid; place-items: center;
  min-width: 36px; height: 36px;
  padding: 0 10px;
  font-family: 'Bebas Neue', sans-serif; font-size: 17px;
  color: var(--primary); font-weight: 700; letter-spacing: .04em;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.letter-jump a:hover {
  background: var(--accent); color: #fff; border-color: var(--accent);
  transform: translateY(-1px);
}

.index-card { padding: 0; overflow: hidden; }
.letter-section {
  padding: 28px 28px 20px;
  scroll-margin-top: 130px;
  /* Gradient ribbon header instead of an arbitrary border-bottom — feels
     more deliberate and reads cleanly across viewports. */
}
.letter-section + .letter-section {
  border-top: 1px solid var(--line-soft);
}
.letter-section__head {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 38px; line-height: 1; letter-spacing: .04em;
  color: var(--primary); margin: 0 0 18px;
  padding: 0 0 0 16px;
  border-left: 4px solid var(--accent);
}
.letter-section__list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2px 24px;
}
.letter-section__list li {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 8px 8px 8px 0; font-size: 14px;
  border-radius: 4px;
  transition: background .15s, padding .15s;
}
.letter-section__list li:hover {
  background: var(--bg-2);
  padding-left: 8px;
}
.letter-section__list a {
  color: var(--primary); font-weight: 500;
  flex: 1; min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.letter-section__list a:hover { color: var(--accent-dark); }
.letter-section__list .dim {
  color: var(--ink-3); font-size: 12px;
  font-variant-numeric: tabular-nums;
  margin-left: 12px;
  background: var(--bg-2);
  padding: 1px 8px;
  border-radius: 999px;
  font-weight: 600;
}

.index-footnote {
  margin: 18px 4px 0;
  color: var(--ink-3); font-size: 13.5px; line-height: 1.6;
}
.index-footnote a { color: var(--accent-dark); font-weight: 600; }
.index-footnote a:hover { color: var(--accent); }

@media (max-width: 720px) {
  .letter-jump { top: 0; }
  .letter-section { padding: 18px 16px 14px; }
  .letter-section__head { font-size: 26px; }
}

/* ===== PILLS (People also search for) ================================= */
.pills {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 8px;
}
.pill {
  display: inline-flex; align-items: center;
  padding: 8px 14px; border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--primary); font-weight: 600; font-size: 13px;
  transition: all .15s;
}
.pill:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
  background: var(--accent-light);
}

/* ===== LONG-FORM SECTIONS (home page about/explore blocks) ============ */
.long-form { }
.long-form__title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 34px; letter-spacing: .02em; line-height: 1.1;
  margin: 0 0 16px; color: var(--primary);
}
.long-form__title::before {
  content: ""; display: inline-block;
  width: 6px; height: 24px; background: var(--accent);
  margin-right: 12px; vertical-align: middle; border-radius: 2px;
}
.long-form__lede {
  font-size: 16.5px; line-height: 1.75; color: var(--ink-2);
  margin: 0 0 14px; max-width: 80ch;
}
.long-form__sub {
  font-size: 14.5px; line-height: 1.6; color: var(--ink-3);
  margin: 0 0 24px;
}
.long-form__sub a { color: var(--accent-dark); font-weight: 600; }
.long-form__sub a:hover { color: var(--accent); text-decoration: underline; }

/* Categories table on the homepage. */
.cats-table {
  width: 100%; border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-md);
  overflow: hidden;
}
.cats-table thead th {
  text-align: left;
  background: var(--bg-2);
  font-size: 12px; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: var(--ink-3);
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}
.cats-table tbody td {
  padding: 14px;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top; font-size: 14px;
}
.cats-table tbody tr:last-child td { border-bottom: 0; }
.cats-table tbody tr:hover { background: var(--bg-2); }
.cats-table .cat-name a {
  color: var(--primary); font-weight: 700;
}
.cats-table .cat-name a:hover { color: var(--accent-dark); }
.cats-table .num {
  text-align: right; white-space: nowrap;
  font-variant-numeric: tabular-nums;
  color: var(--ink-2); font-weight: 600;
}
.cats-table .top-list a {
  color: var(--accent-dark); font-weight: 500;
}
.cats-table .top-list a:hover { color: var(--accent); text-decoration: underline; }
.cats-table .top-list .sep { color: var(--ink-4); margin: 0 6px; }
.cats-table .top-list .dim { color: var(--ink-4); font-style: italic; }
@media (max-width: 720px) {
  .cats-table thead { display: none; }
  .cats-table tr {
    display: block; padding: 14px;
    border-bottom: 1px solid var(--line);
  }
  .cats-table td {
    display: block; padding: 4px 0; border: 0;
  }
  .cats-table .num { text-align: left; }
  .cats-table .num::before {
    content: "Listings: "; color: var(--ink-3);
    font-size: 12px; font-weight: 600; text-transform: uppercase;
  }
}

/* ===== RECENT REVIEWS (homepage) ====================================== */
.recent-reviews {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
}
.recent-review {
  background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 18px 20px;
  border-left: 3px solid var(--accent);
  transition: box-shadow .15s;
}
.recent-review:hover { box-shadow: var(--shadow-md); }
.rr-biz {
  font-family: 'Open Sans', sans-serif; font-size: 16px; font-weight: 700;
  margin-bottom: 4px;
}
.rr-biz a { color: var(--primary); }
.rr-biz a:hover { color: var(--accent-dark); }
.rr-meta {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--ink-3); margin-bottom: 8px;
}
.rr-meta .stars { color: var(--accent); font-weight: 700; }
.rr-meta .rr-reviewer { color: var(--ink-2); font-weight: 600; }
.rr-body { margin: 0; font-size: 14px; line-height: 1.6; color: var(--ink-2); }
@media (max-width: 720px) {
  .recent-reviews { grid-template-columns: 1fr; }
}

/* ===== REVIEWS CARD ==================================================== */
.reviews-card { }
.more-reviews {
  display: inline-block; margin-top: 12px;
  font-size: 14px; font-weight: 600; color: var(--accent-dark);
}
.more-reviews:hover { color: var(--accent); }

/* ===== WRITE-A-REVIEW FORM ============================================= */
.write-review {
  margin-top: 22px; padding-top: 22px;
  border-top: 1px solid var(--line);
}
.write-review__title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px; letter-spacing: .04em;
  margin: 0 0 14px; color: var(--primary);
}
.review-form { display: flex; flex-direction: column; gap: 14px; position: relative; }
.field { display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.field span { color: var(--ink-2); font-weight: 600; font-size: 13px; }
.field small { color: var(--ink-3); font-weight: 400; margin-left: 4px; }
.field input, .field textarea {
  font-family: inherit; font-size: 15px;
  padding: 10px 12px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg); color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus {
  outline: 0;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(217,119,6,.16);
}
.field-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
@media (max-width: 540px) {
  .field-row { grid-template-columns: 1fr; }
}
.field-error {
  display: block; margin-top: 2px;
  font-size: 12px; color: #b91c1c;
}
.form-error {
  background: #fef2f2; border: 1px solid #fecaca; color: #991b1b;
  padding: 10px 14px; border-radius: var(--radius); font-size: 14px;
  margin: 0 0 14px;
}

/* Star rating input (CSS-only) */
.rate-row {
  display: flex; flex-direction: column; gap: 6px;
}
.rate-label {
  font-size: 13px; font-weight: 600; color: var(--ink-2);
}
.star-input {
  display: inline-flex; flex-direction: row-reverse;
  justify-content: flex-end; gap: 4px;
  font-size: 30px; line-height: 1; user-select: none;
}
.star-input input { display: none; }
.star-input label {
  cursor: pointer; color: var(--line);
  transition: color .15s;
}
.star-input input:checked ~ label,
.star-input label:hover,
.star-input label:hover ~ label {
  color: var(--accent);
}

.submit-row {
  display: flex; flex-direction: column; gap: 8px;
  align-items: flex-start;
}
.submit-row .btn-primary {
  display: inline-block; width: auto; margin: 0;
  padding: 12px 24px; font-size: 14px; letter-spacing: .04em;
}
.fine-print {
  font-size: 12px; color: var(--ink-3); margin: 0; line-height: 1.4;
}

/* Success state after submit */
.write-review--success { border-top: 0; padding-top: 0; }
.success-card {
  background: linear-gradient(135deg, var(--accent-light), #fff);
  border: 1px solid var(--accent);
  border-radius: var(--radius-md); padding: 20px 24px;
  display: flex; gap: 14px; align-items: flex-start;
}
.success-icon {
  width: 40px; height: 40px; border-radius: 999px;
  background: var(--accent); color: #fff;
  display: grid; place-items: center;
  font-weight: 700; font-size: 20px; flex-shrink: 0;
}
.success-icon .icon { width: 22px; height: 22px; stroke-width: 3; }
.success-card h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px; letter-spacing: .04em;
  margin: 0 0 6px; color: var(--primary);
}
.success-card p { margin: 0 0 8px; font-size: 14px; color: var(--ink-2); line-height: 1.55; }
.success-card p:last-child { margin-bottom: 0; }

/* WHY-LIST checklist on /add-business-listing sidebar — replaces the old
   inline-emoji ul. Each row is icon + text with a subtle separator. */
.why-list { list-style: none; margin: 0; padding: 0; }
.why-list li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 0; font-size: 14px;
  color: var(--ink-2); line-height: 1.45;
  border-bottom: 1px solid var(--line-soft);
}
.why-list li:last-child { border-bottom: 0; }
.why-list .icon {
  color: var(--accent); flex: none;
  margin-top: 2px;
  width: 16px; height: 16px; stroke-width: 2.5;
}

/* Compact form card — used by report-abuse so the form doesn't stretch the
   full content width on wide viewports. */
.form-card { max-width: 760px; }

/* ===== RESPONSIVE ====================================================== */
@media (max-width: 900px) {
  .biz-grid-2col { grid-template-columns: 1fr; }
  .biz-aside .sticky { position: static; }
  .action-bar { position: static; }
}
@media (max-width: 720px) {
  /* Hide DIRECT nav links (Top Areas / Categories / Contact) but keep the
     CTA visible and the lang-switch dropdown reachable. Use the child
     combinator so links inside .lang-switch__menu still render. */
  nav.top > a:not(.cta) { display: none; }
  .header-search { display: none; }
  .stats { gap: 12px; }
  .stat .n { font-size: 30px; }
  .hero { padding: 56px 0 64px; }
  section.block { padding: 48px 0; }
  .sec-head h2 { font-size: 28px; }
  .biz-hero { padding: 32px 0 28px; }
  .biz-hero__name { font-size: 30px; }
  .action .sub { display: none; }
  .info-grid { grid-template-columns: 100px 1fr; }
}

/* ===== SEARCH SUGGEST DROPDOWN ========================================= */
/* Positioned relative to its parent form (set by suggest.js). Wired to
   every search form on the site — header, hero, search page, 404. */
.suggest-drop {
  position: absolute;
  top: calc(100% + 4px); left: 0; right: 0;
  /* High z-index because the hero's adjacent sections (Popular Areas etc.)
     are at z-index 0 in document order — the dropdown extends out of the
     hero and must paint above them. 1000 is overkill but cheap insurance. */
  z-index: 1000;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  max-height: 420px; overflow-y: auto;
}
/* Header search drop is narrower — match its parent form width. */
.header-search .suggest-drop { max-width: 420px; }

.suggest-item {
  display: grid;
  /* Two columns: fixed-width kind chip + flexible body. The body's
     contents (label + optional sub) stack vertically so a long address
     never squeezes the business name into a single letter. */
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 12px; align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink);
  transition: background .12s, color .12s;
}
.suggest-item:last-child { border-bottom: 0; }
.suggest-item:hover,
.suggest-item.active {
  background: var(--bg-2);
  color: var(--ink);
  text-decoration: none;
}
.suggest-kind {
  display: inline-block;
  font-size: 10px; font-weight: 700;
  letter-spacing: .08em;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--accent-light); color: var(--accent-dark);
  text-align: center;
  white-space: nowrap;
}
.suggest-item--area .suggest-kind { background: #dbeafe; color: #1e3a8a; }
.suggest-item--category .suggest-kind { background: #dcfce7; color: #14532d; }
.suggest-body {
  display: flex; flex-direction: column;
  min-width: 0; /* allow children to ellipsis instead of overflowing */
  line-height: 1.35;
}
.suggest-label {
  font-weight: 600; font-size: 14px; color: var(--ink);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.suggest-sub {
  font-size: 12px; color: var(--ink-3);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  margin-top: 1px;
}
@media (max-width: 720px) {
  .suggest-item { grid-template-columns: 64px minmax(0, 1fr); }
}

/* Reduced-motion users get instant rendering, no transition. */
@media (prefers-reduced-motion: reduce) {
  .suggest-item { transition: none; }
}

/* ===== 404 PAGE ======================================================== */
.notfound {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  padding: 80px 0 100px;
  min-height: 60vh;
  display: grid; place-items: center;
}
.notfound__wrap {
  text-align: center;
  max-width: 640px;
}
.notfound__code {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 140px; line-height: 1;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: .02em;
  margin-bottom: 8px;
}
.notfound__title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 40px; letter-spacing: .04em; color: var(--primary);
  margin: 0 0 12px;
}
.notfound__lede {
  font-size: 16px; color: var(--ink-2); line-height: 1.6;
  margin: 0 0 24px;
}
.notfound__path {
  color: var(--ink-3); font-size: 14px;
  margin: 0 0 28px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  flex-wrap: wrap;
}
.notfound__path code {
  background: #fff; border: 1px solid var(--line);
  padding: 4px 10px; border-radius: var(--radius);
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 13px; color: var(--ink);
  word-break: break-all;
}
.notfound__search {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-md); padding: 6px;
  display: flex; align-items: center;
  box-shadow: var(--shadow-md);
  max-width: 520px; margin: 0 auto 28px;
}
.notfound__search input {
  flex: 1; border: 0; padding: 12px 14px;
  font: inherit; font-size: 15px; color: var(--ink); background: transparent;
  min-width: 0;
}
.notfound__search input:focus { outline: 0; }
.notfound__search button {
  background: var(--accent); color: #fff; border: 0;
  padding: 11px 18px; border-radius: var(--radius);
  font-weight: 700; font-size: 14px;
  letter-spacing: .04em; display: inline-flex; align-items: center; gap: 6px;
}
.notfound__search button:hover { background: var(--accent-dark); }
.notfound__nav {
  display: flex; flex-wrap: wrap; gap: 8px 14px;
  justify-content: center; margin-bottom: 24px;
}
.notfound__navlink {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 14px; font-weight: 600; color: var(--accent-dark);
  padding: 8px 14px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line);
  transition: background .15s, border-color .15s;
}
.notfound__navlink:hover {
  background: var(--accent-light); border-color: var(--accent);
}
.notfound__navlink .icon { color: var(--ink-3); }
.notfound__tip {
  font-size: 13px; color: var(--ink-3);
  margin: 0;
}

@media (max-width: 720px) {
  .notfound { padding: 48px 0 64px; }
  .notfound__code { font-size: 96px; }
  .notfound__title { font-size: 28px; }
}

/* ===== SEARCH PAGE ===================================================== */
.search-hero { padding: 36px 0 32px; }
.search-box-inline {
  margin-top: 18px;
  /* override hero centering so the input stretches the full hero width */
  margin-left: 0; margin-right: 0;
  max-width: 640px;
}
.nav-list-plain { list-style: none; padding: 0; margin: 0; }
.nav-list-plain li {
  padding: 10px 0; font-size: 14px;
  color: var(--ink-2); line-height: 1.55;
  border-bottom: 1px solid var(--line-soft);
}
.nav-list-plain li:last-child { border-bottom: 0; }
.nav-list-plain em {
  font-style: normal; font-weight: 600;
  color: var(--accent-dark);
}

/* =========================================================================
 * V2 DESIGN — photographic hero, image-backed category + area cards.
 * This file lives in the /opt/directory-v2 fork only. The original
 * /opt/directory binary (beta + hi-beta) is untouched.
 * ========================================================================= */

/* ── HOME hero carousel ── */
.hero-v2 {
  position: relative;
  /* No overflow:hidden on the hero itself — the search-suggest dropdown
     (.suggest-drop, absolutely positioned by suggest.js) needs to escape
     the hero box. The background slides clip themselves via the inner
     .hero-v2__slides wrapper below.

     Also NO `isolation: isolate` — that creates a stacking context which
     would trap the dropdown's z-index inside the hero. The next section
     (Popular Areas) would then paint OVER the dropdown. */
  min-height: 580px; padding: 0;
  background: var(--primary);
}
.hero-v2__slides {
  position: absolute; inset: 0; display: grid;
  /* Clip the slide images here instead of on .hero-v2 — same visual effect,
     but the dropdown sibling element isn't clipped. */
  overflow: hidden;
}
.hero-v2__slide {
  grid-area: 1/1; opacity: 0;
  animation: heroFade 24s infinite;
  background-size: cover; background-position: center;
}
.hero-v2__slide:nth-child(1) { animation-delay: 0s; }
.hero-v2__slide:nth-child(2) { animation-delay: 6s; }
.hero-v2__slide:nth-child(3) { animation-delay: 12s; }
.hero-v2__slide:nth-child(4) { animation-delay: 18s; }
@keyframes heroFade {
  0%   { opacity: 0; }
  4%   { opacity: 1; }
  25%  { opacity: 1; }
  29%  { opacity: 0; }
  100% { opacity: 0; }
}
.hero-v2::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(15,23,42,.55) 0%, rgba(15,23,42,.40) 35%, rgba(15,23,42,.72) 100%);
}
.hero-v2__content {
  position: relative; z-index: 2;
  max-width: 880px; margin: 0 auto;
  padding: 120px 24px 96px;
  text-align: center; color: #fff;
}
.hero-v2__eyebrow {
  display: inline-block; padding: 6px 14px;
  background: rgba(217,119,6,.92); color: #fff;
  font: 700 11px/1 'Open Sans', sans-serif;
  letter-spacing: .18em; text-transform: uppercase;
  border-radius: 999px; margin-bottom: 24px;
}
.hero-v2__title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(40px, 7vw, 76px); letter-spacing: .02em;
  line-height: 1.02; margin: 0 0 18px;
  text-shadow: 0 4px 24px rgba(0,0,0,.4);
}
.hero-v2__title em { color: #fbbf24; font-style: normal; }
.hero-v2__sub {
  font-size: 17px; line-height: 1.55; max-width: 64ch; margin: 0 auto 32px;
  color: rgba(255,255,255,.92); text-shadow: 0 2px 12px rgba(0,0,0,.3);
}
.hero-v2__search {
  max-width: 680px; margin: 0 auto;
  background: #fff; border-radius: 14px; padding: 7px;
  display: flex; align-items: center;
  box-shadow: 0 22px 60px rgba(0,0,0,.35), 0 4px 12px rgba(0,0,0,.2);
}
.hero-v2__search input {
  flex: 1; border: 0; padding: 16px 20px;
  font: inherit; font-size: 16px; color: var(--ink); background: transparent;
  min-width: 0;
}
.hero-v2__search input:focus { outline: 0; }
.hero-v2__search button {
  background: var(--accent); color: #fff; border: 0;
  padding: 14px 28px; border-radius: 10px;
  font: 700 14px/1 'Open Sans', sans-serif; letter-spacing: .04em;
  cursor: pointer; transition: background .15s;
}
.hero-v2__search button:hover { background: var(--accent-dark); }
.hero-v2__trust {
  display: flex; gap: 34px; justify-content: center; align-items: center;
  margin-top: 34px; flex-wrap: wrap;
}
.hero-v2__trust-item {
  color: rgba(255,255,255,.85); font-size: 13px;
  display: flex; align-items: center; gap: 6px;
}
.hero-v2__trust-item strong { color: #fbbf24; font-weight: 700; }
.hero-v2__dots {
  position: absolute; bottom: 28px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 8px;
  z-index: 2;
}
.hero-v2__dot { width: 32px; height: 3px; background: rgba(255,255,255,.4); border-radius: 2px; }

/* ── area cards with hero images ── */
.area-card-v2 {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s;
  text-decoration: none; color: inherit; display: block;
}
.area-card-v2:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(15,23,42,.12);
  border-color: var(--accent);
}
.area-card-v2__img {
  width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block;
  background: var(--bg-2);
}
.area-card-v2__body { padding: 14px 16px 16px; }
.area-card-v2__body .name {
  font-family: 'Open Sans', sans-serif; font-weight: 700; font-size: 16px;
  color: var(--primary); margin: 0 0 4px;
}
.area-card-v2__body .meta { font-size: 13px; color: var(--ink-3); }

/* ── category cards with banner background ── */
.cat-card-v2 {
  position: relative; aspect-ratio: 16/9; overflow: hidden;
  border-radius: 12px; text-decoration: none; color: #fff;
  display: flex; align-items: flex-end; padding: 18px 18px;
  transition: transform .2s, box-shadow .2s;
}
.cat-card-v2 img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
  transition: transform .35s ease-out;
}
.cat-card-v2::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, transparent 30%, rgba(15,23,42,.85) 100%);
}
.cat-card-v2__body { position: relative; z-index: 2; }
.cat-card-v2__body .name {
  font-family: 'Bebas Neue', sans-serif; font-size: 24px;
  letter-spacing: .04em; margin: 0 0 2px; line-height: 1;
}
.cat-card-v2__body .meta { font-size: 13px; opacity: .92; }
.cat-card-v2:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(15,23,42,.25); }
.cat-card-v2:hover img { transform: scale(1.04); }

/* ── category-page hero with banner background ── */
.cat-hero-v2 {
  position: relative; min-height: 340px; overflow: hidden;
  background: var(--primary); isolation: isolate;
  padding: 64px 0 56px;
}
.cat-hero-v2__bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
}
.cat-hero-v2::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(15,23,42,.45) 0%, rgba(15,23,42,.78) 100%);
}
.cat-hero-v2__inner {
  position: relative; z-index: 2; max-width: 1180px; margin: 0 auto;
  padding: 0 24px; color: #fff;
}
.cat-hero-v2__eyebrow {
  display: inline-block; padding: 5px 12px;
  background: rgba(217,119,6,.95); color: #fff;
  font: 700 10px/1 'Open Sans', sans-serif;
  letter-spacing: .18em; text-transform: uppercase;
  border-radius: 999px; margin-bottom: 18px;
}
.cat-hero-v2__title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(32px, 5vw, 56px); letter-spacing: .04em;
  line-height: 1.05; margin: 0 0 12px;
  text-shadow: 0 4px 24px rgba(0,0,0,.45);
}
.cat-hero-v2__sub {
  font-size: 16px; line-height: 1.5; max-width: 60ch;
  color: rgba(255,255,255,.92); margin: 0;
  text-shadow: 0 2px 12px rgba(0,0,0,.3);
}

/* ── business-page hero with category banner background ── */
.biz-hero-v2 {
  position: relative; overflow: hidden;
  min-height: 380px;
  background: var(--primary); isolation: isolate;
  padding: 64px 0 56px;
}
.biz-hero-v2__bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  filter: saturate(.95);
}
.biz-hero-v2::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(15,23,42,.50) 0%, rgba(15,23,42,.78) 100%);
}
.biz-hero-v2__inner {
  position: relative; z-index: 2; max-width: 1180px; margin: 0 auto;
  padding: 0 24px; color: #fff;
  display: flex; align-items: flex-end; gap: 24px; flex-wrap: wrap;
}
.biz-hero-v2__main { flex: 1; min-width: 300px; }
.biz-hero-v2__cat {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; background: rgba(217,119,6,.95);
  font: 700 11px/1 'Open Sans', sans-serif; letter-spacing: .16em; text-transform: uppercase;
  border-radius: 999px; color: #fff; text-decoration: none; margin-bottom: 18px;
}
.biz-hero-v2__cat:hover { background: var(--accent-dark); color: #fff; }
.biz-hero-v2__name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(36px, 5.5vw, 64px); letter-spacing: .02em;
  line-height: 1.02; margin: 0 0 10px;
  text-shadow: 0 4px 24px rgba(0,0,0,.45);
}
.biz-hero-v2__rating {
  display: flex; align-items: center; gap: 14px; margin-bottom: 14px; flex-wrap: wrap;
}
.biz-hero-v2__stars { color: #fbbf24; font-size: 22px; letter-spacing: 2px; line-height: 1; }
.biz-hero-v2__rating .num {
  background: rgba(255,255,255,.14); padding: 6px 12px; border-radius: 8px;
  font-weight: 700; font-size: 14px;
}
.biz-hero-v2__rating .badge-popular {
  background: #fbbf24; color: var(--primary);
  padding: 5px 10px; border-radius: 999px;
  font: 700 11px/1 'Open Sans', sans-serif; letter-spacing: .1em; text-transform: uppercase;
}
.biz-hero-v2__area {
  font-size: 16px; color: rgba(255,255,255,.92);
  display: flex; align-items: center; gap: 8px;
  text-shadow: 0 2px 12px rgba(0,0,0,.3);
}
.biz-hero-v2__area a { color: #fbbf24; font-weight: 600; }
.biz-hero-v2__cta { display: flex; gap: 10px; flex-wrap: wrap; }
.biz-hero-v2__cta a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 10px;
  font: 700 14px/1 'Open Sans', sans-serif; letter-spacing: .04em;
  text-decoration: none; transition: transform .15s, background .15s, box-shadow .15s;
}
.biz-hero-v2__cta .primary { background: var(--accent); color: #fff; }
.biz-hero-v2__cta .primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(217,119,6,.4);
}
.biz-hero-v2__cta .ghost { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.25); }
.biz-hero-v2__cta .ghost:hover { background: rgba(255,255,255,.2); }

@media (max-width: 720px) {
  .hero-v2 { min-height: 460px; }
  .hero-v2__content { padding: 80px 16px 70px; }
  .hero-v2__title { font-size: 36px; }
  .hero-v2__trust { gap: 16px; }
  .biz-hero-v2__cta a { padding: 10px 16px; font-size: 13px; }
}
