/*
Theme Name: LocalxReach
Theme URI: https://localxreach.com
Author: Webxreach
Author URI: https://webxreach.com
Description: A modern local business directory theme for discovering, reviewing, and listing verified businesses.
Version: 1.2.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: localxreach
Tags: business, directory, listing, local, custom-menu, featured-images
*/

/* ===== TOKENS ===== */
:root {
  --navy:    #0F1F3D;
  --navy-2:  #1A3260;
  --purple:  #4A2D8F;
  --violet:  #7B52CF;
  --violet-2:#9C7FE0;
  --coral:   #F05C45;
  --coral-2: #FF7B63;
  --lav:     #C4B5F7;
  --pale:    #EDE9FF;
  --sky:     #D6EEFF;
  --white:   #FFFFFF;
  --off:     #F7F5FF;
  --muted:   #6B7087;
  --border:  rgba(74,45,143,.12);
  --shadow:  0 4px 32px rgba(15,31,61,.08);
  --r-sm:    8px;
  --r-md:    14px;
  --r-lg:    22px;
  --r-xl:    32px;
  --font-heading: 'Moranga', Georgia, Cambria, 'Times New Roman', Times, serif;
  --font-body: 'Red Hat Text', 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--navy);
  line-height: 1.65;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); line-height: 1.15; }
p { font-family: var(--font-body); }
a { text-decoration: none; color: inherit; font-family: var(--font-body); }
img { display: block; max-width: 100%; height: auto; }
button { cursor: pointer; font-family: var(--font-body); }
input, select, textarea { font-family: var(--font-body); }

/* ===== NAV ===== */
.lxr-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0 5%;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.logo-badge {
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, var(--purple), var(--violet));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 800;
  font-size: 13px; color: var(--white); letter-spacing: -.3px;
}
.logo-text { font-family: var(--font-heading); font-weight: 700; font-size: 18px; }
.logo-text span { color: var(--violet); }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--navy); opacity: .75; transition: opacity .2s; }
.nav-links a:hover, .nav-links .current-menu-item a { opacity: 1; }
.nav-right { display: flex; gap: 12px; align-items: center; }
.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  background: transparent;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block; width: 18px; height: 2px;
  background: var(--navy); border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
.lxr-nav.is-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.lxr-nav.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
.lxr-nav.is-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.btn-ghost {
  padding: 9px 20px; border-radius: var(--r-sm);
  border: 1.5px solid var(--border); background: transparent;
  font-size: 14px; font-weight: 500; color: var(--navy);
  transition: border-color .2s, background .2s;
  display: inline-flex; align-items: center; justify-content: center;
}
.btn-ghost:hover { border-color: var(--violet); background: var(--pale); }
.btn-primary {
  padding: 9px 22px; border-radius: var(--r-sm);
  background: linear-gradient(135deg, var(--purple), var(--violet));
  color: var(--white); font-size: 14px; font-weight: 600;
  border: none; transition: opacity .2s, transform .15s;
  box-shadow: 0 4px 16px rgba(123,82,207,.3);
  display: inline-flex; align-items: center; justify-content: center;
}
.btn-primary:hover { opacity: .92; transform: translateY(-1px); color: var(--white); }

/* ===== HERO ===== */
.hero {
  background: var(--navy);
  padding: 90px 5% 0;
  position: relative; overflow: hidden;
  min-height: 680px;
  display: flex; flex-direction: column;
}
.hero-bg-circle { position: absolute; border-radius: 50%; pointer-events: none; }
.hbc1 { width: 520px; height: 520px; top: -120px; right: -60px; background: radial-gradient(circle, rgba(123,82,207,.55) 0%, transparent 70%); }
.hbc2 { width: 380px; height: 380px; bottom: 80px; left: -80px; background: radial-gradient(circle, rgba(240,92,69,.35) 0%, transparent 70%); }
.hbc3 { width: 260px; height: 260px; top: 60px; left: 38%; background: radial-gradient(circle, rgba(196,181,247,.2) 0%, transparent 70%); }
.hero-dots {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 28px 28px;
}
.hero-inner { position: relative; z-index: 2; max-width: 720px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(196,181,247,.12); border: 1px solid rgba(196,181,247,.3);
  border-radius: 100px; padding: 6px 14px 6px 8px; margin-bottom: 28px;
}
.hero-badge-dot {
  width: 22px; height: 22px; border-radius: 50%;
  background: linear-gradient(135deg, var(--coral), var(--coral-2));
  display: flex; align-items: center; justify-content: center; color: var(--white);
}
.hero-badge-icon { color: var(--white); stroke: var(--white); }
.h-stat-star { color: #F59E0B; vertical-align: middle; }
.search-icon { flex-shrink: 0; color: var(--muted); }
.hero-badge span { font-size: 13px; font-weight: 500; color: var(--lav); }
.hero h1 { font-size: clamp(38px, 5.5vw, 64px); font-weight: 800; color: var(--white); margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--violet-2); }
.hero h1 .coral-word { color: var(--coral-2); }
.hero p { font-size: 18px; color: rgba(255,255,255,.65); max-width: 560px; margin-bottom: 36px; }

