/* ═══════════════════════════════════════════════════
   profile.css — Individual therapist profile pages
   Empathy-driven layout. No navy backgrounds. No gradients.
   ═══════════════════════════════════════════════════ */

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

/* Faint paw watermarks — sets the pet-loving tone immediately */
.profileBannerPaw {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
.profileBannerPaw svg {
  width: 100%;
  height: 100%;
  display: block;
}
.profileBannerPaw--1 {
  top: 16%;
  left: -22px;
  width: 92px;
  height: 92px;
  color: var(--color-bg-salmon);
  opacity: 0.14;
  transform: rotate(-18deg);
}
.profileBannerPaw--2 {
  bottom: 12%;
  right: 4%;
  width: 72px;
  height: 72px;
  color: var(--color-orange);
  opacity: 0.12;
  transform: rotate(22deg);
}

/* Breadcrumb */
.profileBreadcrumb {
  position: relative;
  z-index: 1;
  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-7);
}
.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 */
.profileHeroRow {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 56px;
  margin-top: 26px;
}

/* Portrait stage — blob + photo + heart badge */
.profilePortraitStage {
  position: relative;
  flex-shrink: 0;
  width: 240px;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profilePortraitBlob {
  position: absolute;
  inset: -8px -14px -14px -10px;
  background: var(--color-bg-peach);
  border-radius: 46% 54% 58% 42% / 56% 44% 56% 44%;
  opacity: 0.92;
  transform: rotate(-8deg);
  z-index: 0;
}

.profilePhotoWrap {
  position: relative;
  width: 220px;
  height: 220px;
  z-index: 1;
}

.profilePhoto {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid var(--color-bg-white);
  box-shadow: 0 0 0 1.5px rgba(255, 149, 117, 0.45), 0 18px 40px -14px rgba(14, 20, 95, 0.22);
  display: block;
}

.profileVerifiedDot {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 4px #fff, 0 4px 12px rgba(14, 20, 95, 0.25);
  z-index: 2;
}

.profileHeartBadge {
  position: absolute;
  top: 4px;
  right: -2px;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 6px 18px -4px rgba(14, 20, 95, 0.18);
  z-index: 3;
  animation: profileHeartFloat 5.5s ease-in-out infinite;
}
.profileHeartBadge svg { display: block; }

@keyframes profileHeartFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-5px); }
}
@media (prefers-reduced-motion: reduce) {
  .profileHeartBadge { animation: none; }
}

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

.profileEyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-orange);
  margin-bottom: var(--space-3);
}
.profileEyebrow svg { display: block; }

.profileH1 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 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-4);
  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 0 var(--space-5);
  max-width: 640px;
}

/* Quick facts row */
.profileQuickFacts {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}
.profileQuickFacts li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text-heading);
}
.profileQuickIcon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: var(--color-orange);
  border-radius: 50%;
  flex-shrink: 0;
}

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

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

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

.profileBlock {
  margin-bottom: var(--space-8);
  padding-bottom: var(--space-8);
  border-bottom: 1px dashed rgba(255, 91, 46, 0.18);
}
.profileBlock:last-of-type { border-bottom: none; }

.profileBlockTitle {
  display: flex;
  align-items: center;
  gap: 12px;
  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);
}
.profileBlockTitleIcon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--color-bg-peach);
  color: var(--color-orange);
  border-radius: 50%;
  flex-shrink: 0;
}

.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;
}

/* Approach empathy card */
.profileApproachCard {
  position: relative;
  margin: 0;
  padding: 32px 32px 28px;
  background: var(--color-bg-peach);
  border: 1px solid rgba(255, 91, 46, 0.18);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
}
.profileApproachQuoteMark {
  position: absolute;
  top: 4px;
  right: 24px;
  font-family: var(--font-serif);
  font-size: 120px;
  line-height: 1;
  color: var(--color-orange);
  opacity: 0.18;
  pointer-events: none;
}
.profileApproachCard blockquote {
  margin: 0 0 22px;
  position: relative;
  z-index: 1;
}
.profileApproachCard blockquote 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;
}
.profileApproachCard figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px dashed rgba(255, 91, 46, 0.28);
  position: relative;
  z-index: 1;
}
.profileApproachAvatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(255, 91, 46, 0.25);
}
.profileApproachAvatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.profileApproachCard figcaption strong {
  display: block;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  color: var(--color-text-heading);
  line-height: 1.3;
}
.profileApproachCard figcaption em {
  display: block;
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-style: normal;
  color: var(--color-text-secondary);
  line-height: 1.4;
  margin-top: 2px;
}

/* Specialty chips */
.profileSpecChips {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.profileSpecChips li {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text-heading);
  padding: 7px 14px;
  background: #fef2ea;
  border: 1px solid var(--color-bg-warm);
  border-radius: var(--radius-full);
  line-height: 1.3;
}

