/* =====================================================
   Contractors411 — Brilliant Directories Style
   Blue theme · White background · Clean Bootstrap-style
   ===================================================== */

:root {
  --primary: #007bff;
  --primary-dark: #0056b3;
  --primary-light: #3399ff;
  --primary-bg: #f0f7ff;
  --secondary: #6c757d;
  --accent: #28a745;
  --dark: #1a1a2e;
  --dark-2: #16213e;
  --white: #ffffff;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #adb5bd;
  --gray-500: #6c757d;
  --gray-600: #495057;
  --gray-700: #343a40;
  --text: #333333;
  --text-light: #666666;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 4px 24px rgba(0,0,0,0.12);
  --transition: 0.2s ease;
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }
ul { list-style: none; }
img { max-width: 100%; }
.container { width:100%; max-width:1200px; margin:0 auto; padding:0 20px; }

.section-header { text-align:center; max-width:640px; margin:0 auto 48px; }
.section-tag {
  display:inline-block; font-size:0.8rem; font-weight:700;
  text-transform:uppercase; letter-spacing:1px; color: var(--primary);
  border:1px solid rgba(0,123,255,0.2);
  padding:5px 16px; border-radius:100px; margin-bottom:12px;
  background: var(--primary-bg);
}
.section-header h2 {
  font-size:2.2rem; font-weight:800; line-height:1.2;
  color: var(--dark); margin-bottom:12px;
}
.section-header p { font-size:1rem; color: var(--text-light); max-width:520px; margin:0 auto; }

.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.btn {
  display:inline-flex; align-items:center; gap:8px;
  font-family:'Inter', sans-serif; font-size:0.95rem; font-weight:600;
  padding:12px 28px; border-radius:50px; border:none;
  cursor:pointer; transition: var(--transition); white-space:nowrap;
  text-decoration: none;
}
.btn i { font-size:0.85rem; transition: transform 0.2s ease; }
.btn:hover i { transform: translateX(3px); }
.btn-primary {
  background: var(--primary); color: var(--white);
  box-shadow:0 2px 8px rgba(0,123,255,0.3);
}
.btn-primary:hover { background: var(--primary-dark); box-shadow:0 4px 16px rgba(0,123,255,0.4); transform: translateY(-1px); }
.btn-outline {
  background:transparent; color: var(--text);
  border:2px solid var(--gray-300);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-lg { padding:14px 36px; font-size:1rem; }
.btn-block { width:100%; justify-content:center; }

/* ===== TOP BAR ===== */
.top-bar {
  background: var(--dark);
  padding: 8px 0;
  font-size: 0.82rem;
  border-bottom: 3px solid var(--primary);
}
.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar-left,
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.top-bar a {
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}
.top-bar a:hover { color: var(--white); }
.top-bar-cta {
  background: var(--primary);
  color: var(--white) !important;
  padding: 4px 14px;
  border-radius: 4px;
  font-weight: 600;
}
.top-bar-cta:hover { background: var(--primary-dark) !important; }

/* ===== NAVBAR ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--dark) !important;
}
.logo-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  border-radius: 6px;
  font-size: 1.1rem;
  color: var(--white);
}
.logo-accent {
  color: var(--primary);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
}
.nav-links > li {
  position: relative;
  list-style: none;
}
.nav-links > li > a {
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  border-radius: 6px;
  transition: var(--transition);
  white-space: nowrap;
}
.nav-links > li > a:hover,
.nav-links > li > a.active {
  color: var(--primary);
  background: var(--primary-bg);
}
.nav-links > li > a i {
  font-size: 0.65rem;
  margin-left: 4px;
}

/* Dropdown */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 210px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  z-index: 1001;
  padding: 6px 0;
}
.dropdown:hover .dropdown-menu {
  display: block;
}
.dropdown-menu li {
  list-style: none;
}
.dropdown-menu a {
  display: block;
  padding: 8px 20px;
  font-size: 0.85rem;
  color: var(--text);
  white-space: nowrap;
}
.dropdown-menu a:hover {
  background: var(--primary-bg);
  color: var(--primary);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  width: 26px;
  height: 3px;
  background: var(--dark);
  border-radius: 3px;
  transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--primary-bg), #e8f4ff);
  padding: 60px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(600px circle at 20% 30%, rgba(0,123,255,0.06), transparent 60%),
    radial-gradient(400px circle at 80% 70%, rgba(0,123,255,0.04), transparent 50%);
}
.hero-content {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  background: rgba(0,123,255,0.08);
  border: 1px solid rgba(0,123,255,0.2);
  padding: 6px 20px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.hero-title {
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 16px;
}
.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 520px;
  margin: 0 auto 28px;
  line-height: 1.7;
}

