/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body { min-height: 100vh; font-family: 'DM Sans', sans-serif; font-size: 16px; line-height: 1.6; background: var(--bg); color: var(--text); transition: background .2s, color .2s; }
img { display: block; max-width: 100%; height: auto; }
button { cursor: pointer; background: none; border: none; font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }

/* ── Design Tokens ── */
:root {
  --bg: #f2f5f4;
  --surface: #fff;
  --surface2: #f7faf9;
  --border: #dde8e5;
  --text: #152020;
  --text2: #4a5e5b;
  --text3: #8aa09c;
  --primary: #1e7b70;
  --primary-h: #155f57;
  --primary-l: #e4f1ef;
  --accent: #e8f4f1;
  --radius: 10px;
  --shadow: 0 2px 12px rgba(0,0,0,.08);
  --font-display: 'DM Serif Display', Georgia, serif;
}
.dark {
  --bg: #0f1918;
  --surface: #172120;
  --surface2: #1e2a29;
  --border: #2a3835;
  --text: #d6e8e5;
  --text2: #7fa39e;
  --text3: #4a6460;
  --primary: #3da898;
  --primary-h: #2d8a7c;
  --primary-l: #1a3330;
  --accent: #1a3330;
  --shadow: 0 2px 12px rgba(0,0,0,.3);
}

/* ── Layout ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 860px; margin: 0 auto; padding: 0 24px; }

/* ── Navbar ── */
#navbar { position: sticky; top: 0; z-index: 100; background: var(--bg); border-bottom: 1px solid var(--border); backdrop-filter: blur(8px); }
#navbar .inner { display: flex; align-items: center; justify-content: space-between; height: 60px; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.logo { display: flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 600; }
.logo span.accent { color: var(--primary); }

.nav-ai-badge {
  font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em;
  background: var(--primary-l); color: var(--primary); border-radius: 99px;
  padding: 2px 7px; line-height: 1.6;
}

.nav-links { display: flex; align-items: center; gap: 20px; }
.nav-links a { font-size: 14px; color: var(--text2); transition: color .15s; cursor: pointer; }
.nav-links a:hover { color: var(--primary); }

.nav-claude-badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 500; color: var(--text2);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 99px; padding: 4px 10px;
}

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 18px; border-radius: var(--radius); font-size: 14px; font-weight: 500; cursor: pointer; transition: all .15s; border: none; font-family: inherit; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-h); }
.btn-outline { background: var(--surface); color: var(--text); border: 1px solid var(--border); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-sm { padding: 6px 14px; font-size: 13px; }
.btn-lg { padding: 12px 28px; font-size: 16px; }
.theme-toggle { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--text2); transition: all .15s; flex-shrink: 0; }
.theme-toggle:hover { border-color: var(--primary); color: var(--primary); }

/* ── Hero ── */
#hero { padding: 56px 24px 64px; text-align: center; background: linear-gradient(160deg, var(--bg) 60%, var(--primary-l) 100%); }
.hero-badge { display: inline-flex; align-items: center; gap: 6px; background: var(--primary-l); color: var(--primary); font-size: 12px; font-weight: 600; padding: 5px 14px; border-radius: 99px; margin-bottom: 20px; }
.hero-title { font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 400; line-height: 1.15; color: var(--text); margin-bottom: 14px; }
.hero-title .c { color: var(--primary); }
.hero-sub { font-size: 16px; color: var(--text2); max-width: 540px; margin: 0 auto 32px; line-height: 1.7; }

/* ── AI Chat Interface ── */
.ai-chat-wrap {
  max-width: 680px; margin: 0 auto;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,.09);
}

.ai-greeting {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 20px 20px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--surface2);
}

.ai-avatar-outer {
  position: relative; flex-shrink: 0;
  width: 44px; height: 44px;
}
.ai-avatar-icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--primary); display: flex;
  align-items: center; justify-content: center;
  position: relative; z-index: 1;
}
.ai-pulse-ring {
  position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid var(--primary); opacity: 0;
  animation: ai-pulse 2.4s ease-out infinite;
}
@keyframes ai-pulse {
  0% { opacity: .6; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.5); }
}

