/* ============================================================
   PropLocate — share.css
   Public agent profile page  (proplocate.im/username)
   ============================================================ */

.share-page { min-height: 100vh; background: var(--cream); }

/* ── Hero banner ── */
.share-hero {
  background: linear-gradient(160deg, #52525b 0%, #3f3f46 100%);
  padding: 64px 24px 100px;
  text-align: center;
  position: relative; overflow: hidden;
}
.share-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 55% at 50% 85%, rgba(255,255,255,.10) 0%, transparent 70%);
  pointer-events: none;
}
.share-hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 52px 52px;
  pointer-events: none;
}
.share-hero__inner {
  position: relative; z-index: 1;
  max-width: 620px; margin: 0 auto;
}

.share-hero__avatar {
  margin: 0 auto 20px;
  border: 4px solid #ffffff;
  box-shadow: 0 0 0 8px rgba(255,255,255,.15), var(--shadow-lg);
}

.share-hero__name {
  font-family: var(--font-serif);
  font-size: 34px; color: #ffffff; font-weight: 700; line-height: 1.2;
}
.share-hero__handle {
  color: rgba(255,255,255,.85); font-size: 14px; font-weight: 500; margin: 7px 0 12px;
}
.share-hero__bio {
  color: rgba(255,255,255,.7); font-size: 15px; line-height: 1.65;
  max-width: 460px; margin: 0 auto;
}

.share-hero__contacts {
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: center; margin-top: 24px;
}
.share-contact-chip {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.12); color: white;
  padding: 9px 18px; border-radius: 40px;
  font-size: 13px; font-weight: 500;
  border: 1px solid rgba(255,255,255,.15);
  transition: background .2s;
}
.share-contact-chip:hover { background: rgba(255,255,255,.2); }
.share-contact-chip svg { width: 14px; height: 14px; }

/* ── Content area (overlaps hero) ── */
.share-content {
  max-width: 1100px; margin: -52px auto 0;
  padding: 0 24px 80px;
  position: relative; z-index: 2;
}

/* ── Section titles ── */
.share-section-title {
  font-family: var(--font-serif); font-size: 24px;
  color: var(--navy); margin-bottom: 20px; margin-top: 40px;
}

/* ── All-agents global map page ── */
.global-hero {
  background: linear-gradient(145deg, #52525b 0%, #3f3f46 60%, #27272a 100%);
  padding: 56px 24px 80px; text-align: center; position: relative; overflow: hidden;
}
.global-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 70%, rgba(255,255,255,.08) 0%, transparent 70%);
  pointer-events: none;
}
.global-hero__inner { position: relative; z-index: 1; max-width: 620px; margin: 0 auto; }
.global-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(147,51,234,.15); color: var(--navy);
  padding: 6px 16px; border-radius: 40px; font-size: 12px; font-weight: 600;
  letter-spacing: .5px; margin-bottom: 20px;
}
.global-hero__title {
  font-family: var(--font-serif);
  font-size: 42px; font-weight: 900; color: #ffffff; line-height: 1.1;
  margin-bottom: 14px;
}
.global-hero__title em { color: var(--navy); font-style: normal; }
.global-hero__sub { color: rgba(255,255,255,.65); font-size: 16px; line-height: 1.6; }

.global-stats {
  display: flex; justify-content: center; gap: 40px;
  margin-top: 32px; flex-wrap: wrap;
}
.global-stat { text-align: center; }
.global-stat__val { font-family: var(--font-serif); font-size: 28px; font-weight: 700; color: #ffffff; }
.global-stat__lbl { font-size: 12px; color: rgba(255,255,255,.45); margin-top: 2px; }

.global-content {
  max-width: 1200px; margin: -50px auto 0;
  padding: 0 24px 80px; position: relative; z-index: 2;
}

/* ── Agent list (global map page) ── */
.agent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px; margin-top: 32px;
}
.agent-card {
  padding: 20px; display: flex; align-items: center; gap: 14px;
  transition: transform .18s, box-shadow .18s;
}
.agent-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.agent-card__info .name { font-weight: 600; font-size: 15px; color: var(--text); }
.agent-card__info .count { font-size: 12px; color: var(--muted); margin-top: 2px; }
.agent-card__info .handle { font-size: 11px; color: var(--navy); font-weight: 500; }

/* ── Map filter bar ── */
.map-filter-bar {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  background: var(--white); padding: 14px 20px; border-radius: var(--radius);
  box-shadow: var(--shadow); margin-bottom: 16px;
}
.map-filter-bar label { font-size: 13px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.map-filter-bar select { padding: 7px 10px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-size: 13px; background: var(--cream); color: var(--text); outline: none; }
.map-filter-bar select:focus { border-color: var(--navy); }

/* ── Branding footer ── */
.share-branding {
  text-align: center; padding: 40px 24px 20px;
  color: var(--muted); font-size: 13px;
}
.share-branding strong { color: var(--navy); }

@media (max-width: 640px) {
  .share-hero { padding: 44px 20px 80px; }
  .share-hero__name { font-size: 26px; }
  .global-hero__title { font-size: 30px; }
  .global-stats { gap: 24px; }
}
