/* ============================================================
   BuscaComercio.com — Neon Directory Theme
   Vibrant, modern, click-optimized design
   ============================================================ */

/* --- Custom Properties --- */
:root {
  --dark: #0a0a20;
  --dark-mid: #12122e;
  --hot: #ff2d6f;
  --hot-dark: #e0195a;
  --hot-glow: rgba(255, 45, 111, 0.35);
  --lime: #00e676;
  --amber: #ffab00;
  --cyan: #00bcd4;
  --blue: #448aff;
  --purple: #7c4dff;
  --bg: #f4f4fb;
  --bg-alt: #faf8ff;
  --card: #ffffff;
  --border: #e4e4f0;
  --text: #1a1a2e;
  --text-2: #5a5a78;
  --text-3: #9090a8;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-pill: 50px;
  --shadow-sm: 0 2px 8px rgba(15,14,46,0.05);
  --shadow: 0 4px 20px rgba(15,14,46,0.08);
  --shadow-lg: 0 8px 40px rgba(15,14,46,0.12);
  --shadow-hot: 0 4px 20px var(--hot-glow);
  --speed: 0.25s;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  background-image: linear-gradient(180deg, #ededfa 0%, var(--bg) 300px);
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--blue); text-decoration: none; transition: color var(--speed); }
a:hover { color: var(--hot); }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4 { font-family: 'Outfit', sans-serif; line-height: 1.25; color: var(--text); }

::selection { background: var(--hot); color: #fff; }
a:focus-visible { outline: 2px solid var(--hot); outline-offset: 2px; border-radius: 4px; }

/* --- Container --- */
.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 1rem; }

/* --- Header --- */
.site-header {
  background: linear-gradient(135deg, var(--dark) 0%, #140e30 100%);
  padding: 0.65rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header::after {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--hot), var(--amber), var(--lime), var(--cyan), var(--purple), var(--hot));
  background-size: 200% 100%;
  animation: gradientSlide 4s linear infinite;
}

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.site-logo {
  font-family: 'Outfit', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}
.site-logo:hover { color: #fff; text-decoration: none; }
.site-logo span { color: var(--hot); }

.site-nav { display: flex; gap: 0.5rem; }
.site-nav a {
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.08);
  transition: all var(--speed);
}
.site-nav a:hover {
  background: var(--hot);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 2px 12px var(--hot-glow);
}

/* --- Breadcrumbs --- */
.breadcrumb { padding: 0.65rem 1rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0.3rem; font-size: 0.82rem; color: var(--text-3); }
.breadcrumb li:not(:last-child)::after { content: '›'; margin-left: 0.4rem; color: var(--text-3); font-weight: 600; }
.breadcrumb a {
  color: var(--text-2);
  padding: 0.15rem 0.3rem;
  border-radius: 4px;
  transition: all var(--speed);
}
.breadcrumb a:hover { color: var(--hot); background: rgba(255,45,111,0.06); text-decoration: none; }
.breadcrumb [aria-current="page"] { color: var(--text); font-weight: 600; }

/* --- Main Content --- */
main.container { flex: 1; padding-top: 1.25rem; padding-bottom: 2.5rem; }
h1 { font-size: 1.85rem; font-weight: 800; margin-bottom: 0.4rem; }
h2 { font-size: 1.3rem; font-weight: 700; margin: 1.75rem 0 0.75rem; }
h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.4rem; }

/* --- Hero (Homepage) --- */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--dark) 0%, #1a0e3a 40%, #0e1e40 70%, #0a1830 100%);
  color: #fff;
  text-align: center;
  padding: 3rem 2rem;
  border-radius: var(--radius);
  margin-bottom: 2rem;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(255,45,111,0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(0,230,118,0.1) 0%, transparent 50%),
    radial-gradient(circle at 50% 100%, rgba(124,77,255,0.1) 0%, transparent 50%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.06) 1px, transparent 0);
  background-size: 24px 24px;
  pointer-events: none;
}
.hero h1 { position: relative; font-size: 2.2rem; font-weight: 900; color: #fff; margin-bottom: 0.5rem; }
.hero p { position: relative; color: rgba(255,255,255,0.75); font-size: 1.05rem; max-width: 560px; margin: 0 auto; }
.hero-stats { position: relative; margin-top: 1.25rem; font-size: 1.05rem; font-weight: 500; color: rgba(255,255,255,0.85); }
.hero-stats strong {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  background: linear-gradient(135deg, var(--lime), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Home Sections --- */
.home-section { margin-bottom: 2.5rem; }
.home-section h2 { margin-top: 0; margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--border); }

/* --- Card Grid --- */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  position: relative;
  transition: transform var(--speed), box-shadow var(--speed), border-color var(--speed);
  animation: fadeInUp 0.4s ease both;
}
.card::before {
  content: '';
  position: absolute;
  left: 0; top: 12px; bottom: 12px;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: linear-gradient(180deg, var(--hot), var(--purple));
  opacity: 0;
  transition: opacity var(--speed);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255,45,111,0.2);
}
.card:hover::before { opacity: 1; }

