/* ===========================
   Pages — Additional Styles
   =========================== */

/* ===== TEACH PAGE ===== */

/* Weekly Rhythm Grid */
.rhythm-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-lg);
  margin-top: var(--sp-2xl);
}

.rhythm-day {
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
}

.rhythm-day-header {
  padding: var(--sp-md) var(--sp-lg);
  border-radius: var(--r-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--sp-xs);
}
.rhythm-day-header.monday { background: var(--navy-mid); color: var(--white); }
.rhythm-day-header.tuesday { background: var(--teal-accent); color: var(--white); }
.rhythm-day-header.wednesday { background: var(--gold-dark); color: var(--white); }
.rhythm-day-header.thursday { background: var(--green-badge); color: var(--white); }
.rhythm-day-header.friday { background: linear-gradient(135deg,#D97706,#B8891E); color: var(--white); }

.day-name { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.day-time { font-size: 0.8rem; font-weight: 600; opacity: 0.85; }

.rhythm-session {
  border-radius: var(--r-md);
  padding: var(--sp-lg);
  flex: 1;
}
.rhythm-session.blue { background: #DBEAFE; border: 1px solid #BFDBFE; }
.rhythm-session.lavender { background: #EDE9FE; border: 1px solid #DDD6FE; }
.rhythm-session.teal { background: #CCFBF1; border: 1px solid #99F6E4; }
.rhythm-session.peach { background: #FFEDD5; border: 1px solid #FED7AA; }
.rhythm-session.gold-session { background: #FEF9C3; border: 1px solid #FDE047; }
.rhythm-session.green-session { background: #DCFCE7; border: 1px solid #BBF7D0; }

.session-time { font-size: 0.72rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: var(--sp-xs); }
.session-title { font-size: 0.9rem; font-weight: 700; color: var(--navy-text); margin-bottom: var(--sp-xs); line-height: 1.3; }
.session-desc { font-size: 0.82rem; color: var(--text-body); line-height: 1.5; }
.session-host { font-size: 0.78rem; color: var(--text-muted); margin-top: var(--sp-sm); font-style: italic; }

/* Growth Tiers Layout */
.tiers-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-xl);
  margin-top: var(--sp-2xl);
  align-items: start;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.tier-card-page {
  background: var(--white);
  border: 1.5px solid var(--border-gray);
  border-radius: var(--r-xl);
  padding: var(--sp-2xl);
  position: relative;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}
.tier-card-page:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.tier-card-page.featured-tier { border-color: var(--gold); box-shadow: var(--shadow-lg); }

.tier-most-popular {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--navy-darkest);
  padding: 0.25rem 1rem; border-radius: var(--r-pill);
  font-size: 0.75rem; font-weight: 700; white-space: nowrap;
}

.tier-header { margin-bottom: var(--sp-xl); }
.tier-header h3 { font-size: 1.2rem; font-weight: 800; color: var(--navy-text); margin-bottom: var(--sp-xs); }
.tier-expand-name { font-size: 0.78rem; color: var(--text-muted); line-height: 1.5; margin-bottom: var(--sp-lg); }

.tier-price-block { margin: var(--sp-lg) 0 var(--sp-xs); }
.tier-price-num { font-size: 2.4rem; font-weight: 800; color: var(--navy-text); }
.tier-price-per { font-size: 1rem; color: var(--text-muted); margin-left: 0.25rem; }

.tier-tagline { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0; }

.tier-features {
  list-style: none;
  margin: 0 0 var(--sp-xl);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.tier-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: var(--text-body);
}
.tier-features li i.fa-check { color: var(--green-badge); flex-shrink: 0; margin-top: 3px; }
.tier-features li i.fa-times { color: #D1D5DB; flex-shrink: 0; margin-top: 3px; }
.tier-features li.faded { color: #C0C6D0; }

/* Sub-Communities Grid */
.communities-grid-page {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-lg);
  margin-top: var(--sp-2xl);
}

.community-card-page {
  background: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: var(--r-lg);
  padding: var(--sp-xl);
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}
.community-card-page:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--gold); }

.comm-icon {
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  margin-bottom: var(--sp-md);
}

.community-card-page h3 { font-size: 0.9rem; font-weight: 700; color: var(--navy-text); margin-bottom: var(--sp-xs); line-height: 1.3; }
.community-card-page p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.55; margin-bottom: var(--sp-md); }
.comm-meta { font-size: 0.78rem; color: var(--text-muted); margin-bottom: var(--sp-sm); }

/* Collective Fund Layout */
.fund-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4xl);
  align-items: start;
}

.fund-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-lg);
  margin-bottom: var(--sp-lg);
}

.fund-stat-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: var(--sp-xl);
  box-shadow: var(--shadow-card);
  text-align: center;
}

