/* ============================================================
   دليل بَرق - Premium Arabic Business Directory
   Design System v3.0 — Indigo Dark Theme, RTL-First, Mobile-First
   Inspired by Linear.app, Vercel, Stripe
   ============================================================ */

/* ============ RESET & BASE ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Core palette — near-black base */
  --bg-primary: #0A0A0B;
  --bg-secondary: #101012;
  --bg-card: #141416;
  --bg-card-hover: #1A1A1D;
  --bg-elevated: #1C1C1F;
  --bg-surface: rgba(255, 255, 255, 0.02);
  
  /* Borders */
  --border-subtle: #1E1E22;
  --border-default: #2A2A2F;
  --border-hover: rgba(99, 102, 241, 0.4);
  --border-accent: rgba(99, 102, 241, 0.5);
  
  /* Text */
  --text-primary: #F4F4F5;
  --text-secondary: #A1A1AA;
  --text-muted: #71717A;
  --text-accent: #818CF8;
  
  /* Accent colors — indigo/violet */
  --accent: #6366F1;
  --accent-light: #818CF8;
  --accent-dark: #4F46E5;
  --accent-glow: rgba(99, 102, 241, 0.12);
  --accent-glow-strong: rgba(99, 102, 241, 0.2);
  
  /* Secondary accent — purple */
  --purple: #8B5CF6;
  --purple-light: #A78BFA;
  --purple-glow: rgba(139, 92, 246, 0.12);
  
  /* Semantic colors */
  --red: #EF4444;
  --red-light: #FCA5A5;
  --red-bg: rgba(239, 68, 68, 0.08);
  --red-border: rgba(239, 68, 68, 0.2);
  --green: #22C55E;
  --green-bg: rgba(34, 197, 94, 0.1);
  --gold: #FBBF24;
  --gold-light: #FDE68A;
  
  /* Category colors — subtle, muted */
  --cat-restaurants: #F87171;
  --cat-restaurants-bg: rgba(248, 113, 113, 0.1);
  --cat-dental: #34D399;
  --cat-dental-bg: rgba(52, 211, 153, 0.1);
  --cat-salons: #C084FC;
  --cat-salons-bg: rgba(192, 132, 252, 0.1);
  --cat-gyms: #FBBF24;
  --cat-gyms-bg: rgba(251, 191, 36, 0.1);
  --cat-carwash: #22D3EE;
  --cat-carwash-bg: rgba(34, 211, 238, 0.1);
  --cat-bakeries: #FB923C;
  --cat-bakeries-bg: rgba(251, 146, 60, 0.1);
  --cat-medical: #2DD4BF;
  --cat-medical-bg: rgba(45, 212, 191, 0.1);
  --cat-auto: #94A3B8;
  --cat-auto-bg: rgba(148, 163, 184, 0.1);
  --cat-laundry: #38BDF8;
  --cat-laundry-bg: rgba(56, 189, 248, 0.1);
  --cat-other: #A78BFA;
  --cat-other-bg: rgba(167, 139, 250, 0.1);
  
  /* Layout */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;
  --max-width: 1200px;
  --nav-height: 64px;
  
  /* Shadows — minimal, mostly border-based */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.1);
  
  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --duration-fast: 150ms;
  --duration-normal: 200ms;
  --duration-slow: 400ms;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'IBM Plex Sans Arabic', 'Segoe UI', Tahoma, Arial, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.8;
  font-weight: 400;
  direction: rtl;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* Selection */
::selection {
  background: rgba(99, 102, 241, 0.3);
  color: white;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { 
  background: var(--border-default); 
  border-radius: 3px; 
}
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* Links */
a { 
  color: var(--text-accent); 
  text-decoration: none; 
  transition: color var(--duration-fast) var(--ease-out); 
}
a:hover { color: var(--accent-light); }

/* Container */
.container { 
  max-width: var(--max-width); 
  margin: 0 auto; 
  padding: 0 1.5rem; 
}

/* ============ INLINE SVG ICON UTILITIES ============ */
.icon-inline {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  flex-shrink: 0;
}

.icon-inline svg {
  display: block;
}

.icon-muted {
  color: var(--text-muted);
}

.icon-accent {
  color: var(--accent-light);
}

/* ============ NAVIGATION ============ */
.main-nav {
  background: rgba(10, 10, 11, 0.8);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow var(--duration-normal) var(--ease-out),
              border-color var(--duration-normal) var(--ease-out);
}

.main-nav.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  border-bottom-color: var(--border-default);
}

