/* =====================================================
   LUBBOCK BUSINESS DIRECTORY — DESIGN SYSTEM
   Dark editorial × warm amber accents × clean grid
   ===================================================== */

:root {
  /* Core palette */
  --bg:        #f8f8f8;
--surface:   #ffffff;
--surface2:  #f2f3f5;
--border:    #e2e4e9;
--border2:   #d0d3db;

  /* Text */
  --text:      #111318;
--text-mid:  #4a5068;
--text-dim:  #8a91a8;

  /* Accent — warm amber/gold */
  --accent:    #cc1f1f;
--accent2:   #a81818;
  --accent-bg: rgba(204,31,31,0.06);
--accent-glow: rgba(204,31,31,0.15);

  /* Semantic */
  --green:     #3ecf8e;
  --red:       #f05252;
  --blue:      #4f8ef7;

  /* Type */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --font-mono:    'DM Mono', 'Courier New', monospace;

  /* Spacing */
  --max-w: 1280px;
  --nav-h: 68px;

  /* Radius */
  --r-sm: 6px;
  --r:    12px;
  --r-lg: 20px;
  --r-xl: 32px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
--shadow:    0 4px 20px rgba(0,0,0,0.10);
--shadow-lg: 0 16px 48px rgba(0,0,0,0.14);
  --glow:       0 0 40px rgba(204,31,31,0.10);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 3px; }

/* =====================================================
   LAYOUT
   ===================================================== */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* =====================================================
   NAVIGATION
   ===================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(255,255,255,0.96);
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-logo-mark {
  width: 36px;
  height: 36px;
  background: var(--accent);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  color: #ffffff;
  letter-spacing: -1px;
}
.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  color: var(--text);
}
.nav-logo-text strong {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--text);
}
.nav-logo-text span {
  font-size: 11px;
  color: var(--text-dim);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}
.nav-search {
  flex: 1;
  max-width: 420px;
  position: relative;
}
.nav-search input {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 9px 14px 9px 38px;
  color: var(--text);
  font-size: 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.nav-search input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.nav-search input::placeholder { color: var(--text-dim); }
.nav-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  pointer-events: none;
  font-size: 15px;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.btn-ghost {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-mid);
  padding: 8px 16px;
  border-radius: var(--r-sm);
  font-size: 13px;
  font-weight: 500;
  transition: all 0.15s;
}
.btn-ghost:hover {
  border-color: var(--border2);
  color: var(--text);
}
.btn-accent {
  background: var(--accent);
  border: none;
  color: #ffffff;
  padding: 9px 18px;
  border-radius: var(--r-sm);
  font-size: 13px;
  font-weight: 600;
  transition: all 0.15s;
}
.btn-accent:hover {
  background: var(--accent2);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(204,31,31,0.25);
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero {
  padding: 100px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(204,31,31,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-bg);
  border: 1px solid rgba(204,31,31,0.25);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 28px;
  animation: fadeSlideUp 0.5s ease both;
}
.hero-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(42px, 7vw, 88px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 20px;
  animation: fadeSlideUp 0.5s 0.1s ease both;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}
.hero-sub {
  font-size: 18px;
  color: var(--text-mid);
  max-width: 520px;
  margin: 0 auto 44px;
  font-weight: 300;
  animation: fadeSlideUp 0.5s 0.2s ease both;
}
.hero-search {
  display: flex;
  gap: 10px;
  max-width: 640px;
  margin: 0 auto 20px;
  animation: fadeSlideUp 0.5s 0.3s ease both;
}
.hero-search-input-wrap {
  flex: 1;
  position: relative;
}
.hero-search input {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 16px 16px 16px 48px;
  font-size: 15px;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.hero-search input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.hero-search input::placeholder { color: var(--text-dim); }
.hero-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  font-size: 18px;
}
.hero-search-btn {
  background: var(--accent);
  color: #ffffff;
  border: none;
  border-radius: var(--r);
  padding: 0 28px;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.15s;
}
.hero-search-btn:hover {
  background: var(--accent2);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(204,31,31,0.25);
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  animation: fadeSlideUp 0.5s 0.4s ease both;
  margin-top: 24px;
}
.hero-stat {
  text-align: center;
}
.hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--text);
}
.hero-stat span {
  font-size: 12px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* =====================================================
   SPONSOR BANNER
   ===================================================== */
.sponsor-bar {
  background: #222222;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 24px;
}
.sponsor-bar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.sponsor-label {
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: var(--font-mono);
}
.sponsor-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-bg);
  border: 1px solid rgba(204,31,31,0.25);
  border-radius: var(--r-sm);
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  transition: all 0.15s;
}
.sponsor-link:hover {
  background: rgba(240,168,69,0.15);
  border-color: var(--accent);
}
.sponsor-link-sub {
  font-size: 11px;
  color: var(--text-dim);
  font-weight: 400;
}