/* Hero Small */
.hero--small {
  padding: 40px 0 48px;
}
.hero--small .hero-title {
  font-size: 1.8rem;
}

/* Hero Search */
.hero-search-inner {
  display: flex;
  gap: 0;
  max-width: 620px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 50px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  overflow: hidden;
}
.hero-search-field {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border-right: 1px solid var(--gray-200);
}
.hero-search-field:last-of-type {
  border-right: none;
}
.hero-search-field i {
  color: var(--gray-400);
  font-size: 0.9rem;
}
.hero-search-field input {
  flex: 1;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  padding: 14px 0;
  border: none;
  outline: none;
  background: transparent;
  color: var(--text);
}
.btn-search {
  border-radius: 0;
  padding: 14px 32px;
  height: 100%;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  margin-top: 48px;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.stat-number {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--dark);
  line-height: 1;
}
.stat-plus {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary);
  margin-left: 2px;
}
.stat-label {
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.stat-divider {
  width: 1px;
  height: 44px;
  background: var(--gray-300);
}

/* ===== FEATURES ===== */
.features {
  padding: 0;
  margin-top: -40px;
  position: relative;
  z-index: 2;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.feature-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-bg);
  border-radius: 50%;
  margin: 0 auto 16px;
  font-size: 1.4rem;
  color: var(--primary);
}
.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ===== FEATURED / LISTINGS GRID ===== */
.featured {
  padding: 80px 0;
  background: var(--gray-100);
}
.listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.listing-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 24px;
  transition: var(--transition);
  position: relative;
  display: block;
  color: inherit;
}
.listing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.listing-card.featured {
  border-color: var(--primary);
  border-width: 2px;
}
.listing-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--white);
  background: var(--primary);
  padding: 3px 12px;
  border-radius: 100px;
  margin-bottom: 12px;
}
.listing-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-bg);
  border-radius: var(--radius-sm);
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 12px;
}
.listing-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}
.listing-category {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-bg);
  padding: 2px 10px;
  border-radius: 100px;
  margin-bottom: 10px;
}
.listing-card p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 12px;
}
.listing-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}
.listing-meta span {
  font-size: 0.82rem;
  color: var(--gray-500);
  display: flex;
  align-items: center;
  gap: 6px;
}
.listing-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}
.listing-card:hover .listing-link i {
  transform: translateX(4px);
}

.section-cta {
  text-align: center;
  margin-top: 48px;
}

/* ===== PAGE HERO ===== */
.page-hero {
  background: linear-gradient(135deg, var(--primary-bg), #e8f4ff);
  padding: 48px 0;
  text-align: center;
  border-bottom: 1px solid var(--gray-200);
}
.page-hero h1 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 8px;
}
.page-hero p {
  font-size: 1rem;
  color: var(--text-light);
}

/* ===== LISTINGS PAGE ===== */
.listings-page {
  padding: 48px 0;
}

/* ===== SIDEBAR LAYOUT ===== */
.listings-layout {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

/* Sidebar */
.listings-sidebar {
  width: 280px;
  min-width: 280px;
  flex-shrink: 0;
}
.listings-main {
  flex: 1;
  min-width: 0;
}

.sidebar-section {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 16px;
}
.sidebar-section h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 14px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sidebar-section h4 i {
  color: var(--primary);
  font-size: 0.85rem;
  width: 16px;
}

.sidebar-search-group {
  margin-bottom: 12px;
}
.sidebar-search-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-600);
  margin-bottom: 4px;
}
.sidebar-search-group input,
.sidebar-search-group select {
  width: 100%;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  padding: 10px 12px;
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: 6px;
  color: var(--text);
  outline: none;
  box-sizing: border-box;
}
.sidebar-search-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236c757d' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 12px;
  cursor: pointer;
}
.sidebar-search-form .btn-block {
  width: 100%;
  text-align: center;
  justify-content: center;
}

