/* ===================================
   OTTAWALOCAL — Editorial Design System
   =================================== */
:root {
  --ink: #14110f;
  --ink-soft: #2a2621;
  --paper: #faf7f2;
  --paper-warm: #f4ede0;
  --cream: #ebe3d3;
  --red: #b4162b;
  --red-deep: #8a0f20;
  --red-ink: #4a0b13;
  --gold: #a88432;
  --gold-soft: #d4b877;
  --sage: #6b7a5a;
  --gray-50: #f7f4ef;
  --gray-100: #ede7dc;
  --gray-200: #d9d0c0;
  --gray-300: #b5a892;
  --gray-400: #8a7f6c;
  --gray-600: #5a5246;
  --gray-800: #2e2b26;
  --shadow-sm: 0 1px 2px rgba(20,17,15,.06);
  --shadow-md: 0 4px 20px rgba(20,17,15,.08);
  --shadow-lg: 0 12px 48px rgba(20,17,15,.12);
  --radius-sm: 4px;
  --radius: 6px;
  --radius-lg: 12px;
  --font-display: 'Fraunces', 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'ss01', 'cv11';
  /* subtle paper texture */
  background-image:
    radial-gradient(at 20% 10%, rgba(244, 237, 224, 0.6) 0%, transparent 50%),
    radial-gradient(at 80% 90%, rgba(235, 227, 211, 0.4) 0%, transparent 50%);
}

a { color: inherit; text-decoration: none; }

/* ===== NAV ===== */
.nav {
  background: var(--ink);
  color: var(--paper);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.nav-logo em {
  font-style: italic;
  color: var(--gold-soft);
  font-weight: 500;
}
.nav-logo .dot {
  color: var(--red);
  font-size: 32px;
  line-height: 0;
  margin-left: 2px;
}
.nav-links {
  display: flex;
  gap: 4px;
  list-style: none;
  align-items: center;
}
.nav-links > li > a {
  color: rgba(250, 247, 242, 0.7);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: color .2s, background .2s;
  letter-spacing: 0.01em;
  cursor: pointer;
  display: inline-block;
}
.nav-links > li > a:hover { color: var(--paper); background: rgba(255,255,255,.04); }
.nav-cta {
  background: var(--red) !important;
  color: var(--paper) !important;
  font-weight: 600 !important;
  padding: 9px 18px !important;
  border-radius: var(--radius) !important;
}
.nav-cta:hover { background: var(--red-deep) !important; }

.nav-dropdown { position: relative; }
.nav-dropdown:hover .nav-dropdown-menu { display: grid; }
.nav-dropdown > a::after { content: ' ▾'; font-size: 10px; opacity: .7; }
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 20px;
  z-index: 200;
  min-width: 560px;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.nav-dropdown-menu .dd-col { min-width: 0; }
.nav-dropdown-menu .dd-group {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  color: var(--red);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--gray-100);
}
.nav-dropdown-menu a {
  display: block;
  padding: 5px 0;
  font-size: 13px;
  color: var(--gray-800);
  transition: color .15s;
}
.nav-dropdown-menu a:hover { color: var(--red); }

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--paper);
  font-size: 24px;
  cursor: pointer;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  padding: 80px 40px 40px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 85% 20%, rgba(180, 22, 43, 0.25) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 10% 90%, rgba(168, 132, 50, 0.15) 0%, transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  mask-image: linear-gradient(180deg, black 0%, transparent 80%);
}
.hero-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
  min-height: 520px;
}
.hero-content { max-width: 620px; position: relative; z-index: 3; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 28px;
  padding: 6px 14px 6px 10px;
  border: 1px solid rgba(212, 184, 119, 0.3);
  border-radius: 100px;
  background: rgba(168, 132, 50, 0.08);
}
.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  display: inline-block;
  box-shadow: 0 0 12px var(--red);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(44px, 6.2vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 500;
  margin-bottom: 28px;
  color: var(--paper);
}
.hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold-soft);
  display: inline-block;
  position: relative;
}
.hero-title em::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: linear-gradient(90deg, var(--red), transparent);
  opacity: 0.7;
}
.hero-lede {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(250, 247, 242, 0.75);
  margin-bottom: 36px;
  max-width: 520px;
}