/* ===== THERAPISTS PAGE ===== */

.therapist-search-hero {
  background: linear-gradient(160deg, var(--navy-darkest), var(--navy-mid));
  padding: var(--sp-4xl) 0 var(--sp-3xl);
  color: var(--white); text-align: center;
  position: relative; overflow: hidden;
}
.therapist-search-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 40%, rgba(216,165,58,0.07) 0%, transparent 55%);
}
.therapist-search-hero > * { position: relative; z-index: 1; }

.search-bar-wrap {
  max-width: 680px; margin: 0 auto;
  display: flex; gap: 0;
  background: var(--white);
  border-radius: var(--r-pill);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.search-bar-wrap input {
  flex: 1; padding: 1rem 1.5rem;
  border: none; font-size: 0.9375rem;
  color: var(--navy-text); outline: none;
  font-family: inherit;
}
.search-bar-wrap input::placeholder { color: #B0B7C3; }
.search-bar-wrap button {
  padding: 1rem 1.75rem;
  background: var(--gold); color: var(--navy-darkest);
  font-weight: 700; font-size: 0.9375rem;
  border: none; cursor: pointer;
  transition: var(--transition); font-family: inherit;
}
.search-bar-wrap button:hover { background: var(--gold-light); }

/* Filter bar */
.filters-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border-gray);
  padding: var(--sp-md) 0;
  position: sticky; top: 66px; z-index: 100;
}
.filters-inner {
  max-width: 1180px; margin: 0 auto; padding: 0 var(--sp-xl);
  display: flex; align-items: center; gap: var(--sp-md); flex-wrap: wrap;
}

.filter-group {
  display: flex; align-items: center; gap: 0.5rem;
}
.filter-group label { font-size: 0.8rem; font-weight: 600; color: var(--text-muted); white-space: nowrap; }
.filter-group select {
  padding: 0.45rem 0.75rem; border: 1.5px solid var(--border-gray);
  border-radius: var(--r-pill); font-size: 0.85rem; font-family: inherit;
  color: var(--navy-text); background: var(--white); cursor: pointer;
  transition: var(--transition); outline: none;
}
.filter-group select:focus { border-color: var(--gold); }

.filters-bar .clear-btn { margin-left: auto; font-size: 0.85rem; color: var(--gold-dark); font-weight: 600; cursor: pointer; }
.filters-bar .clear-btn:hover { color: var(--gold); }

.results-info { font-size: 0.85rem; color: var(--text-muted); }

/* Therapists grid */
.therapists-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-xl);
  margin-top: var(--sp-2xl);
}

.therapist-card {
  background: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: var(--r-lg);
  padding: var(--sp-xl);
  transition: var(--transition);
  box-shadow: var(--shadow-card);
  position: relative;
}
.therapist-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(216,165,58,0.4); }

.therapist-tier-badge {
  position: absolute; top: var(--sp-lg); right: var(--sp-lg);
}

.therapist-top { display: flex; gap: var(--sp-lg); align-items: flex-start; margin-bottom: var(--sp-lg); }

.therapist-avatar {
  width: 80px; height: 80px; border-radius: 50%;
  object-fit: cover; object-position: top center;
  flex-shrink: 0;
  border: 3px solid var(--gold);
  box-shadow: 0 0 0 2px rgba(216,165,58,0.18), 0 4px 12px rgba(0,0,0,0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.therapist-avatar:hover {
  transform: scale(1.06);
  box-shadow: 0 0 0 3px var(--gold), 0 6px 18px rgba(0,0,0,0.15);
}
.therapist-avatar-placeholder {
  width: 72px; height: 72px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-mid), var(--teal-accent));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; font-weight: 700; color: var(--white);
  flex-shrink: 0; border: 3px solid var(--light-gray);
}

.therapist-info { flex: 1; min-width: 0; }
.therapist-name { font-size: 1.05rem; font-weight: 700; color: var(--navy-text); margin-bottom: 0.2rem; }
.therapist-creds { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 0.3rem; }
.therapist-loc { font-size: 0.82rem; color: var(--text-muted); }
.therapist-loc i { color: var(--gold-dark); margin-right: 0.3rem; }

.therapist-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: var(--sp-md); }
.therapist-tag {
  padding: 0.2rem 0.6rem; background: var(--light-gray);
  border-radius: var(--r-pill); font-size: 0.75rem;
  font-weight: 500; color: var(--text-body);
}

