/* ZoomLocalSearch - Map-Focused / Geographic Discovery Aesthetic */
/* Fonts: Albert Sans (display) + Figtree (body) */
/* Palette: Map blue #2563eb, Terrain green #22c55e, Pin red #ef4444, Light #f8fafc */

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

:root {
  --color-primary: #2563eb;
  --color-accent: #22c55e;
  --color-pin: #ef4444;
  --color-blue-50: #eff6ff;
  --color-blue-100: #dbeafe;
  --color-blue-200: #bfdbfe;
  --color-blue-300: #93c5fd;
  --color-blue-500: #3b82f6;
  --color-blue-600: #2563eb;
  --color-blue-700: #1d4ed8;
  --color-blue-800: #1e40af;
  --color-blue-900: #1e3a8a;
  --color-green-50: #f0fdf4;
  --color-green-100: #dcfce7;
  --color-green-400: #4ade80;
  --color-green-500: #22c55e;
  --color-green-600: #16a34a;
  --color-red-50: #fef2f2;
  --color-red-100: #fee2e2;
  --color-red-400: #f87171;
  --color-red-500: #ef4444;
  --color-text: #0f172a;
  --color-text-muted: #64748b;
  --color-bg: #ffffff;
  --color-bg-alt: #f8fafc;
  --color-surface: #f0f9ff;
  --color-border: #cbd5e1;
  --color-border-light: #e2e8f0;
  --font-display: 'Albert Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Figtree', system-ui, -apple-system, sans-serif;
  --radius: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --shadow-sm: 0 1px 3px rgba(37, 99, 235, 0.06);
  --shadow-md: 0 4px 16px rgba(37, 99, 235, 0.08);
  --shadow-lg: 0 8px 32px rgba(37, 99, 235, 0.12);
  --shadow-search: 0 8px 40px rgba(37, 99, 235, 0.15);
  --shadow-card: 0 2px 8px rgba(37, 99, 235, 0.06), 0 0 0 1px rgba(37, 99, 235, 0.04);
  --container: 1200px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-text);
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--color-blue-700);
}

img {
  max-width: 100%;
  height: auto;
}

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

/* ==================== Buttons ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  line-height: 1.4;
}

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

.btn--primary:hover {
  background: var(--color-blue-700);
  border-color: var(--color-blue-700);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
  transform: translateY(-1px);
}

.btn--secondary {
  background: var(--color-bg);
  color: var(--color-primary);
  border-color: var(--color-border);
}

.btn--secondary:hover {
  border-color: var(--color-primary);
  background: var(--color-blue-50);
}

.btn--accent {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

.btn--accent:hover {
  background: var(--color-green-600);
  border-color: var(--color-green-600);
  box-shadow: 0 4px 16px rgba(34, 197, 94, 0.3);
  transform: translateY(-1px);
}

.btn--outline {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: transparent;
}

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

.btn--lg {
  padding: 0.9rem 2.25rem;
  font-size: 1.0625rem;
}

.btn--block {
  width: 100%;
}

/* ==================== Header ==================== */
.site-header {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border-light);
  padding: 0.75rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.95);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: -0.01em;
}

/* Map pin icon in logo */
.site-logo::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 28px;
  background: var(--color-primary);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  position: relative;
  flex-shrink: 0;
}

.site-logo::after {
  content: '';
  position: absolute;
  left: 1.5rem;
  top: 50%;
  transform: translate(-50%, -65%) rotate(-45deg);
  width: 10px;
  height: 10px;
  background: #fff;
  border-radius: 50%;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--color-text-muted);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: var(--transition);
  position: relative;
}

.site-nav a:hover {
  color: var(--color-primary);
}

.site-nav .btn--primary {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.site-nav .btn--primary:hover {
  background: var(--color-blue-700);
  border-color: var(--color-blue-700);
  color: #fff;
}

.site-nav a:not(.btn):hover::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-primary);
  border-radius: 1px;
}

/* ==================== Hero ==================== */
.hero {
  background: linear-gradient(170deg, var(--color-blue-600) 0%, var(--color-blue-800) 60%, var(--color-blue-900) 100%);
  padding: 5rem 0 4.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Subtle map grid pattern overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* Pin drop decoration */
.hero::after {
  content: '';
  position: absolute;
  right: 10%;
  top: 20%;
  width: 40px;
  height: 40px;
  background: var(--color-pin);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  opacity: 0.15;
  box-shadow:
    -120px 80px 0 20px rgba(34, 197, 94, 0.1),
    -300px 40px 0 10px rgba(239, 68, 68, 0.08),
    200px 60px 0 15px rgba(255, 255, 255, 0.05);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: #fff;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
}

.hero__subtitle {
  font-size: 1.1875rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 580px;
  margin: 0 auto 2.5rem;
  position: relative;
  z-index: 1;
  line-height: 1.6;
}

.hero__search {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero__search-row {
  display: flex;
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-search);
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition);
}