.sidebar-categories,
.sidebar-locations {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebar-categories li,
.sidebar-locations li {
  border-bottom: 1px solid var(--gray-200);
}
.sidebar-categories li:last-child,
.sidebar-locations li:last-child {
  border-bottom: none;
}
.sidebar-categories a,
.sidebar-locations a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 4px;
  font-size: 0.85rem;
  color: var(--gray-600);
  text-decoration: none;
  transition: color 0.2s;
}
.sidebar-categories a:hover,
.sidebar-locations a:hover,
.sidebar-categories a.active,
.sidebar-locations a.active {
  color: var(--primary);
  font-weight: 600;
}
.sidebar-categories .cat-count {
  font-size: 0.75rem;
  color: var(--gray-400);
  background: var(--gray-100);
  padding: 2px 8px;
  border-radius: 10px;
}
.sidebar-categories a.active .cat-count {
  background: var(--primary);
  color: var(--white);
}

.sidebar-cta {
  background: linear-gradient(135deg, var(--primary), #0056b3);
  color: var(--white);
  border: none;
}
.sidebar-cta h4 {
  color: var(--white);
}
.sidebar-cta h4 i {
  color: var(--white);
}
.sidebar-cta p {
  font-size: 0.85rem;
  opacity: 0.9;
  margin: 0 0 14px 0;
  line-height: 1.5;
}
.sidebar-cta .btn {
  background: var(--white);
  color: var(--primary);
  border: none;
}
.sidebar-cta .btn:hover {
  background: var(--gray-100);
}

/* Results header */
.listings-results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gray-200);
}
.listings-results-header span {
  font-size: 0.9rem;
  color: var(--gray-600);
}
.listings-results-header span em {
  font-style: italic;
  color: var(--text);
}
.listings-sort {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--gray-600);
}
.listings-sort select {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  padding: 6px 10px;
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: 6px;
  color: var(--text);
  outline: none;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236c757d' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 10px;
  padding-right: 28px;
}

/* Filter Tabs */
.filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.filter-tab {
  padding: 8px 20px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  border: 1px solid var(--gray-300);
  border-radius: 50px;
  transition: var(--transition);
}
.filter-tab:hover,
.filter-tab.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* ===== BREADCRUMBS ===== */
.breadcrumbs {
  font-size: 0.82rem;
  color: var(--gray-500);
  margin-bottom: 24px;
  padding: 8px 0;
}
.breadcrumbs a {
  color: var(--primary);
}
.breadcrumbs a:hover {
  text-decoration: underline;
}
.breadcrumbs span {
  color: var(--text);
}

/* ===== LISTING DETAIL ===== */
.listing-detail {
  padding: 40px 0 80px;
}
.listing-detail-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 36px;
  align-items: start;
}
.listing-detail-main {
  min-width: 0;
}
.listing-detail-header {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gray-200);
}
.ld-title-area {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.ld-logo {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--white);
  border: 1px solid var(--gray-200);
}
.ld-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.ld-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-bg);
  border-radius: var(--radius-sm);
  font-size: 1.5rem;
  color: var(--primary);
  flex-shrink: 0;
}
.ld-title-area h1 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 4px;
  line-height: 1.2;
}
.featured-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  margin-left: 8px;
}
.ld-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.ld-location,
.ld-phone {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ld-location i,
.ld-phone i {
  width: 20px;
  color: var(--primary);
}
.ld-location a,
.ld-phone a {
  color: var(--text);
}
.ld-section {
  margin-top: 28px;
}
.ld-section h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary);
}
.ld-section p {
  color: var(--text);
  line-height: 1.8;
}

/* Sidebar */
.listing-detail-sidebar {
  position: sticky;
  top: 80px;
}
.sidebar-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.sidebar-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
}
.sidebar-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sidebar-info-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sidebar-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--gray-500);
}
.sidebar-value {
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.5;
}
.sidebar-value a {
  color: var(--primary);
  word-break: break-all;
}
.get-directions {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
}
.get-directions i {
  margin-right: 4px;
}

/* Contact Card */
.contact-card {
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 20px;
}