.search-bar {
  display: flex;
  align-items: center;
  background: var(--paper);
  border-radius: 100px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
  padding: 6px 6px 6px 20px;
  max-width: 560px;
  border: 1px solid rgba(255,255,255,.1);
  position: relative;
  z-index: 5;
}
.search-icon {
  width: 20px;
  height: 20px;
  color: var(--gray-400);
  flex-shrink: 0;
}
.search-bar input {
  flex: 1;
  padding: 16px 14px;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  background: transparent;
  min-width: 0;
}
.search-bar input::placeholder { color: var(--gray-400); }
.search-bar button {
  background: var(--ink);
  color: var(--paper);
  border: none;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
  border-radius: 100px;
  letter-spacing: 0.02em;
}
.search-bar button:hover { background: var(--red); }

.quick-chips {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.chip-label {
  font-size: 12px;
  color: rgba(250, 247, 242, 0.5);
  letter-spacing: 0.05em;
}
.chip {
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  font-size: 12px;
  color: rgba(250, 247, 242, 0.85);
  cursor: pointer;
  transition: all .2s;
}
.chip:hover {
  background: var(--red);
  color: var(--paper);
  border-color: var(--red);
}

/* Hero visual cards */
.hero-visual {
  position: relative;
  height: 480px;
}
.hero-card {
  position: absolute;
  background: var(--paper);
  color: var(--ink);
  padding: 18px 20px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 16px 50px rgba(0,0,0,.3);
  width: 320px;
  transition: transform .4s cubic-bezier(.2,.8,.2,1);
  animation: float 6s ease-in-out infinite;
}
.hero-card:hover { transform: translateY(-4px) scale(1.02); }
.hc-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}
.hc-body { flex: 1; min-width: 0; }
.hc-name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.hc-cat { font-size: 12px; color: var(--gray-600); margin-top: 2px; }
.hc-rating {
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
  white-space: nowrap;
}
.hc-1 { top: 40px; right: 20px; animation-delay: 0s; }
.hc-2 { top: 180px; right: 120px; animation-delay: -2s; }
.hc-3 { top: 320px; right: 30px; animation-delay: -4s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Stats strip */
.hero-stats-strip {
  max-width: 1320px;
  margin: 60px auto 0;
  padding: 28px 40px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 24px;
  position: relative;
  z-index: 2;
  backdrop-filter: blur(8px);
}
.stat { text-align: center; }
.stat-num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 600;
  color: var(--paper);
  letter-spacing: -0.02em;
  line-height: 1;
}
.stat-lbl {
  font-size: 11px;
  color: rgba(250, 247, 242, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-top: 8px;
}
.stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,.1);
}
#liveNow { color: #68d391; }

/* ===== AD SLOTS ===== */
.ad-slot {
  max-width: 1320px;
  margin: 40px auto;
  padding: 0 40px;
}
.ad-slot ins {
  display: block;
  min-height: 100px;
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  border: 1px dashed var(--gray-200);
}
.ad-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gray-400);
  text-align: center;
  margin-bottom: 8px;
}

/* ===== NEIGHBOURHOODS SHOWCASE ===== */
.neighbourhoods-showcase {
  max-width: 1320px;
  margin: 80px auto 60px;
  padding: 0 40px;
}
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
  gap: 20px;
  flex-wrap: wrap;
}
.section-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 500;
  color: var(--ink);
}
.section-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--red);
  padding-bottom: 4px;
  border-bottom: 2px solid var(--red);
  transition: color .2s, border-color .2s;
}
.section-link:hover { color: var(--red-deep); border-color: var(--red-deep); }

.nb-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.nb-card {
  background: var(--paper);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: all .3s cubic-bezier(.2,.8,.2,1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.nb-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--nb-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s cubic-bezier(.2,.8,.2,1);
}
.nb-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gray-200);
}
.nb-card:hover::before { transform: scaleX(1); }
.nb-emoji { font-size: 32px; margin-bottom: 8px; }
.nb-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.015em;
}
.nb-tag {
  font-size: 12px;
  color: var(--gray-600);
  letter-spacing: 0.02em;
}