.hero__search-row:focus-within {
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow-search), 0 0 0 4px rgba(255, 255, 255, 0.1);
}

.hero__search-input {
  flex: 2;
  padding: 1.125rem 1.25rem;
  border: none;
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  background: transparent;
  color: var(--color-text);
  border-right: 1px solid var(--color-border-light);
}

.hero__search-input::placeholder {
  color: var(--color-text-muted);
}

.hero__search-location {
  flex: 1;
  padding: 1.125rem 1.25rem;
  border: none;
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  background: transparent;
  color: var(--color-text);
}

.hero__search-location::placeholder {
  color: var(--color-text-muted);
}

.hero__search-row .btn {
  border-radius: 0;
  padding: 1.125rem 2rem;
  font-size: 1rem;
  min-width: 120px;
}

.hero__popular {
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.hero__popular span {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.hero__popular a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  padding: 0.3rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  font-size: 0.8125rem;
  transition: var(--transition);
  background: rgba(255, 255, 255, 0.08);
}

.hero__popular a:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

/* ==================== Section Titles ==================== */
.section-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

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

.section-cta {
  text-align: center;
  margin-top: 2.5rem;
}

/* ==================== Stats Bar ==================== */
.stats {
  padding: 3rem 0;
  background: linear-gradient(135deg, var(--color-blue-700) 0%, var(--color-blue-900) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.stat__number {
  display: block;
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.stat__label {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.25rem;
}

/* ==================== Categories ==================== */
.categories {
  padding: 4.5rem 0;
  background: var(--color-bg);
}

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

.category-card {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  padding: 1.25rem 1.25rem 1.25rem 1.5rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--color-text);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

/* Map pin accent on left */
.category-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--color-border-light);
  transition: var(--transition);
}

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

.category-card:hover::before {
  background: var(--color-primary);
  width: 4px;
}

.category-card__icon {
  font-size: 1.5rem;
  line-height: 1;
}

.category-card__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-text);
}

.category-card__count {
  font-size: 0.8125rem;
  color: var(--color-accent);
  font-weight: 500;
}

/* ==================== How It Works ==================== */
.how-it-works {
  padding: 4.5rem 0;
  background: var(--color-bg-alt);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 1.5rem;
}

.step {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-light);
  transition: var(--transition);
  position: relative;
}

.step:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--color-surface);
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 800;
  border-radius: 50%;
  margin-bottom: 1.25rem;
  border: 2px solid var(--color-blue-200);
}

/* Custom icon for each step */
.step:first-child .step__number {
  background: var(--color-blue-50);
  border-color: var(--color-blue-200);
}

.step:nth-child(2) .step__number {
  background: var(--color-red-50);
  border-color: var(--color-red-100);
  color: var(--color-pin);
}

.step:nth-child(3) .step__number {
  background: var(--color-green-50);
  border-color: var(--color-green-100);
  color: var(--color-accent);
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.1875rem;
  margin-bottom: 0.625rem;
  color: var(--color-text);
}

.step p {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* ==================== CTA ==================== */
.cta {
  padding: 5rem 0;
  text-align: center;
  background: var(--color-surface);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  background: var(--color-pin);
  border-radius: 50% 50% 50% 0;
  transform: translateX(-50%) rotate(-45deg);
  opacity: 0.08;
}

.cta h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 1rem;
}

.cta p {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* ==================== Featured ==================== */
.featured {
  padding: 4.5rem 0;
  background: var(--color-bg-alt);
}

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

/* ==================== Listing Card ==================== */
.listing-card {
  background: var(--color-bg);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--color-text);
  border: 1px solid var(--color-border-light);
  transition: var(--transition);
  position: relative;
}

.listing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-gold);
}

/* Green accent on hover */
.listing-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  opacity: 0;
  transition: var(--transition);
}

.listing-card:hover::after {
  opacity: 1;
}

.listing-card__img,
.listing-card__image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 1px solid var(--color-border-light);
}

.listing-card__body,
.listing-card__content {
  padding: 1.125rem;
}

.listing-card__title,
.listing-card__name {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 0.375rem;
  color: var(--color-text);
}

.listing-card__category {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--color-primary);
  font-weight: 600;
  background: var(--color-blue-50);
  padding: 0.2rem 0.625rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.listing-card__address,
.listing-card__location {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-top: 0.375rem;
  margin-bottom: 0.375rem;
  display: flex;
  align-items: flex-start;
  gap: 0.25rem;
}

/* Pin icon before address */
.listing-card__address::before,
.listing-card__location::before {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  background: var(--color-pin);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  flex-shrink: 0;
  margin-top: 3px;
  opacity: 0.6;
}