/* =====================================================
   CATEGORY GRID
   ===================================================== */
.section { padding: 64px 0; }
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
}
.section-title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
}
.section-title span {
  color: var(--accent);
}
.section-link {
  font-size: 13px;
  color: var(--text-mid);
  border-bottom: 1px solid var(--border);
  padding-bottom: 1px;
  transition: color 0.15s, border-color 0.15s;
}
.section-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 12px;
}
.category-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 20px 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
}
.category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-bg) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.2s;
}
.category-card:hover {
  border-color: rgba(204,31,31,0.35);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.category-card:hover::before { opacity: 1; }
.category-card-icon {
  font-size: 28px;
  margin-bottom: 8px;
  display: block;
}
.category-card-name {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-mid);
  line-height: 1.3;
}
.category-card.active {
  border-color: var(--accent);
  background: var(--accent-bg);
}
.category-card.active .category-card-name {
  color: var(--accent);
}

/* =====================================================
   BUSINESS CARD
   ===================================================== */
.listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}
.business-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
}
.business-card:hover {
  border-color: var(--border2);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.business-card-cover {
  height: 160px;
  background: var(--surface2);
  position: relative;
  overflow: hidden;
}
.business-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.business-card:hover .business-card-cover img {
  transform: scale(1.04);
}
.business-card-cover-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  background: linear-gradient(135deg, var(--surface2), var(--border));
}
.business-card-category {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(13,15,20,0.85);
  backdrop-filter: blur(8px);
  border-radius: 100px;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 500;
  color: white;
  display: flex;
  align-items: center;
  gap: 5px;
}
.business-card-featured {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--accent);
  color: #ffffff;
  border-radius: 100px;
  padding: 3px 10px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.business-card-body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.business-card-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}
.business-card-logo {
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  background: var(--surface2);
  border: 1px solid var(--border);
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.business-card-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.business-card-title h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
  margin-bottom: 3px;
}
.business-card-title p {
  font-size: 12px;
  color: var(--text-mid);
}
.business-card-desc {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.6;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  flex: 1;
  margin-bottom: 14px;
}
.business-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.business-card-phone {
  font-size: 12px;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 5px;
}
.business-card-action {
  background: var(--accent-bg);
  border: 1px solid rgba(240,168,69,0.2);
  color: var(--accent);
  border-radius: var(--r-sm);
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.15s;
}
.business-card-action:hover {
  background: var(--accent);
  color: #ffffff;
}

/* =====================================================
   BUSINESS DETAIL PAGE
   ===================================================== */
.biz-hero {
  height: 340px;
  position: relative;
  overflow: hidden;
  background: var(--surface2);
}
.biz-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.biz-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,15,20,0.95) 0%, rgba(13,15,20,0.3) 60%, transparent 100%);
}
.biz-info-bar {
  position: relative;
  padding: 0 24px;
}
.biz-info-card {
  max-width: var(--max-w);
  margin: -60px auto 0;
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 28px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.biz-logo-large {
  width: 80px;
  height: 80px;
  border-radius: var(--r);
  border: 2px solid var(--border);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--surface2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
}
.biz-logo-large img { width: 100%; height: 100%; object-fit: cover; }
.biz-info-main { flex: 1; }
.biz-info-main h1 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 6px;
}
.biz-info-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 10px;
}
.biz-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-mid);
}
.biz-meta-item a:hover { color: var(--accent); }
.biz-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