.therapist-bio { font-size: 0.875rem; color: var(--text-body); line-height: 1.6; margin-bottom: var(--sp-lg); }

.therapist-actions { display: flex; gap: var(--sp-sm); }

/* T.E.A.C.H verified badge on therapist */
.teach-tag {
  display: inline-flex; align-items: center; gap: 0.3rem;
  background: var(--green-badge-light); color: var(--green-badge);
  border: 1px solid var(--green-badge); border-radius: var(--r-pill);
  font-size: 0.72rem; font-weight: 700; padding: 0.2rem 0.6rem;
  margin-bottom: var(--sp-sm); display: block; width: fit-content;
}

/* Therapist bottom section */
.therapist-details { font-size: 0.82rem; color: var(--text-muted); margin-bottom: var(--sp-sm); }
.therapist-details span { margin-right: var(--sp-md); }
.therapist-details i { color: var(--gold-dark); margin-right: 0.3rem; }

/* Verified info section */
.verified-info-box {
  background: var(--green-badge-light);
  border: 1px solid #A7C99A;
  border-radius: var(--r-lg);
  padding: var(--sp-lg) var(--sp-xl);
  display: flex; align-items: center; gap: var(--sp-lg);
  margin-bottom: var(--sp-2xl);
}
.verified-info-box i { font-size: 1.5rem; color: var(--green-badge); flex-shrink: 0; }
.verified-info-box p { font-size: 0.9rem; color: var(--text-body); }
.verified-info-box a { color: var(--gold-dark); font-weight: 600; }

/* Pagination */
.pagination {
  display: flex; align-items: center; justify-content: center;
  gap: var(--sp-xs); margin-top: var(--sp-3xl);
}
.page-btn {
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.875rem; font-weight: 600; cursor: pointer;
  transition: var(--transition); background: none; border: 1.5px solid var(--border-gray);
  color: var(--text-body);
}
.page-btn.active { background: var(--gold); border-color: var(--gold); color: var(--navy-darkest); }
.page-btn:hover:not(.active) { border-color: var(--gold); color: var(--gold-dark); }

/* ===== APP PAGE ===== */

.problem-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-xl);
  margin-bottom: var(--sp-2xl);
}
.problem-card {
  background: var(--white); border: 1px solid var(--border-gray);
  border-radius: var(--r-lg); padding: var(--sp-xl);
  box-shadow: var(--shadow-card); transition: var(--transition);
}
.problem-card:hover { border-color: #FCA5A5; box-shadow: var(--shadow-lg); }
.problem-card-icon {
  width: 44px; height: 44px; background: #FEE2E2; color: #DC2626;
  border-radius: var(--r-md); display: flex; align-items: center;
  justify-content: center; font-size: 1.2rem; margin-bottom: var(--sp-md);
}
.problem-card h3 { font-size: 0.95rem; font-weight: 700; color: var(--navy-text); margin-bottom: var(--sp-sm); }
.problem-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }

.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-xl);
}
.feat-card {
  background: var(--white); border: 1px solid var(--border-gray);
  border-radius: var(--r-lg); padding: var(--sp-xl); box-shadow: var(--shadow-card);
  transition: var(--transition);
}
.feat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.feat-icon {
  width: 48px; height: 48px; background: var(--navy-darkest); color: var(--white);
  border-radius: var(--r-md); display: flex; align-items: center;
  justify-content: center; font-size: 1.3rem; margin-bottom: var(--sp-lg);
}
.feat-card h3 { font-size: 1rem; font-weight: 700; color: var(--navy-text); margin-bottom: var(--sp-sm); }
.feat-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }

/* App Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-xl); margin-top: var(--sp-2xl); }
.pricing-card {
  background: var(--white); border: 1.5px solid var(--border-gray);
  border-radius: var(--r-xl); padding: var(--sp-2xl); text-align: center;
  position: relative; transition: var(--transition); box-shadow: var(--shadow-card);
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pricing-card.featured-plan { border-color: var(--gold); box-shadow: var(--shadow-lg); }
.pricing-popular-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--navy-darkest); padding: 0.25rem 1rem;
  border-radius: var(--r-pill); font-size: 0.75rem; font-weight: 700; white-space: nowrap;
}
.pricing-name { font-size: 1.1rem; font-weight: 700; color: var(--navy-text); margin-bottom: var(--sp-sm); }
.pricing-price { font-size: 2.8rem; font-weight: 800; color: var(--navy-text); margin-bottom: 0.25rem; }
.pricing-period { font-size: 0.9rem; color: var(--text-muted); margin-bottom: var(--sp-xl); }
.pricing-features { text-align: left; margin-bottom: var(--sp-xl); }
.pricing-features li {
  display: flex; align-items: flex-start; gap: 0.6rem;
  font-size: 0.875rem; color: var(--text-body); padding: 0.4rem 0;
  border-bottom: 1px solid var(--light-gray);
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features .fa-check { color: var(--green-badge); flex-shrink: 0; margin-top: 3px; }
.pricing-features .fa-times { color: #D1D5DB; flex-shrink: 0; margin-top: 3px; }

/* ===== ABOUT PAGE ===== */
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-2xl); margin-top: var(--sp-2xl); }
.team-card { background: var(--white); border: 1px solid var(--border-gray); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-card); transition: var(--transition); }
.team-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.team-card-header { background: linear-gradient(135deg, var(--navy-darkest), var(--navy-mid)); padding: var(--sp-2xl); text-align: center; }
.team-avatar { width: 100px; height: 100px; border-radius: 50%; border: 4px solid rgba(255,255,255,0.2); margin: 0 auto var(--sp-md); object-fit: cover; }
.team-avatar-placeholder { width: 100px; height: 100px; border-radius: 50%; background: var(--gold); display: flex; align-items: center; justify-content: center; font-size: 2.5rem; font-weight: 800; color: var(--navy-darkest); margin: 0 auto var(--sp-md); border: 4px solid rgba(255,255,255,0.2); }
.team-name { font-size: 1.3rem; font-weight: 700; color: var(--white); }
.team-role { font-size: 0.9rem; color: rgba(255,255,255,0.7); }
.team-card-body { padding: var(--sp-xl); }

/* ===== ORGANIZATIONS PAGE ===== */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-xl); margin-top: var(--sp-2xl); }
.service-card {
  background: var(--white); border: 1px solid var(--border-gray); border-radius: var(--r-lg);
  padding: var(--sp-xl); box-shadow: var(--shadow-card); transition: var(--transition);
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.service-icon { font-size: 2rem; color: var(--gold-dark); margin-bottom: var(--sp-md); }
.service-card h3 { font-size: 1rem; font-weight: 700; color: var(--navy-text); margin-bottom: var(--sp-sm); }
.service-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }

/* ===== EVENTS PAGE ===== */
.events-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-xl); margin-top: var(--sp-2xl); }
.event-card {
  background: var(--white); border: 1px solid var(--border-gray); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--shadow-card); transition: var(--transition);
}
.event-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.event-date-bar {
  background: var(--navy-darkest); color: var(--white); padding: var(--sp-md) var(--sp-xl);
  display: flex; justify-content: space-between; align-items: center;
}
.event-date-bar .date { font-size: 0.875rem; font-weight: 600; }
.event-type-badge { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.event-type-badge.virtual { color: var(--gold); }
.event-type-badge.inperson { color: #86efac; }
.event-body { padding: var(--sp-xl); }
.event-body h3 { font-size: 1rem; font-weight: 700; color: var(--navy-text); margin-bottom: var(--sp-sm); line-height: 1.4; }
.event-body p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; margin-bottom: var(--sp-lg); }
.event-meta { display: flex; gap: var(--sp-lg); flex-wrap: wrap; margin-bottom: var(--sp-lg); }
.event-meta span { font-size: 0.8rem; color: var(--text-muted); }
.event-meta i { color: var(--gold-dark); margin-right: 0.3rem; }

/* ===== BLOG PAGE ===== */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-xl); }
.blog-card {
  background: var(--white); border: 1px solid var(--border-gray); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--shadow-card); transition: var(--transition);
}
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.blog-img { height: 180px; background: linear-gradient(135deg, var(--navy-mid), var(--teal-accent)); display: flex; align-items: center; justify-content: center; font-size: 2.5rem; color: rgba(255,255,255,0.3); }
.blog-body { padding: var(--sp-xl); }
.blog-cat { display: inline-block; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gold-dark); margin-bottom: var(--sp-sm); }
.blog-body h3 { font-size: 1rem; font-weight: 700; color: var(--navy-text); margin-bottom: var(--sp-sm); line-height: 1.4; }
.blog-meta { font-size: 0.8rem; color: var(--text-muted); margin-bottom: var(--sp-md); }

/* ===== WAITLIST / CONTACT FORMS ===== */
.form-card {
  background: var(--white); border: 1px solid var(--border-gray); border-radius: var(--r-xl);
  padding: var(--sp-2xl); box-shadow: var(--shadow-lg); max-width: 680px; margin: 0 auto;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-lg); }