/* ===== IMPORT BANNER ===== */
.import-banner {
  background: linear-gradient(135deg, #1a1612 0%, #2a1f1a 100%);
  padding: 20px 40px;
  margin: 0;
  border-top: 1px solid rgba(255,255,255,.05);
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.import-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.import-info { color: rgba(250,247,242,.6); font-size: 14px; }
.import-info strong { color: var(--paper); margin-right: 8px; }
.import-controls {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.import-select {
  padding: 9px 14px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--paper);
  background: rgba(255,255,255,.04);
  cursor: pointer;
  outline: none;
}
.import-btn {
  background: var(--red);
  color: var(--paper);
  border: none;
  padding: 9px 20px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
  white-space: nowrap;
}
.import-btn:hover { background: var(--red-deep); }
.import-btn:disabled { background: #4a5568; cursor: not-allowed; }
.import-status { font-size: 13px; color: #68d391; font-weight: 500; min-width: 150px; }
.auto-import-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(250,247,242,.7);
  cursor: pointer;
}
.auto-import-toggle input { accent-color: var(--red); }

/* ===== MAIN DIRECTORY ===== */
.main {
  max-width: 1320px;
  margin: 0 auto;
  padding: 56px 40px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  scroll-margin-top: 80px;
}

.sidebar-section { margin-bottom: 36px; }
.sidebar-title {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gray-400);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--gray-200);
}
.category-list { list-style: none; }
.category-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 14px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all .2s;
  font-size: 14px;
  color: var(--gray-800);
  margin-bottom: 2px;
}
.category-list li:hover { background: var(--gray-100); }
.category-list li.active {
  background: var(--ink);
  color: var(--paper);
  font-weight: 500;
}
.category-list li .count {
  font-size: 12px;
  color: var(--gray-400);
  background: var(--gray-100);
  padding: 2px 9px;
  border-radius: 20px;
  font-variant-numeric: tabular-nums;
}
.category-list li.active .count {
  background: rgba(255,255,255,.15);
  color: var(--paper);
}

.neighbourhood-select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--gray-800);
  background: var(--paper);
  cursor: pointer;
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238a7f6c' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  transition: border-color .2s;
}
.neighbourhood-select:focus { border-color: var(--red); }

.nb-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nb-clear {
  font-size: 11px;
  color: var(--red);
  cursor: pointer;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}
.nb-clear:hover { text-decoration: underline; }
.nb-active-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--red);
  color: var(--paper);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin-top: 12px;
}
.nb-active-pill button {
  background: none;
  border: none;
  color: var(--paper);
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  padding: 0;
}

.ad-sidebar {
  background: var(--gray-50);
  border: 1px dashed var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 16px;
  text-align: center;
}
.ad-sidebar .ad-label { margin-bottom: 8px; }

.advertise-promo {
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-soft) 100%);
  color: var(--paper);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
}
.ap-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.advertise-promo p {
  font-size: 13px;
  color: rgba(250, 247, 242, 0.7);
  margin-bottom: 16px;
  line-height: 1.5;
}
.advertise-promo button {
  background: var(--red);
  color: var(--paper);
  border: none;
  padding: 9px 18px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
  width: 100%;
}
.advertise-promo button:hover { background: var(--red-deep); }

/* Content */
.content-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 16px;
  flex-wrap: wrap;
}
.content-header h2 {
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.content-header h2 span {
  color: var(--gray-400);
  font-size: 18px;
  font-family: var(--font-body);
  font-weight: 400;
  margin-left: 8px;
}
.content-controls {
  display: flex;
  gap: 12px;
  align-items: center;
}
.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  background: rgba(104, 211, 145, 0.1);
  border: 1px solid rgba(104, 211, 145, 0.25);
  color: #2d7a4a;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2d7a4a;
  animation: pulse-dot 1.5s ease-in-out infinite;
}
.sort-select {
  padding: 9px 14px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--gray-800);
  background: var(--paper);
  cursor: pointer;
  outline: none;
}