/* =====================================================
   FORMS + MODAL
   ===================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.15s ease;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.modal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  width: 100%;
  max-width: 480px;
  padding: 36px;
  animation: slideUp 0.2s ease;
  max-height: 90vh;
  overflow-y: auto;
}
@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--surface2);
  border: none;
  color: var(--text-mid);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}
.modal-close:hover { background: var(--border); color: var(--text); }
.modal h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 6px;
}
.modal-sub {
  font-size: 14px;
  color: var(--text-mid);
  margin-bottom: 28px;
}
.form-group { margin-bottom: 18px; }
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-mid);
  margin-bottom: 7px;
}
.form-input {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 11px 14px;
  color: var(--text);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.form-input::placeholder { color: var(--text-dim); }
textarea.form-input {
  resize: vertical;
  min-height: 100px;
}
select.form-input {
  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='%239aa0b8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}
select.form-input option {
  background: var(--surface);
  color: var(--text);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.btn-full {
  width: 100%;
  padding: 13px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--r-sm);
}
.form-divider {
  text-align: center;
  color: var(--text-dim);
  font-size: 12px;
  margin: 16px 0;
  position: relative;
}
.form-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border);
}
.form-divider span {
  background: var(--surface);
  padding: 0 12px;
  position: relative;
}
.form-switch-text {
  text-align: center;
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 16px;
}
.form-switch-text button {
  background: none;
  border: none;
  color: var(--accent);
  font-size: 13px;
  text-decoration: underline;
}
.form-error {
  background: rgba(240,82,82,0.1);
  border: 1px solid rgba(240,82,82,0.3);
  border-radius: var(--r-sm);
  color: var(--red);
  font-size: 13px;
  padding: 10px 14px;
  margin-bottom: 16px;
}

/* =====================================================
   DASHBOARD
   ===================================================== */
