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

:root {
  --primary: #0056b3;
  --primary-hover: #004494;
  --secondary: #0f172a;      
  --accent: #f97316;         
  --success: #15803d;
  --bg-light: #ffffff;      
  --bg-subtle: #f8fafc;     
  --text-main: #1e293b;
  --text-muted: #475569;
  --border: #e2e8f0;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

html {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--bg-light);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.centered {
  text-align: center;
}

.badge {
  display: inline-block;
  background-color: #dcfce7;
  color: var(--success);
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 99px;
  line-height: 1;
}

.site-header {
  background-color: var(--bg-light);
  color: var(--secondary);
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}

.site-header strong {
  font-size: 1.1rem;
  letter-spacing: -0.025em;
  color: var(--primary);
}

main section {
  padding: 4rem 0;
}

.intro {
  background-color: var(--bg-subtle);
  border-bottom: 1px solid var(--border);
}

.intro h1 {
  font-size: 3rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 1.2rem;
  letter-spacing: -0.05em;
}

.intro p {
  max-width: 700px;
  margin: 0 auto 1.5rem;
  color: var(--text-muted);
  font-size: 1.1rem;
}

.add-business-link {
  display: inline-block;
  margin-bottom: 2rem;
  padding: 1rem 2rem;
  background-color: var(--primary);
  color: #ffffff !important;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px 0 rgba(0, 86, 179, 0.39);
  border: none;
  cursor: pointer;
}

.add-business-link:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 86, 179, 0.23);
}

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

.card--category {
  background-color: #fff;
  padding: 1.25rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  text-align: center;
  transition: all 0.2s ease;
}

.card--category a {
  text-decoration: none;
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.95rem;
}

.card--category:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.card--biz {
  background-color: #fff;
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.card--featured {
  border: 2px solid var(--primary);
  background-color: #feffff;
  position: relative;
}

.card--biz:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05);
  border-color: var(--primary);
}

.card--biz h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: var(--secondary);
}

.card--biz a {
  color: inherit;
  text-decoration: none;
}

.card--biz .badge {
  margin-bottom: 1rem;
  align-self: flex-start;
}

.description {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.contact-info {
  font-size: 0.9rem;
  color: var(--text-main);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.6rem 1.2rem;
  background-color: var(--bg-subtle);
  color: var(--primary);
  border: 1px solid var(--primary);
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  transition: all 0.2s ease;
}

.btn:hover {
  background-color: var(--primary);
  color: #fff;
}

.site-footer {
  background-color: var(--secondary);
  color: #f8fafc;
  padding: 3rem 0;
  margin-top: 2rem;
}

.site-footer p {
  opacity: 0.8;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .intro h1 { font-size: 2.2rem; }
  .grid { grid-template-columns: 1fr; }
}