.card-grid .card:nth-child(1) { animation-delay: 0.03s; }
.card-grid .card:nth-child(2) { animation-delay: 0.06s; }
.card-grid .card:nth-child(3) { animation-delay: 0.09s; }
.card-grid .card:nth-child(4) { animation-delay: 0.12s; }
.card-grid .card:nth-child(5) { animation-delay: 0.15s; }
.card-grid .card:nth-child(6) { animation-delay: 0.18s; }
.card-grid .card:nth-child(7) { animation-delay: 0.21s; }
.card-grid .card:nth-child(8) { animation-delay: 0.24s; }

.card-link { display: flex; flex-direction: column; gap: 0.35rem; text-decoration: none; color: inherit; }
.card-link:hover { text-decoration: none; }
.card-link strong {
  font-family: 'Outfit', sans-serif;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 700;
  transition: color var(--speed);
}
.card-link:hover strong { color: var(--hot); }
.card-link span { color: var(--text-2); font-size: 0.85rem; }

.card h3 { font-family: 'Outfit', sans-serif; color: var(--text); font-size: 1.05rem; }
.card > h2 { font-size: 1.1rem; margin: 0 0 0.3rem; }
.card p { color: var(--text-2); font-size: 0.85rem; margin-bottom: 0.35rem; }
.card ul { margin-top: 0.5rem; }
.card ul li { padding: 0.25rem 0; font-size: 0.88rem; }
.card ul li a { color: var(--text-2); transition: all var(--speed); padding: 0.1rem 0; border-bottom: 1px solid transparent; }
.card ul li a:hover { color: var(--hot); border-bottom-color: var(--hot); text-decoration: none; }

/* --- Category Cards --- */
.card-category {
  text-align: center;
  padding: 1.5rem 1rem;
  border: 2px solid var(--border);
  overflow: hidden;
}
.card-category::before {
  left: 0; right: 0; top: 0;
  height: 4px;
  border-radius: 0;
  background: var(--cat, linear-gradient(90deg, var(--hot), var(--amber)));
  opacity: 1;
  width: 100%;
  bottom: auto;
}
.card-category:hover {
  border-color: var(--cat, var(--hot));
  box-shadow: var(--shadow-lg);
}
.card-category strong {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  color: var(--text);
}
.card-category span {
  font-size: 0.82rem;
  color: var(--text-2);
  font-weight: 500;
}