.listing-card__rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.listing-card__rating .stars {
  color: #f59e0b;
}

/* ==================== Star Rating ==================== */
.star-rating {
  display: inline-flex;
  gap: 1px;
}

.star-rating--sm {
  font-size: 0.875rem;
}

.star--filled {
  color: #f59e0b;
}

.star--empty {
  color: var(--color-border);
}

/* ==================== Listing Detail ==================== */
.listing-detail {
  padding: 2rem 0 4rem;
}

.breadcrumb {
  display: flex;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.breadcrumb__list {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  flex-wrap: wrap;
}

.breadcrumb__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.breadcrumb__item:not(:last-child)::after {
  content: '/';
  color: var(--color-border);
}

.breadcrumb a,
.breadcrumb__link {
  color: var(--color-primary);
  text-decoration: none;
}

.breadcrumb a:hover,
.breadcrumb__link:hover {
  text-decoration: underline;
}

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

.listing-detail__grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 2rem;
  align-items: start;
}

.listing-detail__hero-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  border: 1px solid var(--color-border-light);
}

.listing-detail__header {
  margin-bottom: 2rem;
}

.listing-detail__header-info {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.listing-detail__logo {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--color-border-light);
}

.listing-detail__cover {
  text-align: center;
}

.listing-detail__cover img {
  width: auto;
  max-width: 100%;
  height: 100%;
  max-height: 400px;
  object-fit: cover;
  margin: auto;
}

.listing-detail__main h1 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.listing-detail__rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.listing-detail__rating .stars {
  color: #f59e0b;
  font-size: 1.25rem;
}

.listing-detail__desc {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

.listing-detail__section {
  margin-bottom: 2rem;
}

.listing-detail__section h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--color-text);
}

.listing-detail__body {
  margin-top: 1.5rem;
}

/* Cards in detail */
.card,
.contact-card,
.claim-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}

.card h2 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  margin-bottom: 1rem;
  color: var(--color-text);
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-border-light);
}

.contact-card h3,
.claim-card h3 {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  margin-bottom: 1rem;
  color: var(--color-text);
}

.contact-card__item {
  margin-bottom: 0.75rem;
  font-size: 0.9375rem;
}

.contact-card__item a {
  color: var(--color-primary);
  text-decoration: none;
}

.contact-card__item a:hover {
  text-decoration: underline;
}

.claim-card {
  background: var(--color-green-50);
  border-color: var(--color-green-100);
}

.claim-card p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.listing-detail__field {
  margin-bottom: 1rem;
  font-size: 0.9375rem;
}

.listing-detail__field strong {
  display: block;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
  margin-bottom: 0.25rem;
}

.listing-detail__field a {
  color: var(--color-primary);
}

.listing-detail__field a:hover {
  text-decoration: underline;
}

.address-block {
  font-style: normal;
  line-height: 1.5;
}

.phone-link {
  font-size: 1.0625rem;
  font-weight: 600;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.625rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge--verified {
  background: var(--color-green-50);
  color: var(--color-green-600);
  border: 1px solid var(--color-green-100);
}

/* Business Hours */
.business-hours {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.business-hours__row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--color-border-light);
}

.business-hours__row:last-child {
  border-bottom: none;
}

.business-hours__row--today {
  font-weight: 600;
  color: var(--color-primary);
  background: var(--color-blue-50);
  padding: 0.5rem;
  margin: 0 -0.5rem;
  border-radius: var(--radius);
}

.business-hours__day {
  font-weight: 500;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.75rem;
}

.gallery-grid__img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--color-border-light);
  transition: var(--transition);
}

.gallery-grid__img:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-md);
}

/* Social */
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.social-link {
  display: inline-flex;
  padding: 0.4rem 0.875rem;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: var(--transition);
  text-transform: capitalize;
}

.social-link:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-blue-50);
}

/* Tags */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border-light);
  border-radius: 20px;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

/* Reviews */
.review-card {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--color-border-light);
}

.review-card:last-child {
  border-bottom: none;
}

.review-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.review-card__title {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  margin-bottom: 0.375rem;
}

.review-card__body {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 0.375rem;
}

.review-card__date {
  font-size: 0.8125rem;
  color: var(--color-border);
}

/* ==================== Search Page ==================== */
.page-header {
  background: linear-gradient(170deg, var(--color-blue-600) 0%, var(--color-blue-800) 100%);
  padding: 3rem 0;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.page-header h1 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #fff;
  position: relative;
  z-index: 1;
}

.page-header p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.0625rem;
  position: relative;
  z-index: 1;
}

/* Search Bar */
.search-bar {
  display: flex;
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-search);
  border: 2px solid transparent;
  transition: var(--transition);
  position: relative;
  z-index: 1;
}