.nav-inner { 
  display: flex; 
  align-items: center; 
  justify-content: space-between;
  width: 100%;
  height: 100%;
}

.logo {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary) !important;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: opacity var(--duration-fast);
}

.logo:hover { opacity: 0.8; }

.logo-icon {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--accent), var(--purple));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.logo-icon svg {
  display: block;
}

/* ============ HERO SECTION ============ */
.hero {
  position: relative;
  padding: 5.5rem 0 4.5rem;
  text-align: center;
  overflow: hidden;
  background: var(--bg-primary);
}

/* Subtle gradient orbs */
.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.3;
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--purple-light) 50%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.8;
  font-weight: 400;
}

.hero-line {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--purple));
  margin: 2.5rem auto 0;
  border-radius: 1px;
}

/* ============ STATS BAR ============ */
.stats-bar {
  background: var(--bg-secondary);
  padding: 2rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.stats-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}

.stat { 
  text-align: center;
  padding: 0 3rem;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-subtle);
  flex-shrink: 0;
}

.stat-num {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  font-weight: 400;
}

/* ============ CITIES SECTION ============ */
.cities-section {
  padding: 4.5rem 0 5rem;
}

.cities-section h2 {
  text-align: center;
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
  line-height: 1.3;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  font-size: 0.95rem;
}

.city-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}

.city-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: all var(--duration-normal) ease;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  color: var(--text-primary) !important;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.city-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.city-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-glow);
  color: var(--accent-light);
  flex-shrink: 0;
}

.city-card-icon svg {
  display: block;
}

.city-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
}

.city-stats {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.city-stats span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.no-web-pct { 
  color: var(--red-light); 
  font-weight: 500;
  font-size: 0.82rem;
}

.no-web-pct .icon-inline {
  color: var(--red);
}

.city-arrow {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateX(8px);
  transition: all var(--duration-normal) var(--ease-out);
  color: var(--accent-light);
}

.city-arrow svg {
  display: block;
}

.city-card:hover .city-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ============ BREADCRUMBS ============ */
.breadcrumbs {
  padding: 1.25rem 0 0.75rem;
}

.breadcrumbs ol {
  list-style: none;
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  align-items: center;
}

.breadcrumbs li {
  display: flex;
  align-items: center;
}

.breadcrumb-sep {
  color: var(--text-muted);
  opacity: 0.4;
  display: flex;
  align-items: center;
}

.breadcrumb-sep svg {
  display: block;
}

.breadcrumbs a {
  color: var(--text-muted);
  transition: color var(--duration-fast);
  font-weight: 400;
}

.breadcrumbs a:hover { color: var(--text-accent); }
.breadcrumbs .current { color: var(--text-secondary); font-weight: 500; }

/* ============ PAGE HEADER (Listing pages) ============ */
h1 { 
  font-size: 1.75rem; 
  font-weight: 700;
  margin-bottom: 0.3rem; 
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.listing-count {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  font-weight: 400;
}

/* ============ CATEGORY FILTERS ============ */
.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.5rem 0 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.cat-filter {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary) !important;
  transition: all var(--duration-fast) ease;
  white-space: nowrap;
  cursor: pointer;
}

.cat-filter:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-default);
  color: var(--text-primary) !important;
}

.cat-filter.active {
  background: var(--accent);
  color: white !important;
  border-color: var(--accent);
  font-weight: 600;
}

/* ============ BUSINESS CARDS GRID ============ */
.biz-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1rem;
  margin-bottom: 2.5rem;
}

/* ============ BUSINESS CARD ============ */
.biz-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: all var(--duration-normal) ease;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
}

.biz-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.biz-card-link {
  display: block;
  color: var(--text-primary) !important;
  flex: 1;
}

.biz-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.biz-card-header h3 {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.5;
  flex: 1;
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* Category badge */
.category-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.7rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
  letter-spacing: 0.01em;
  background: var(--accent-glow);
  color: var(--accent-light);
  border: 1px solid transparent;
}