/* State chips */
.profileStateChips {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-4);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.profileStateChips li {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  color: var(--color-text-heading);
  padding: 5px 10px;
  background: var(--color-bg-white);
  border: 1px solid rgba(14, 20, 95, 0.1);
  border-radius: var(--radius-md);
  line-height: 1.3;
}
.profileStateNote {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
  font-style: italic;
  margin: 0;
}
.profileStateNoteIcon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  background: var(--color-orange);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Meet the rest of the panel — peach CTA card at the bottom */
.profileMeetPanel {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  background: var(--color-bg-peach);
  border: 1px dashed rgba(255, 91, 46, 0.35);
  border-radius: var(--radius-xl);
  text-decoration: none;
  margin-top: var(--space-6);
  transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.22s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.22s;
}
.profileMeetPanel:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-orange);
  text-decoration: none;
}
.profileMeetPanelStack {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.profileMeetPanelStack img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-bg-white);
  box-shadow: 0 0 0 1px var(--color-bg-warm);
  margin-right: -10px;
}
.profileMeetPanelMore {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-orange);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: var(--weight-bold);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--color-bg-white);
  margin-left: 4px;
  flex-shrink: 0;
}
.profileMeetPanelText { flex: 1; min-width: 0; }
.profileMeetPanelTitle {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  color: var(--color-text-heading);
  margin: 0 0 2px;
  line-height: 1.3;
}
.profileMeetPanelSub {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  color: var(--color-text-body);
  margin: 0;
  line-height: 1.4;
}
.profileMeetPanelArrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--color-orange);
  color: #fff;
  border-radius: 50%;
  flex-shrink: 0;
}

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

/* CTA Card — warm peach */
.profileCTACard {
  position: relative;
  background: var(--color-bg-peach);
  border: 1px solid rgba(255, 91, 46, 0.18);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  overflow: hidden;
}
.profileCTAPawDecor {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 78px;
  height: 78px;
  color: var(--color-orange);
  opacity: 0.1;
  transform: rotate(18deg);
  pointer-events: none;
}
.profileCTAPawDecor svg { width: 100%; height: 100%; display: block; }

.profileCTALabel {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  margin: 0;
  position: relative;
  z-index: 1;
}

.profileCTAClinician {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: var(--space-2);
  position: relative;
  z-index: 1;
}
.profileCTAAvatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-bg-white);
  box-shadow: 0 0 0 1px rgba(255, 91, 46, 0.25);
  flex-shrink: 0;
}
.profileCTAName {
  font-family: var(--font-sans);
  font-size: var(--text-md);
  font-weight: var(--weight-bold);
  color: var(--color-text-heading);
  margin: 0;
  line-height: 1.25;
}
.profileCTASub {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  color: var(--color-text-body);
  margin: 2px 0 0;
  line-height: 1.4;
}

.profileCTABtn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--color-orange);
  color: #fff;
  font-family: var(--font-sans);
  font-size: var(--text-md);
  font-weight: 600;
  line-height: 1.35;
  padding: 13px 20px;
  border-radius: 100px;
  border: none;
  box-shadow: var(--shadow-cta);
  text-decoration: none;
  transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
}
.profileCTABtn:hover {
  box-shadow: var(--shadow-cta-hover);
  transform: translateY(-2px);
  color: #fff;
}

.profileCTANote {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 11px;
  color: var(--color-text-secondary);
  margin: 0;
  position: relative;
  z-index: 1;
}

/* Trust card — empathy callout */
.profileTrustCard {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 22px 22px 20px;
  box-shadow: var(--shadow-xs);
}
.profileTrustTitle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  color: var(--color-text-heading);
  margin: 0 0 var(--space-3);
  letter-spacing: 0.02em;
}
.profileTrustIcon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: var(--color-bg-peach);
  color: var(--color-orange);
  border-radius: 50%;
}
.profileTrustList {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.profileTrustList li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--color-text-body);
  line-height: 1.45;
}
.profileTrustCheck {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  min-width: 16px;
  background: var(--color-orange);
  border-radius: 50%;
  margin-top: 2px;
}

/* 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: var(--color-orange);
  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 300px;
    gap: 36px;
  }
  .profileHeroRow {
    gap: 36px;
  }
}

@media (max-width: 860px) {
  .profileBanner {
    padding: 100px 0 56px;
    border-bottom-left-radius: 36px;
    border-bottom-right-radius: 36px;
  }
  .profileHeroRow {
    flex-direction: column;
    text-align: center;
    gap: 28px;
  }
  .profileHeroText { text-align: center; }
  .profileOpening { margin-left: auto; margin-right: auto; }
  .profileQuickFacts { justify-content: center; }

  .profileGrid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .profileSidebar {
    position: static;
    order: 2;
  }
  .profileH1 { font-size: var(--text-2xl); }
}

@media (max-width: 575px) {
  .profileBanner {
    padding: 80px 0 44px;
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
  }
  .profilePortraitStage {
    width: 200px;
    height: 200px;
  }
  .profilePhotoWrap,
  .profilePhoto {
    width: 180px;
    height: 180px;
  }
  .profileApproachCard {
    padding: 24px 22px 22px;
  }
  .profileApproachQuoteMark {
    font-size: 90px;
    top: -2px;
    right: 16px;
  }
  .profileBlockTitle {
    font-size: var(--text-xl);
    gap: 10px;
  }
  .profileBlockTitleIcon {
    width: 30px;
    height: 30px;
  }
  .profileMeetPanel {
    flex-wrap: wrap;
    gap: 14px;
  }
  .profileMeetPanelArrow {
    width: 32px;
    height: 32px;
  }
}