.search-bar:focus-within {
  border-color: var(--color-blue-300);
  box-shadow: var(--shadow-search), 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.search-bar input {
  flex: 1;
  padding: 1rem 1.25rem;
  border: none;
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  background: transparent;
  color: var(--color-text);
  min-width: 0;
}

.search-bar input::placeholder {
  color: var(--color-text-muted);
}

.search-bar button {
  padding: 1rem 2rem;
  background: var(--color-primary);
  color: #fff;
  border: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.search-bar button:hover {
  background: var(--color-blue-700);
}

/* Search Results */
.section {
  padding: 3rem 0;
}

.section--alt {
  background: var(--color-bg-alt);
}

.search-results__count {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.search-results__empty {
  text-align: center;
  padding: 4rem 1rem;
  color: var(--color-text-muted);
}

.search-results__empty h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-text);
  margin-bottom: 0.75rem;
}

.search-results__empty p {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.search-results__empty a {
  color: var(--color-primary);
}

/* Listings Grid */
.listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.25rem;
}

/* CTA Section (inline) */
.cta-section {
  text-align: center;
  padding: 3.5rem 2rem;
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-blue-100);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -15px;
  right: 15%;
  width: 30px;
  height: 30px;
  background: var(--color-pin);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  opacity: 0.1;
}

.cta-section h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.cta-section p {
  color: var(--color-text-muted);
  font-size: 1.0625rem;
  margin-bottom: 1.5rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* ==================== Browse Categories Grid ==================== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}

/* ==================== Footer ==================== */
.site-footer {
  background: linear-gradient(170deg, var(--color-blue-800) 0%, var(--color-blue-900) 100%);
  color: rgba(255, 255, 255, 0.7);
  padding: 3.5rem 0 2rem;
  margin-top: auto;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 60px 60px;
}

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

.site-footer__brand strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: #fff;
  font-weight: 700;
}

.site-footer__brand p {
  font-size: 0.875rem;
  margin-top: 0.375rem;
  color: rgba(255, 255, 255, 0.5);
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.site-footer__links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.875rem;
  transition: var(--transition);
}

.site-footer__links a:hover {
  color: #fff;
}

.site-footer__copy {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 1.5rem;
}

/* ==================== Skeleton Loading ==================== */
.skeleton {
  background: linear-gradient(90deg, var(--color-surface) 25%, var(--color-blue-50) 50%, var(--color-surface) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius);
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.skeleton-text { height: 1em; margin: 0.75em 0; }
.skeleton-title { height: 2em; width: 60%; margin-bottom: 1.5em; }
.skeleton-card { height: 200px; margin-bottom: 1.5em; border-radius: var(--radius); }

/* ==================== Responsive ==================== */
@media (max-width: 1024px) {
  .listing-detail__grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .hero {
    padding: 3.5rem 0 3rem;
  }

  .hero h1 {
    font-size: 2.125rem;
  }

  .hero__subtitle {
    font-size: 1.0625rem;
  }

  .hero__search-row {
    flex-direction: column;
  }

  .hero__search-input {
    border-right: none;
    border-bottom: 1px solid var(--color-border-light);
  }

  .hero__search-row .btn {
    border-radius: 0;
  }

  .hero__popular {
    flex-direction: column;
    gap: 0.5rem;
  }

  .site-header .container {
    flex-direction: column;
    gap: 0.75rem;
  }

  .site-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .categories__grid,
  .categories-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-title {
    font-size: 1.5rem;
  }

  .search-bar {
    flex-direction: column;
  }

  .search-bar button {
    border-radius: 0;
  }

  .page-header {
    padding: 2rem 0;
  }

  .page-header h1 {
    font-size: 1.625rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.75rem;
  }

  .stat__number {
    font-size: 2rem;
  }

  .stats__grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }

  .categories__grid,
  .categories-grid {
    grid-template-columns: 1fr 1fr;
  }

  .listings-grid {
    grid-template-columns: 1fr;
  }

  .cta-section {
    padding: 2.5rem 1.25rem;
  }
}

/* ---------- Enhanced Placeholder ---------- */
.listing-card__image--placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
  color: #9ca3af;
  min-height: 170px;
  position: relative;
}
.listing-card__image--placeholder svg {
  opacity: 0.5;
}
.listing-card__image--placeholder span {
  font-size: 0.8rem;
  color: #9ca3af;
  margin-top: 0.5rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ---------- Section Variations ---------- */
.section--dark {
  background: var(--color-navy);
  color: var(--color-white);
}
.section--dark h2,
.section--dark h3 {
  color: var(--color-white);
}
.section--dark p {
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- Search Filters Responsive ---------- */
@media (max-width: 768px) {
  #search-filters {
    position: static !important;
    width: 100% !important;
    margin-bottom: 1rem;
  }
}