/* Category-specific badge colors */
.category-badge.cat-restaurants { background: var(--cat-restaurants-bg); color: var(--cat-restaurants); border-color: rgba(248, 113, 113, 0.12); }
.category-badge.cat-dental { background: var(--cat-dental-bg); color: var(--cat-dental); border-color: rgba(52, 211, 153, 0.12); }
.category-badge.cat-salons { background: var(--cat-salons-bg); color: var(--cat-salons); border-color: rgba(192, 132, 252, 0.12); }
.category-badge.cat-gyms { background: var(--cat-gyms-bg); color: var(--cat-gyms); border-color: rgba(251, 191, 36, 0.12); }
.category-badge.cat-carwash { background: var(--cat-carwash-bg); color: var(--cat-carwash); border-color: rgba(34, 211, 238, 0.12); }
.category-badge.cat-bakeries { background: var(--cat-bakeries-bg); color: var(--cat-bakeries); border-color: rgba(251, 146, 60, 0.12); }
.category-badge.cat-medical { background: var(--cat-medical-bg); color: var(--cat-medical); border-color: rgba(45, 212, 191, 0.12); }
.category-badge.cat-auto { background: var(--cat-auto-bg); color: var(--cat-auto); border-color: rgba(148, 163, 184, 0.12); }
.category-badge.cat-laundry { background: var(--cat-laundry-bg); color: var(--cat-laundry); border-color: rgba(56, 189, 248, 0.12); }
.category-badge.cat-other { background: var(--cat-other-bg); color: var(--cat-other); border-color: rgba(167, 139, 250, 0.12); }

/* ============ SVG Star Ratings ============ */
.biz-card-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}

.stars, .stars-large {
  display: inline-flex;
  align-items: center;
  gap: 1px;
}

.star-svg {
  display: block;
  flex-shrink: 0;
}

.stars .star-svg {
  width: 14px;
  height: 14px;
}

.stars-large .star-svg {
  width: 20px;
  height: 20px;
}

.no-rating {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.rating-num { 
  font-weight: 700; 
  font-size: 0.95rem;
  color: var(--text-primary);
}

.reviews { 
  color: var(--text-muted); 
  font-size: 0.82rem;
  font-weight: 400;
}

/* Address */
.biz-address {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.6;
  overflow-wrap: break-word;
  word-break: break-word;
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
}

.biz-address .icon-inline {
  margin-top: 2px;
  flex-shrink: 0;
}

/* Phone */
.biz-phone {
  font-size: 0.88rem;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border-subtle);
}

.biz-phone a { 
  direction: ltr; 
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-secondary) !important;
  transition: color var(--duration-fast);
}

.biz-phone a:hover { color: var(--accent-light) !important; }

.biz-phone .icon-inline {
  color: var(--text-muted);
}

/* No website badge */
.no-website-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.65rem;
  padding: 0.35rem 0.75rem;
  background: var(--red-bg);
  border: 1px solid var(--red-border);
  color: var(--red-light);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 500;
}

.no-website-badge .icon-inline {
  color: var(--red);
}

.no-results {
  text-align: center;
  color: var(--text-muted);
  padding: 4rem 2rem;
  grid-column: 1 / -1;
  font-size: 1.05rem;
}

/* ============ PAGINATION ============ */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.35rem;
  padding: 2.5rem 0 3rem;
  flex-wrap: wrap;
}

.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 0.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-secondary) !important;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--duration-fast) ease;
}

.page-btn:hover { 
  background: var(--bg-card-hover); 
  border-color: var(--border-default);
  color: var(--text-primary) !important;
}

.page-btn.active { 
  background: var(--accent); 
  border-color: var(--accent); 
  color: white !important;
  font-weight: 700; 
}

.page-dots { 
  color: var(--text-muted); 
  padding: 0 0.3rem; 
  font-size: 0.85rem;
}

/* ============ BUSINESS DETAIL PAGE ============ */
.biz-page { 
  padding: 0.5rem 0 4rem; 
}

.biz-detail { 
  max-width: 800px; 
}

.biz-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.biz-header h1 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  flex: 1;
  line-height: 1.3;
}

.biz-rating-large {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.rating-number { 
  font-size: 1.4rem; 
  font-weight: 700;
  color: var(--text-primary);
}

.review-count { 
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Business description */
.biz-description {
  margin: 0 0 1.5rem;
  padding: 1.25rem;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.biz-description p {
  line-height: 1.9;
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin: 0;
}

/* Info grid */
.biz-info-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.info-item {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  transition: border-color var(--duration-fast);
}

.info-item:hover {
  border-color: var(--border-default);
}

.info-icon { 
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-glow);
  border-radius: var(--radius-sm);
  color: var(--accent-light);
}

.info-icon svg {
  display: block;
}

.info-item strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 500;
}

.info-item p { 
  margin-bottom: 0.3rem; 
  font-size: 0.95rem;
  line-height: 1.6;
}

.maps-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  margin-top: 0.3rem;
  color: var(--text-accent) !important;
  font-weight: 500;
}

.maps-link svg {
  display: block;
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  background: #25D366;
  color: white !important;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  margin-top: 0.5rem;
  transition: all var(--duration-fast) ease;
}