/* ===== PAGINATION ===== */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.page-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  padding: 10px 20px;
  border: 1px solid var(--gray-300);
  border-radius: 50px;
  transition: var(--transition);
}
.page-link:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.page-numbers {
  display: flex;
  gap: 4px;
}
.page-num {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.page-num:hover {
  background: var(--gray-100);
  color: var(--primary);
}
.page-num.active {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(0,123,255,0.25);
}

/* ===== FORMS ===== */
.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  padding: 12px 14px;
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  color: var(--text);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,123,255,0.12);
}
.form-group select { appearance: none; cursor: pointer; }
.form-group select option { color: var(--text); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-msg {
  margin-top: 10px;
  font-size: 0.88rem;
  min-height: 24px;
}

/* ===== AUTH PAGE ===== */
.auth-page {
  padding: 60px 0;
}
.auth-card {
  max-width: 440px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}
.auth-alt {
  text-align: center;
  margin-top: 20px;
  font-size: 0.88rem;
  color: var(--text-light);
}
.auth-alt a {
  color: var(--primary);
  font-weight: 600;
}

/* ===== ALERTS ===== */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.alert i { font-size: 1.1rem; }
.alert-success {
  background: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
}
.alert-error {
  background: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
}

/* ===== REVIEWS ===== */
.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.review-item {
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 18px;
}
.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.review-name {
  font-weight: 700;
  color: var(--dark);
}
.review-stars {
  font-size: 0.82rem;
  color: #f5a623;
}
.review-date {
  font-size: 0.78rem;
  color: var(--gray-500);
  margin-left: auto;
}
.review-content {
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.6;
}
.review-form-section {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-200);
}
.reviews-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
}
.review-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.review-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.review-card-name {
  font-weight: 700;
  color: var(--dark);
}
.review-card-stars {
  color: #f5a623;
  font-size: 0.85rem;
}
.review-card-text {
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 12px;
}
.review-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid var(--gray-200);
}
.review-card-business {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
}
.review-card-date {
  font-size: 0.78rem;
  color: var(--gray-500);
}

/* Star Rating Input */
.star-rating {
  display: flex;
  align-items: center;
  gap: 4px;
}
.star-rating .stars {
  display: flex;
  flex-direction: row-reverse;
  gap: 2px;
}
.star-rating input { display: none; }
.star-rating label {
  font-size: 1.4rem;
  color: var(--gray-300);
  cursor: pointer;
  transition: color 0.2s ease;
}
.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input:checked ~ label {
  color: #f5a623;
}

/* ===== BLOG ===== */
.blog {
  padding: 80px 0;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.blog-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.blog-image {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.blog-date {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--white);
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  padding: 4px 12px;
  border-radius: 100px;
}
.blog-icon {
  font-size: 2.2rem;
  color: rgba(255,255,255,0.4);
}
.blog-body {
  padding: 20px;
}
.blog-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
  line-height: 1.35;
}
.blog-body h3 a {
  color: inherit;
}
.blog-body p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 12px;
  line-height: 1.6;
}
.blog-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}
.blog-link:hover i {
  transform: translateX(3px);
}

/* ===== LOCATIONS ===== */
.location-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.location-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  transition: var(--transition);
  display: block;
  color: inherit;
}
.location-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.location-icon {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 8px;
}
.location-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}
.location-count {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ===== CATEGORIES ===== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}
.category-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 20px;
  transition: var(--transition);
  color: inherit;
}
.category-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.category-card-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-bg);
  border-radius: var(--radius-sm);
  font-size: 1.1rem;
  color: var(--primary);
  flex-shrink: 0;
}
.category-card-info {
  flex: 1;
  min-width: 0;
}
.category-card-info h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 2px;
}
.category-card-info p {
  font-size: 0.78rem;
  color: var(--text-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.category-card-count {
  font-size: 0.78rem;
  color: var(--primary);
  font-weight: 600;
  white-space: nowrap;
}

/* ===== JOBS ===== */
.job-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--gray-200);
}
.job-item:last-child { border-bottom: none; }
.job-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 10px;
}
.job-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-bg);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  color: var(--primary);
  flex-shrink: 0;
}
.job-header h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
}
.job-company {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 2px;
}
.job-type {
  margin-left: auto;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: 100px;
  background: #d4edda;
  color: #155724;
  white-space: nowrap;
}
.job-type.part-time {
  background: #fff3cd;
  color: #856404;
}
.job-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.job-meta span {
  font-size: 0.82rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 6px;
}
.job-desc {
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.6;
}

