/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --primary: #12704a;
  --primary-light: #188f5e;
  --primary-dark: #0a4a30;
  --accent: #c9a227;
  --accent-light: #e0c05a;
  --bg: #f4f6f4;
  --bg-dark: #10231a;
  --bg-card: #ffffff;
  --text: #2d2d3a;
  --text-light: #6b6b80;
  --text-muted: #9e9eb0;
  --border: #e8e8ef;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.25s ease;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --green: #22c55e;
  --green-bg: #dcfce7;
}
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }

/* === HEADER === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}

/* === UTILITY ROW (auth + Post Free Ad) === */
.utility-row { background: var(--bg-dark); color: rgba(255,255,255,0.75); font-size: 13px; }
.utility-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 38px; gap: 16px;
}
.utility-left { display: flex; align-items: center; gap: 20px; white-space: nowrap; }
.utility-left i { margin-right: 5px; }
.utility-right { display: flex; align-items: center; gap: 6px; }
.utility-link {
  padding: 5px 10px; border-radius: 6px; color: rgba(255,255,255,0.75);
  transition: var(--transition); white-space: nowrap;
}
.utility-link:hover { color: #fff; background: rgba(255,255,255,0.08); }
.utility-link i { margin-right: 5px; opacity: 0.7; }
.premium-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 16px; border-radius: 6px;
  background: var(--primary); color: #fff;
  font-size: 13px; font-weight: 600; white-space: nowrap;
  border: none; cursor: pointer; font-family: var(--font);
  transition: var(--transition);
}
.premium-btn:hover { background: var(--primary-light); transform: translateY(-1px); }
.utility-user {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 4px 10px 4px 4px; border-radius: 20px;
  background: rgba(255,255,255,0.08); color: #fff; font-size: 12px;
}
.utility-avatar {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--primary); display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
}
@media (max-width: 900px) {
  .utility-phone { display: none; }
}
@media (max-width: 600px) {
  .utility-left { display: none; }
  .utility-inner { justify-content: flex-end; }
}
.logo { display: flex; align-items: center; gap: 8px; font-size: 22px; font-weight: 700; }
.logo-icon { color: var(--primary); font-size: 20px; }
.logo-dot { color: var(--primary); }
.main-nav { display: flex; gap: 4px; }
.nav-link {
  padding: 8px 16px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 500; color: var(--text-light);
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--primary); background: rgba(18,112,74,0.07); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.btn-outline {
  padding: 8px 18px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: none;
  font-size: 14px; font-weight: 500; cursor: pointer;
  color: var(--text-light); transition: var(--transition);
  font-family: var(--font);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.mobile-menu-toggle { display: none; background: none; border: none; font-size: 20px; cursor: pointer; color: var(--text); }
@media (max-width: 768px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
  .main-nav.open { display: flex; flex-direction: column; position: absolute; top: 102px; left: 0; right: 0; background: #fff; padding: 16px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg); z-index: 60; }
}

/* === HERO === */
.hero {
  background: linear-gradient(135deg, var(--bg-dark) 0%, #13402c 55%, var(--primary-dark) 100%);
  color: #fff; padding: 80px 0 60px; text-align: center; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content { position: relative; z-index: 1; }
.hero h1 { font-family: var(--font-display); font-size: 48px; font-weight: 700; margin-bottom: 16px; }
.hero h1 span { color: var(--accent); }
.hero-sub { font-size: 18px; color: rgba(255,255,255,0.7); margin-bottom: 40px; }
.hero-search {
  max-width: 600px; margin: 0 auto; display: flex;
  background: rgba(255,255,255,0.1); border-radius: var(--radius); overflow: hidden;
  border: 1px solid rgba(255,255,255,0.15);
}
.hero-search input {
  flex: 1; padding: 16px 20px; background: none; border: none;
  color: #fff; font-size: 16px; font-family: var(--font); outline: none;
}
.hero-search input::placeholder { color: rgba(255,255,255,0.5); }
.hero-search button {
  padding: 16px 28px; background: var(--primary); border: none;
  color: #fff; font-size: 15px; font-weight: 600; cursor: pointer;
  font-family: var(--font); transition: var(--transition);
}
.hero-search button:hover { background: var(--primary-light); }
.hero-stats {
  display: flex; justify-content: center; gap: 48px; margin-top: 40px;
}
.hero-stat { text-align: center; }
.hero-stat-num { font-size: 32px; font-weight: 700; color: var(--accent); }
.hero-stat-label { font-size: 13px; color: rgba(255,255,255,0.5); margin-top: 4px; }
@media (max-width: 768px) {
  .hero { padding: 48px 0 40px; }
  .hero h1 { font-size: 32px; }
  .hero-search { flex-direction: column; }
  .hero-stats { gap: 24px; }
}

/* === SECTIONS === */
.section { padding: 60px 0; }
.section-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 32px;
}
.section-header h2 { font-family: var(--font-display); font-size: 28px; font-weight: 600; }
.section-header a { color: var(--primary); font-size: 14px; font-weight: 500; }
.section-header a:hover { text-decoration: underline; }

/* === CITY CARDS === */
.cities-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.city-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  height: 200px; cursor: pointer; transition: var(--transition);
}
.city-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
/* Typographic card: the place name is the artwork. No image files, so the
   homepage stays light and each of the eight domains restyles with two values. */
.city-card-bg {
  position: absolute; inset: 0; overflow: hidden;
  /* The tone gradient still paints while the map loads, and shows through it. */
  background-color: hsl(var(--tone));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
/* No tint layer here: the JPEG already carries the city tone and the fade the
   label sits on. Stacking a second gradient over it is what made the streets
   invisible in the first pass. */
/* The oversized name sits behind the label, cropped by the card edge. */
.city-card-bg span {
  position: absolute; z-index: 1; left: -0.06em; top: 50%;
  transform: translateY(-58%);
  font-family: var(--font-display);
  font-size: 92px; font-weight: 700; line-height: 0.82;
  letter-spacing: -0.03em; white-space: nowrap;
  color: rgba(255,255,255,0.10);
  transition: transform 0.5s ease, color 0.4s ease;
}
.city-card:hover .city-card-bg span {
  transform: translateY(-58%) translateX(6px);
  color: rgba(255,255,255,0.18);
}
.city-card::after {
  content: ''; position: absolute; z-index: 2; left: 24px; top: 24px;
  width: 26px; height: 2px; background: var(--accent); opacity: 0.85;
}
.city-card-content {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 24px;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: #fff;
}
.city-card h3 { font-size: 22px; font-weight: 600; }
.city-card-count { font-size: 14px; color: rgba(255,255,255,0.7); margin-top: 4px; }
@media (max-width: 768px) { .cities-grid { grid-template-columns: 1fr; } }

/* === PROFILE CARDS GRID === */
.profiles-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.profile-card {
  background: var(--bg-card); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); transition: var(--transition);
  cursor: pointer;
}
.profile-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.profile-card-image {
  position: relative; height: 320px; overflow: hidden; background: #e8e8ef;
}
.profile-card-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
}
.profile-card:hover .profile-card-image img { transform: scale(1.05); }
.profile-card-badges {
  position: absolute; top: 12px; left: 12px;
  display: flex; gap: 6px; flex-wrap: wrap;
}
.badge {
  padding: 4px 10px; border-radius: 20px;
  font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px;
}
.badge-available { background: var(--green); color: #fff; }
.badge-city { background: rgba(0,0,0,0.5); color: #fff; backdrop-filter: blur(4px); }
.badge-verified { background: var(--accent); color: #fff; }
.badge-ethnicity { background: rgba(255,255,255,0.9); color: var(--text); }
.profile-card-photos {
  position: absolute; bottom: 12px; right: 12px;
  background: rgba(0,0,0,0.6); color: #fff; padding: 4px 10px;
  border-radius: 20px; font-size: 12px; backdrop-filter: blur(4px);
}
.profile-card-body { padding: 16px; }
.profile-card-name {
  font-size: 18px; font-weight: 600; margin-bottom: 4px;
  display: flex; align-items: center; gap: 8px;
}
.profile-card-name .age { color: var(--text-muted); font-weight: 400; }
.profile-card-meta { font-size: 13px; color: var(--text-light); margin-bottom: 12px; }
.profile-card-meta i { margin-right: 4px; color: var(--text-muted); }
.profile-card-services {
  display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px;
}
.service-pill {
  padding: 3px 10px; border-radius: 20px; font-size: 11px;
  background: var(--bg); color: var(--text-light); border: 1px solid var(--border);
}
.profile-card-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 12px; border-top: 1px solid var(--border);
}
.profile-card-rate { font-size: 15px; font-weight: 600; color: var(--primary); }
.profile-card-rate span { font-size: 12px; font-weight: 400; color: var(--text-muted); }
.profile-card-type { font-size: 12px; color: var(--text-muted); }
.no-image-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #e8e8ef, #d0d0dd);
  color: var(--text-muted); font-size: 48px;
}

/* === LISTING PAGE === */
.listing-header {
  background: var(--bg-dark); color: #fff; padding: 24px 0;
}
.breadcrumb { font-size: 14px; color: rgba(255,255,255,0.5); margin-bottom: 12px; }
.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: #fff; }
.listing-title { font-family: var(--font-display); font-size: 32px; margin-bottom: 8px; }
.listing-count { font-size: 14px; color: rgba(255,255,255,0.6); }
.filter-bar {
  background: var(--bg-card); border-bottom: 1px solid var(--border);
  padding: 16px 0; position: sticky; top: 102px; z-index: 50;
}
.filter-inner {
  display: flex; gap: 12px; align-items: center; flex-wrap: wrap;
}
.filter-select {
  padding: 8px 14px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: var(--bg-card);
  font-size: 14px; font-family: var(--font); color: var(--text);
  cursor: pointer; appearance: auto;
}
.filter-toggle {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: var(--bg-card);
  font-size: 14px; cursor: pointer; font-family: var(--font); color: var(--text);
  transition: var(--transition);
}
.filter-toggle.active { border-color: var(--green); background: var(--green-bg); color: #16a34a; }
.filter-toggle .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--text-muted); transition: var(--transition);
}
.filter-toggle.active .dot { background: var(--green); }
.results-info { margin-left: auto; font-size: 13px; color: var(--text-muted); }
.listing-content { padding: 32px 0; }
.load-more-wrap { text-align: center; margin-top: 40px; }
.btn-load-more {
  padding: 12px 36px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: var(--bg-card);
  font-size: 14px; font-weight: 500; cursor: pointer;
  font-family: var(--font); color: var(--text); transition: var(--transition);
}
.btn-load-more:hover { border-color: var(--primary); color: var(--primary); }

/* === PROFILE DETAIL === */
.profile-detail { padding-bottom: 60px; }
.profile-hero {
  background: var(--bg-dark); padding: 24px 0 0;
}
.profile-hero .breadcrumb { margin-bottom: 16px; }
.profile-gallery-wrap {
  display: grid; grid-template-columns: 2fr 1fr; gap: 8px;
  border-radius: var(--radius); overflow: hidden; max-height: 440px;
}
.gallery-main {
  position: relative; cursor: pointer; overflow: hidden;
}
.gallery-main img { width: 100%; height: 440px; object-fit: cover; }
.gallery-side {
  display: grid; grid-template-rows: 1fr 1fr; gap: 8px;
}
.gallery-side-img { position: relative; cursor: pointer; overflow: hidden; }
.gallery-side-img img { width: 100%; height: 216px; object-fit: cover; }
.gallery-more {
  position: absolute; inset: 0; background: rgba(0,0,0,0.5);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 16px; font-weight: 600; cursor: pointer;
}
.profile-info-section {
  background: var(--bg-card); border-bottom: 1px solid var(--border);
  padding: 24px 0;
}
.profile-info-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  flex-wrap: wrap; gap: 16px;
}
.profile-name-block h1 {
  font-family: var(--font-display); font-size: 32px; font-weight: 600;
  display: flex; align-items: center; gap: 12px;
}
.profile-name-block h1 .age { color: var(--text-muted); font-weight: 400; font-size: 24px; }
.profile-quick-meta {
  display: flex; gap: 20px; margin-top: 8px; font-size: 14px; color: var(--text-light);
}
.profile-quick-meta i { margin-right: 6px; color: var(--text-muted); }
.profile-badges { display: flex; gap: 8px; align-items: flex-start; }
.profile-badges .badge { font-size: 13px; padding: 6px 14px; }
.profile-content-grid {
  display: grid; grid-template-columns: 2fr 1fr; gap: 32px;
  padding: 32px 0;
}
.profile-main {}
.profile-sidebar {}
.content-block { margin-bottom: 32px; }
.content-block h3 {
  font-size: 18px; font-weight: 600; margin-bottom: 16px;
  padding-bottom: 8px; border-bottom: 2px solid var(--border);
}
.about-text { white-space: pre-line; line-height: 1.8; color: var(--text); }
.services-grid {
  display: flex; flex-wrap: wrap; gap: 10px;
}
.service-tag {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: var(--radius-sm);
  background: var(--bg); border: 1px solid var(--border);
  font-size: 14px; color: var(--text); transition: var(--transition);
}
.service-tag i { color: var(--primary); font-size: 13px; }
.service-tag:hover { border-color: var(--primary); background: rgba(18,112,74,0.05); }