.whatsapp-btn svg {
  display: block;
}

.whatsapp-btn:hover { 
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
}

/* Map */
.map-embed {
  margin: 2rem 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.map-embed iframe {
  display: block;
}

/* No website notice */
.no-website-notice {
  background: var(--red-bg);
  border: 1px solid var(--red-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin: 2rem 0;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.no-web-icon {
  color: var(--red);
  display: flex;
  align-items: center;
}

.no-web-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

.no-web-text {
  color: var(--red-light);
  font-weight: 500;
  font-size: 0.95rem;
}

/* ============ CTA BOX ============ */
.cta-box {
  position: relative;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(139, 92, 246, 0.08) 100%);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  margin: 2.5rem 0;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--purple));
}

.cta-box h2 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
  line-height: 1.3;
}

.cta-box p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 1rem;
  line-height: 1.8;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 2rem;
  background: linear-gradient(135deg, var(--accent), var(--purple));
  color: white !important;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--duration-normal) ease;
  border: none;
  cursor: pointer;
}

.cta-btn svg {
  display: block;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

.cta-btn:active {
  transform: translateY(0);
}

/* ============ FOOTER ============ */
.main-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding: 2.5rem 0 2rem;
  text-align: center;
  margin-top: auto;
}

.footer-brand {
  margin-bottom: 1.25rem;
}

.footer-brand .logo {
  display: inline-flex;
  font-size: 1.15rem;
}

.main-footer p { 
  margin-bottom: 0.5rem; 
  color: var(--text-muted); 
  font-size: 0.88rem; 
}

.main-footer p a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.main-footer p a svg {
  display: block;
}

.main-footer a { color: var(--text-accent); }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.82rem;
}

.footer-links a {
  color: var(--text-muted) !important;
  transition: color var(--duration-fast);
  font-weight: 400;
}

.footer-links a:hover {
  color: var(--text-accent) !important;
}

.footer-copy {
  margin-top: 1.25rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  opacity: 0.5;
}

/* ============ ANIMATIONS ============ */
@keyframes fadeInUp {
  from { 
    opacity: 0;
    transform: translateY(12px); 
  }
  to { 
    opacity: 1;
    transform: translateY(0); 
  }
}

.city-card,
.biz-card {
  animation: fadeInUp 0.4s var(--ease-out) both;
}

/* Staggered entrance */
.city-card:nth-child(2), .biz-card:nth-child(2) { animation-delay: 30ms; }
.city-card:nth-child(3), .biz-card:nth-child(3) { animation-delay: 60ms; }
.city-card:nth-child(4), .biz-card:nth-child(4) { animation-delay: 90ms; }
.city-card:nth-child(5), .biz-card:nth-child(5) { animation-delay: 120ms; }
.city-card:nth-child(6), .biz-card:nth-child(6) { animation-delay: 150ms; }
.city-card:nth-child(7), .biz-card:nth-child(7) { animation-delay: 180ms; }
.city-card:nth-child(8), .biz-card:nth-child(8) { animation-delay: 210ms; }
.city-card:nth-child(9) { animation-delay: 240ms; }
.city-card:nth-child(10) { animation-delay: 270ms; }
.city-card:nth-child(11) { animation-delay: 300ms; }
.city-card:nth-child(12) { animation-delay: 330ms; }
.city-card:nth-child(13) { animation-delay: 360ms; }

.hero h1 {
  animation: fadeInUp 0.5s var(--ease-out) both;
}

.hero-subtitle {
  animation: fadeInUp 0.5s var(--ease-out) 0.1s both;
}

.hero-line {
  animation: fadeInUp 0.5s var(--ease-out) 0.2s both;
}

/* ============ RESPONSIVE ============ */