.business-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.business-card {
  background: var(--paper);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all .3s cubic-bezier(.2,.8,.2,1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.business-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--gray-200);
}
.business-card.featured {
  border-color: var(--gold-soft);
  background: linear-gradient(135deg, #fffdf7 0%, var(--paper) 60%);
}
.featured-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--gold);
  color: var(--paper);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 5px 12px;
  border-bottom-left-radius: 8px;
}
.google-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: #4285f4;
  color: var(--paper);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 5px 12px;
  border-bottom-left-radius: 8px;
}
.card-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
}
.biz-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
  overflow: hidden;
}
.biz-icon img { width: 100%; height: 100%; object-fit: cover; }
.biz-info { flex: 1; min-width: 0; }
.biz-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
  letter-spacing: -0.015em;
  line-height: 1.25;
}
.biz-category {
  font-size: 11px;
  color: var(--red);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.biz-desc {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.55;
  margin-bottom: 16px;
  flex: 1;
}
.biz-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  color: var(--gray-600);
  padding-top: 14px;
  border-top: 1px solid var(--gray-100);
}
.biz-meta span { display: inline-flex; align-items: center; gap: 4px; }
.biz-meta a { color: var(--red); font-weight: 500; }
.biz-meta a:hover { text-decoration: underline; }
.stars { color: #e8a82c; letter-spacing: -1px; }
.rating-num { color: var(--gray-800); font-weight: 600; }
.view-link {
  margin-top: 12px;
  font-size: 13px;
  color: var(--red);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap .2s;
}
.business-card:hover .view-link { gap: 8px; }

.inline-ad {
  grid-column: 1 / -1;
  background: var(--gray-50);
  border: 1px dashed var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.inline-ad-content { font-size: 14px; color: var(--gray-600); flex: 1; }
.inline-ad .ad-label { display: inline-block; margin: 0 8px 0 0; }

.ad-slot-bottom {
  margin: 40px 0 0;
  padding: 0;
}

.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 20px;
  color: var(--gray-400);
}
.no-results h3 {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--gray-600);
  margin-bottom: 8px;
}
.loading-spinner {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px;
  color: var(--gray-400);
}
.spinner {
  display: inline-block;
  width: 36px;
  height: 36px;
  border: 3px solid var(--gray-200);
  border-top-color: var(--red);
  border-radius: 50%;
  animation: spin .8s linear infinite;
  margin-bottom: 16px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== WHY SECTION ===== */
.why-section {
  background: var(--ink);
  color: var(--paper);
  margin-top: 60px;
  padding: 100px 40px;
  position: relative;
  overflow: hidden;
}
.why-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 50%, rgba(180, 22, 43, 0.12) 0%, transparent 60%);
  pointer-events: none;
}
.why-inner {
  max-width: 1320px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}
.why-section .section-eyebrow { color: var(--gold-soft); }
.why-section .section-title { color: var(--paper); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.why-card {
  padding: 28px 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  transition: all .3s;
}
.why-card:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-4px);
}
.why-icon { font-size: 32px; margin-bottom: 16px; }
.why-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}
.why-card p {
  font-size: 14px;
  color: rgba(250, 247, 242, 0.65);
  line-height: 1.6;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--ink);
  color: rgba(250, 247, 242, 0.5);
  padding: 60px 40px 32px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.footer-brand {
  max-width: 360px;
}
.footer-brand .nav-logo {
  font-size: 26px;
  margin-bottom: 12px;
  color: var(--paper);
}
.footer-brand p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
}
.footer-col h4 {
  font-family: var(--font-display);
  color: var(--paper);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 16px;
  font-weight: 600;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a {
  font-size: 13px;
  color: rgba(250, 247, 242, 0.6);
  transition: color .2s;
}
.footer-col a:hover { color: var(--gold-soft); }
.footer-bottom {
  max-width: 1320px;
  margin: 0 auto;
  padding-top: 32px;
  text-align: center;
  font-size: 12px;
  color: rgba(250, 247, 242, 0.35);
}
.footer-bottom a { color: rgba(250, 247, 242, 0.5); }

/* ===== MODAL ===== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(20, 17, 15, 0.65);
  z-index: 200;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 40px;
  width: 100%;
  max-width: 540px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  margin: 20px;
}
.modal h2 {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.modal > p {
  color: var(--gray-600);
  font-size: 15px;
  margin-bottom: 28px;
  line-height: 1.5;
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
  outline: none;
  transition: border-color .2s;
  background: var(--paper);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--red); }
.form-group textarea { resize: vertical; min-height: 90px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.btn-submit {
  width: 100%;
  background: var(--ink);
  color: var(--paper);
  border: none;
  padding: 15px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
  margin-top: 8px;
  letter-spacing: 0.01em;
}
.btn-submit:hover { background: var(--red); }
.btn-cancel {
  width: 100%;
  background: transparent;
  color: var(--gray-600);
  border: 1px solid var(--gray-200);
  padding: 12px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 14px;
  cursor: pointer;
  margin-top: 10px;
  transition: background .2s;
}
.btn-cancel:hover { background: var(--gray-100); }

/* Advertise modal */
.adv-modal { max-width: 680px; }
.adv-hero {
  background: linear-gradient(135deg, var(--ink) 0%, var(--red-ink) 100%);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 28px;
  text-align: center;
}
.adv-hero h3 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  color: var(--paper);
  margin-bottom: 8px;
  letter-spacing: -0.015em;
}
.adv-hero p {
  color: rgba(250, 247, 242, 0.7);
  font-size: 14px;
  line-height: 1.6;
}
.pkg-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; margin-bottom: 24px; }
.pkg {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 18px;
  text-align: center;
}
.pkg.popular {
  border-color: var(--red);
  background: linear-gradient(135deg, #fff5f3 0%, var(--paper) 100%);
}
.pkg-badge {
  background: var(--red);
  color: var(--paper);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 3px 10px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 10px;
}
.pkg-name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.pkg-price {
  font-size: 24px;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 10px;
  font-family: var(--font-display);
}
.pkg-price span { font-size: 13px; font-weight: 400; color: var(--gray-400); }
.pkg-features {
  font-size: 12px;
  color: var(--gray-600);
  line-height: 1.9;
  text-align: left;
  list-style: none;
  padding: 0;
}
.pkg-features li::before { content: '✓ '; color: var(--red); font-weight: 700; }

.contact-strip {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
  flex-wrap: wrap;
  align-items: center;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--gray-800);
}
.contact-item a { color: var(--red); font-weight: 600; }
.contact-item a:hover { text-decoration: underline; }

