/* ═══════════════════════════════════════════════════
   profile.css — Individual therapist profile pages
   Uses only existing CSS tokens from style.css
   ═══════════════════════════════════════════════════ */

/* ─── BANNER ─────────────────────────────────────── */
.profileBanner {
  position: relative;
  background: var(--color-bg-warm);
  padding: 132px 0 64px;
  border-bottom-left-radius: 48px;
  border-bottom-right-radius: 48px;
  overflow: hidden;
}

.profileBanner::before,
.profileBanner::after {
  content: '';
  position: absolute;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.6;
  pointer-events: none;
}
.profileBanner::before {
  background-image: url('../../all-states-page/images/pawBefore.svg');
  width: 51px; height: 70px;
  left: 0; top: var(--space-20);
}
.profileBanner::after {
  background-image: url('../../all-states-page/images/pawAfter.svg');
  width: 57px; height: 79px;
  right: 0; top: var(--space-16);
  background-position: right;
}

/* Breadcrumb */
.profileBreadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-8);
}
.profileBreadcrumb a {
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}
.profileBreadcrumb a:hover { color: var(--color-orange); }
.profileBreadcrumb strong {
  color: var(--color-orange);
  font-weight: var(--weight-bold);
  background: rgba(255, 91, 46, 0.08);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}
.profileBreadcrumb span { color: var(--color-text-disabled); }

/* Hero row: photo left + text right */
.profileHeroRow {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

/* Photo */
.profilePhotoWrap {
  position: relative;
  flex-shrink: 0;
}

.profilePhoto {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--color-bg-white);
  box-shadow: 0 0 0 2px var(--color-bg-peach), 0 12px 32px -8px rgba(14, 20, 95, 0.2);
  display: block;
}

.profilePhoto--initials {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-peach);
  color: var(--color-navy);
  font-family: var(--font-sans);
  font-size: 48px;
  font-weight: var(--weight-bold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.profileVerifiedDot {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff7754 0%, #d9503a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 3px #fff, 0 4px 10px rgba(14, 20, 95, 0.25);
}

.profileStateBadge {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 12px 3px 3px;
  background: var(--color-navy);
  color: var(--color-bg-warm);
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 4px 12px -2px rgba(14, 20, 95, 0.4);
}

.profileBadgeDot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff7754 0%, #d9503a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Hero text */
.profileHeroText { flex: 1; min-width: 0; }

.profileH1 {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3vw, var(--text-4xl));
  font-weight: var(--weight-regular);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--color-text-heading);
  margin: 0 0 var(--space-3);
}

.profileCredLine {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  font-weight: var(--weight-medium);
  margin: 0 0 var(--space-5);
  line-height: 1.6;
}

.profileOpening {
  font-family: var(--font-sans);
  font-size: var(--text-md);
  color: var(--color-text-body);
  line-height: var(--leading-body);
  margin: 0;
  max-width: 680px;
}

/* ─── CONTENT ─────────────────────────────────────── */
.profileContent {
  padding: 64px 0 80px;
}

.profileGrid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}

/* ─── MAIN COLUMN ──────────────────────────────────── */
.profileMain { min-width: 0; }

.profileBlock {
  margin-bottom: var(--space-10);
  padding-bottom: var(--space-10);
  border-bottom: 1px solid var(--color-border);
}

.profileBlock:last-of-type { border-bottom: none; }

.profileBlockTitle {
  font-family: var(--font-serif);
  font-size: var(--text-2xl);
  font-weight: var(--weight-regular);
  color: var(--color-text-heading);
  line-height: var(--leading-tight);
  margin: 0 0 var(--space-5);
}

.profileText {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  color: var(--color-text-body);
  line-height: var(--leading-body);
  margin: 0;
}

/* Checklist */
.profileChecklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.profileChecklist li {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  color: var(--color-text-body);
  line-height: var(--leading-normal);
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.profileCheckIcon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  min-width: 20px;
  background: var(--color-orange);
  border-radius: 50%;
  margin-top: 2px;
}

/* Quote block */
.profileQuote {
  margin: 0;
  padding: var(--space-5) var(--space-6);
  background: var(--color-bg-white);
  border-left: 3px solid var(--color-orange);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  box-shadow: var(--shadow-xs);
}

.profileQuote p {
  font-family: var(--font-sans);
  font-size: var(--text-md);
  color: var(--color-text-body);
  line-height: var(--leading-body);
  font-style: italic;
  margin: 0 0 var(--space-3);
}

.profileQuote cite {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-style: normal;
  font-weight: var(--weight-bold);
  color: var(--color-text-heading);
}

/* Back link */
.profileBackLink {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  color: var(--color-orange);
  text-decoration: none;
  transition: gap 0.2s, color 0.2s;
  margin-top: var(--space-4);
}
.profileBackLink:hover {
  color: var(--color-orange-hover);
  gap: 10px;
}

/* ─── SIDEBAR ──────────────────────────────────────── */
.profileSidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  position: sticky;
  top: 120px;
}

/* CTA Card */
.profileCTACard {
  background: var(--color-navy);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.profileCTALabel {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin: 0;
}

.profileCTAName {
  font-family: var(--font-sans);
  font-size: var(--text-md);
  font-weight: var(--weight-bold);
  color: #fff;
  margin: 0;
  line-height: 1.3;
}

.profileCTASub {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.6);
  margin: 0 0 var(--space-2);
  line-height: 1.5;
}

.profileCTABtn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--color-orange);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: var(--weight-bold);
  line-height: 1;
  padding: 14px 20px 15px;
  border-radius: 100px;
  border-bottom: 4px solid var(--color-orange-hover);
  box-shadow: var(--shadow-cta);
  text-decoration: none;
  transition: all 0.2s ease;
}

.profileCTABtn:hover {
  box-shadow: var(--shadow-cta-hover);
  transform: translateY(3px);
  border-bottom-width: 1px;
  color: #fff;
}

.profileCTANote {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-sans);
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  margin: 0;
}

/* Panel Badge */
.profilePanelBadge {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-5);
  display: flex;
  align-items: center;
  gap: var(--space-4);
  box-shadow: var(--shadow-xs);
}

.profilePanelBadgeDot {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff7754 0%, #d9503a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(255, 91, 46, 0.35);
}

.profilePanelBadgeTitle {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  color: var(--color-text-heading);
  margin: 0 0 2px;
}

.profilePanelBadgeSub {
  font-family: var(--font-sans);
  font-size: 11px;
  color: var(--color-text-secondary);
  margin: 0;
}

/* ─── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 1024px) {
  .profileGrid {
    grid-template-columns: 1fr 280px;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .profileBanner {
    padding: 100px 0 48px;
    border-bottom-left-radius: 32px;
    border-bottom-right-radius: 32px;
  }

  .profileHeroRow {
    flex-direction: column;
    gap: 24px;
  }

  .profileGrid {
    grid-template-columns: 1fr;
  }

  .profileSidebar {
    position: static;
    order: -1;
  }

  .profileH1 {
    font-size: var(--text-2xl);
  }
}

@media (max-width: 575px) {
  .profileBanner {
    padding: 80px 0 40px;
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
  }

  .profilePhoto {
    width: 110px;
    height: 110px;
  }
  .profileBanner::before {
    top: 92px;
}
}
