/* ── Profile pages & provider browse ────────────────── */

/* Profile hero band */
.profile-hero {
  background: linear-gradient(160deg, var(--teal-deeper) 0%, var(--teal) 100%);
  height: 120px;
  flex-shrink: 0;
}

/* Floating profile card */
.profile-card {
  background: #fff;
  margin: -40px 16px 0;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  padding: 0 20px 20px;
  text-align: center;
  position: relative;
  z-index: 2;
}

/* Avatar */
.avatar-xl {
  width: 80px; height: 80px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; font-weight: 700; color: #fff;
  margin: -40px auto 12px;
  border: 4px solid #fff;
  box-shadow: var(--shadow);
  flex-shrink: 0;
}
.avatar-gold  { background: var(--gold); color: #1A1A1A; }
.avatar-teal  { background: var(--teal); }
.avatar-red   { background: var(--red); }
.avatar-slate { background: #4A5568; }

.profile-name {
  font-size: 20px; font-weight: 700; color: var(--text);
  margin-bottom: 6px; line-height: 1.2;
}
.profile-verified {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--gold); color: #1A1A1A;
  font-size: 11px; font-weight: 700;
  padding: 3px 12px; border-radius: 20px;
  margin-bottom: 10px;
}
.profile-category {
  font-size: 13px; color: var(--text-md);
  margin-bottom: 8px;
}
.profile-meta {
  display: flex; justify-content: center; gap: 14px;
  font-size: 12px; color: var(--text-lt);
  flex-wrap: wrap;
}
.profile-meta span { display: flex; align-items: center; gap: 3px; }

/* Rating stars */
.stars { color: var(--gold); letter-spacing: 1px; font-size: 13px; }
.rating-count { font-size: 12px; color: var(--text-lt); }

/* Video section */
.vid-section { margin-bottom: 28px; }
.vid-tabs {
  display: flex; gap: 0;
  background: var(--cream2);
  border: 1.5px solid var(--border);
  border-radius: 10px 10px 0 0;
  overflow: hidden;
}
.vid-tab {
  flex: 1; padding: 9px 12px;
  background: none; border: none;
  font-size: 13px; font-weight: 600;
  color: var(--text-lt); cursor: pointer;
  font-family: inherit;
  transition: background .15s, color .15s;
  border-bottom: 2px solid transparent;
}
.vid-tab.active {
  background: #fff; color: var(--teal-dark);
  border-bottom-color: var(--teal);
}
.vid-wrap { display: none; }
.vid-wrap.active { display: block; }
.vid-placeholder {
  background: linear-gradient(135deg, var(--teal-deeper) 0%, var(--teal-dark) 100%);
  border-radius: 0 0 10px 10px;
  aspect-ratio: 16 / 9;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  color: #fff; text-align: center; padding: 20px;
  cursor: pointer;
}
.vid-play-btn {
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,.2);
  border: 2px solid rgba(255,255,255,.5);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin-bottom: 12px;
  transition: background .15s;
}
.vid-placeholder:hover .vid-play-btn { background: rgba(255,255,255,.3); }
.vid-label { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.vid-note  { font-size: 11px; opacity: .55; }

/* Service tags */
.service-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.service-tag {
  background: var(--cream2); border: 1.5px solid var(--border);
  border-radius: 20px; padding: 4px 12px;
  font-size: 12px; font-weight: 500; color: var(--text-md);
}

/* Info rows */
.info-row {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.info-row:last-child { border-bottom: none; }
.info-row-icon { font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.info-row-body { flex: 1; }
.info-row-label { font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .06em; color: var(--text-lt); margin-bottom: 2px; }
.info-row-value { color: var(--text); line-height: 1.5; }

/* Mima's note */
.mima-note {
  background: var(--gold-lt);
  border: 1.5px solid var(--gold);
  border-radius: 14px; padding: 16px;
}
.mima-note-header {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 8px;
}
.mima-note-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--gold); color: #1A1A1A;
  font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.mima-note-name { font-size: 13px; font-weight: 700; }
.mima-note-sub  { font-size: 11px; color: var(--text-lt); }
.mima-note-text { font-size: 13px; color: var(--text-md); line-height: 1.6; font-style: italic; }

/* Sticky contact CTA */
.sticky-cta {
  position: sticky; bottom: 0;
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 12px 20px;
  z-index: 50;
  display: flex; gap: 10px;
}
.sticky-cta .btn { flex: 1; padding: 14px; }

/* ── Provider browse (index) ─────────────────────────── */
.provider-grid {
  display: flex; flex-direction: column; gap: 12px;
}
.prov-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none; color: inherit;
  transition: box-shadow .15s, transform .1s;
  display: block;
}
.prov-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.prov-card-vid {
  background: linear-gradient(135deg, var(--teal-deeper), var(--teal));
  aspect-ratio: 16 / 6;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.prov-card-play {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.25); border: 2px solid rgba(255,255,255,.5);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: #fff;
}
.prov-card-match {
  position: absolute; top: 8px; right: 8px;
  background: var(--gold); color: #1A1A1A;
  font-size: 10px; font-weight: 700;
  padding: 3px 8px; border-radius: 20px;
}
.prov-card-body {
  padding: 14px 16px;
}
.prov-card-row { display: flex; align-items: flex-start; gap: 12px; }
.prov-card-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700; color: #fff; flex-shrink: 0;
}
.prov-card-name { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.prov-card-cat  { font-size: 12px; color: var(--text-lt); margin-bottom: 4px; }
.prov-card-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.prov-card-tag  {
  font-size: 10px; font-weight: 600; padding: 2px 8px;
  border-radius: 20px;
}
.tag-verified { background: var(--gold); color: #1A1A1A; }
.tag-lang     { background: rgba(37,185,173,.12); color: var(--teal-dark); border: 1px solid rgba(37,185,173,.25); }
.tag-cat      { background: var(--cream2); color: var(--text-md); border: 1px solid var(--border); }
.prov-card-cta {
  display: block; width: 100%; margin-top: 12px;
  padding: 10px; border-radius: 50px;
  background: var(--teal); color: #fff;
  font-size: 13px; font-weight: 700;
  text-align: center; border: none; cursor: pointer;
  font-family: inherit; transition: opacity .15s;
  text-decoration: none;
}
.prov-card-cta:hover { opacity: .88; }

/* Filter tabs */
.filter-tabs {
  display: flex; gap: 6px; margin-bottom: 16px;
  overflow-x: auto; padding-bottom: 2px;
}
.filter-tab {
  padding: 6px 14px; border-radius: 20px;
  border: 1.5px solid var(--border);
  font-size: 13px; font-weight: 500; color: var(--text-md);
  white-space: nowrap; cursor: pointer;
  background: #fff; font-family: inherit;
  transition: border-color .15s, background .15s, color .15s;
}
.filter-tab.active {
  background: var(--teal); color: #fff; border-color: var(--teal);
}

@media (min-width: 600px) {
  .profile-hero { height: 160px; }
  .profile-card { margin: -50px 24px 0; padding: 0 28px 24px; }
  .avatar-xl { width: 96px; height: 96px; font-size: 32px; margin-top: -48px; }
  .profile-name { font-size: 24px; }
  .provider-grid { display: grid; grid-template-columns: 1fr 1fr; }
  .sticky-cta { padding: 14px 36px; max-width: 640px; margin: 0 auto; width: 100%; left: 0; right: 0; }
}