/* ===== EVENTS ===== */
.event-date-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 60px;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 14px;
}
.event-month {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 0;
  width: 100%;
  text-align: center;
  background: rgba(0,0,0,0.15);
}
.event-day {
  font-size: 1.5rem;
  font-weight: 800;
  padding: 4px 0;
}

/* ===== PROPERTIES ===== */
.property-price {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.property-price > span:first-child {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary);
}
.property-type-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 10px;
  border-radius: 100px;
  background: var(--primary-bg);
  color: var(--primary);
}

/* ===== CLASSIFIEDS ===== */
.classified-price > span {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--accent);
}

/* ===== EMPTY STATE ===== */
.empty-state {
  text-align: center;
  padding: 80px 0;
  color: var(--text-light);
}
.empty-state i {
  font-size: 3rem;
  margin-bottom: 16px;
  opacity: 0.3;
}
.empty-state p {
  font-size: 1rem;
}

/* ===== NEWSLETTER ===== */
.newsletter {
  padding: 60px 0;
  background: var(--primary);
}
.newsletter-content {
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
}
.newsletter-content h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}
.newsletter-content h2 .gradient-text {
  background: linear-gradient(135deg, #fff, #cce5ff);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.newsletter-content p {
  color: rgba(255,255,255,0.85);
  margin-bottom: 24px;
}
.newsletter-form {
  display: flex;
  gap: 10px;
}
.newsletter-form input {
  flex: 1;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  padding: 12px 18px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50px;
  color: var(--white);
  outline: none;
  transition: var(--transition);
}
.newsletter-form input::placeholder {
  color: rgba(255,255,255,0.6);
}
.newsletter-form input:focus {
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.2);
}
.newsletter-form .btn-primary {
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.newsletter-form .btn-primary:hover {
  background: var(--gray-100);
}
.newsletter-msg {
  margin-top: 12px;
  font-size: 0.88rem;
  min-height: 24px;
  color: rgba(255,255,255,0.9);
}

/* ===== CTA BANNER ===== */
.cta-banner {
  padding: 80px 0;
  background: var(--dark);
}
.cta-content {
  text-align: center;
}
.cta-content h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}
.cta-content p {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 28px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.cta-content .btn-primary {
  background: var(--primary);
}

/* ===== FOOTER ===== */
.footer {
  padding: 60px 0 24px;
  background: var(--gray-100);
  border-top: 1px solid var(--gray-200);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}
.footer-brand .logo {
  color: var(--dark) !important;
}
.footer-brand p {
  color: var(--text-light);
  margin-top: 12px;
  font-size: 0.88rem;
  line-height: 1.6;
  max-width: 300px;
}
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  color: var(--gray-500);
  transition: var(--transition);
  font-size: 0.9rem;
}
.footer-social a:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul li a {
  color: var(--text-light);
  font-size: 0.85rem;
  transition: var(--transition);
}
.footer-col ul li a:hover {
  color: var(--primary);
}
.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid var(--gray-200);
  text-align: center;
}
.footer-bottom p {
  color: var(--gray-500);
  font-size: 0.82rem;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== PAGE SECTION TITLES ===== */
.page-section-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 6px;
}
.page-section-subtitle {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 24px;
}

/* ===== MAP CONTAINER ===== */
.map-container {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--gray-200);
}

/* ===== JOIN / GET LISTED PAGE ===== */
.join-page {
  padding: 60px 0;
}
.join-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.join-info h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 28px;
}
.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.benefit-item {
  display: flex;
  gap: 16px;
}
.benefit-item i {
  font-size: 1.3rem;
  color: var(--accent);
  margin-top: 2px;
  flex-shrink: 0;
}
.benefit-item h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}
.benefit-item p {
  font-size: 0.9rem;
  color: var(--text-light);
}
.join-form-card {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  padding: 36px;
}
.join-form-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-600);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  color: var(--text);
  transition: var(--transition);
  outline: none;
  box-sizing: border-box;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.15);
}
.form-group select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236c757d' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

