/* BlushLocal — Rose Gold Dark Theme */
:root {
  --bg: #0a0a0a;
  --surface: #141414;
  --surface-hover: #1a1a1a;
  --border: #262626;
  --text: #f5f5f5;
  --muted: #a3a3a3;
  --accent: #e8a0bf;
  --accent-hover: #d4789f;
  --accent-subtle: rgba(232, 160, 191, 0.1);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-pill: 100px;
  --max-w: 1200px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
img { max-width: 100%; height: auto; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }

/* ── Header ─────────────────────────────────────────────────── */
header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: 60px;
}
.header-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between;
  height: 100%; gap: 16px;
}
.logo { font-size: 1.25rem; font-weight: 700; color: var(--text); white-space: nowrap; }
.logo span { color: var(--accent); }
.header-search {
  position: relative; flex: 1; max-width: 360px;
}
.header-search input {
  width: 100%; padding: 8px 14px 8px 34px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-pill); color: var(--text);
  font-size: 0.85rem; outline: none; transition: border-color 0.2s;
}
.header-search input:focus { border-color: var(--accent); }
.header-search input::placeholder { color: var(--muted); }
.header-search .hs-icon {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  font-size: 0.8rem; pointer-events: none; color: var(--muted);
}
.header-search .hs-results {
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); margin-top: 4px;
  max-height: 320px; overflow-y: auto; display: none; z-index: 200;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.header-search .hs-results a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 14px; color: var(--text);
  border-bottom: 1px solid var(--border); font-size: 0.9rem;
}
.header-search .hs-results a:last-child { border-bottom: none; }
.header-search .hs-results a:hover { background: var(--surface-hover); }
.header-search .hs-count { color: var(--muted); font-size: 0.75rem; white-space: nowrap; }
nav { display: flex; gap: 20px; align-items: center; white-space: nowrap; }
nav a { color: var(--muted); font-size: 0.9rem; transition: color 0.2s; }
nav a:hover { color: var(--accent); }
.nav-cta {
  background: var(--accent); color: #0a0a0a; padding: 6px 16px;
  border-radius: var(--radius-pill); font-weight: 600; font-size: 0.85rem;
}
.nav-cta:hover { background: var(--accent-hover); color: #0a0a0a; }

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  text-align: center; padding: 80px 20px 40px;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800; line-height: 1.1; margin-bottom: 16px;
}
.hero h1 em { color: var(--accent); font-style: normal; }
.hero p {
  color: var(--muted); font-size: clamp(1rem, 2vw, 1.25rem);
  max-width: 600px; margin: 0 auto 32px;
}

/* ── Stats Bar ───────────────────────────────────────────────── */
.stats-bar {
  display: flex; justify-content: center; gap: 32px;
  flex-wrap: wrap; margin-bottom: 48px;
}
.stat { text-align: center; }
.stat-num { font-size: 1.75rem; font-weight: 700; color: var(--accent); }
.stat-label { font-size: 0.8rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }

/* ── Search ──────────────────────────────────────────────────── */
.search-wrap {
  max-width: 500px; margin: 0 auto 48px; position: relative;
}
.search-wrap input {
  width: 100%; padding: 14px 20px 14px 44px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-pill); color: var(--text);
  font-size: 1rem; outline: none; transition: border-color 0.2s;
}
.search-wrap input:focus { border-color: var(--accent); }
.search-wrap input::placeholder { color: var(--muted); }
.search-icon {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  font-size: 1.1rem; pointer-events: none;
}
.search-results {
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); margin-top: 4px;
  max-height: 300px; overflow-y: auto; display: none; z-index: 50;
}
.search-results a {
  display: block; padding: 10px 16px; color: var(--text);
  border-bottom: 1px solid var(--border); font-size: 0.95rem;
}
.search-results a:last-child { border-bottom: none; }
.search-results a:hover { background: var(--surface-hover); }
.search-results .sr-count { color: var(--muted); font-size: 0.8rem; float: right; }