/* ===== Responsive Pages ===== */
@media (max-width: 1024px) {
  .therapists-grid { grid-template-columns: repeat(2, 1fr); }
  .communities-grid-page { grid-template-columns: repeat(3, 1fr); }
  .rhythm-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid, .problem-grid, .pricing-grid, .services-grid { grid-template-columns: repeat(2, 1fr); }

  /* Tiers: switch to single column, centred */
  .tiers-layout {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Collective Fund: stack at tablet */
  .fund-layout {
    grid-template-columns: 1fr;
    gap: var(--sp-2xl);
  }
}

@media (max-width: 768px) {

  /* ── T.E.A.C.H page ── */
  .rhythm-grid { grid-template-columns: 1fr; }

  .tiers-layout {
    grid-template-columns: 1fr;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
  .tier-card-page { padding: var(--sp-xl); }
  .tier-price-num { font-size: 2rem; }

  /* Collective Fund responsive */
  .fund-layout { grid-template-columns: 1fr; gap: var(--sp-2xl); }
  .fund-stats-grid { grid-template-columns: repeat(2, 1fr); gap: var(--sp-md); }

  .communities-grid-page { grid-template-columns: repeat(2, 1fr); }
  .community-card-page { padding: var(--sp-lg); }

  /* ── Therapists page ── */
  .therapists-grid { grid-template-columns: 1fr; }
  .therapist-top { gap: var(--sp-md); }
  .therapist-actions { flex-direction: column; }
  .therapist-actions .btn { width: 100%; justify-content: center; }

  .filters-inner {
    flex-direction: column;
    align-items: stretch;
    gap: var(--sp-sm);
  }
  .filter-group { flex-direction: row; align-items: center; justify-content: space-between; }
  .filter-group label { white-space: nowrap; flex-shrink: 0; }
  .filter-group select { width: auto; flex: 1; margin-left: 0.5rem; }
  .filters-bar .clear-btn { margin-left: 0; }

  /* ── App page grids ── */
  .features-grid, .problem-grid, .pricing-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }

  /* ── Events & Blog ── */
  .events-grid, .blog-grid { grid-template-columns: 1fr; }

  /* ── About / Team ── */
  .team-grid { grid-template-columns: 1fr; }

  /* ── Search hero ── */
  .search-bar-wrap { border-radius: var(--r-xl); flex-direction: column; gap: 0; }
  .search-bar-wrap input { border-radius: var(--r-xl) var(--r-xl) 0 0; }
  .search-bar-wrap button { border-radius: 0 0 var(--r-xl) var(--r-xl); padding: 0.85rem; }

  /* ── Verified info box ── */
  .verified-info-box { flex-direction: column; gap: var(--sp-md); text-align: center; }
  .verified-info-box i { font-size: 1.8rem; }

  /* ── Form rows ── */
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: var(--sp-xl); }

  /* ── Therapist search hero ── */
  .therapist-search-hero { padding: var(--sp-3xl) 0 var(--sp-2xl); }
  .therapist-search-hero h1 { font-size: clamp(1.6rem, 6vw, 2.4rem); }
  .therapist-search-hero p { font-size: 0.95rem; }
}

@media (max-width: 480px) {

  /* ── Communities ── */
  .communities-grid-page { grid-template-columns: 1fr; }

  /* ── Tier cards ── */
  .tier-card-page { padding: var(--sp-lg); }
  .tier-price-num { font-size: 1.8rem; }
  .tier-most-popular { font-size: 0.68rem; padding: 0.25rem 0.75rem; }

  /* ── Community cards ── */
  .community-card-page { padding: var(--sp-md); }

  /* ── Search bar ── */
  .search-bar-wrap { border-radius: var(--r-lg); }
  .search-bar-wrap input { border-radius: var(--r-lg) var(--r-lg) 0 0; }
  .search-bar-wrap button { border-radius: 0 0 var(--r-lg) var(--r-lg); }

  /* ── Filters ── */
  .filter-group { flex-direction: column; align-items: flex-start; }
  .filter-group select { width: 100%; margin-left: 0; margin-top: 0.25rem; }

  /* ── Therapist card ── */
  .therapist-top { flex-direction: column; align-items: center; text-align: center; }
  .therapist-info { text-align: center; }
  .therapist-tags { justify-content: center; }
  .therapist-tier-badge { position: static; margin-bottom: var(--sp-sm); text-align: center; }

  /* ── Events ── */
  .event-meta { flex-direction: column; gap: var(--sp-sm); }

  /* ── Rhythm sessions ── */
  .rhythm-day-header { flex-direction: column; align-items: flex-start; gap: 0.25rem; }

  /* ── Pagination ── */
  .pagination { flex-wrap: wrap; }
}