@media (max-width: 768px) {
  .join-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ===== CONTENT LAYOUT WITH SIDEBAR (home page) ===== */
.content-layout-with-sidebar {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-main-column {
  flex: 1;
  min-width: 0;
}
.content-layout-with-sidebar .page-sidebar {
  position: sticky;
  top: 120px;
  padding-top: 32px;
}
@media (max-width: 900px) {
  .content-layout-with-sidebar {
    flex-direction: column;
  }
  .content-layout-with-sidebar .page-sidebar {
    position: static;
    width: 100%;
    min-width: 100%;
  }
}

/* ===== PAGE SIDEBAR ===== */
.page-layout-sidebar {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}
.page-layout-sidebar > .page-main-content {
  flex: 1;
  min-width: 0;
}
.page-sidebar {
  width: 300px;
  min-width: 300px;
  flex-shrink: 0;
}
.sidebar-widget {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 16px;
}
.sidebar-widget h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 14px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sidebar-widget h4 i {
  color: var(--primary);
  font-size: 0.85rem;
  width: 16px;
}
.sidebar-widget p {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-bottom: 12px;
  line-height: 1.5;
}
.sidebar-categories {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebar-categories li {
  border-bottom: 1px solid var(--gray-200);
}
.sidebar-categories li:last-child {
  border-bottom: none;
}
.sidebar-categories a {
  display: flex;
  align-items: center;
  padding: 10px 4px;
  font-size: 0.85rem;
  color: var(--gray-600);
  text-decoration: none;
  transition: color 0.2s;
  justify-content: space-between;
}
.sidebar-categories a:hover {
  color: var(--primary);
  font-weight: 600;
}
.sidebar-categories li:last-child a {
  color: var(--primary);
  font-weight: 500;
}

.sidebar-widget--accent {
  background: linear-gradient(135deg, var(--primary-bg), #e8f4ff);
  border-color: var(--primary-light);
}
.sidebar-newsletter-form input {
  width: 100%;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  padding: 10px 12px;
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: 6px;
  color: var(--text);
  outline: none;
  box-sizing: border-box;
}

.sidebar-widget--cta {
  background: linear-gradient(135deg, var(--primary), #0056b3);
  color: var(--white);
  border: none;
}
.sidebar-widget--cta h4 {
  color: var(--white);
}
.sidebar-widget--cta h4 i {
  color: var(--white);
}
.sidebar-widget--cta p {
  color: rgba(255,255,255,0.9);
}
.sidebar-widget--cta .btn-light {
  background: var(--white);
  color: var(--primary);
  border: none;
  width: 100%;
  text-align: center;
  justify-content: center;
  padding: 10px;
}
.sidebar-widget--cta .btn-light:hover {
  background: var(--gray-100);
}

.sidebar-widget--ad {
  border-style: dashed;
  border-color: var(--gray-300);
  background: var(--gray-100);
}
.sidebar-ad-placeholder {
  text-align: center;
  padding: 20px;
  color: var(--gray-400);
}

@media (max-width: 900px) {
  .page-layout-sidebar {
    flex-direction: column;
  }
  .page-sidebar {
    width: 100%;
    min-width: 100%;
  }
}

/* ===== AD ROTATOR SLOTS ===== */
/* ===== LISTING HEADER IMAGE ===== */
.listing-header-image {
  width: 100%;
  height: 260px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 24px;
  position: relative;
  background-size: cover;
  background-position: center;
}
.listing-header-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
  display: flex;
  align-items: flex-end;
  padding: 32px;
}
.listing-header-content {
  width: 100%;
}

.ad-slot--banner {
  max-width: 728px;
  margin: 0 auto;
}
.ad-slot {
  display: none;
  margin-bottom: 16px;
  overflow: hidden;
  border-radius: 8px;
}
.ad-slot img {
  max-width: 100%;
  height: auto;
  display: block;
}
.ad-slot a {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* Size classes */
.ad-size-sidebar { max-width: 300px; }
.ad-size-leaderboard { max-width: 728px; width: 100%; }
.ad-size-leaderboard img { width: 728px; height: 90px; object-fit: cover; border-radius: 6px; }
.ad-size-banner { max-width: 468px; }
.ad-size-rectangle { max-width: 300px; }

/* Business card style */
.ad-biz-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  transition: border-color 0.2s;
  max-width: 300px;
}
.ad-biz-card:hover {
  border-color: var(--primary);
}
.ad-biz-logo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ad-biz-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ad-biz-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.ad-biz-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ad-biz-phone {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 500;
}
.ad-biz-city {
  font-size: 0.75rem;
  color: var(--gray-500);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .listing-detail-grid {
    grid-template-columns: 1fr;
  }
  .listing-detail-sidebar {
    position: static;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 768px) {
  .top-bar-inner {
    flex-direction: column;
    gap: 6px;
  }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 80px 24px 24px;
    gap: 4px;
    border-left: 1px solid var(--gray-200);
    transition: right 0.3s ease;
    z-index: 999;
    box-shadow: -4px 0 20px rgba(0,0,0,0.1);
    overflow-y: auto;
  }
  .nav-links.open { right: 0; }
  .nav-links > li > a {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.95rem;
  }
  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    padding-left: 16px;
    background: transparent;
  }
  .dropdown:hover .dropdown-menu {
    display: none;
  }
  .dropdown.open .dropdown-menu {
    display: block;
  }
  .nav-toggle {
    display: flex;
    z-index: 1001;
  }
  .hero-title {
    font-size: 1.8rem;
  }
  .hero-search-inner {
    flex-direction: column;
    border-radius: var(--radius);
  }
  .hero-search-field {
    border-right: none;
    border-bottom: 1px solid var(--gray-200);
  }
  .btn-search {
    border-radius: 0;
  }
  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }
  .stat-divider {
    width: 44px;
    height: 1px;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .features {
    margin-top: 20px;
  }
  .section-header h2 {
    font-size: 1.6rem;
  }
  .newsletter-form {
    flex-direction: column;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .listings-grid {
    grid-template-columns: 1fr;
  }
  .categories-grid {
    grid-template-columns: 1fr;
  }
  .location-grid {
    grid-template-columns: 1fr 1fr;
  }
  .ld-title-area {
    flex-direction: column;
    text-align: center;
  }
  .ld-actions {
    justify-content: center;
  }
  .search-form {
    flex-direction: column;
    align-items: stretch;
  }
  .search-input-wrap {
    min-width: auto;
  }
  .filter-wrap select {
    width: 100%;
  }
  .reviews-page-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.5rem;
  }
  .location-grid {
    grid-template-columns: 1fr;
  }
  .top-bar-left,
  .top-bar-right {
    gap: 10px;
    font-size: 0.75rem;
  }
}

/* ===== PRICING ===== */
.pricing {
  padding: 80px 0;
  background: var(--gray-100);
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.pricing-card {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: 12px;
  padding: 32px;
  text-align: center;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}
.pricing-card.popular {
  border-color: var(--primary);
  box-shadow: 0 8px 30px rgba(0,123,255,0.12);
  transform: scale(1.03);
}
.pricing-card.popular:hover {
  transform: scale(1.03) translateY(-4px);
}
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--white);
  padding: 4px 20px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.pricing-header {
  margin-bottom: 24px;
}
.pricing-header h3 {
  font-size: 1.1rem;
  color: var(--gray-500);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.pricing-price {
  margin-bottom: 8px;
}
.pricing-price .price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text);
}
.pricing-price .period {
  font-size: 1rem;
  color: var(--gray-400);
  font-weight: 400;
}
.pricing-header p {
  font-size: 0.85rem;
  color: var(--gray-400);
}
.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
  text-align: left;
}
.pricing-features li {
  padding: 10px 0;
  font-size: 0.9rem;
  color: var(--text);
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  gap: 10px;
}
.pricing-features li:last-child {
  border-bottom: none;
}
.pricing-features li i {
  width: 18px;
  text-align: center;
}
.pricing-features li i.fa-check {
  color: #00d4aa;
}
.pricing-features li.na {
  color: var(--gray-400);
}
.pricing-features li.na i {
  color: var(--gray-300);
}
.pricing-card .btn-block {
  width: 100%;
  justify-content: center;
}
@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .pricing-card.popular {
    transform: scale(1);
  }
  .pricing-card.popular:hover {
    transform: translateY(-4px);
  }
}

/* Listing sidebar responsive */
@media (max-width: 900px) {
  .listings-layout {
    flex-direction: column;
  }
  .listings-sidebar {
    width: 100%;
    min-width: 100%;
  }
  .listings-results-header {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
}