/* ── Section Headers ─────────────────────────────────────────── */
.section-header {
  text-align: center; margin-bottom: 32px;
}
.section-header h2 {
  font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; margin-bottom: 8px;
}
.section-header p { color: var(--muted); max-width: 600px; margin: 0 auto; }
.section-divider { border: none; border-top: 1px solid var(--border); margin: 64px 0; }

/* ── Card Grid ───────────────────────────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px; margin-bottom: 48px;
}
.card-link { display: block; color: inherit; }
.card-link:hover { color: inherit; }
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px; position: relative;
  transition: transform 0.2s, border-color 0.2s;
}
.card-link:hover .card {
  transform: translateY(-2px); border-color: var(--accent);
}
.card-rating { margin-bottom: 8px; font-size: 0.9rem; }
.card-name { font-size: 1.1rem; font-weight: 600; margin-bottom: 6px; line-height: 1.3; }
.card-meta { display: flex; gap: 12px; align-items: center; margin-bottom: 6px; font-size: 0.85rem; }
.card-category {
  background: var(--accent-subtle); color: var(--accent);
  padding: 2px 10px; border-radius: var(--radius-pill);
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
}
.card-price { color: var(--muted); font-size: 0.85rem; }
.card-location { color: var(--muted); font-size: 0.85rem; margin-bottom: 8px; }

/* ── Stars ────────────────────────────────────────────────────── */
.stars { color: #fbbf24; letter-spacing: 1px; }
.star-half { background: linear-gradient(90deg, #fbbf24 50%, #525252 50%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.stars-new {
  background: var(--accent-subtle); color: var(--accent);
  padding: 2px 10px; border-radius: var(--radius-pill);
  font-size: 0.75rem; font-weight: 600;
}
.rating-num { color: var(--text); font-weight: 600; }
.review-count { color: var(--muted); font-size: 0.85rem; }

/* ── Chips / Tags ────────────────────────────────────────────── */
.vibe-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.vibe-chip {
  font-size: 0.72rem; padding: 2px 8px; border-radius: var(--radius-pill);
  background: rgba(232,160,191,0.08); color: var(--muted);
  border: 1px solid rgba(232,160,191,0.15);
}
.service-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.service-chip {
  font-size: 0.72rem; padding: 2px 8px; border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.05); color: var(--muted);
}

/* ── Franchise Badge ─────────────────────────────────────────── */
.franchise-badge {
  position: absolute; top: 12px; right: 12px;
  background: rgba(232,160,191,0.15); color: var(--accent);
  font-size: 0.65rem; font-weight: 700; text-transform: uppercase;
  padding: 2px 8px; border-radius: var(--radius-pill);
  letter-spacing: 0.05em;
}

/* ── Filter Pills ────────────────────────────────────────────── */
.filter-pills {
  display: flex; gap: 8px; flex-wrap: wrap;
  justify-content: center; margin-bottom: 32px;
}
.filter-pill {
  padding: 6px 16px; border-radius: var(--radius-pill);
  background: var(--surface); border: 1px solid var(--border);
  color: var(--muted); font-size: 0.8rem; font-weight: 500;
  cursor: pointer; transition: all 0.2s; text-decoration: none;
}
.filter-pill:hover, .filter-pill.active {
  background: var(--accent-subtle); border-color: var(--accent);
  color: var(--accent);
}

/* ── City Grid ───────────────────────────────────────────────── */
.city-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px; margin-bottom: 48px;
}
.city-card {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  color: var(--text); transition: border-color 0.2s;
}
.city-card:hover { border-color: var(--accent); color: var(--text); }
.city-name { font-weight: 500; font-size: 0.95rem; }
.city-count { color: var(--muted); font-size: 0.8rem; }