/* Category color mapping */
[data-cat="restaurantes"] { --cat: #ff5252; }
[data-cat="bares-e-cafes"] { --cat: #ff9100; }
[data-cat="hoteis-e-pousadas"] { --cat: #7c4dff; }
[data-cat="farmacias"] { --cat: #00c853; }
[data-cat="hospitais-e-clinicas"] { --cat: #ff1744; }
[data-cat="escolas"] { --cat: #2979ff; }
[data-cat="bancos"] { --cat: #00bfa5; }
[data-cat="postos-de-combustivel"] { --cat: #ff6d00; }
[data-cat="igrejas-e-templos"] { --cat: #651fff; }
[data-cat="museus"] { --cat: #ffd600; }
[data-cat="patrimonio-historico"] { --cat: #8d6e63; }

/* --- State Page --- */
.state-stats { margin-bottom: 1.5rem; }
.state-stats p { display: flex; flex-wrap: wrap; gap: 0.5rem; color: var(--text-2); font-size: 0.9rem; }
.region-group { margin-bottom: 2rem; }

.alpha-list { columns: 1; }
.alpha-group { break-inside: avoid; margin-bottom: 1.1rem; }
.alpha-group h3 {
  display: inline-block;
  background: linear-gradient(135deg, var(--hot), var(--purple));
  color: #fff;
  padding: 0.15rem 0.55rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
  border-bottom: none;
}
.alpha-group ul li {
  padding: 0.2rem 0.4rem;
  font-size: 0.88rem;
  border-radius: 4px;
  transition: background var(--speed);
}
.alpha-group ul li:hover { background: rgba(255,45,111,0.05); }
.alpha-group ul li a { color: var(--text); font-weight: 500; }
.alpha-group ul li a:hover { color: var(--hot); text-decoration: none; }
.alpha-group small { color: var(--text-3); font-size: 0.78rem; font-weight: 500; }

/* --- City Page --- */
.city-subtitle { color: var(--text-2); font-size: 1rem; margin-bottom: 0.5rem; }
.city-stats {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 2px solid var(--border);
}
.city-stats span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: var(--card);
  border: 1px solid var(--border);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  color: var(--text-2);
  font-weight: 500;
}
.city-description { margin-bottom: 1.75rem; color: var(--text-2); line-height: 1.75; font-size: 0.95rem; }

/* --- POI Listing --- */
.listing-subtitle { color: var(--text-2); margin-bottom: 1rem; font-size: 0.95rem; }
.poi-list { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.5rem; }
.poi-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1rem 0.9rem 1.15rem;
  border-left: 4px solid var(--border);
  transition: all var(--speed);
  position: relative;
}
.poi-card:hover {
  border-left-color: var(--hot);
  box-shadow: var(--shadow);
  transform: translateX(4px);
}
.poi-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
}
.poi-name a { color: var(--text); transition: color var(--speed); }
.poi-name a:hover { color: var(--hot); text-decoration: none; }
.poi-name a::after {
  content: ' \2192';
  font-size: 0.85em;
  opacity: 0;
  transition: opacity var(--speed);
  color: var(--hot);
}
.poi-card:hover .poi-name a::after { opacity: 1; }
.poi-address, .poi-phone { font-size: 0.84rem; color: var(--text-3); }

/* --- POI Detail Page --- */
.poi-page-subtitle { color: var(--text-2); margin-bottom: 0.5rem; font-size: 0.95rem; }
.poi-page-subtitle a { color: var(--blue); }
.poi-page-subtitle a:hover { color: var(--hot); }
.poi-brand {
  display: inline-block;
  background: linear-gradient(135deg, var(--purple), var(--blue));
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-pill);
  margin-left: 0.4rem;
  vertical-align: middle;
}
.poi-alt-name { color: var(--text-3); font-size: 0.88rem; margin-bottom: 1rem; font-style: italic; }

/* Quick info bar */
.poi-quickbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 1.25rem;
}
.qb-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--text);
  font-weight: 500;
  transition: all var(--speed);
  text-decoration: none;
}
a.qb-item:hover {
  border-color: var(--hot);
  color: var(--hot);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  text-decoration: none;
}
.qb-icon { font-size: 1.1rem; flex-shrink: 0; }
.qb-label { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 0.78rem; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.03em; }
.qb-value { color: var(--text); font-weight: 600; }

/* Map section */
.poi-map-section {
  margin-bottom: 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.poi-map-section iframe { display: block; width: 100%; height: 300px; border: 0; }
.poi-map-actions {
  display: flex;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  background: var(--card);
  border-top: 1px solid var(--border);
}
.btn-map {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1rem;
  background: linear-gradient(135deg, var(--hot) 0%, #ff6b35 100%);
  color: #fff;
  border-radius: var(--radius-pill);
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: 0 2px 8px var(--hot-glow);
  transition: all var(--speed);
}
.btn-map:hover { transform: translateY(-1px); box-shadow: 0 4px 15px var(--hot-glow); text-decoration: none; color: #fff; }
.btn-map-alt {
  background: linear-gradient(135deg, var(--blue) 0%, var(--cyan) 100%);
  box-shadow: 0 2px 8px rgba(68,138,255,0.25);
}
.btn-map-alt:hover { box-shadow: 0 4px 15px rgba(68,138,255,0.35); color: #fff; }

/* Info grid */
.poi-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.poi-info-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
}
.poi-info-card h2 {
  font-size: 1rem;
  margin: 0 0 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(90deg, var(--hot), var(--amber)) 1;
}
.poi-dl { display: grid; grid-template-columns: auto 1fr; gap: 0.5rem 1rem; align-items: baseline; }
.poi-dl dt { font-family: 'Outfit', sans-serif; font-weight: 700; color: var(--text); font-size: 0.85rem; white-space: nowrap; }
.poi-dl dd { color: var(--text-2); font-size: 0.9rem; word-break: break-word; }
.poi-dl dd a { color: var(--blue); border-bottom: 1px dashed rgba(68,138,255,0.3); }
.poi-dl dd a:hover { color: var(--hot); border-bottom-color: var(--hot); text-decoration: none; }

/* Hours table */
.poi-hours-table { width: 100%; border-collapse: collapse; }
.poi-hours-table tr { border-bottom: 1px solid var(--border); }
.poi-hours-table tr:last-child { border-bottom: none; }
.poi-hours-table td { padding: 0.45rem 0.5rem; font-size: 0.88rem; }
.hours-day { font-family: 'Outfit', sans-serif; font-weight: 600; color: var(--text); white-space: nowrap; }
.hours-time { color: var(--text-2); text-align: right; }

/* Tags & badges */
.poi-section { margin-bottom: 1.25rem; }
.poi-section h2 { font-size: 1rem; margin-bottom: 0.65rem; }
.poi-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tag {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
}
.tag-cuisine { background: linear-gradient(135deg, #fff3e0, #ffe0b2); color: #e65100; border: 1px solid #ffcc80; }
.tag-fuel { background: linear-gradient(135deg, #e8f5e9, #c8e6c9); color: #2e7d32; border: 1px solid #a5d6a7; }
.tag-amenity { background: linear-gradient(135deg, #e3f2fd, #bbdefb); color: #1565c0; border: 1px solid #90caf9; }
.tag-payment { background: linear-gradient(135deg, #f3e5f5, #e1bee7); color: #7b1fa2; border: 1px solid #ce93d8; }

.poi-smoking-notice {
  padding: 0.6rem 1rem;
  background: #fff8e1;
  border: 1px solid #ffecb3;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: #f57f17;
  font-weight: 500;
  margin-bottom: 1.25rem;
}

/* Description */
.poi-description {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}
.poi-description h2 { font-size: 1rem; margin-bottom: 0.65rem; }
.poi-description p { color: var(--text-2); line-height: 1.75; font-size: 0.93rem; }

/* POI card badges (listing page) */
.poi-card-main { flex: 1; }
.poi-card-meta { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.3rem; }
.poi-meta-item { font-size: 0.82rem; color: var(--text-3); }
.poi-meta-item a { color: var(--blue); font-weight: 500; }
.poi-meta-item a:hover { color: var(--hot); }
.poi-meta-hours { color: var(--text-2); }
.poi-meta-cuisine { color: var(--amber); font-weight: 500; }
.poi-meta-item + .poi-meta-item::before { content: '·'; margin-right: 0.5rem; color: var(--border); }
.poi-badges { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-top: 0.5rem; }
.badge {
  display: inline-block;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-pill);
  font-family: 'Outfit', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  white-space: nowrap;
}
.badge-hours { background: #e8f5e9; color: #2e7d32; }
.badge-access { background: #e3f2fd; color: #1565c0; }
.badge-wifi { background: #fce4ec; color: #c62828; }
.badge-delivery { background: #fff3e0; color: #e65100; }
.badge-outdoor { background: #f1f8e9; color: #558b2f; }
.badge-ac { background: #e0f7fa; color: #00838f; }

/* --- Pagination --- */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.25rem 0;
  margin: 1rem 0;
}
.pagination a {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.15rem;
  background: linear-gradient(135deg, var(--hot) 0%, #ff6b35 100%);
  color: #fff;
  border-radius: var(--radius-pill);
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 2px 10px var(--hot-glow);
  transition: all var(--speed);
  border: none;
}
.pagination a:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 18px var(--hot-glow);
  text-decoration: none;
  color: #fff;
}
.pagination .disabled {
  padding: 0.5rem 1.15rem;
  background: var(--border);
  color: var(--text-3);
  border-radius: var(--radius-pill);
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
}
.pagination-info {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  color: var(--text);
  font-size: 0.88rem;
}

/* --- Sidebar --- */
.sidebar {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 2px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.sidebar-section {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.sidebar-section h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  padding-bottom: 0.5rem;
  margin-bottom: 0.65rem;
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(90deg, var(--hot), var(--amber)) 1;
}
.sidebar-section ul li {
  padding: 0.4rem 0.5rem;
  font-size: 0.88rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 6px;
  transition: background var(--speed);
}
.sidebar-section ul li:hover { background: rgba(255,45,111,0.05); }
.sidebar-section ul li a { color: var(--text); font-weight: 500; transition: color var(--speed); }
.sidebar-section ul li a:hover { color: var(--hot); text-decoration: none; }

.nearby-cities small {
  color: var(--text-3);
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 0.72rem;
  line-height: 1.4;
}
.nearby-distance {
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #fff !important;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-pill);
  font-weight: 700 !important;
  white-space: nowrap;
  flex-shrink: 0;
}
.other-categories small {
  background: linear-gradient(135deg, var(--amber), #ff8f00);
  color: #fff;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-pill);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
}
.poi-category-tag {
  background: linear-gradient(135deg, var(--purple), var(--hot));
  color: #fff;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-pill);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
}

/* Colored dot for category links */
.other-categories a[data-cat]::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cat, var(--text-3));
  margin-right: 0.35rem;
  vertical-align: middle;
}

/* --- Footer --- */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  margin-top: auto;
}
.site-footer::before {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--hot), var(--amber), var(--lime), var(--cyan), var(--purple));
}
.footer-states { padding: 2rem 0; }
.site-footer h3 {
  font-family: 'Outfit', sans-serif;
  color: #fff;
  font-size: 1rem;
  margin-bottom: 0.85rem;
}
.states-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.3rem 1rem; }
.states-grid li { font-size: 0.8rem; padding: 0.2rem 0; }
.states-grid a {
  color: rgba(255,255,255,0.5);
  transition: all var(--speed);
  border-bottom: 1px solid transparent;
}
.states-grid a:hover { color: var(--hot); border-bottom-color: var(--hot); text-decoration: none; }
.footer-copy {
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  text-align: center;
}

/* --- Error Page --- */
.error-page { text-align: center; padding: 4rem 1rem; }
.error-page h1 {
  font-size: 5rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--hot), var(--purple), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
  line-height: 1;
}
.error-page p { color: var(--text-2); font-size: 1.05rem; margin-bottom: 0.75rem; }
.error-page .btn-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.75rem;
  padding: 0.65rem 1.5rem;
  background: linear-gradient(135deg, var(--hot), #ff6b35);
  color: #fff;
  border-radius: var(--radius-pill);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: var(--shadow-hot);
  transition: all var(--speed);
}
.error-page .btn-back:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px var(--hot-glow);
  text-decoration: none;
  color: #fff;
}

/* --- SEO Text & Linking --- */
.seo-intro {
  color: var(--text-2);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  padding: 1rem 1.25rem;
  background: var(--bg-alt);
  border-left: 3px solid var(--hot);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.seo-intro a { color: var(--hot); font-weight: 500; }
.seo-intro a:hover { text-decoration: underline; }

.seo-linking {
  color: var(--text-3);
  font-size: 0.85rem;
  line-height: 1.7;
  margin: 1.5rem 0;
  padding: 0.75rem 0;
  border-top: 1px solid var(--border);
}
.seo-linking a { color: var(--blue); font-weight: 500; }
.seo-linking a:hover { color: var(--hot); text-decoration: underline; }

/* --- Region Description --- */
.region-description {
  color: var(--text-3);
  font-size: 0.82rem;
  font-style: italic;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--border);
}

/* --- State Region Link --- */
.state-region-link {
  color: var(--text-2);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}
.state-region-link a { color: var(--blue); font-weight: 500; }
.state-region-link a:hover { color: var(--hot); }

/* --- City Coordinates --- */
.city-coords {
  font-family: 'Outfit', monospace;
  font-size: 0.82rem;
  color: var(--text-3);
  background: var(--bg-alt);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

/* --- City Updated --- */
.city-updated {
  color: var(--text-3);
  font-size: 0.8rem;
  margin-top: 1rem;
}

/* --- POI Brand Tag (listing) --- */
.poi-brand-tag {
  display: inline-block;
  background: linear-gradient(135deg, var(--purple), var(--blue));
  color: #fff;
  padding: 0.1rem 0.55rem;
  border-radius: var(--radius-pill);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.7rem;
  margin-left: 0.35rem;
  vertical-align: middle;
}

/* --- POI Operator (listing) --- */
.poi-operator {
  color: var(--text-3);
  font-size: 0.8rem;
  margin-top: 0.25rem;
}

/* --- POI Stars (inline) --- */
.poi-stars-inline {
  color: var(--amber);
  font-size: 0.8rem;
  font-weight: 700;
  margin-left: 0.3rem;
}
.poi-stars {
  background: linear-gradient(135deg, var(--amber), #ff8f00);
  color: #fff;
  padding: 0.1rem 0.55rem;
  border-radius: var(--radius-pill);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  margin-left: 0.35rem;
}

/* --- POI Type Tag (healthcare, operator_type) --- */
.poi-type-tag {
  display: inline-block;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #fff;
  padding: 0.1rem 0.55rem;
  border-radius: var(--radius-pill);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.7rem;
  margin-left: 0.25rem;
}

/* --- POI Extra Info (listing) --- */
.poi-extra-info { color: var(--text-3); font-size: 0.8rem; margin-top: 0.15rem; }

/* --- POI Diet Tags (listing) --- */
.poi-diet-tags { margin-top: 0.35rem; display: flex; flex-wrap: wrap; gap: 0.25rem; }
.badge-diet {
  background: linear-gradient(135deg, var(--lime), #4caf50);
  color: #fff;
  padding: 0.1rem 0.5rem;
  border-radius: var(--radius-pill);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.68rem;
}

/* --- POI OSM Description --- */
.poi-osm-description {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
  color: var(--text-2);
  font-size: 0.9rem;
  font-style: italic;
}

/* --- Section Description --- */
.section-desc {
  color: var(--text-3);
  font-size: 0.85rem;
  margin-top: 0.75rem;
}

/* --- Diet tag (POI detail) --- */
.tag-diet {
  background: linear-gradient(135deg, var(--lime), #4caf50);
  color: #fff;
}

/* --- Badge Parking/Pool/Stars --- */
.badge-parking,
.badge-pool { background: linear-gradient(135deg, var(--cyan), var(--blue)); color: #fff; }
.badge-stars { background: linear-gradient(135deg, var(--amber), #ff8f00); color: #fff; }

/* --- WhatsApp quickbar --- */
.qb-whatsapp { border-color: #25d366 !important; }
.qb-whatsapp .qb-icon { color: #25d366; }

/* --- POI Dates --- */
.poi-dates {
  color: var(--text-3);
  font-size: 0.78rem;
  margin-top: 1rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}

/* --- POI Meta Web & Email --- */
.poi-meta-web a,
.poi-meta-email a {
  color: var(--blue);
  font-weight: 500;
}
.poi-meta-web a:hover,
.poi-meta-email a:hover {
  color: var(--hot);
}

/* --- Nearby POIs address hint --- */
.poi-address-hint {
  display: block;
  color: var(--text-3);
  font-size: 0.75rem;
  margin-top: 0.1rem;
}

/* --- Footer Categories --- */
.footer-categories {
  padding: 2rem 0 0;
}
.categories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.3rem 1rem;
}
.categories-grid li { font-size: 0.8rem; padding: 0.2rem 0; }
.categories-grid a {
  color: rgba(255,255,255,0.5);
  transition: all var(--speed);
  border-bottom: 1px solid transparent;
}
.categories-grid a:hover { color: var(--lime); border-bottom-color: var(--lime); text-decoration: none; }

/* --- Footer Stats --- */
.footer-stats {
  padding: 1rem 0;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  text-align: center;
}
.footer-stats strong { color: rgba(255,255,255,0.7); }

/* --- Animations --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes gradientSlide {
  0% { background-position: 0% 0%; }
  100% { background-position: 200% 0%; }
}

/* --- Responsive --- */
@media (min-width: 480px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .alpha-list { columns: 2; }
  .states-grid { grid-template-columns: repeat(3, 1fr); }
  .categories-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 768px) {
  .card-grid { grid-template-columns: repeat(3, 1fr); }
  .card-grid-wide { grid-template-columns: repeat(4, 1fr); }
  .alpha-list { columns: 3; }
  .states-grid { grid-template-columns: repeat(4, 1fr); }
  .hero { padding: 3.5rem 3rem; }
  .hero h1 { font-size: 2.5rem; }
  .sidebar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
  }
  .poi-info-grid { grid-template-columns: 1fr 1fr; }
  .poi-map-section iframe { height: 350px; }
  .qb-item { flex: 0 1 auto; }
}

@media (min-width: 1024px) {
  .states-grid { grid-template-columns: repeat(5, 1fr); }
  .categories-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 360px) {
  .site-logo { font-size: 1.1rem; }
  .site-nav a { font-size: 0.75rem; padding: 0.3rem 0.6rem; }
  .hero h1 { font-size: 1.6rem; }
}

/* --- Ad Banners --- */
.ad-banner {
  margin: 1.5rem 0;
  text-align: center;
  overflow: hidden;
}