.ai-bubble { flex: 1; min-width: 0; }
.ai-bubble-header { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.ai-bubble-name { font-size: 13px; font-weight: 600; color: var(--text); }
.claude-badge {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--primary-l); color: var(--primary);
  font-size: 10px; font-weight: 600; border-radius: 99px;
  padding: 2px 8px; letter-spacing: .02em;
}
.ai-bubble-text { font-size: 14px; color: var(--text2); line-height: 1.6; }

.ai-input-area { padding: 16px 16px 12px; }
.ai-textarea {
  width: 100%; font: inherit; font-size: 14px; color: var(--text);
  background: var(--bg); border: 1.5px solid var(--border);
  border-radius: 10px; padding: 12px 14px; resize: none;
  outline: none; transition: border-color .15s; line-height: 1.6;
}
.ai-textarea::placeholder { color: var(--text3); }
.ai-textarea:focus { border-color: var(--primary); }

.ai-input-footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 10px; flex-wrap: wrap; gap: 8px;
}
.ai-hint { font-size: 11px; color: var(--text3); }
.ai-send-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--primary); color: #fff;
  border: none; border-radius: 8px;
  padding: 9px 18px; font: inherit; font-size: 13px; font-weight: 600;
  cursor: pointer; transition: background .15s;
}
.ai-send-btn:hover { background: var(--primary-h); }

.ai-examples {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  padding: 12px 16px 14px;
  border-top: 1px solid var(--border);
  font-size: 12px; color: var(--text3);
}
.ai-example-chip {
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: 99px; padding: 3px 10px;
  font-size: 12px; color: var(--text2); cursor: pointer;
  transition: all .15s;
}
.ai-example-chip:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-l); }

/* ── AI Processing Overlay ── */
#ai-processing-overlay {
  display: none; position: fixed; inset: 0; z-index: 9999;
  background: rgba(15, 25, 24, 0.7); backdrop-filter: blur(4px);
  align-items: center; justify-content: center;
}
#ai-processing-overlay.active { display: flex; }

.processing-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 20px; padding: 40px 48px;
  text-align: center; min-width: 280px;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
}
.processing-logo { margin-bottom: 20px; display: flex; justify-content: center; }

.processing-spinner {
  width: 40px; height: 40px; border-radius: 50%;
  border: 3px solid var(--primary-l);
  border-top-color: var(--primary);
  animation: spin .8s linear infinite;
  margin: 0 auto 16px;
}
@keyframes spin { to { transform: rotate(360deg); } }

.processing-msg {
  font-size: 15px; font-weight: 600; color: var(--text);
  margin-bottom: 10px; min-height: 22px;
  transition: opacity .3s;
}
.processing-dots { display: flex; gap: 5px; justify-content: center; margin-bottom: 16px; }
.processing-dots span {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--primary); opacity: .3;
  animation: dot-pulse 1.2s ease-in-out infinite;
}
.processing-dots span:nth-child(2) { animation-delay: .2s; }
.processing-dots span:nth-child(3) { animation-delay: .4s; }
@keyframes dot-pulse {
  0%, 80%, 100% { opacity: .2; transform: scale(.8); }
  40% { opacity: 1; transform: scale(1); }
}
.processing-sub { font-size: 11px; color: var(--text3); letter-spacing: .04em; }

/* ── Stats ── */
#stats { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--surface2); padding: 32px 24px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 800px; margin: 0 auto; text-align: center; }
.stat-num { font-family: var(--font-display); font-size: 2rem; font-weight: 400; color: var(--text); }
.stat-label { font-size: 13px; color: var(--text2); margin-top: 2px; }

/* ── AI Partnership Section ── */
#ai-partnership {
  padding: 56px 24px;
  background: linear-gradient(180deg, var(--surface2) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
}
.partnership-header { text-align: center; margin-bottom: 36px; }
.partnership-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--primary-l); color: var(--primary);
  font-size: 12px; font-weight: 600; border-radius: 99px;
  padding: 5px 14px; margin-bottom: 16px;
}
.partnership-title { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 400; color: var(--text); margin-bottom: 12px; }
.partnership-title .c { color: var(--primary); }
.partnership-sub { font-size: 15px; color: var(--text2); max-width: 580px; margin: 0 auto; line-height: 1.7; }