/* ── Category Grid ───────────────────────────────────────────── */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px; margin-bottom: 48px;
}
.category-card {
  padding: 20px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius);
  color: var(--text); transition: border-color 0.2s;
}
.category-card:hover { border-color: var(--accent); color: var(--text); }
.category-card .cat-icon { font-size: 1.5rem; margin-bottom: 8px; }
.category-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 4px; }
.category-card .cat-count { color: var(--muted); font-size: 0.85rem; }

/* ── Listing Detail ──────────────────────────────────────────── */
.listing-hero { padding: 40px 0 32px; }
.listing-hero h1 { font-size: clamp(1.5rem, 4vw, 2.5rem); font-weight: 700; margin-bottom: 12px; }
.listing-meta { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }
.listing-meta .meta-item { color: var(--muted); font-size: 0.95rem; }

.info-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px; margin-bottom: 48px;
}
.info-box {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
}
.info-box h3 {
  font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--accent); margin-bottom: 16px;
}
.info-row {
  display: flex; justify-content: space-between;
  padding: 8px 0; border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}
.info-row:last-child { border-bottom: none; }
.info-label { color: var(--muted); }
.info-value { font-weight: 500; }
.info-value a { color: var(--accent); }

.action-buttons { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; }
.btn {
  padding: 12px 24px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 0.95rem; display: inline-flex;
  align-items: center; gap: 8px; transition: all 0.2s;
}
.btn-primary { background: var(--accent); color: #0a0a0a; }
.btn-primary:hover { background: var(--accent-hover); color: #0a0a0a; }
.btn-secondary {
  background: transparent; color: var(--accent);
  border: 1px solid var(--accent);
}
.btn-secondary:hover { background: var(--accent-subtle); }

/* ── Breadcrumbs ─────────────────────────────────────────────── */
.breadcrumbs {
  padding: 16px 0; font-size: 0.85rem; color: var(--muted);
}
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs .sep { margin: 0 8px; }

/* ── Related / Also In ───────────────────────────────────────── */
.related-section { margin-bottom: 48px; }
.related-section h2 {
  font-size: 1.25rem; font-weight: 600; margin-bottom: 16px;
}

/* ── Sorting ─────────────────────────────────────────────────── */
.sort-bar {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 24px; flex-wrap: wrap; gap: 12px;
}
.sort-bar .count { color: var(--muted); font-size: 0.9rem; }
.sort-select {
  padding: 8px 12px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  color: var(--text); font-size: 0.85rem;
}

/* ── FAQ ──────────────────────────────────────────────────────── */
.faq-list { max-width: 700px; margin: 0 auto 48px; }
.faq-item {
  border-bottom: 1px solid var(--border); padding: 20px 0;
}
.faq-q {
  font-weight: 600; font-size: 1.05rem; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
}
.faq-q::after { content: '+'; font-size: 1.25rem; color: var(--accent); transition: transform 0.2s; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  color: var(--muted); font-size: 0.95rem; line-height: 1.7;
  max-height: 0; overflow: hidden; transition: max-height 0.3s;
  padding-top: 0;
}
.faq-item.open .faq-a { max-height: 300px; padding-top: 12px; }

/* ── Footer ──────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border); padding: 48px 0 32px;
  margin-top: 64px;
}
.footer-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 20px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
}
.footer-col h4 {
  font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--accent); margin-bottom: 12px;
}
.footer-col a {
  display: block; color: var(--muted); font-size: 0.9rem;
  padding: 3px 0; transition: color 0.2s;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  max-width: var(--max-w); margin: 32px auto 0; padding: 24px 20px 0;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  font-size: 0.8rem; color: var(--muted);
}
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--accent); }

/* ── Portal / Claim ──────────────────────────────────────────── */
.form-page { max-width: 560px; margin: 0 auto; padding: 80px 20px; }
.form-page h1 { font-size: 1.75rem; font-weight: 700; margin-bottom: 8px; }
.form-page .subtitle { color: var(--muted); margin-bottom: 32px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 0.85rem; font-weight: 500;
  margin-bottom: 6px; color: var(--muted);
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 16px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  color: var(--text); font-size: 0.95rem; outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--accent);
}
.form-submit {
  width: 100%; padding: 14px; background: var(--accent);
  color: #0a0a0a; border: none; border-radius: var(--radius-sm);
  font-size: 1rem; font-weight: 600; cursor: pointer;
  transition: background 0.2s;
}
.form-submit:hover { background: var(--accent-hover); }
.form-msg {
  padding: 12px 16px; border-radius: var(--radius-sm);
  font-size: 0.9rem; margin-top: 16px; display: none;
}
.form-msg.success { background: rgba(34,197,94,0.1); color: #22c55e; display: block; }
.form-msg.error { background: rgba(239,68,68,0.1); color: #ef4444; display: block; }

/* ── Blog ────────────────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px; margin-bottom: 48px;
}
.blog-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  transition: border-color 0.2s;
}
.blog-card:hover { border-color: var(--accent); color: var(--text); }
.blog-card .blog-date { color: var(--muted); font-size: 0.8rem; margin-bottom: 8px; }
.blog-card h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 8px; line-height: 1.3; }
.blog-card .blog-excerpt { color: var(--muted); font-size: 0.9rem; line-height: 1.6; }
.blog-post-body { max-width: 700px; margin: 0 auto 48px; }
.blog-post-body h2 { font-size: 1.5rem; margin: 32px 0 16px; }
.blog-post-body h3 { font-size: 1.25rem; margin: 24px 0 12px; }
.blog-post-body p { color: var(--muted); line-height: 1.8; margin-bottom: 16px; }
.blog-post-body ul, .blog-post-body ol { color: var(--muted); margin: 0 0 16px 20px; line-height: 1.8; }
.blog-post-body a { color: var(--accent); }
.blog-category-badge {
  display: inline-block; padding: 2px 10px;
  background: var(--accent-subtle); color: var(--accent);
  border-radius: var(--radius-pill); font-size: 0.72rem;
  font-weight: 600; text-transform: uppercase; margin-bottom: 8px;
}

/* ── Nearby Cities ───────────────────────────────────────────── */
.nearby-cities {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px;
}
.nearby-city {
  padding: 6px 14px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-pill);
  color: var(--muted); font-size: 0.85rem; transition: all 0.2s;
}
.nearby-city:hover { border-color: var(--accent); color: var(--accent); }

/* ── 404 ─────────────────────────────────────────────────────── */
.page-404 {
  text-align: center; padding: 120px 20px;
}
.page-404 h1 { font-size: 4rem; font-weight: 800; color: var(--accent); margin-bottom: 16px; }
.page-404 p { color: var(--muted); font-size: 1.1rem; margin-bottom: 32px; }

/* ── Text Pages ──────────────────────────────────────────────── */
.text-page { max-width: 700px; margin: 0 auto; padding: 60px 20px; }
.text-page h1 { font-size: 2rem; font-weight: 700; margin-bottom: 24px; }
.text-page h2 { font-size: 1.25rem; font-weight: 600; margin: 32px 0 12px; }
.text-page p, .text-page li { color: var(--muted); line-height: 1.8; margin-bottom: 12px; }
.text-page ul { margin-left: 20px; }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero { padding: 60px 16px 32px; }
  .stats-bar { gap: 16px; }
  .stat-num { font-size: 1.25rem; }
  nav { gap: 10px; }
  nav a:not(.nav-cta) { display: none; }
  .header-search { max-width: 180px; }
  .header-search input { padding: 6px 10px 6px 28px; font-size: 0.8rem; }
  .header-search .hs-icon { font-size: 0.7rem; left: 10px; }
  .card-grid { grid-template-columns: 1fr; }
  .city-grid { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .listing-meta { flex-direction: column; gap: 4px; }
  .action-buttons { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
}