.divider {
  text-align: center;
  color: var(--gray-400);
  font-size: 13px;
  margin: 20px 0;
  position: relative;
}
.divider::before,
.divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 40%;
  height: 1px;
  background: var(--gray-200);
}
.divider::before { left: 0; }
.divider::after { right: 0; }

.gform-btn {
  display: block;
  width: 100%;
  background: var(--paper);
  color: var(--gray-800);
  border: 2px solid var(--gray-200);
  padding: 13px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  margin-top: 10px;
  transition: all .2s;
}
.gform-btn:hover { border-color: var(--red); color: var(--red); }

/* Toast */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--ink);
  color: var(--paper);
  padding: 14px 24px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(10px);
  transition: all .3s;
  z-index: 999;
  pointer-events: none;
}
.toast.show { opacity: 1; transform: translateY(0); pointer-events: auto; }

/* ===== PAGE LAYOUTS (detail/article pages) ===== */
.page-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 40px 80px;
}
.breadcrumbs {
  font-size: 13px;
  color: var(--gray-400);
  margin-bottom: 24px;
  letter-spacing: 0.01em;
}
.breadcrumbs a {
  color: var(--gray-600);
  transition: color .2s;
}
.breadcrumbs a:hover { color: var(--red); }
.breadcrumbs span { margin: 0 6px; opacity: .5; }

.page-hero {
  background: var(--ink);
  color: var(--paper);
  padding: 60px 40px 80px;
  position: relative;
  overflow: hidden;
  margin-bottom: 40px;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(180,22,43,.18) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.page-hero .breadcrumbs { color: rgba(250,247,242,.5); }
.page-hero .breadcrumbs a { color: rgba(250,247,242,.7); }
.page-hero .breadcrumbs a:hover { color: var(--gold-soft); }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 500;
  color: var(--paper);
  margin-bottom: 16px;
}
.page-hero h1 em { font-style: italic; color: var(--gold-soft); }
.page-hero p {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(250, 247, 242, 0.75);
  max-width: 640px;
}

.prose {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 720px;
  margin: 0 auto;
}
.prose h2 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 48px 0 16px;
  line-height: 1.15;
}
.prose h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 32px 0 12px;
}
.prose p { margin-bottom: 20px; }
.prose ul, .prose ol { margin: 0 0 24px 24px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--red); font-weight: 500; border-bottom: 1px solid transparent; transition: border-color .2s; }
.prose a:hover { border-bottom-color: var(--red); }
.prose blockquote {
  border-left: 3px solid var(--red);
  padding: 8px 0 8px 24px;
  margin: 24px 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 20px;
  color: var(--gray-800);
}