.search-card {
  background: var(--white); border-radius: var(--r-lg);
  padding: 10px 10px 10px 24px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: 0 8px 48px rgba(0,0,0,.3); max-width: 700px;
}
.search-divider { width: 1px; height: 36px; background: var(--border); flex-shrink: 0; }
.search-field { flex: 1; display: flex; align-items: center; gap: 10px; min-width: 0; }
.search-field svg { flex-shrink: 0; color: var(--muted); }
.search-field input {
  border: none; outline: none; background: transparent;
  font-size: 15px; font-family: inherit; color: var(--navy); width: 100%;
}
.search-field input::placeholder { color: var(--muted); }
.search-btn {
  flex-shrink: 0; padding: 13px 28px; border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--coral), #F07A4A);
  color: var(--white); font-size: 15px; font-weight: 600;
  border: none; white-space: nowrap;
  box-shadow: 0 4px 20px rgba(240,92,69,.35);
  transition: opacity .2s, transform .15s;
}
.search-btn:hover { opacity: .9; transform: scale(1.02); }
.popular-tags { display: flex; align-items: center; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.popular-tags span { font-size: 13px; color: rgba(255,255,255,.45); }
.tag-pill {
  padding: 5px 14px; border-radius: 100px;
  border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.08);
  font-size: 13px; color: rgba(255,255,255,.8); cursor: pointer;
  transition: background .2s;
}
.tag-pill:hover { background: rgba(255,255,255,.15); color: rgba(255,255,255,.95); }

.hero-stats {
  display: flex; gap: 0;
  background: rgba(255,255,255,.05);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  border: 1px solid rgba(255,255,255,.08); border-bottom: none;
  margin-top: 56px; overflow: hidden; position: relative; z-index: 2;
}
.h-stat {
  flex: 1; padding: 28px 28px 32px;
  border-right: 1px solid rgba(255,255,255,.08); position: relative;
}
.h-stat:last-child { border-right: none; }
.h-stat-num { font-family: var(--font-heading); font-size: 36px; font-weight: 800; color: var(--white); }
.h-stat-num span { color: var(--coral-2); }
.h-stat-label { font-size: 13px; color: rgba(255,255,255,.5); margin-top: 4px; }

/* ===== SECTIONS ===== */
.section { padding: 80px 5%; }
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--violet); margin-bottom: 12px;
}
.section-label::before { content: ''; display: block; width: 24px; height: 2px; background: var(--violet); border-radius: 2px; }
.section-title { font-size: clamp(28px, 3.5vw, 42px); font-weight: 800; margin-bottom: 10px; }
.section-sub { font-size: 16px; color: var(--muted); max-width: 520px; margin-bottom: 48px; }
.section-center { text-align: center; }
.section-center .section-sub { margin-left: auto; margin-right: auto; text-align: center; }
.section-center .section-label { justify-content: center; }

/* ===== CATEGORIES ===== */
.cats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cat-card {
  border-radius: var(--r-lg); padding: 28px 22px;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  display: flex; flex-direction: column; gap: 14px;
  position: relative; overflow: hidden;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.12); border-color: rgba(123,82,207,.3); }