/* Sidebar */
.sidebar-card {
  background: var(--bg-card); border-radius: var(--radius);
  border: 1px solid var(--border); padding: 20px; margin-bottom: 20px;
}
.sidebar-card h4 { font-size: 16px; font-weight: 600; margin-bottom: 16px; }
.rates-table { width: 100%; }
.rates-table tr { border-bottom: 1px solid var(--border); }
.rates-table tr:last-child { border-bottom: none; }
.rates-table td { padding: 10px 0; font-size: 14px; }
.rates-table td:first-child { color: var(--text-light); }
.rates-table td:last-child { text-align: right; font-weight: 600; color: var(--primary); font-size: 16px; }
.contact-row {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.contact-row:last-child { border-bottom: none; }
.contact-row i { color: var(--primary); width: 20px; text-align: center; }
.contact-row a { color: var(--primary); }
.contact-row a:hover { text-decoration: underline; }
.btn-contact {
  display: block; width: 100%; padding: 14px; border-radius: var(--radius-sm);
  background: var(--primary); color: #fff; border: none;
  font-size: 15px; font-weight: 600; cursor: pointer;
  font-family: var(--font); text-align: center; transition: var(--transition);
  margin-top: 12px;
}
.btn-contact:hover { background: var(--primary-light); }
.btn-contact i { margin-right: 8px; }
.detail-meta { font-size: 13px; color: var(--text-muted); }
.detail-meta-row { display: flex; justify-content: space-between; padding: 6px 0; }

/* Similar profiles */
.similar-section { padding: 48px 0; background: var(--bg); }
.similar-section h2 { font-family: var(--font-display); font-size: 24px; margin-bottom: 24px; }

@media (max-width: 768px) {
  .profile-content-grid { grid-template-columns: 1fr; }
  .profile-gallery-wrap { grid-template-columns: 1fr; max-height: none; }
  .gallery-main img { height: 300px; }
  .gallery-side { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gallery-side-img img { height: 150px; }
}

/* === LIGHTBOX === */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,0.95); align-items: center; justify-content: center;
}
.lightbox.active { display: flex; }
.lb-image { max-width: 90vw; max-height: 90vh; object-fit: contain; border-radius: 4px; }
.lb-close, .lb-prev, .lb-next {
  position: absolute; background: none; border: none;
  color: #fff; font-size: 24px; cursor: pointer; padding: 16px;
  opacity: 0.7; transition: var(--transition);
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { opacity: 1; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lb-counter {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.6); font-size: 14px;
}

/* === SEARCH MODAL === */
.search-modal {
  display: none; position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,0.6); backdrop-filter: blur(4px);
  align-items: flex-start; justify-content: center; padding-top: 100px;
}
.search-modal.active { display: flex; }
.search-modal-inner {
  background: var(--bg-card); border-radius: var(--radius);
  width: 90%; max-width: 640px; padding: 32px; box-shadow: var(--shadow-lg);
  position: relative;
}
.search-modal-close {
  position: absolute; top: 12px; right: 12px;
  background: none; border: none; font-size: 20px;
  cursor: pointer; color: var(--text-muted);
}
.search-modal-inner h2 { font-family: var(--font-display); margin-bottom: 16px; }
.search-modal-input {
  width: 100%; padding: 14px 18px; border-radius: var(--radius-sm);
  border: 2px solid var(--border); font-size: 16px;
  font-family: var(--font); outline: none; transition: var(--transition);
}
.search-modal-input:focus { border-color: var(--primary); }
.search-results { margin-top: 16px; max-height: 400px; overflow-y: auto; }
.search-result-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px; border-radius: var(--radius-sm); cursor: pointer;
  transition: var(--transition);
}
.search-result-item:hover { background: var(--bg); }
.search-result-item img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.search-result-info { flex: 1; }
.search-result-info strong { font-size: 14px; }
.search-result-info span { font-size: 12px; color: var(--text-muted); display: block; }