.partnership-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.partnership-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px 18px;
}
.partnership-card h3 { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.partnership-card p { font-size: 13px; color: var(--text2); line-height: 1.65; }
.partnership-icon {
  width: 38px; height: 38px; border-radius: 8px;
  background: var(--primary-l); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.partnership-card-highlight {
  border-color: var(--primary); background: var(--primary-l);
}
.partnership-card-highlight h3 { color: var(--primary); }
.partnership-card-highlight p { color: var(--text2); }
.partnership-anthropic-logo {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; color: var(--primary);
  text-transform: uppercase; letter-spacing: .08em;
  margin-bottom: 12px;
}

/* ── Specialty grid ── */
#specialties { padding: 52px 24px; }
.section-head { margin-bottom: 28px; }
.section-head h2 { font-size: 22px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.section-head p { font-size: 14px; color: var(--text2); }
.spec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 24px; }
.spec-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; cursor: pointer; transition: all .18s; text-align: left; }
.spec-card:hover { border-color: var(--primary); background: var(--primary-l); }
.spec-icon { width: 36px; height: 36px; background: var(--primary-l); border-radius: 8px; display: flex; align-items: center; justify-content: center; margin-bottom: 10px; color: var(--primary); transition: background .18s; }
.spec-card:hover .spec-icon { background: var(--primary); color: #fff; }
.spec-title { font-size: 13px; font-weight: 600; color: var(--text); }
.spec-sub { font-size: 12px; color: var(--text2); margin-top: 2px; }

/* ── How it works ── */
#how { padding: 48px 24px; background: var(--accent); }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 28px; }
.step-num { font-family: var(--font-display); font-size: 3rem; font-weight: 400; color: var(--primary); opacity: .25; line-height: 1; margin-bottom: 8px; }
.step-title { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.step-desc { font-size: 13px; color: var(--text2); line-height: 1.65; }

/* ── Trust ── */
#trust { padding: 48px 24px; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.trust-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.trust-card-ai { border-color: var(--primary); background: var(--primary-l); }
.trust-icon { width: 40px; height: 40px; background: var(--primary-l); border-radius: 8px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; color: var(--primary); }
.trust-icon-ai { background: var(--primary); color: #fff; }
.trust-title { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.trust-desc { font-size: 13px; color: var(--text2); line-height: 1.6; }
.trust-claude-label {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; font-weight: 600; color: var(--primary);
  margin-top: 10px; letter-spacing: .02em;
}

/* ── Events Section ── */
#events {
  padding: 64px 24px;
  background: var(--surface2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.events-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; flex-wrap: wrap; margin-bottom: 36px;
}
.events-label {
  font-size: 12px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--primary); margin-bottom: 8px;
}
.events-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 400; color: var(--text); line-height: 1.2; margin-bottom: 10px;
}
.events-sub { font-size: 14px; color: var(--text2); max-width: 520px; line-height: 1.65; }

.events-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-bottom: 36px;
}
.event-card {
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: 14px; overflow: hidden;
  transition: all .2s; cursor: pointer;
  display: flex; flex-direction: column;
}
.event-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,0,0,.1);
  border-color: var(--primary);
}
.event-img {
  height: 150px; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.event-img svg { opacity: .22; width: 80px; height: 80px; }
.event-img-1 { background: linear-gradient(135deg, #1e5c52, #2d8a7c); }
.event-img-2 { background: linear-gradient(135deg, #2d4a7a, #3d6a8e); }
.event-img-3 { background: linear-gradient(135deg, #5a2d6e, #7a4a8e); }
.event-img-4 { background: linear-gradient(135deg, #5a3a1e, #8a6a3a); }
.event-img-5 { background: linear-gradient(135deg, #1e4a5c, #3a6e7a); }
.event-img-6 { background: linear-gradient(135deg, #3a1e5a, #5a3a7a); }

.event-badge {
  position: absolute; top: 12px; left: 12px;
  background: rgba(255,255,255,.95); color: var(--primary);
  font-size: 10px; font-weight: 700; padding: 3px 9px;
  border-radius: 99px; letter-spacing: .06em; text-transform: uppercase;
}
.event-date-pill {
  position: absolute; bottom: 12px; right: 12px;
  background: rgba(0,0,0,.42); color: #fff;
  font-size: 11px; font-weight: 600; padding: 3px 9px;
  border-radius: 6px; backdrop-filter: blur(4px);
}
.event-body { padding: 18px 18px 12px; flex: 1; }
.event-title {
  font-size: 14px; font-weight: 700; color: var(--text);
  margin-bottom: 10px; line-height: 1.35;
}
.event-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.event-meta-item {
  display: flex; align-items: center; gap: 4px;
  font-size: 12px; color: var(--text2);
}
.event-meta-item svg {
  width: 12px; height: 12px; flex-shrink: 0;
  stroke: currentColor; fill: none; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.event-desc { font-size: 12px; color: var(--text2); line-height: 1.6; }
.event-footer {
  padding: 10px 18px 14px; border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  margin-top: auto;
}
.event-type {
  font-size: 11px; font-weight: 700; padding: 3px 10px;
  border-radius: 99px; letter-spacing: .02em;
}
.event-type.free { background: var(--primary-l); color: var(--primary); }
.event-type.paid { background: #fdf6e3; color: #7a5a10; }
.dark .event-type.paid { background: #2a2210; color: #c8a84b; }
.event-register {
  display: flex; align-items: center; gap: 4px;
  font-size: 12px; font-weight: 600; color: var(--primary);
  transition: gap .15s;
}
.event-card:hover .event-register { gap: 7px; }
.event-register svg {
  width: 12px; height: 12px;
  stroke: currentColor; fill: none; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.events-cta-row { text-align: center; }

/* ── CTA ── */
.cta-section { text-align: center; padding: 56px 24px; background: linear-gradient(135deg, var(--primary-l), var(--accent)); border-radius: 16px; margin-bottom: 32px; }
.cta-ai-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; color: var(--primary);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 99px; padding: 4px 12px; margin-bottom: 16px;
}

/* ── Footer ── */
footer { border-top: 1px solid var(--border); padding: 24px; text-align: center; font-size: 13px; color: var(--text3); }
footer a { color: var(--primary); transition: opacity .15s; }
footer a:hover { opacity: .7; }

/* ── Directory page ── */
#dir-page { display: none; min-height: 100vh; }
.dir-search-bar { position: sticky; top: 60px; z-index: 90; background: var(--surface2); border-bottom: 1px solid var(--border); padding: 12px 24px; }
.dir-search-inner { display: flex; gap: 10px; max-width: 1200px; margin: 0 auto; align-items: center; flex-wrap: wrap; }

.dir-ai-badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 600; color: var(--primary);
  background: var(--primary-l); border-radius: 99px;
  padding: 4px 10px; margin-left: auto;
}

.dir-layout { display: grid; grid-template-columns: 260px 1fr; gap: 24px; max-width: 1200px; margin: 0 auto; padding: 24px; }

/* ── Sidebar ── */
.sidebar { min-width: 0; }
.sidebar-sticky { position: sticky; top: 120px; }
.sidebar-ai-note {
  display: flex; align-items: flex-start; gap: 6px;
  background: var(--primary-l); border-radius: 8px;
  padding: 8px 10px; font-size: 12px; color: var(--primary);
  margin-bottom: 16px; line-height: 1.5;
}
.filter-group { margin-bottom: 20px; }
.filter-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--text3); margin-bottom: 8px; }
.filter-select {
  width: 100%; padding: 8px 10px; border: 1px solid var(--border); border-radius: 8px;
  background: var(--surface); color: var(--text); font: inherit; font-size: 13px;
  outline: none; cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238aa09c' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center;
}
.filter-select:focus { border-color: var(--primary); }
.filter-checks { display: flex; flex-direction: column; gap: 8px; }
.check-label { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text); cursor: pointer; }
.check-label input { accent-color: var(--primary); width: 14px; height: 14px; cursor: pointer; }
.clear-btn { width: 100%; margin-top: 4px; padding: 7px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); color: var(--text2); font: inherit; font-size: 12px; cursor: pointer; transition: all .15s; display: none; }
.clear-btn:hover { border-color: var(--primary); color: var(--primary); }

/* ── Results ── */
.results-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.results-count { font-size: 14px; color: var(--text2); }
.results-count strong { color: var(--text); }
.active-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 4px; background: var(--surface2); border: 1px solid var(--border); border-radius: 99px; padding: 3px 10px; font-size: 12px; color: var(--text); }
.chip button { color: var(--text3); line-height: 1; padding: 0 0 0 2px; font-size: 14px; cursor: pointer; transition: color .15s; }
.chip button:hover { color: var(--primary); }

/* ── AI Match Banner ── */
.ai-match-banner {
  display: flex; align-items: center; gap: 10px;
  background: var(--primary-l); border: 1px solid var(--primary);
  border-radius: 10px; padding: 10px 14px;
  font-size: 13px; color: var(--primary);
  margin-bottom: 16px;
}
.ai-match-banner svg { flex-shrink: 0; }

.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.empty-state { text-align: center; padding: 60px 16px; color: var(--text2); }
.empty-state svg { margin: 0 auto 12px; color: var(--text3); }
.empty-state h3 { font-size: 16px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.empty-state p { font-size: 13px; margin-bottom: 16px; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 24px; font-size: 13px; color: var(--text2); }
.pagination button { width: 34px; height: 34px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all .15s; }
.pagination button:hover:not(:disabled) { border-color: var(--primary); color: var(--primary); }
.pagination button:disabled { opacity: .35; cursor: not-allowed; }

/* ── Therapist Card ── */
.t-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; cursor: pointer; transition: all .18s; display: flex; flex-direction: column; }
.t-card:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.t-card-head { display: flex; gap: 12px; margin-bottom: 10px; }
.t-avatar { position: relative; flex-shrink: 0; }
.t-avatar img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; background: var(--surface2); }
.t-verified { position: absolute; bottom: -2px; right: -2px; background: var(--primary); border-radius: 50%; width: 18px; height: 18px; display: flex; align-items: center; justify-content: center; }
.t-info { min-width: 0; flex: 1; }
.t-name { font-size: 14px; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .15s; }
.t-card:hover .t-name { color: var(--primary); }
.t-cred { font-size: 12px; color: var(--text2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 6px; }
.t-meta { display: flex; gap: 10px; font-size: 12px; color: var(--text2); flex-wrap: wrap; }
.t-rating { display: flex; align-items: center; gap: 3px; font-weight: 500; color: var(--text); }
.t-bio { font-size: 12px; color: var(--text2); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 10px; flex: 1; }
.tags { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 10px; }
.tag { background: var(--surface2); border: 1px solid var(--border); border-radius: 99px; padding: 2px 9px; font-size: 11px; color: var(--text2); }
.tag-more { border-style: dashed; }
.t-footer { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--border); padding-top: 10px; font-size: 11px; color: var(--text2); flex-wrap: wrap; gap: 4px; margin-top: auto; }
.t-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.t-telehealth { color: var(--primary); }
.t-sliding { color: #2e7d32; }
.dark .t-sliding { color: #81c784; }
.t-accepting { color: #2e7d32; font-weight: 500; }
.dark .t-accepting { color: #81c784; }
.t-waitlist { color: var(--text3); }

/* ── Profile page ── */
#profile-page { display: none; min-height: 100vh; }
.profile-layout { display: grid; grid-template-columns: 1fr 300px; gap: 24px; max-width: 1000px; margin: 0 auto; padding: 24px; }
.breadcrumb { font-size: 13px; color: var(--text2); margin-bottom: 20px; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.breadcrumb a { cursor: pointer; transition: color .15s; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { color: var(--text3); }
.p-hero { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; margin-bottom: 16px; }
.p-hero-inner { display: flex; gap: 20px; }
.p-avatar { position: relative; flex-shrink: 0; }
.p-avatar img { width: 90px; height: 90px; border-radius: 50%; object-fit: cover; background: var(--surface2); }
.p-verified { position: absolute; bottom: -2px; right: -2px; background: var(--primary); border-radius: 50%; width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; }
.p-details { flex: 1; min-width: 0; }
.p-name-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }
.p-name { font-size: 20px; font-weight: 700; color: var(--text); }
.p-cred { font-size: 13px; color: var(--text2); margin-bottom: 10px; }
.p-meta { display: flex; flex-wrap: wrap; gap: 12px; font-size: 13px; color: var(--text2); margin-bottom: 12px; }
.p-stars { display: flex; gap: 2px; }
.p-session-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.badge-sm { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--border); border-radius: 99px; padding: 3px 10px; font-size: 12px; color: var(--text); }
.badge-accepting { background: #e8f5e9; color: #2e7d32; border-color: #a5d6a7; }
.dark .badge-accepting { background: #1b2e1c; color: #81c784; border-color: #2e5230; }
.badge-waitlist { background: var(--surface2); color: var(--text2); }
.badge-green { background: #e8f5e9; color: #2e7d32; border-color: #a5d6a7; }
.dark .badge-green { background: #1b2e1c; color: #81c784; border-color: #2e5230; }
.section-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; margin-bottom: 14px; }
.section-card h2 { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 12px; }
.section-card p { font-size: 14px; color: var(--text2); line-height: 1.7; }
.pill-list { display: flex; flex-wrap: wrap; gap: 7px; }
.pill { background: var(--surface2); border: 1px solid var(--border); border-radius: 99px; padding: 5px 13px; font-size: 13px; color: var(--text2); }
.pill-primary { background: var(--primary-l); color: var(--primary); border-color: transparent; font-size: 14px; }
.contact-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; position: sticky; top: 120px; }
.fee-big { font-size: 26px; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.fee-sub { font-size: 13px; color: var(--text2); margin-bottom: 4px; }
.fee-sliding { font-size: 12px; color: #2e7d32; display: flex; align-items: center; gap: 4px; margin-bottom: 16px; }
.dark .fee-sliding { color: #81c784; }
.contact-divider { border: none; border-top: 1px solid var(--border); margin-bottom: 16px; }
.contact-link { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text); transition: color .15s; padding: 4px 0; }
.contact-link:hover { color: var(--primary); }
.contact-icon { width: 32px; height: 32px; background: var(--primary-l); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--primary); flex-shrink: 0; }
.contact-btn { width: 100%; margin-top: 14px; padding: 11px; background: var(--primary); color: #fff; border: none; border-radius: var(--radius); font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; transition: background .15s; }
.contact-btn:hover { background: var(--primary-h); }
.contact-note { font-size: 11px; color: var(--text3); text-align: center; margin-top: 6px; }
.detail-block { margin-bottom: 16px; }
.detail-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--text3); margin-bottom: 6px; }
.detail-pills { display: flex; flex-wrap: wrap; gap: 5px; }

/* ── Mobile sidebar ── */
.mobile-filter-btn { display: none; align-items: center; gap: 6px; }
.sidebar-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 199; }
.sidebar-overlay.open { display: block; }
.sidebar-close { display: none; }
.search-input-wrap { flex: 1; min-width: 180px; display: flex; align-items: center; gap: 8px; background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 8px 12px; }
.search-input-wrap input { border: none; background: transparent; font: inherit; font-size: 14px; color: var(--text); outline: none; width: 100%; }
.search-input-wrap input::placeholder { color: var(--text3); }
.search-input-wrap svg { flex-shrink: 0; color: var(--text3); }

/* ── Responsive ── */
@media (max-width: 1000px) {
  .partnership-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .how-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .dir-layout { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .sidebar.open {
    display: block; position: fixed; top: 0; left: 0;
    width: 300px; height: 100vh; overflow-y: auto;
    background: var(--bg); z-index: 200; padding: 20px;
    box-shadow: 4px 0 20px rgba(0,0,0,.2);
  }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .profile-layout { grid-template-columns: 1fr; }
  .contact-card { position: static; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .mobile-filter-btn { display: flex !important; }
  .sidebar-close { display: flex; }
  .dir-ai-badge { display: none; }
  .nav-claude-badge { display: none; }
  .events-grid { grid-template-columns: repeat(2, 1fr); }
  .events-head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  .cards-grid { grid-template-columns: 1fr; }
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .partnership-grid { grid-template-columns: 1fr; }
  .p-hero-inner { flex-direction: column; }
  .ai-examples { gap: 5px; }
  .events-grid { grid-template-columns: 1fr; }
}