.dashboard {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 48px 24px;
}
.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
}
.dashboard-header h1 {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
}
.dashboard-header p {
  color: var(--text-mid);
  font-size: 14px;
  margin-top: 6px;
}
.listing-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px;
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 12px;
  transition: border-color 0.15s;
}
.listing-item:hover { border-color: var(--border2); }
.listing-item-logo {
  width: 52px;
  height: 52px;
  border-radius: var(--r-sm);
  background: var(--surface2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.listing-item-info { flex: 1; }
.listing-item-info h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}
.listing-item-info p {
  font-size: 12px;
  color: var(--text-dim);
}
.badge {
  display: inline-block;
  border-radius: 100px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.badge-green { background: rgba(62,207,142,0.12); color: var(--green); }
.badge-yellow { background: rgba(204,31,31,0.08); color: var(--accent); }
.listing-item-actions { display: flex; gap: 8px; }
.btn-sm {
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 500;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: var(--surface2);
  color: var(--text-mid);
  transition: all 0.15s;
}
.btn-sm:hover {
  border-color: var(--border2);
  color: var(--text);
}
.btn-sm-accent {
  border-color: rgba(204,31,31,0.25);
  color: var(--accent);
  background: var(--accent-bg);
}
.btn-sm-accent:hover {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}
.btn-sm-danger {
  border-color: rgba(240,82,82,0.3);
  color: var(--red);
  background: rgba(240,82,82,0.05);
}
.btn-sm-danger:hover {
  background: var(--red);
  color: white;
}

/* =====================================================
   IMAGE UPLOAD
   ===================================================== */
.upload-zone {
  border: 2px dashed var(--border);
  border-radius: var(--r);
  padding: 28px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}
.upload-zone:hover, .upload-zone.dragging {
  border-color: var(--accent);
  background: var(--accent-bg);
}
.upload-zone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.upload-zone-icon { font-size: 32px; margin-bottom: 8px; }
.upload-zone p { font-size: 13px; color: var(--text-mid); }
.upload-zone strong { color: var(--accent); }
.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.image-thumb {
  aspect-ratio: 1;
  border-radius: var(--r-sm);
  overflow: hidden;
  position: relative;
  background: var(--surface2);
}
.image-thumb img { width: 100%; height: 100%; object-fit: cover; }
.image-thumb-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  background: rgba(0,0,0,0.7);
  border: none;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  color: white;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.15s;
}
.image-thumb:hover .image-thumb-remove { opacity: 1; }

/* =====================================================
   SEARCH RESULTS / PAGINATION
   ===================================================== */
.results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.results-count {
  font-size: 13px;
  color: var(--text-dim);
}
.results-count strong { color: var(--text); }
.filter-bar {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-mid);
  cursor: pointer;
  transition: all 0.15s;
}
.filter-chip:hover { border-color: var(--accent); color: var(--accent); }
.filter-chip.active {
  background: var(--accent-bg);
  border-color: rgba(204,31,31,0.35);
  color: var(--accent);
}
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}
.page-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-mid);
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}
.page-btn:hover { border-color: var(--accent); color: var(--accent); }
.page-btn.active { background: var(--accent); border-color: var(--accent); color: #ffffff; font-weight: 700; }

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 48px 24px 32px;
  margin-top: 80px;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-brand p {
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 14px;
  line-height: 1.7;
  max-width: 280px;
}
.footer-col h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 16px;
  font-family: var(--font-mono);
}
.footer-col a {
  display: block;
  font-size: 13px;
  color: var(--text-mid);
  margin-bottom: 10px;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  max-width: var(--max-w);
  margin: 32px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p {
  font-size: 12px;
  color: var(--text-dim);
}
.footer-bottom a { color: var(--accent); }

/* =====================================================
   TOAST NOTIFICATIONS
   ===================================================== */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 14px 18px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-lg);
  animation: toastIn 0.25s ease;
  max-width: 340px;
}
@keyframes toastIn {
  from { transform: translateX(20px); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}
.toast-success { border-left: 3px solid var(--green); }
.toast-error   { border-left: 3px solid var(--red); }
.toast-info    { border-left: 3px solid var(--accent); }

/* =====================================================
   LOADING STATES
   ===================================================== */
.skeleton {
  background: linear-gradient(90deg, var(--surface) 25%, var(--surface2) 50%, var(--surface) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--r-sm);
}
@keyframes shimmer {
  from { background-position: -200% 0; }
  to   { background-position: 200% 0; }
}
.loading-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* =====================================================
   EMPTY STATES
   ===================================================== */
.empty-state {
  text-align: center;
  padding: 80px 24px;
  color: var(--text-dim);
}
.empty-state-icon { font-size: 52px; margin-bottom: 16px; opacity: 0.6; }
.empty-state h3 { font-size: 18px; color: var(--text-mid); margin-bottom: 8px; }
.empty-state p { font-size: 14px; max-width: 320px; margin: 0 auto 24px; }

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

/* ---- Tablet: 1024px ---- */
@media (max-width: 1024px) {
  .listings-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* ---- Mobile: 768px ---- */
@media (max-width: 768px) {
  /* Nav */
  /* Nav */
  .nav { height: 60px; }
  .nav-inner { padding: 0 16px; gap: 12px; }
  .nav-search { display: none; }
  .nav-logo img { height: 28px; }   /* ← add this */
  .nav-logo-text span { display: none; }
  .nav-actions { gap: 6px; }
  .nav-actions .btn-ghost:not(:last-child) { display: none; }
  .btn-ghost { padding: 7px 12px; font-size: 12px; }
  .btn-accent { padding: 7px 12px; font-size: 12px; }
  .nav-logo img { height: 28px; }

  /* Hero */
  .hero { padding: 48px 16px 40px; }
  .hero h1 { font-size: clamp(32px, 8vw, 48px); letter-spacing: -1px; }
  .hero-sub { font-size: 15px; margin-bottom: 28px; }
  .hero-search { flex-direction: column; gap: 8px; }
  .hero-search-btn { padding: 14px; width: 100%; border-radius: var(--r); }
  .hero-stats { gap: 20px; flex-wrap: wrap; justify-content: center; }
  .hero-stat strong { font-size: 22px; }

  /* Sponsor bar */
  .sponsor-bar-inner { flex-direction: column; gap: 6px; text-align: center; }
  .sponsor-link-sub { display: none; }

  /* Categories */
  .category-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .category-card { padding: 14px 10px; }
  .category-card-icon { font-size: 22px; }
  .category-card-name { font-size: 11px; }

  /* Section headers */
  .section { padding: 40px 0; }
  .section-title { font-size: 24px; }

  /* Listings grid */
  .listings-grid { grid-template-columns: 1fr; gap: 14px; }

  /* Business detail */
  .biz-hero { height: 220px; }
  .biz-info-card { flex-direction: column; gap: 16px; margin: -40px 16px 0; padding: 20px; border-radius: var(--r-lg); }
  .biz-logo-large { width: 60px; height: 60px; }
  .biz-info-main h1 { font-size: 22px; }
  .biz-info-meta { gap: 10px; }
  .biz-actions { width: 100%; flex-direction: column; }
  .biz-actions a { text-align: center; }

  /* Dashboard */
  .dashboard { padding: 24px 16px; }
  .dashboard-header { flex-direction: column; gap: 14px; align-items: stretch; }
  .dashboard-header button { width: 100%; }
  .listing-item { flex-wrap: wrap; gap: 10px; padding: 14px; }
  .listing-item-actions { width: 100%; justify-content: flex-end; flex-wrap: wrap; }

  /* Forms */
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .modal { padding: 24px 20px; border-radius: var(--r-lg); }

  /* Footer */
  .footer { padding: 32px 16px 24px; margin-top: 48px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  /* Container */
  .container { padding: 0 16px; }

  /* Admin portal */
  .admin-stats-grid { grid-template-columns: repeat(2, 1fr) !important; }

  /* Toast */
  .toast-container { bottom: 16px; right: 16px; left: 16px; }
  .toast { max-width: 100%; }
}

/* ---- Small mobile: 480px ---- */
@media (max-width: 480px) {
  /* Nav - minimal */
  .nav-logo-text { display: none; }
  .nav-logo-mark { width: 32px; height: 32px; font-size: 15px; }
  .nav-logo img { height: 24px; }   /* ← add this */

  /* Hero */
  .hero { padding: 36px 16px 32px; }
  .hero h1 { font-size: 30px; letter-spacing: -0.5px; }
  .hero-eyebrow { font-size: 10px; padding: 5px 12px; }
  .hero-stats { flex-direction: row; gap: 16px; }
  .hero-stat strong { font-size: 20px; }
  .hero-stat span { font-size: 10px; }

  /* Categories */
  .category-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .category-card { padding: 12px 8px; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr; gap: 20px; }
  .footer-brand p { max-width: 100%; }

  /* Business card */
  .business-card-cover { height: 140px; }

  /* Biz detail */
  .biz-info-meta { flex-direction: column; gap: 6px; }

  /* Admin stats */
  .admin-stats-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; }
}


/* =====================================================
   HERO SLIDESHOW
   ===================================================== */
.hero {
  position: relative;
  overflow: hidden;
}
.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
  transform: scale(1.04);
  animation: none;
}
.hero-slide.active {
  opacity: 1;
  animation: slowZoom 6s ease forwards;
}
@keyframes slowZoom {
  from { transform: scale(1.04); }
  to   { transform: scale(1.00); }
}
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0.82) 0%,
    rgba(255,255,255,0.75) 60%,
    rgba(255,255,255,0.88) 100%
  );
}
.hero-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}
.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(204,31,31,0.3);
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}
.hero-dot.active {
  background: var(--accent);
  width: 24px;
  border-radius: 4px;
}
.hero-dot:hover {
  background: var(--accent);
}