/* === FOOTER === */
.site-footer {
  background: var(--bg-dark); color: rgba(255,255,255,0.7); padding: 48px 0 24px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.footer-logo { display: flex; align-items: center; gap: 8px; font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 12px; }
.footer-desc { font-size: 14px; line-height: 1.7; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14px; color: rgba(255,255,255,0.5); padding: 4px 0; transition: var(--transition); }
.footer-col a:hover { color: #fff; }
.footer-bottom { padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); text-align: center; font-size: 13px; color: rgba(255,255,255,0.3); }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* === TAG CLOUD (taxonomy links) === */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud-item {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 14px; border-radius: 24px;
  background: var(--bg-card); border: 1px solid var(--border);
  font-size: 14px; color: var(--text); transition: var(--transition);
}
.tag-cloud-item i { color: var(--primary); font-size: 12px; }
.tag-cloud-item span {
  font-size: 11px; font-weight: 600; color: var(--text-muted);
  background: var(--bg); padding: 1px 7px; border-radius: 10px;
}
.tag-cloud-item:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-1px); }
.tag-cloud-item:hover span { background: rgba(18,112,74,0.12); color: var(--primary); }
.term-count {
  font-size: 12px; font-weight: 500; color: var(--text-muted);
  background: var(--bg); padding: 2px 9px; border-radius: 10px; margin-left: 8px;
}