/* Business detail page */
.biz-detail {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}
.biz-detail-main {}
.biz-detail-sidebar {}
.biz-detail-photo {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius-lg);
  background: var(--gray-100);
  margin-bottom: 32px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
}
.biz-detail-photo img { width: 100%; height: 100%; object-fit: cover; }
.biz-detail h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 500;
  margin-bottom: 12px;
}
.biz-detail .biz-category {
  font-size: 12px;
  color: var(--red);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 16px;
  display: inline-block;
}
.biz-tagline {
  font-size: 18px;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 24px;
}
.biz-rating-block {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  margin-bottom: 32px;
}
.biz-rating-block .rating-big {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.biz-description-full {
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 32px;
}
.biz-info-card {
  background: var(--paper);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: sticky;
  top: 100px;
}
.biz-info-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.biz-info-row {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 14px;
}
.biz-info-row:last-child { border-bottom: none; }
.biz-info-row .label {
  color: var(--gray-400);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  width: 80px;
  flex-shrink: 0;
  padding-top: 2px;
}
.biz-info-row .value { flex: 1; color: var(--ink); font-weight: 500; }
.biz-info-row .value a { color: var(--red); }
.biz-info-row .value a:hover { text-decoration: underline; }
.biz-cta-btn {
  display: block;
  width: 100%;
  background: var(--ink);
  color: var(--paper);
  padding: 14px;
  border-radius: var(--radius);
  text-align: center;
  font-weight: 600;
  margin-top: 20px;
  transition: background .2s;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-family: var(--font-body);
}
.biz-cta-btn:hover { background: var(--red); }

/* Related listings */
.related-section {
  max-width: 1100px;
  margin: 80px auto 0;
  padding: 0 40px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Article listing (blog) */
.article-grid {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}
.article-card {
  background: var(--paper);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all .3s;
  cursor: pointer;
  border: 1px solid var(--gray-100);
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.article-img {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 72px;
}
.article-body { padding: 28px; }
.article-meta {
  font-size: 11px;
  color: var(--red);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 10px;
}
.article-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 10px;
  color: var(--ink);
}
.article-excerpt {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.55;
  margin-bottom: 14px;
}
.article-footer {
  font-size: 13px;
  color: var(--gray-400);
  display: flex;
  justify-content: space-between;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
  .why-inner { grid-template-columns: 1fr; gap: 40px; }
  .why-grid { grid-template-columns: 1fr; }
  .nb-grid { grid-template-columns: repeat(3, 1fr); }
  .biz-detail { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .article-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .nav-dropdown-menu { grid-template-columns: repeat(2, 1fr); min-width: 320px; }
}
@media (max-width: 768px) {
  .nav-inner { padding: 0 20px; height: 60px; }
  .nav-links { display: none; position: absolute; top: 60px; left: 0; right: 0; background: var(--ink); flex-direction: column; padding: 16px; gap: 4px; border-bottom: 1px solid rgba(255,255,255,.08); z-index: 99; }
  .nav-links.open { display: flex; }
  .nav-links > li { width: 100%; }
  .nav-links > li > a { display: block; width: 100%; padding: 12px 16px; }
  .nav-dropdown-menu { position: static; transform: none; min-width: 0; box-shadow: none; background: rgba(255,255,255,.03); color: var(--paper); border: none; padding: 12px; }
  .nav-dropdown-menu a { color: rgba(250,247,242,.7); }
  .mobile-toggle { display: block; }
  .hero { padding: 56px 20px 32px; }
  .hero-stats-strip { padding: 20px 16px; gap: 8px; flex-wrap: wrap; }
  .stat-num { font-size: 26px; }
  .stat-divider { display: none; }
  .stat { flex: 1 1 40%; min-width: 100px; }
  .main { grid-template-columns: 1fr; padding: 32px 20px; gap: 32px; }
  .business-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .nb-grid { grid-template-columns: 1fr 1fr; }
  .neighbourhoods-showcase { padding: 0 20px; margin-top: 60px; }
  .why-section { padding: 60px 20px; }
  .import-banner { padding: 16px 20px; }
  .content-header h2 { font-size: 26px; }
  .ad-slot { padding: 0 20px; }
  .page-wrap { padding: 24px 20px 60px; }
  .biz-detail { padding: 0 20px; }
  .article-grid { padding: 0 20px; gap: 24px; }
  .related-section { padding: 0 20px; }
  .page-hero { padding: 40px 20px 60px; }
  .footer { padding: 40px 20px 24px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .pkg-grid { grid-template-columns: 1fr; }
  .contact-strip { flex-direction: column; gap: 12px; align-items: flex-start; }
  .modal { padding: 28px 20px; }
}