/* Mobile slideshow adjustments */
@media (max-width: 768px) {
  .hero-slide-overlay {
    background: linear-gradient(
      to bottom,
      rgba(255,255,255,0.88) 0%,
      rgba(255,255,255,0.80) 60%,
      rgba(255,255,255,0.92) 100%
    );
  }
  .hero-dots { bottom: 12px; }
  .hero-dot { width: 6px; height: 6px; }
  .hero-dot.active { width: 18px; }
}

/* =====================================================
   FEATURE YOUR BUSINESS CTA
   ===================================================== */
.feature-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: var(--surface);
  border: 1px solid rgba(204,31,31,0.15);
  border-radius: var(--r-lg);
  padding: 32px;
  margin-top: 32px;
}
.feature-cta-left {
  flex: 1;
}
.feature-cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-bg);
  border: 1px solid rgba(204,31,31,0.2);
  border-radius: 100px;
  padding: 4px 12px;
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.feature-cta-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}
.feature-cta-desc {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.7;
  max-width: 400px;
  margin-bottom: 16px;
}
.feature-cta-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.feature-cta-perks li {
  font-size: 13px;
  color: var(--text-mid);
  display: flex;
  align-items: center;
  gap: 8px;
}
.feature-cta-perks li::first-letter {
  color: var(--green);
  font-weight: 700;
}
.feature-cta-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex-shrink: 0;
  min-width: 180px;
}
.feature-cta-price {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  margin-bottom: 4px;
}
.feature-cta-amount {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.feature-cta-period {
  font-size: 16px;
  color: var(--text-mid);
  margin-bottom: 8px;
}
.feature-cta-note {
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 20px;
  font-style: italic;
}
.feature-cta-btn {
  display: block;
  background: var(--accent);
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: var(--r-sm);
  transition: all 0.15s;
  white-space: nowrap;
  width: 100%;
  text-align: center;
}
.feature-cta-btn:hover {
  background: var(--accent2);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(204,31,31,0.25);
}
.feature-cta-sub {
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 10px;
}
 
/* Mobile */
@media (max-width: 768px) {
  .feature-cta {
    flex-direction: column;
    gap: 24px;
    padding: 24px;
  }
  .feature-cta-right {
    width: 100%;
    border-top: 1px solid var(--border);
    padding-top: 24px;
  }
  .feature-cta-btn {
    width: 100%;
  }
  .feature-cta-amount { font-size: 40px; }
}

/* =====================================================
   PAGE TRANSITIONS
   ===================================================== */
.page { animation: pageIn 0.25s ease both; }
@keyframes pageIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =====================================================
   CONTACT PAGE
   ===================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 32px;
  align-items: start;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 22px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.contact-info-card:hover {
  border-color: rgba(204,31,31,0.25);
  box-shadow: var(--shadow);
}
.contact-info-icon {
  font-size: 28px;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px;
}
.contact-info-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}
.contact-info-desc {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 12px;
}
.contact-prefill-btn {
  background: none;
  border: none;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s;
}
.contact-prefill-btn:hover { color: var(--accent2); }
.contact-form-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 32px;
  box-shadow: var(--shadow);
}
 
/* Mobile */
@media (max-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .contact-form-wrap {
    padding: 24px 20px;
    border-radius: var(--r-lg);
  }
}

/* =====================================================
   EULA PAGE
   ===================================================== */
.eula-body {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.eula-warning {
  background: rgba(204,31,31,0.06);
  border: 1px solid rgba(204,31,31,0.25);
  border-left: 4px solid var(--accent);
  border-radius: var(--r);
  padding: 18px 20px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 32px;
}
.eula-section {
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}
.eula-section:last-of-type { border-bottom: none; }
.eula-section h2 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}
.eula-section p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 10px;
}
.eula-section p:last-child { margin-bottom: 0; }
.eula-section ul {
  margin: 10px 0 10px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.eula-section ul li {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.7;
}
.eula-caps {
  font-size: 13px !important;
  font-weight: 600;
  color: var(--text) !important;
  letter-spacing: 0.01em;
}
 
@media (max-width: 768px) {
  .eula-section { padding: 20px 0; }
  .eula-section h2 { font-size: 16px; }
}
 