/* Related terms block on listing pages */
.related-terms { background: var(--bg-card); border-top: 1px solid var(--border); padding: 36px 0; }
.related-group { margin-bottom: 24px; }
.related-group:last-child { margin-bottom: 0; }
.related-group h4 { font-size: 15px; font-weight: 600; margin-bottom: 12px; color: var(--text-light); }

/* Clickable meta values */
.meta-link { color: var(--text-light); transition: var(--transition); }
.meta-link:hover { color: var(--primary); }
.meta-link:hover i { color: var(--primary); }
.profile-card-meta { display: flex; gap: 14px; }
.profile-card-meta a { color: var(--text-light); transition: var(--transition); }
.profile-card-meta a:hover { color: var(--primary); }
.profile-card-name { display: block; }
.profile-card-name:hover { color: var(--primary); }
.service-pill:hover { border-color: var(--primary); color: var(--primary); }
.profile-card-type:hover { color: var(--primary); }
.profile-card-rate.muted { font-size: 13px; font-weight: 500; color: var(--text-muted); }
.detail-meta-row a { color: var(--primary); }
.detail-meta-row a:hover { text-decoration: underline; }
a.service-tag { cursor: pointer; }

/* === CONTACT REVEAL === */
.contact-card h4 i, .sidebar-card h4 i { color: var(--primary); margin-right: 8px; }
.contact-row {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 0; border-bottom: 1px solid var(--border); font-size: 14px;
}
.contact-row:last-of-type { border-bottom: none; }
.contact-row i { color: var(--primary); width: 18px; text-align: center; }
.contact-label { color: var(--text-light); min-width: 70px; }
.contact-value { font-weight: 600; color: var(--text); letter-spacing: 0.2px; }
a.contact-value { color: var(--primary); }
a.contact-value:hover { text-decoration: underline; }
.contact-value.blurred {
  filter: blur(5px); user-select: none; pointer-events: none;
  color: var(--text-light); font-weight: 600;
}
.contact-row.locked { cursor: default; }
.contact-note {
  display: flex; align-items: flex-start; gap: 7px;
  font-size: 12px; line-height: 1.5; color: var(--text-muted); margin-top: 12px;
}
.contact-note i { color: var(--green); margin-top: 2px; }
.contact-revealed {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px; margin-top: 12px; border-radius: var(--radius-sm);
  background: var(--green-bg); color: #16a34a; font-size: 14px; font-weight: 600;
}
.btn-contact:disabled { opacity: 0.7; cursor: wait; }