.cat-icon {
  width: 52px; height: 52px; border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--navy);
}
.cat-icon-svg { color: var(--navy); }
.cat-name { font-family: var(--font-heading); font-size: 16px; font-weight: 700; }
.cat-count { font-size: 13px; }
.cc1 { background: #EDE9FF; } .cc1 .cat-icon { background: var(--pale); } .cc1 .cat-count { color: var(--violet); }
.cc2 { background: #FFF0EE; } .cc2 .cat-icon { background: #FFDDD8; } .cc2 .cat-count { color: var(--coral); }
.cc3 { background: #E6F7FF; } .cc3 .cat-icon { background: #C5EAFF; } .cc3 .cat-count { color: #1A7BB5; }
.cc4 { background: #F0FFF4; } .cc4 .cat-icon { background: #C6F6D5; } .cc4 .cat-count { color: #1C7A45; }
.cc5 { background: #FFF8E7; } .cc5 .cat-icon { background: #FFE8A3; } .cc5 .cat-count { color: #B07D00; }
.cc6 { background: #FEF0FF; } .cc6 .cat-icon { background: #FACFFF; } .cc6 .cat-count { color: #8B2FA0; }
.cc7 { background: #F0F4FF; } .cc7 .cat-icon { background: #D0DBFF; } .cc7 .cat-count { color: #2B4AB0; }
.cc8 { background: #FFF0F6; } .cc8 .cat-icon { background: #FFD6E8; } .cc8 .cat-count { color: #A52B62; }

/* ===== LISTINGS ===== */
.featured-bg { background: var(--off); }
.listings-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.listing-card {
  background: var(--white); border-radius: var(--r-lg);
  border: 1.5px solid var(--border); overflow: hidden;
  transition: transform .25s, box-shadow .25s; cursor: pointer;
}
.listing-card:hover { transform: translateY(-4px); box-shadow: 0 16px 44px rgba(74,45,143,.1); }
.lc-img { aspect-ratio: 1 / 1; position: relative; overflow: hidden; display: block; color: inherit; }
.lc-img img { width: 100%; height: 100%; object-fit: cover; }
.lc-img-placeholder {
  width: 100%; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center;
  background: var(--off); color: var(--muted);
}
.lc-placeholder-icon { opacity: 0.45; }
.lc-badge {
  position: absolute; top: 12px; left: 12px;
  padding: 4px 10px; border-radius: 100px;
  font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px;
}
.badge-open { background: #D1FAE5; color: #065F46; }
.badge-featured { background: linear-gradient(135deg, var(--purple), var(--violet)); color: var(--white); left: auto; right: 12px; }
.badge-closed { background: #FEE2E2; color: #991B1B; }
.lc-body { padding: 20px; }
.lc-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 6px; }
.lc-name { font-family: var(--font-heading); font-size: 17px; font-weight: 700; color: var(--navy); }
.lc-name:hover { color: var(--purple); }
.lc-fav {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--off); border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: background .2s, color .2s; color: var(--muted);
}
.lc-fav:hover, .lc-fav.is-active { background: #FFE4E0; color: var(--coral); }
.lc-fav.is-active .lc-fav-icon path { fill: var(--coral); stroke: var(--coral); }
.lc-cat { font-size: 12px; color: var(--violet); font-weight: 500; margin-bottom: 10px; }
.lc-meta { display: flex; gap: 14px; font-size: 13px; color: var(--muted); margin-bottom: 14px; flex-wrap: wrap; }
.lc-meta span, .lc-meta-item { display: inline-flex; align-items: center; gap: 4px; }
.stars, .lxr-stars { display: inline-flex; align-items: center; gap: 2px; color: #F59E0B; }
.lxr-star-empty { opacity: 0.35; }
.lxr-star-half { opacity: 0.65; }
.lc-meta-icon { flex-shrink: 0; color: var(--muted); }
.lc-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 14px; border-top: 1px solid var(--border);
}
.lc-reviews { font-size: 13px; color: var(--muted); }
.lc-cta {
  padding: 7px 16px; border-radius: var(--r-sm);
  background: var(--pale); color: var(--purple); font-size: 13px; font-weight: 600;
  border: none; transition: background .2s;
}
.lc-cta:hover { background: var(--lav); }

/* ===== HOW IT WORKS ===== */
.hiw-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 16px; }
.hiw-card {
  text-align: center; padding: 40px 28px; border-radius: var(--r-lg);
  background: var(--white); border: 1.5px solid var(--border);
  position: relative; overflow: hidden; transition: box-shadow .25s;
}
.hiw-card:hover { box-shadow: var(--shadow); }
.hiw-num {
  position: absolute; top: 18px; right: 22px;
  font-family: var(--font-heading); font-size: 64px; font-weight: 800;
  color: var(--pale); line-height: 1;
}
.hiw-icon {
  width: 68px; height: 68px; border-radius: 50%;
  margin: 0 auto 22px; display: flex; align-items: center; justify-content: center; font-size: 28px;
}
.hiw-icon-1 { background: var(--pale); }
.hiw-icon-2 { background: #FFF0EE; }
.hiw-icon-3 { background: #E6F7FF; }
.hiw-title { font-family: var(--font-heading); font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.hiw-desc { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ===== TESTIMONIALS ===== */
.testi-bg { background: var(--navy); }
.testi-bg .section-label { color: var(--lav); }
.testi-bg .section-label::before { background: var(--lav); }
.testi-bg .section-title { color: var(--white); }
.testi-bg .section-sub { color: rgba(255,255,255,.5); }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi-card {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-lg); padding: 28px; transition: background .25s;
}
.testi-card:hover { background: rgba(255,255,255,.08); }
.testi-quote { font-size: 32px; color: var(--violet-2); line-height: 1; margin-bottom: 16px; }
.testi-text { font-size: 15px; color: rgba(255,255,255,.8); line-height: 1.7; margin-bottom: 22px; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 700; font-size: 14px; color: var(--white); flex-shrink: 0;
}
.testi-name { font-weight: 600; font-size: 14px; color: var(--white); }
.testi-role { font-size: 12px; color: rgba(255,255,255,.45); }
.testi-summary {
  display: flex; justify-content: center; gap: 48px; margin-top: 52px;
  padding-top: 40px; border-top: 1px solid rgba(255,255,255,.08); flex-wrap: wrap;
}
.testi-stat { text-align: center; }
.testi-stat-num { font-family: var(--font-heading); font-size: 40px; font-weight: 800; color: #fff; }
.testi-stat-label { font-size: 13px; color: rgba(255,255,255,.45); margin-top: 4px; }
.testi-divider { width: 1px; background: rgba(255,255,255,.08); align-self: stretch; }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--purple) 0%, var(--violet) 60%, #9B7AE0 100%);
  border-radius: var(--r-xl); padding: 70px 60px;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  position: relative; overflow: hidden; margin: 0 5% 80px;
}
.cta-banner::before {
  content: ''; position: absolute; width: 400px; height: 400px; border-radius: 50%;
  background: rgba(255,255,255,.06); top: -120px; right: -80px;
}
.cta-banner::after {
  content: ''; position: absolute; width: 220px; height: 220px; border-radius: 50%;
  background: rgba(255,255,255,.05); bottom: -60px; left: 300px;
}
.cta-left { position: relative; z-index: 1; }
.cta-tag {
  display: inline-block; padding: 5px 14px; border-radius: 100px;
  background: rgba(255,255,255,.15); font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px; color: var(--lav); margin-bottom: 18px;
}
.cta-title { font-size: 36px; font-weight: 800; color: var(--white); margin-bottom: 12px; max-width: 480px; }
.cta-sub { font-size: 16px; color: rgba(255,255,255,.65); max-width: 420px; }
.cta-right { display: flex; flex-direction: column; gap: 14px; flex-shrink: 0; position: relative; z-index: 1; }
.btn-cta-white {
  padding: 15px 36px; border-radius: var(--r-md);
  background: var(--white); color: var(--purple);
  font-size: 16px; font-weight: 700; border: none;
  box-shadow: 0 8px 28px rgba(0,0,0,.2);
  transition: transform .2s; white-space: nowrap;
}
.btn-cta-white:hover { transform: scale(1.03); color: var(--purple); }
.btn-cta-outline {
  padding: 15px 36px; border-radius: var(--r-md);
  background: transparent; color: var(--white);
  font-size: 16px; font-weight: 600;
  border: 1.5px solid rgba(255,255,255,.35);
  transition: background .2s; white-space: nowrap;
}
.btn-cta-outline:hover { background: rgba(255,255,255,.1); color: var(--white); }

/* ===== TRUST STRIP ===== */
.trust-strip {
  background: var(--off);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 28px 5%; display: flex; align-items: center; justify-content: center;
  gap: 48px; flex-wrap: wrap;
}
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--navy); }
.trust-icon { font-size: 22px; }

/* ===== PLANS ===== */
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.plan-card {
  border-radius: var(--r-lg); padding: 36px 30px;
  border: 1.5px solid var(--border); background: var(--white);
  transition: box-shadow .25s, transform .25s;
}
.plan-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.plan-card.featured {
  background: linear-gradient(160deg, var(--purple), var(--violet-2));
  border-color: transparent; color: var(--white);
}
.plan-badge {
  display: inline-block; padding: 4px 12px; border-radius: 100px;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px;
  background: var(--coral-2); color: var(--white); margin-bottom: 20px;
}
.plan-name { font-family: var(--font-heading); font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.plan-price { font-family: var(--font-heading); font-size: 42px; font-weight: 800; margin-bottom: 4px; line-height: 1; }
.plan-price sub { font-size: 16px; font-weight: 400; }
.plan-period { font-size: 13px; color: var(--muted); margin-bottom: 28px; }
.plan-card.featured .plan-period { color: rgba(255,255,255,.65); }
.plan-features { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 30px; }
.plan-features li { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.plan-features li::before {
  content: '✓'; width: 22px; height: 22px; border-radius: 50%;
  background: var(--pale); color: var(--purple); font-size: 11px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.plan-card.featured .plan-features li::before { background: rgba(255,255,255,.2); color: var(--white); }
.plan-card.featured .plan-name,
.plan-card.featured .plan-price,
.plan-card.featured .plan-features li { color: var(--white); }
.btn-plan {
  width: 100%; padding: 13px; border-radius: var(--r-md);
  font-size: 15px; font-weight: 600; border: 1.5px solid var(--border);
  background: transparent; color: var(--purple);
  transition: background .2s, border-color .2s;
}
.btn-plan:hover { background: var(--pale); border-color: var(--violet); }
.plan-card.featured .btn-plan {
  background: var(--white); color: var(--purple); border: none;
  box-shadow: 0 4px 20px rgba(0,0,0,.15);
}
.plan-card.featured .btn-plan:hover { background: rgba(255,255,255,.9); }

/* ===== NEARBY / MAP ===== */
.nearby-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.nearby-list { display: flex; flex-direction: column; gap: 16px; }
.nearby-card {
  background: var(--white); border-radius: var(--r-lg); border: 1.5px solid var(--border);
  padding: 18px; display: flex; gap: 16px; align-items: flex-start;
  cursor: pointer; transition: box-shadow .2s;
}
.nearby-card:hover { box-shadow: var(--shadow); }
.nearby-thumb {
  width: 72px; aspect-ratio: 1 / 1; border-radius: var(--r-md);
  overflow: hidden; flex-shrink: 0; background: var(--off);
}
.nearby-thumb img { width: 100%; height: 100%; object-fit: cover; }
.nearby-thumb .lc-img-placeholder { width: 100%; height: 100%; aspect-ratio: auto; }
.nearby-info { flex: 1; min-width: 0; }
.nearby-name { font-family: var(--font-heading); font-size: 15px; font-weight: 700; margin-bottom: 3px; }
.nearby-cat { font-size: 12px; color: var(--violet); font-weight: 500; margin-bottom: 8px; }
.nearby-meta { font-size: 12px; color: var(--muted); }
.nearby-distance { font-size: 12px; color: var(--coral); font-weight: 600; flex-shrink: 0; }

.map-box {
  background: var(--off); border-radius: var(--r-lg); border: 1.5px solid var(--border);
  height: 380px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 14px;
  position: relative; overflow: hidden;
}
.map-grid {
  position: absolute; inset: 0; opacity: .5;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 40px 40px;
}
.map-pin { position: absolute; width: 16px; height: 16px; border-radius: 50%; }
.mp1 { background: var(--coral); top: 30%; left: 40%; box-shadow: 0 0 0 6px rgba(240,92,69,.2); }
.mp2 { background: var(--violet); top: 55%; left: 60%; box-shadow: 0 0 0 6px rgba(123,82,207,.2); }
.mp3 { background: #1A7BB5; top: 45%; left: 25%; box-shadow: 0 0 0 6px rgba(26,123,181,.2); }
.mp4 { background: #1C7A45; top: 68%; left: 50%; box-shadow: 0 0 0 6px rgba(28,122,69,.2); }
.map-content { position: relative; z-index: 1; text-align: center; }
.map-icon { font-size: 48px; margin-bottom: 10px; }
.map-label { font-family: var(--font-heading); font-size: 16px; font-weight: 700; color: var(--navy); }
.map-sub { font-size: 13px; color: var(--muted); }
.btn-map {
  position: relative; z-index: 1; padding: 11px 24px; border-radius: var(--r-md);
  background: var(--navy); color: var(--white);
  font-size: 14px; font-weight: 600; border: none;
  box-shadow: 0 4px 18px rgba(15,31,61,.2); transition: opacity .2s;
}
.btn-map:hover { opacity: .85; color: var(--white); }

/* ===== FAQ ===== */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); padding: 20px 0; cursor: pointer; }
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-heading); font-size: 17px; font-weight: 600; color: var(--navy);
}
.faq-toggle {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--pale); color: var(--purple);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0; transition: background .2s;
}
.faq-item.open .faq-toggle { background: var(--violet); color: var(--white); }
.faq-a { display: none; font-size: 14px; color: var(--muted); line-height: 1.75; padding-top: 14px; max-width: 640px; }
.faq-item.open .faq-a { display: block; }

/* ===== FOOTER ===== */
.lxr-footer {
  background: var(--navy); padding: 64px 5% 32px;
  color: rgba(255,255,255,.65);
}
.footer-top { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p { font-size: 14px; line-height: 1.7; margin: 14px 0 22px; color: rgba(255,255,255,.5); max-width: 280px; }
.footer-social { display: flex; gap: 10px; }
.soc-btn {
  width: 36px; height: 36px; border-radius: var(--r-sm);
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center; font-size: 14px;
  transition: background .2s;
}
.soc-btn:hover { background: rgba(255,255,255,.15); color: var(--white); }
.footer-col h4 { font-family: var(--font-heading); font-size: 14px; font-weight: 700; color: var(--white); margin-bottom: 18px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 13px; color: rgba(255,255,255,.5); transition: color .2s; }
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
}
.footer-bottom p { font-size: 13px; }
.footer-badges { display: flex; gap: 12px; flex-wrap: wrap; }
.fb {
  padding: 6px 14px; border-radius: var(--r-sm);
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1);
  font-size: 12px; color: rgba(255,255,255,.5);
}

/* ===== ARCHIVE / SINGLE ===== */
.page-header {
  background: var(--navy); padding: 60px 5% 50px; color: var(--white);
}
.page-header h1 { font-size: clamp(32px, 4vw, 48px); margin-bottom: 12px; }
.page-header p { color: rgba(255,255,255,.65); max-width: 560px; }
.breadcrumb {
  font-size: 13px; color: rgba(255,255,255,.5); margin-bottom: 16px;
}
.breadcrumb a { color: rgba(255,255,255,.7); }
.breadcrumb a:hover { color: var(--white); }

.single-business { padding: 60px 5%; }
.single-layout { display: grid; grid-template-columns: 1fr 340px; gap: 40px; max-width: 1200px; margin: 0 auto; }
.single-main { min-width: 0; }
.single-sidebar { display: flex; flex-direction: column; gap: 20px; }
.single-hero-img {
  border-radius: var(--r-lg); overflow: hidden; margin-bottom: 28px;
  border: 1.5px solid var(--border); aspect-ratio: 1 / 1; max-width: 640px;
}
.single-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.single-hero-img .lc-img-placeholder { width: 100%; height: 100%; aspect-ratio: auto; }
.single-title { font-size: 32px; margin-bottom: 8px; }
.single-meta-row { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; color: var(--muted); font-size: 14px; }
.single-content { font-size: 16px; line-height: 1.75; color: var(--navy); }
.single-content p { margin-bottom: 16px; }
.info-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--r-lg); padding: 24px;
}
.info-card h3 { font-size: 16px; margin-bottom: 16px; }
.info-row { display: flex; gap: 10px; margin-bottom: 12px; font-size: 14px; align-items: flex-start; }
.info-row strong { min-width: 24px; display: flex; align-items: center; justify-content: center; color: var(--muted); font-weight: 500; flex-shrink: 0; }
.contact-btn {
  width: 100%; margin-top: 8px;
}
.empty-state {
  text-align: center; padding: 60px 20px; color: var(--muted);
}
.empty-state h3 { color: var(--navy); margin-bottom: 8px; }

.text-center { text-align: center; }
.mt-32 { margin-top: 32px; }
.mt-36 { margin-top: 36px; }
.mt-40 { margin-top: 40px; }
.muted-note { margin-top: 14px; font-size: 13px; color: var(--muted); }

/* ===== ANIMATIONS ===== */
@keyframes float-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.hero-inner > * { animation: float-up .7s ease both; }
.hero-inner > *:nth-child(1) { animation-delay: .05s; }
.hero-inner > *:nth-child(2) { animation-delay: .15s; }
.hero-inner > *:nth-child(3) { animation-delay: .25s; }
.hero-inner > *:nth-child(4) { animation-delay: .35s; }
.hero-stats { animation: float-up .7s ease .45s both; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .cats-grid { grid-template-columns: repeat(2, 1fr); }
  .listings-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: var(--white); flex-direction: column; gap: 0;
    border-bottom: 1px solid var(--border); padding: 12px 5%;
  }
  .lxr-nav.is-open .nav-links { display: flex; }
  .nav-links li { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .nav-links li:last-child { border-bottom: none; }
  .nav-right .btn-ghost { display: none; }
  .hiw-grid, .testi-grid, .plans-grid { grid-template-columns: 1fr; }
  .nearby-layout { grid-template-columns: 1fr; }
  .cta-banner { flex-direction: column; padding: 48px 32px; text-align: center; }
  .cta-title, .cta-sub { max-width: none; }
  .hero-stats { flex-wrap: wrap; }
  .h-stat { flex: 1 1 50%; }
  .single-layout { grid-template-columns: 1fr; }
  .search-card { flex-wrap: wrap; padding: 16px; }
  .search-divider { display: none; }
  .search-field { flex: 1 1 100%; }
  .search-btn { width: 100%; }
  .map-explorer-layout { grid-template-columns: 1fr; }
  .lxr-form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .cats-grid, .listings-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .h-stat { flex: 1 1 100%; border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); }
  .testi-divider { display: none; }
  .trust-strip { gap: 20px; }
  .map-explorer-main { min-height: 360px; }
}

/* ===== GOOGLE MAPS ===== */
.lxr-map {
  width: 100%;
  height: 380px;
  border-radius: var(--r-lg);
  border: 1.5px solid var(--border);
  overflow: hidden;
  background: var(--off);
}
.lxr-map-home { height: 380px; }
.lxr-map-single { height: 220px; }
.lxr-form-map { height: 280px; margin-top: 12px; }
.lxr-map-explorer { height: 100%; min-height: 520px; }
.lxr-map-error {
  display: flex; align-items: center; justify-content: center;
  height: 100%; padding: 24px; text-align: center; color: var(--muted); font-size: 14px;
}
.map-explorer-wrap { position: relative; }
.map-overlay-btn {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 2;
}
.map-box-fallback { height: 380px; }
.lxr-map-info { max-width: 220px; font-size: 13px; line-height: 1.5; }
.lxr-map-info-cat { color: var(--muted); margin: 4px 0; }
.lxr-map-info-addr { color: var(--muted); margin-bottom: 8px; }
.lxr-map-info-link {
  display: inline-block; margin-top: 6px; color: var(--purple); font-weight: 600;
}
.lxr-map-info-link:hover { color: var(--violet); }

.map-explorer-section { padding-top: 0; }
.map-explorer-layout {
  display: grid; grid-template-columns: 340px 1fr; gap: 24px;
  min-height: 560px;
}
.map-explorer-sidebar h3 {
  font-family: var(--font-heading); font-size: 18px; margin-bottom: 16px;
}
.map-explorer-list { display: flex; flex-direction: column; gap: 12px; max-height: 560px; overflow: auto; }
.map-explorer-main { min-height: 560px; }

/* ===== SUBMISSION FORM ===== */
.submission-wrap { max-width: 1100px; margin: 0 auto; }
.lxr-form-grid {
  display: grid; grid-template-columns: 1fr 380px; gap: 24px; align-items: start;
}
.lxr-form-main, .lxr-form-side { display: flex; flex-direction: column; gap: 20px; }
.lxr-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.lxr-field:last-child { margin-bottom: 0; }
.lxr-field span { font-size: 13px; font-weight: 600; color: var(--navy); }
.lxr-field input,
.lxr-field select,
.lxr-field textarea {
  width: 100%; padding: 12px 14px; border-radius: var(--r-sm);
  border: 1.5px solid var(--border); font-family: inherit; font-size: 14px;
  background: var(--white); color: var(--navy);
}
.lxr-field input:focus,
.lxr-field select:focus,
.lxr-field textarea:focus {
  outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(123,82,207,.12);
}
.lxr-field-help { font-size: 13px; color: var(--muted); margin-bottom: 12px; line-height: 1.5; }
.lxr-form-submit-card { text-align: center; }
.lxr-alert {
  border-radius: var(--r-lg); padding: 24px 28px; margin-bottom: 24px;
}
.lxr-alert-success {
  background: #ECFDF5; border: 1.5px solid #A7F3D0; color: #065F46;
}
.lxr-alert-success h3 { color: #065F46; margin-bottom: 8px; }
.lxr-alert-error {
  background: #FEF2F2; border: 1.5px solid #FECACA; color: #991B1B;
}
.lxr-alert-error ul { margin-top: 10px; padding-left: 18px; }
.lxr-honeypot {
  position: absolute; left: -9999px; height: 0; overflow: hidden;
}
.lxr-recaptcha-wrap {
  display: flex; justify-content: center; margin-bottom: 16px;
}
.pac-container { z-index: 10000 !important; font-family: var(--font-body); }

/* ===== ICONS & MEDIA ===== */
.lxr-icon { display: inline-block; vertical-align: middle; flex-shrink: 0; }
.lc-media-square { aspect-ratio: 1 / 1; overflow: hidden; position: relative; }
.lc-media-square > img { width: 100%; height: 100%; object-fit: cover; display: block; }

.business-gallery { margin-top: 36px; }
.business-gallery h3 { font-size: 18px; margin-bottom: 16px; }
.business-gallery-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px;
}
.gallery-item { border-radius: var(--r-md); overflow: hidden; border: 1.5px solid var(--border); background: var(--off); }
.gallery-item-image { aspect-ratio: 1 / 1; }
.gallery-item-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-item-video { aspect-ratio: 9 / 16; max-width: 220px; }
.gallery-item-video video { width: 100%; height: 100%; object-fit: cover; display: block; background: #000; }

.category-archive-title { display: flex; align-items: center; gap: 12px; }
.category-title-icon { display: inline-flex; align-items: center; justify-content: center; color: var(--violet-2); }

.cta-tag { display: inline-flex; align-items: center; gap: 8px; }
.cta-tag-icon { color: var(--white); }

.trust-icon-svg, .hiw-icon-svg { color: var(--purple); }
.hiw-icon { display: flex; align-items: center; justify-content: center; }

.info-icon { color: var(--purple); }
.info-row strong { display: flex; align-items: center; justify-content: center; min-width: 24px; }

.map-icon-svg { color: var(--purple); }
.testi-stars { margin: 4px 0; }

.soc-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.85); transition: background .2s, color .2s;
}
.soc-btn:hover { background: rgba(255,255,255,.16); color: var(--white); }
.soc-icon { display: block; }

.footer-badges .fb { display: inline-flex; align-items: center; gap: 6px; }
.fb-icon { color: var(--violet-2); }
.fb-icon-star { color: #F59E0B; }

/* ===== DISTANCE (GPS) ===== */
.lxr-distance:empty::before { content: '…'; color: var(--muted); font-size: 12px; }
.lxr-distance.is-loaded:empty::before { content: none; }

/* ===== BUSINESS HOURS (FRONTEND) ===== */
.lxr-hours-list { list-style: none; padding: 0; margin: 0; }
.lxr-hours-list li {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 14px;
}
.lxr-hours-list li.is-today { font-weight: 700; color: var(--purple); }
.lxr-hours-day { color: var(--navy); }
.lxr-hours-time { color: var(--muted); text-align: right; }
.lxr-holidays-display { margin-top: 18px; }
.lxr-holidays-display h4 { font-size: 14px; margin-bottom: 10px; }
.lxr-holidays-display ul { list-style: none; padding: 0; margin: 0; }
.lxr-holidays-display li {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 13px;
}
.lxr-holiday-badge {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  background: #FEE2E2; color: #991B1B; padding: 2px 8px; border-radius: 100px;
}

/* ===== REVIEWS ===== */
.lxr-rating-breakdown { margin-top: 36px; }
.lxr-rating-breakdown h3 { font-size: 18px; margin-bottom: 14px; }
.lxr-breakdown-row {
  display: grid; grid-template-columns: 72px 1fr 40px; gap: 12px;
  align-items: center; margin-bottom: 8px; font-size: 13px;
}
.lxr-breakdown-bar {
  height: 8px; background: var(--off); border-radius: 100px; overflow: hidden;
}
.lxr-breakdown-bar span {
  display: block; height: 100%; background: #F59E0B; border-radius: 100px;
}
.lxr-breakdown-count { text-align: right; color: var(--muted); }
.lxr-reviews-list { margin-top: 28px; }
.lxr-reviews-list h3 { font-size: 18px; margin-bottom: 16px; }
.lxr-review-item {
  border: 1.5px solid var(--border); border-radius: var(--r-md);
  padding: 18px; margin-bottom: 12px; background: var(--white);
}
.lxr-review-head {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  margin-bottom: 10px; font-size: 14px;
}
.lxr-review-head time { color: var(--muted); font-size: 12px; margin-left: auto; }
.lxr-review-body { font-size: 14px; line-height: 1.6; color: var(--navy); }
.lxr-review-form-wrap { margin-top: 28px; }
.lxr-star-picker { display: inline-flex; gap: 4px; }
.lxr-star-btn {
  background: none; border: none; padding: 2px; cursor: pointer; color: #D1D5DB;
}
.lxr-star-btn.is-active, .lxr-star-btn:hover { color: #F59E0B; }
.lxr-admin-map { margin-top: 12px; border: 1px solid #ccd0d4; border-radius: 8px; }