/* Tablet */
@media (max-width: 768px) {
  :root {
    --nav-height: 56px;
  }
  
  .container {
    padding: 0 1.25rem;
  }
  
  .hero {
    padding: 4rem 0 3rem;
  }
  
  .hero h1 { font-size: 2rem; }
  .hero-subtitle { font-size: 1rem; }
  
  .stats-inner { 
    gap: 0;
  }
  .stat { padding: 0 1.5rem; }
  .stat-num { font-size: 1.6rem; }
  .stat-divider { display: none; }
  
  .cities-section { padding: 3rem 0; }
  .cities-section h2 { font-size: 1.5rem; }
  .city-grid { 
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); 
    gap: 0.75rem;
  }
  
  .biz-grid { 
    grid-template-columns: 1fr; 
    gap: 0.75rem;
  }
  
  h1 { 
    font-size: 1.5rem; 
    overflow-wrap: break-word;
  }
  .biz-header h1 { font-size: 1.6rem; }
  
  .biz-card-header h3 {
    font-size: 1rem;
    overflow-wrap: break-word;
  }
  
  .category-filters { 
    gap: 0.4rem; 
    margin: 1rem 0 1.5rem;
    padding-bottom: 1rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-left: 0.5rem;
  }
  
  .category-filters::-webkit-scrollbar { display: none; }
  
  .cat-filter { 
    padding: 0.4rem 0.8rem; 
    font-size: 0.82rem; 
    flex-shrink: 0;
  }
  
  .cta-box { 
    padding: 2rem 1.5rem; 
    margin: 2rem 0;
  }
  
  .cta-box h2 { font-size: 1.2rem; }
  
  .info-item {
    padding: 1rem;
  }
  
  .pagination {
    padding: 2rem 0;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  
  .logo { font-size: 1.1rem; gap: 0.45rem; }
  .logo-icon { width: 30px; height: 30px; }
  .logo-icon svg { width: 15px; height: 15px; }
  
  .hero { 
    padding: 3rem 0 2rem; 
  }
  
  .hero h1 { font-size: 1.65rem; }
  
  .stats-inner { 
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
  
  .stat { padding: 0 1rem; }
  .stat-num { font-size: 1.4rem; }
  
  .city-grid { 
    grid-template-columns: 1fr 1fr; 
    gap: 0.6rem;
  }
  
  .city-card { 
    padding: 1.1rem; 
  }
  
  .city-card h3 { font-size: 1.05rem; }
  .city-card-icon { width: 36px; height: 36px; }
  .city-card-icon svg { width: 18px; height: 18px; }
  .city-arrow { display: none; }
  
  .biz-card {
    padding: 1.1rem;
  }
  
  .biz-card-header {
    flex-direction: column-reverse;
    gap: 0.4rem;
  }
  
  .biz-card-header h3 {
    font-size: 1rem;
    word-break: break-word;
  }
  
  .biz-address {
    word-break: break-word;
  }
  
  h1 { 
    font-size: 1.3rem; 
    word-break: break-word;
  }
  
  .biz-header h1 { font-size: 1.4rem; }
  
  .footer-links {
    gap: 0.4rem 0.8rem;
    font-size: 0.78rem;
  }
  
  .cta-btn {
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
    width: 100%;
    justify-content: center;
  }
  
  .no-website-badge {
    font-size: 0.72rem;
  }
  
  .breadcrumbs ol {
    font-size: 0.8rem;
  }
  
  .no-website-notice {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* Small mobile */
@media (max-width: 360px) {
  .city-grid { 
    grid-template-columns: 1fr; 
  }
  
  .stats-inner {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .logo { font-size: 1rem; gap: 0.35rem; }
}

/* ============ UTILITY ============ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Focus visible for accessibility */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Related businesses */
.related-section { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.related-section h2 { font-size: 1.2rem; margin-bottom: 1rem; color: var(--text); }
.related-grid { display: grid; grid-template-columns: 1fr; gap: 0.6rem; }
.related-card {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 0.85rem 1.1rem; border-radius: 10px;
  background: var(--surface); border: 1px solid var(--border);
  text-decoration: none; color: var(--text);
  transition: border-color 0.2s, background 0.2s;
}
.related-card:hover { border-color: var(--accent); background: var(--surface-hover, rgba(99,102,241,0.05)); text-decoration: none; }
.related-name { font-weight: 600; font-size: 0.95rem; }
.related-meta { font-size: 0.85rem; color: var(--text-muted); display: flex; align-items: center; gap: 0.35rem; direction: ltr; }
.related-star { color: #FBBF24; font-size: 0.95rem; }
.related-reviews { color: var(--text-muted); opacity: 0.7; }

/* About / Privacy pages */
.content-page { max-width: 800px; margin: 2rem auto; padding: 0 1rem; }
.content-page h1 { font-size: 1.8rem; margin-bottom: 1.5rem; }
.content-page h2 { font-size: 1.3rem; margin: 1.5rem 0 0.75rem; color: var(--accent); }
.content-page p, .content-page li { line-height: 1.8; color: var(--text-muted); margin-bottom: 0.75rem; }
.content-page ul { padding-right: 1.5rem; }

/* Print */
@media print {
  .main-nav, .main-footer, .cta-box, .map-embed, .category-filters { display: none; }
  body { background: white; color: black; }
  .biz-card { break-inside: avoid; border: 1px solid #ddd; }
}