/* === SEARCH GROUPS === */
.search-group-label {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px;
  color: var(--text-muted); padding: 12px 10px 6px;
}
.search-result-icon {
  width: 48px; height: 48px; border-radius: 50%; background: var(--bg);
  display: flex; align-items: center; justify-content: center; color: var(--primary); flex-shrink: 0;
}
.search-empty { padding: 20px; text-align: center; color: var(--text-muted); }

/* === EMPTY STATE === */
.empty-state {
  grid-column: 1 / -1; text-align: center; padding: 60px 20px; color: var(--text-muted);
}
.empty-state i { font-size: 40px; opacity: 0.3; margin-bottom: 12px; }

/* === DASHBOARD === */
.dash-layout { display: grid; grid-template-columns: 240px 1fr; gap: 28px; padding: 32px 0; }
.dash-nav { position: sticky; top: 116px; align-self: start; }
.dash-nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: var(--radius-sm);
  font-size: 14px; color: var(--text-light); cursor: pointer;
  transition: var(--transition); margin-bottom: 2px;
}
.dash-nav-item i { width: 18px; text-align: center; font-size: 13px; }
.dash-nav-item:hover { background: var(--bg-card); color: var(--text); }
.dash-nav-item.active { background: var(--primary); color: #fff; }
.dash-nav-item.active i { color: #fff; }
.dash-nav-item .count {
  margin-left: auto; font-size: 11px; font-weight: 600;
  background: var(--bg); color: var(--text-muted); padding: 1px 7px; border-radius: 10px;
}
.dash-nav-item.active .count { background: rgba(255,255,255,0.2); color: #fff; }

.dash-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 28px; }
.dash-stat {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px;
}
.dash-stat-icon {
  width: 36px; height: 36px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  background: rgba(18,112,74,0.09); color: var(--primary); margin-bottom: 10px;
}
.dash-stat-num { font-size: 26px; font-weight: 700; line-height: 1.2; }
.dash-stat-label { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.dash-stat.wallet .dash-stat-icon { background: rgba(34,197,94,0.1); color: var(--green); }
.dash-stat.wallet .dash-stat-num { color: var(--green); }

.dash-panel {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; margin-bottom: 20px;
}
.dash-panel-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--border);
}
.dash-panel-head h2 { font-size: 18px; font-weight: 600; }

.dash-listing {
  display: flex; align-items: center; gap: 14px;
  padding: 12px; border-radius: var(--radius-sm);
  transition: var(--transition);
}
.dash-listing:hover { background: var(--bg); }
.dash-listing img { width: 60px; height: 60px; border-radius: var(--radius-sm); object-fit: cover; }
.dash-listing-info { flex: 1; min-width: 0; }
.dash-listing-title { font-weight: 600; font-size: 15px; }
.dash-listing-meta { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.dash-listing-actions { display: flex; gap: 6px; }
.btn-sm {
  padding: 6px 12px; border-radius: 6px; font-size: 12px; font-weight: 500;
  border: 1px solid var(--border); background: var(--bg-card);
  color: var(--text-light); cursor: pointer; font-family: var(--font);
  transition: var(--transition);
}
.btn-sm:hover { border-color: var(--primary); color: var(--primary); }
.status-badge {
  padding: 3px 10px; border-radius: 20px;
  font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.4px;
}
.status-publish { background: var(--green-bg); color: #16a34a; }
.status-pending { background: #fef3c7; color: #b45309; }
.status-draft { background: var(--bg); color: var(--text-muted); }

.dash-empty { text-align: center; padding: 40px 20px; color: var(--text-muted); }
.dash-empty i { font-size: 36px; opacity: 0.25; margin-bottom: 12px; display: block; }

@media (max-width: 900px) {
  .dash-layout { grid-template-columns: 1fr; }
  .dash-nav { position: static; display: flex; gap: 6px; overflow-x: auto; padding-bottom: 8px; }
  .dash-nav-item { white-space: nowrap; margin-bottom: 0; }
  .dash-stats { grid-template-columns: repeat(2, 1fr); }
}

/* === CREATE LISTING FORM === */
.form-wrap { max-width: 780px; margin: 0 auto; padding: 32px 0; }
.form-steps { display: flex; gap: 8px; margin-bottom: 28px; }
.form-step {
  flex: 1; padding: 12px 8px; border-radius: var(--radius-sm);
  background: var(--bg-card); border: 1px solid var(--border);
  text-align: center; font-size: 12px; color: var(--text-muted);
}
.form-step.active { border-color: var(--primary); color: var(--primary); font-weight: 600; }
.form-step-num {
  display: block; width: 24px; height: 24px; line-height: 24px; margin: 0 auto 6px;
  border-radius: 50%; background: var(--bg); font-weight: 700; font-size: 12px;
}
.form-step.active .form-step-num { background: var(--primary); color: #fff; }

.form-section {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; margin-bottom: 20px;
}
.form-section h2 {
  font-size: 18px; font-weight: 600; margin-bottom: 18px;
  padding-bottom: 12px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 10px;
}
.form-section h2 i { color: var(--primary); font-size: 15px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { margin-bottom: 16px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  display: block; font-size: 13px; font-weight: 500;
  margin-bottom: 6px; color: var(--text);
}
.form-field label .req { color: var(--primary); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 10px 14px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); font-size: 14px;
  font-family: var(--font); color: var(--text); background: var(--bg-card);
  outline: none; transition: var(--transition);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: var(--primary); box-shadow: 0 0 0 3px rgba(18,112,74,0.09);
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-hint { font-size: 12px; color: var(--text-muted); margin-top: 5px; }
.service-picker { display: flex; flex-wrap: wrap; gap: 8px; }
.service-check {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 14px; border-radius: 24px;
  border: 1px solid var(--border); background: var(--bg-card);
  font-size: 13px; cursor: pointer; transition: var(--transition); user-select: none;
}
.service-check:hover { border-color: var(--primary); }
.service-check.checked { border-color: var(--primary); background: rgba(18,112,74,0.07); color: var(--primary); font-weight: 500; }
.service-check i { font-size: 11px; }
.photo-drop {
  border: 2px dashed var(--border); border-radius: var(--radius);
  padding: 36px 20px; text-align: center; color: var(--text-muted);
  transition: var(--transition); cursor: pointer;
}
.photo-drop:hover { border-color: var(--primary); color: var(--primary); }
.photo-drop i { font-size: 32px; opacity: 0.4; margin-bottom: 10px; display: block; }
.form-actions {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 8px;
}
.btn-primary-lg {
  padding: 13px 32px; border-radius: var(--radius-sm);
  background: var(--primary); color: #fff; border: none;
  font-size: 15px; font-weight: 600; cursor: pointer;
  font-family: var(--font); transition: var(--transition);
}
.btn-primary-lg:hover { background: var(--primary-light); }
.demo-notice {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 14px 16px; border-radius: var(--radius-sm);
  background: #fef3c7; color: #92400e; font-size: 13px;
  line-height: 1.5; margin-bottom: 20px;
}
.demo-notice i { margin-top: 2px; }
@media (max-width: 700px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-steps { display: none; }
}

/* === AUTH MODAL === */
.auth-modal-inner { max-width: 420px; }
.auth-tabs { display: flex; gap: 4px; margin-bottom: 20px; border-bottom: 1px solid var(--border); }
.auth-tab {
  flex: 1; padding: 12px; background: none; border: none;
  border-bottom: 2px solid transparent; cursor: pointer;
  font-size: 14px; font-weight: 500; color: var(--text-light);
  font-family: var(--font); transition: var(--transition);
}
.auth-tab.active { color: var(--primary); border-bottom-color: var(--primary); }

/* === LOADING === */
.loading-spinner {
  display: flex; align-items: center; justify-content: center;
  padding: 80px 0; color: var(--text-muted);
}
.loading-spinner::after {
  content: ''; width: 32px; height: 32px;
  border: 3px solid var(--border); border-top-color: var(--primary);
  border-radius: 50%; animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* === PROFILE ACTION CARD === */
.action-card { display: flex; flex-direction: column; gap: 10px; }
.btn-outline-lg {
  width: 100%; padding: 12px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: var(--bg-card);
  font-size: 15px; font-weight: 600; cursor: pointer;
  font-family: var(--font); color: var(--text); transition: var(--transition);
}
.btn-outline-lg:hover { border-color: var(--primary); color: var(--primary); }
.btn-outline-lg i { margin-right: 8px; }
.action-card .contact-note { margin-top: 4px; }
.action-card .contact-note i { color: var(--text-muted); }

/* === NOTICES === */
.notice-error { background: #fee2e2; color: #991b1b; }

/* === DASHBOARD THREADS / BOOKINGS === */
.thread-time { font-size: 12px; color: var(--text-muted); white-space: nowrap; }
.btn-sm.btn-ok { border-color: var(--green); color: #16a34a; }
.btn-sm.btn-ok:hover { background: var(--green-bg); }
.status-cancelled, .status-rejected { background: var(--bg); color: var(--text-muted); }

/* === MODAL FORM SPACING === */
#authModalInner .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
#authModalInner .demo-notice { margin: 14px 0; }
#authModalInner h2 { font-size: 22px; }

/* === CITY EDITORIAL === */
.city-editorial {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 44px 0;
}
.city-editorial .container { max-width: 800px; }
.city-editorial > p:first-child,
.city-editorial .container > p:first-child {
  font-size: 17px; line-height: 1.75; color: var(--text);
  padding-bottom: 20px; border-bottom: 1px solid var(--border);
}
.city-editorial h3 {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 600;
  margin: 28px 0 10px;
}
.city-editorial p {
  font-size: 15px; line-height: 1.8; color: var(--text-light); margin-bottom: 12px;
}
@media (max-width: 768px) {
  .city-editorial { padding: 32px 0; }
  .city-editorial h3 { font-size: 18px; }
}


/* ODbL requires visible attribution wherever the maps appear */
.footer-attrib { font-size: 12px; color: rgba(255,255,255,0.25); margin-top: 6px; }
.footer-attrib a { color: rgba(255,255,255,0.4); text-decoration: underline; }
.footer-attrib a:hover { color: rgba(255,255,255,0.7); }

/* Marks the question group so the section reads as an FAQ, not loose headings */
.city-editorial .editorial-faq-heading {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 600;
  margin: 36px 0 4px; padding-top: 24px;
  border-top: 1px solid var(--border);
}
