/*
Theme Name:   Mustard Seed Child
Theme URI:    https://mustardseedcic.co.uk
Description:  Astra child theme for Mustard Seed Associates CIC
Author:       Mustard Seed Associates CIC
Author URI:   https://mustardseedcic.co.uk
Template:     astra
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  mustardseed
Tags:         mental-health, therapy, cic, charity
*/

/* ============================================================
   GOOGLE FONTS IMPORT
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&display=swap');

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --ms-green:        #4DB840;
  --ms-green-dark:   #3a9230;
  --ms-green-deeper: #2c7025;
  --ms-green-light:  #e8f7e5;
  --ms-amber:        #E8951A;
  --ms-amber-dark:   #c97c10;
  --ms-amber-light:  #fdf3e3;
  --ms-dark:         #1a2118;
  --ms-mid:          #3d4c39;
  --ms-light:        #f7f9f6;
  --ms-border:       #d6e4d3;
  --ms-text:         #2d3b2a;
  --ms-text-muted:   #5a6b57;
  --ms-white:        #ffffff;

  --ms-font-body:    'Inter', system-ui, sans-serif;
  --ms-font-heading: 'Playfair Display', Georgia, serif;

  --ms-radius:       8px;
  --ms-radius-lg:    16px;
  --ms-shadow:       0 2px 12px rgba(26,33,24,0.10);
  --ms-shadow-lg:    0 8px 32px rgba(26,33,24,0.15);

  --ms-container:    1200px;
  --ms-gap:          clamp(1rem, 3vw, 2rem);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--ms-font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ms-text);
  background: var(--ms-white);
  -webkit-font-smoothing: antialiased;
}

/* Skip link */
.ms-skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--ms-green);
  color: var(--ms-white);
  padding: 0.5rem 1rem;
  border-radius: var(--ms-radius);
  font-weight: 600;
  z-index: 10000;
  text-decoration: none;
  transition: top 0.2s;
}
.ms-skip-link:focus {
  top: 1rem;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--ms-font-heading);
  color: var(--ms-dark);
  line-height: 1.25;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--ms-green-dark);
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: var(--ms-amber-dark);
  text-decoration-thickness: 2px;
}

ul, ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.ms-container {
  max-width: var(--ms-container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.ms-section {
  padding: clamp(3rem, 7vw, 6rem) 0;
}

.ms-section--light {
  background: var(--ms-light);
}

.ms-section--green {
  background: var(--ms-green);
  color: var(--ms-white);
}

.ms-section--dark {
  background: var(--ms-dark);
  color: var(--ms-white);
}

.ms-section__header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.ms-section__eyebrow {
  display: inline-block;
  font-family: var(--ms-font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ms-amber);
  margin-bottom: 0.75rem;
}

.ms-section--green .ms-section__eyebrow {
  color: var(--ms-amber-light);
}

.ms-section__title {
  margin-bottom: 1rem;
}

.ms-section--green .ms-section__title,
.ms-section--dark .ms-section__title {
  color: var(--ms-white);
}

.ms-section__lead {
  font-size: 1.125rem;
  color: var(--ms-text-muted);
  margin-bottom: 0;
}

.ms-section--green .ms-section__lead,
.ms-section--dark .ms-section__lead {
  color: rgba(255,255,255,0.85);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.ms-btn-primary,
.ms-btn-secondary,
.ms-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 100px;
  font-family: var(--ms-font-body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
  line-height: 1.2;
}

.ms-btn-primary {
  background: var(--ms-green);
  color: var(--ms-white);
  border-color: var(--ms-green);
}
.ms-btn-primary:hover,
.ms-btn-primary:focus {
  background: var(--ms-green-dark);
  border-color: var(--ms-green-dark);
  color: var(--ms-white);
  box-shadow: 0 4px 16px rgba(77,184,64,0.35);
  text-decoration: none;
}

.ms-btn-secondary {
  background: var(--ms-white);
  color: var(--ms-green-dark);
  border-color: var(--ms-green);
}
.ms-btn-secondary:hover,
.ms-btn-secondary:focus {
  background: var(--ms-green-light);
  color: var(--ms-green-deeper);
  border-color: var(--ms-green-dark);
  text-decoration: none;
}

.ms-btn-ghost {
  background: transparent;
  color: var(--ms-white);
  border-color: rgba(255,255,255,0.6);
}
.ms-btn-ghost:hover,
.ms-btn-ghost:focus {
  background: rgba(255,255,255,0.15);
  border-color: var(--ms-white);
  color: var(--ms-white);
  text-decoration: none;
}

.ms-btn-amber {
  background: var(--ms-amber);
  color: var(--ms-white);
  border-color: var(--ms-amber);
}
.ms-btn-amber:hover,
.ms-btn-amber:focus {
  background: var(--ms-amber-dark);
  border-color: var(--ms-amber-dark);
  color: var(--ms-white);
  text-decoration: none;
}

.ms-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */
.ms-topbar {
  background: var(--ms-green-deeper);
  color: var(--ms-white);
  padding: 0.4rem 0;
  font-size: 0.875rem;
  display: none;
}

@media (min-width: 768px) {
  .ms-topbar { display: block; }
}

.ms-topbar__inner {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 2rem;
}

.ms-topbar a {
  color: var(--ms-white);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  opacity: 0.9;
  transition: opacity 0.2s;
}
.ms-topbar a:hover { opacity: 1; }

.ms-topbar__icon {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.ms-site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--ms-white);
  border-bottom: 1px solid var(--ms-border);
  transition: box-shadow 0.3s;
}

.ms-site-header.is-scrolled {
  box-shadow: var(--ms-shadow);
}

.ms-site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 1rem;
}

.ms-site-logo img {
  height: 52px;
  width: auto;
}

.ms-site-logo span {
  font-family: var(--ms-font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ms-dark);
  text-decoration: none;
}

.ms-site-logo a {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ms-primary-nav {
  display: none;
  flex: 1;
  justify-content: flex-end;
}

@media (min-width: 1024px) {
  .ms-primary-nav { display: flex; }
}

.ms-primary-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.ms-primary-nav li { position: relative; }

.ms-primary-nav a {
  display: block;
  padding: 0.5rem 0.875rem;
  color: var(--ms-text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  border-radius: var(--ms-radius);
  transition: color 0.2s, background 0.2s;
}

.ms-primary-nav a:hover,
.ms-primary-nav a:focus,
.ms-primary-nav .current-menu-item > a {
  color: var(--ms-green-dark);
  background: var(--ms-green-light);
}

.ms-primary-nav .ms-nav-cta a {
  background: var(--ms-green);
  color: var(--ms-white);
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
}
.ms-primary-nav .ms-nav-cta a:hover {
  background: var(--ms-green-dark);
  color: var(--ms-white);
}

/* Dropdown */
.ms-primary-nav li:hover > .ms-dropdown,
.ms-primary-nav li:focus-within > .ms-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.ms-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  background: var(--ms-white);
  border: 1px solid var(--ms-border);
  border-radius: var(--ms-radius);
  box-shadow: var(--ms-shadow-lg);
  min-width: 220px;
  list-style: none;
  padding: 0.5rem 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}

.ms-dropdown a {
  padding: 0.6rem 1.25rem;
  border-radius: 0;
  font-size: 0.9rem;
}

/* Hamburger */
.ms-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  border-radius: var(--ms-radius);
}

@media (min-width: 1024px) {
  .ms-hamburger { display: none; }
}

.ms-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ms-dark);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s, width 0.3s;
}

.ms-hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.ms-hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  width: 0;
}
.ms-hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.ms-mobile-menu {
  display: none;
  background: var(--ms-white);
  border-top: 1px solid var(--ms-border);
  padding: 1rem 0 1.5rem;
}

.ms-mobile-menu.is-open { display: block; }

.ms-mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ms-mobile-menu > ul > li > a {
  display: block;
  padding: 0.75rem 1.25rem;
  color: var(--ms-text);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.0625rem;
  border-bottom: 1px solid var(--ms-border);
}

.ms-mobile-menu .ms-nav-cta a {
  background: var(--ms-green);
  color: var(--ms-white);
  margin: 1rem 1.25rem 0;
  text-align: center;
  border-radius: 100px;
  border-bottom: none;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.ms-hero {
  position: relative;
  background: var(--ms-green-deeper);
  color: var(--ms-white);
  padding: clamp(3rem, 7vw, 6rem) 0;
  overflow: hidden;
}

/* Split layout: text left, image right */
/* Split hero: flexbox for cross-theme reliability */
.ms-hero__split {
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
  -webkit-box-orient: horizontal !important;
  -webkit-box-direction: normal !important;
      -ms-flex-direction: row !important;
          flex-direction: row !important;
  -webkit-flex-wrap: nowrap;
      -ms-flex-wrap: nowrap;
          flex-wrap: nowrap;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  width: 100%;
}

.ms-hero__text {
  flex: 1 1 auto;
  min-width: 0;
  position: relative;
  z-index: 1;
}

/* Image column — fixed at 44% of the row */
.ms-hero__image-col {
  flex: 0 0 44%;
  width: 44%;
  min-width: 0;
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
}

.ms-hero__image-frame {
  position: relative;
  width: 100%;
  max-width: 520px;
}

.ms-hero__image-frame img {
  width: 100%;
  height: clamp(340px, 45vw, 560px);
  object-fit: cover;
  border-radius: var(--ms-radius-lg);
  box-shadow: 0 24px 64px rgba(0,0,0,0.35);
  display: block;
}

/* Floating "BACP Accredited" badge */
.ms-hero__badge {
  position: absolute;
  bottom: -1rem;
  left: -1.25rem;
  background: var(--ms-amber);
  color: var(--ms-white);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.1rem;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  white-space: nowrap;
}

/* Responsive: stack vertically on tablets and below */
@media (max-width: 860px) {
  .ms-hero__split {
    -webkit-box-orient: vertical !important;
    -webkit-box-direction: normal !important;
        -ms-flex-direction: column !important;
            flex-direction: column !important;
  }
  .ms-hero__image-col {
    -webkit-box-ordinal-group: 0;
        -ms-flex-order: -1;
            order: -1; /* image above text on mobile */
    flex: 0 0 auto;
    width: 100%;
    justify-content: center;
  }
  .ms-hero__image-frame {
    max-width: 100%;
  }
  .ms-hero__image-frame img {
    height: clamp(200px, 50vw, 340px);
  }
  .ms-hero__badge {
    left: 1rem;
    bottom: 1rem;
  }
}

/* Page image blocks (about, services) */
.ms-img-block {
  width: 100%;
  border-radius: var(--ms-radius-lg);
  overflow: hidden;
  box-shadow: var(--ms-shadow-lg);
}

.ms-img-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ms-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(232,149,26,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 10% 80%, rgba(77,184,64,0.15) 0%, transparent 50%);
  pointer-events: none;
}

.ms-hero__inner {
  position: relative;
  z-index: 1;
}

.ms-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(232,149,26,0.2);
  border: 1px solid rgba(232,149,26,0.4);
  color: var(--ms-amber);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.ms-hero__title {
  color: var(--ms-white);
  margin-bottom: 1.25rem;
  max-width: 800px;
}

.ms-hero__lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.65;
  color: rgba(255,255,255,0.88);
  max-width: 640px;
  margin-bottom: 2.5rem;
}

.ms-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.ms-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
}

.ms-hero__trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.75);
}

.ms-hero__trust-item svg {
  width: 16px;
  height: 16px;
  fill: var(--ms-amber);
  flex-shrink: 0;
}

/* Page hero (smaller) */
.ms-page-hero {
  background: var(--ms-green-deeper);
  color: var(--ms-white);
  padding: clamp(3rem, 6vw, 5rem) 0;
  position: relative;
  overflow: hidden;
}

.ms-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 80% 50%, rgba(232,149,26,0.1) 0%, transparent 60%);
  pointer-events: none;
}

.ms-page-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.ms-page-hero__eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ms-amber);
  margin-bottom: 0.75rem;
}

.ms-page-hero__title {
  color: var(--ms-white);
  margin-bottom: 1rem;
}

.ms-page-hero__lead {
  color: rgba(255,255,255,0.85);
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

/* ============================================================
   CARDS
   ============================================================ */
.ms-card {
  background: var(--ms-white);
  border: 1px solid var(--ms-border);
  border-radius: var(--ms-radius-lg);
  padding: 2rem;
  box-shadow: var(--ms-shadow);
  transition: box-shadow 0.25s, transform 0.25s;
}

.ms-card:hover {
  box-shadow: var(--ms-shadow-lg);
  transform: translateY(-3px);
}

/* Service cards */
.ms-service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 600px) {
  .ms-service-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .ms-service-grid { grid-template-columns: repeat(3, 1fr); }
}

.ms-service-card {
  background: var(--ms-white);
  border: 1px solid var(--ms-border);
  border-radius: var(--ms-radius-lg);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}

.ms-service-card:hover {
  box-shadow: var(--ms-shadow-lg);
  transform: translateY(-4px);
  border-color: var(--ms-green);
}

.ms-service-card__icon {
  width: 56px;
  height: 56px;
  background: var(--ms-green-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ms-service-card__icon svg {
  width: 28px;
  height: 28px;
  fill: var(--ms-green-dark);
}

.ms-service-card__name {
  font-family: var(--ms-font-heading);
  font-size: 1.2rem;
  color: var(--ms-dark);
  font-weight: 600;
  margin: 0;
}

.ms-service-card__desc {
  color: var(--ms-text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
  flex: 1;
  margin: 0;
}

.ms-service-card__price {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ms-amber-dark);
}

.ms-service-card__link {
  color: var(--ms-green-dark);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap 0.2s;
}

.ms-service-card__link:hover { gap: 0.6rem; }
.ms-service-card__link::after { content: '→'; }

/* Therapist cards */
.ms-therapist-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 600px) {
  .ms-therapist-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .ms-therapist-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1200px) {
  .ms-therapist-grid { grid-template-columns: repeat(4, 1fr); }
}

.ms-therapist-card {
  background: var(--ms-white);
  border: 1px solid var(--ms-border);
  border-radius: var(--ms-radius-lg);
  overflow: hidden;
  text-align: center;
  transition: box-shadow 0.25s, transform 0.25s;
}

.ms-therapist-card:hover {
  box-shadow: var(--ms-shadow-lg);
  transform: translateY(-4px);
}

.ms-therapist-card__photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--ms-green-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ms-therapist-card__photo-placeholder {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--ms-green-light) 0%, var(--ms-border) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ms-therapist-card__photo-placeholder svg {
  width: 64px;
  height: 64px;
  fill: var(--ms-green);
  opacity: 0.5;
}

.ms-therapist-card__body {
  padding: 1.5rem 1.25rem;
}

.ms-therapist-card__name {
  font-family: var(--ms-font-heading);
  font-size: 1.1rem;
  color: var(--ms-dark);
  margin-bottom: 0.25rem;
}

.ms-therapist-card__title {
  font-size: 0.875rem;
  color: var(--ms-green-dark);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.ms-therapist-card__speciality {
  font-size: 0.875rem;
  color: var(--ms-text-muted);
  margin-bottom: 1rem;
}

.ms-therapist-card__location {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.8125rem;
  color: var(--ms-text-muted);
  background: var(--ms-light);
  padding: 0.2rem 0.65rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

/* ============================================================
   FEATURE GRID
   ============================================================ */
.ms-feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 600px) {
  .ms-feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .ms-feature-grid { grid-template-columns: repeat(3, 1fr); }
}

.ms-feature-item {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ms-feature-item__icon {
  width: 48px;
  height: 48px;
  background: var(--ms-green-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ms-feature-item__icon svg {
  width: 24px;
  height: 24px;
  fill: var(--ms-green-dark);
}

.ms-feature-item h3 {
  font-size: 1.1rem;
  color: var(--ms-dark);
  margin: 0;
}

.ms-feature-item p {
  color: var(--ms-text-muted);
  font-size: 0.9375rem;
  margin: 0;
}

/* ============================================================
   STATS / ABOUT BAND
   ============================================================ */
.ms-about-band {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 900px) {
  .ms-about-band { grid-template-columns: 1fr 1fr; }
}

.ms-stats-box {
  background: var(--ms-green);
  color: var(--ms-white);
  border-radius: var(--ms-radius-lg);
  padding: 2.5rem;
}

.ms-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.ms-stat {
  text-align: center;
}

.ms-stat__number {
  font-family: var(--ms-font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--ms-white);
  line-height: 1;
  display: block;
  margin-bottom: 0.35rem;
}

.ms-stat__label {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.8);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.ms-testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .ms-testimonial-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .ms-testimonial-grid { grid-template-columns: repeat(3, 1fr); }
}

.ms-testimonial {
  background: var(--ms-white);
  border: 1px solid var(--ms-border);
  border-radius: var(--ms-radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ms-testimonial__stars {
  display: flex;
  gap: 3px;
}

.ms-testimonial__stars svg {
  width: 18px;
  height: 18px;
  fill: var(--ms-amber);
}

.ms-testimonial__quote {
  font-family: var(--ms-font-heading);
  font-style: italic;
  font-size: 1.0625rem;
  color: var(--ms-text);
  line-height: 1.6;
  flex: 1;
}

.ms-testimonial__quote::before { content: '\201C'; }
.ms-testimonial__quote::after  { content: '\201D'; }

.ms-testimonial__author {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.ms-testimonial__name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ms-dark);
}

.ms-testimonial__detail {
  font-size: 0.8125rem;
  color: var(--ms-text-muted);
}

/* ============================================================
   CTA BAND
   ============================================================ */
.ms-cta-band {
  background: var(--ms-green-deeper);
  color: var(--ms-white);
  text-align: center;
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  position: relative;
  overflow: hidden;
}

.ms-cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 100% at 50% 50%, rgba(232,149,26,0.08) 0%, transparent 70%);
}

.ms-cta-band__inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}

.ms-cta-band__title {
  color: var(--ms-white);
  margin-bottom: 1rem;
}

.ms-cta-band__text {
  color: rgba(255,255,255,0.85);
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.ms-cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* ============================================================
   ACCORDION / FAQ
   ============================================================ */
.ms-accordion {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ms-accordion__item {
  border-bottom: 1px solid var(--ms-border);
}

.ms-accordion__item:first-child {
  border-top: 1px solid var(--ms-border);
}

.ms-accordion__trigger {
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  text-align: left;
  font-family: var(--ms-font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ms-dark);
  transition: color 0.2s;
}

.ms-accordion__trigger:hover,
.ms-accordion__trigger[aria-expanded="true"] {
  color: var(--ms-green-dark);
}

.ms-accordion__icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border: 2px solid var(--ms-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s, transform 0.3s;
}

.ms-accordion__trigger[aria-expanded="true"] .ms-accordion__icon {
  background: var(--ms-green);
  border-color: var(--ms-green);
  transform: rotate(45deg);
}

.ms-accordion__icon svg {
  width: 10px;
  height: 10px;
  fill: var(--ms-text-muted);
  transition: fill 0.2s;
}

.ms-accordion__trigger[aria-expanded="true"] .ms-accordion__icon svg {
  fill: var(--ms-white);
}

.ms-accordion__content {
  display: none;
  padding: 0 0 1.25rem;
  color: var(--ms-text-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.ms-accordion__content.is-open {
  display: block;
}

/* ============================================================
   CONTACT GRID
   ============================================================ */
.ms-contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 900px) {
  .ms-contact-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

.ms-location-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 600px) {
  .ms-location-cards { grid-template-columns: repeat(2, 1fr); }
}

.ms-location-card {
  background: var(--ms-light);
  border: 1px solid var(--ms-border);
  border-radius: var(--ms-radius-lg);
  padding: 1.75rem;
}

.ms-location-card__city {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--ms-font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ms-dark);
  margin-bottom: 1rem;
}

.ms-location-card__city svg {
  width: 20px;
  height: 20px;
  fill: var(--ms-green);
}

.ms-location-card address {
  font-style: normal;
  color: var(--ms-text-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.ms-map-embed {
  border-radius: var(--ms-radius);
  overflow: hidden;
  border: 1px solid var(--ms-border);
}

.ms-map-embed iframe {
  width: 100%;
  height: 280px;
  border: none;
  display: block;
}

/* Contact form */
.ms-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.ms-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.ms-form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 600px) {
  .ms-form-row { grid-template-columns: repeat(2, 1fr); }
}

.ms-form label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ms-dark);
}

.ms-form input,
.ms-form select,
.ms-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--ms-border);
  border-radius: var(--ms-radius);
  font-family: var(--ms-font-body);
  font-size: 1rem;
  color: var(--ms-text);
  background: var(--ms-white);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.ms-form input:focus,
.ms-form select:focus,
.ms-form textarea:focus {
  outline: none;
  border-color: var(--ms-green);
  box-shadow: 0 0 0 3px rgba(77,184,64,0.15);
}

.ms-form textarea {
  resize: vertical;
  min-height: 140px;
}

.ms-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235a6b57' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

/* ============================================================
   MULTI-STEP FORM (Get Matched)
   ============================================================ */
.ms-multistep {
  max-width: 680px;
  margin: 0 auto;
}

.ms-multistep__progress {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  margin-bottom: 2.5rem;
}

.ms-multistep__step-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ms-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--ms-text-muted);
  transition: background 0.3s, color 0.3s;
  position: relative;
  z-index: 1;
}

.ms-multistep__step-dot.is-active {
  background: var(--ms-green);
  color: var(--ms-white);
}

.ms-multistep__step-dot.is-done {
  background: var(--ms-green-dark);
  color: var(--ms-white);
}

.ms-multistep__step-line {
  flex: 1;
  height: 2px;
  background: var(--ms-border);
  max-width: 80px;
  transition: background 0.3s;
}

.ms-multistep__step-line.is-done {
  background: var(--ms-green);
}

.ms-multistep__panel {
  display: none;
  animation: fadeSlideIn 0.3s ease;
}

.ms-multistep__panel.is-active { display: block; }

@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}

.ms-multistep__question {
  font-family: var(--ms-font-heading);
  font-size: 1.4rem;
  color: var(--ms-dark);
  margin-bottom: 0.5rem;
}

.ms-multistep__hint {
  color: var(--ms-text-muted);
  font-size: 0.9375rem;
  margin-bottom: 1.75rem;
}

.ms-checkbox-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

@media (min-width: 480px) {
  .ms-checkbox-grid { grid-template-columns: repeat(2, 1fr); }
}

.ms-checkbox-option input[type="checkbox"],
.ms-checkbox-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.ms-checkbox-option label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  border: 2px solid var(--ms-border);
  border-radius: var(--ms-radius);
  cursor: pointer;
  font-weight: 500;
  font-size: 0.9375rem;
  transition: border-color 0.2s, background 0.2s;
}

.ms-checkbox-option input:checked + label {
  border-color: var(--ms-green);
  background: var(--ms-green-light);
  color: var(--ms-green-deeper);
}

.ms-checkbox-option label::before {
  content: '';
  width: 20px;
  height: 20px;
  border: 2px solid var(--ms-border);
  border-radius: 5px;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s;
}

.ms-checkbox-option input:checked + label::before {
  background: var(--ms-green);
  border-color: var(--ms-green);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath d='M1 5l3.5 3.5L11 1' stroke='white' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
}

.ms-multistep__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.ms-multistep__success {
  text-align: center;
  padding: 3rem 2rem;
  display: none;
}

.ms-multistep__success.is-active { display: block; }

.ms-multistep__success-icon {
  width: 72px;
  height: 72px;
  background: var(--ms-green-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.ms-multistep__success-icon svg {
  width: 36px;
  height: 36px;
  fill: var(--ms-green);
}

/* ============================================================
   BOOKING PAGE
   ============================================================ */
.ms-booking-section {
  max-width: 900px;
  margin: 0 auto;
}

/* Booking panel rendered by [ms_booking] shortcode */
.ms-booking-panel {
  background: #fff;
  border-radius: var(--ms-radius-lg);
  box-shadow: var(--ms-shadow-lg);
  overflow: hidden;
}

.ms-booking-panel__inner {
  padding: clamp(1.75rem, 4vw, 3rem);
}

.ms-booking-panel__title {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  color: var(--ms-green-deeper);
  margin-bottom: 0.75rem;
}

.ms-booking-panel__intro {
  color: var(--ms-text-muted);
  margin-bottom: 1.75rem;
  font-size: 1rem;
  max-width: 680px;
}

.ms-booking-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.ms-booking-panel__note {
  font-size: 0.875rem;
  color: var(--ms-text-muted);
  margin: 0;
}

.ms-booking-panel__note a {
  color: var(--ms-green-dark);
  text-decoration: underline;
}

.ms-booking-notice {
  background: var(--ms-amber-light);
  border-left: 4px solid var(--ms-amber);
  border-radius: 0 var(--ms-radius) var(--ms-radius) 0;
  padding: 1rem 1.25rem;
  margin-bottom: 2rem;
  font-size: 0.9375rem;
  color: var(--ms-text);
}

/* ============================================================
   SINGLE THERAPIST PAGE
   ============================================================ */
.ms-therapist-profile__header {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 768px) {
  .ms-therapist-profile__header { grid-template-columns: 260px 1fr; }
}

.ms-therapist-profile__photo {
  width: 100%;
  max-width: 260px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--ms-radius-lg);
  box-shadow: var(--ms-shadow-lg);
}

.ms-therapist-profile__photo-placeholder {
  width: 100%;
  max-width: 260px;
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--ms-green-light) 0%, var(--ms-border) 100%);
  border-radius: var(--ms-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ms-therapist-profile__photo-placeholder svg {
  width: 96px;
  height: 96px;
  fill: var(--ms-green);
  opacity: 0.4;
}

.ms-therapist-profile__credentials {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--ms-green-light);
  color: var(--ms-green-deeper);
  border-radius: 100px;
  padding: 0.3rem 0.875rem;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.ms-therapist-profile__speciality-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.ms-tag {
  background: var(--ms-light);
  border: 1px solid var(--ms-border);
  border-radius: 100px;
  padding: 0.25rem 0.75rem;
  font-size: 0.8125rem;
  color: var(--ms-text-muted);
  font-weight: 500;
}

/* ============================================================
   THERAPIST DIRECTORY — filter + grid
   ============================================================ */

.msc-directory {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

/* Filter sidebar */
.msc-directory__filters {
  flex: 0 0 220px;
  width: 220px;
  background: var(--ms-white);
  border: 1px solid var(--ms-border);
  border-radius: var(--ms-radius-lg);
  padding: 1.5rem;
  position: sticky;
  top: 6rem;
}

.msc-directory__filters-toggle {
  display: none;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  background: var(--ms-green-deeper);
  color: #fff;
  border: none;
  border-radius: var(--ms-radius);
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 0;
}

.msc-filters-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.msc-filters-header h3 {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ms-text-muted);
  margin: 0;
}

.msc-reset-link {
  background: none;
  border: none;
  color: var(--ms-amber-dark);
  font-size: 0.8125rem;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}

.msc-filter-group {
  border: none;
  padding: 0;
  margin: 0 0 1.25rem;
}

.msc-filter-label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--ms-green-deeper);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
  display: block;
}

.msc-filter-check {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.4;
  padding: 0.2rem 0;
  cursor: pointer;
  color: var(--ms-text);
}

.msc-filter-check input {
  margin-top: 0.15em;
  accent-color: var(--ms-green-dark);
  flex-shrink: 0;
}

/* Results panel */
.msc-directory__results {
  flex: 1 1 0;
  min-width: 0;
}

.msc-results-meta {
  min-height: 1.5rem;
  margin-bottom: 1rem;
}

.msc-results-count {
  font-size: 0.875rem;
  color: var(--ms-text-muted);
}

.msc-filter-loading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 2rem;
  justify-content: center;
  color: var(--ms-text-muted);
}

.msc-spinner {
  width: 24px;
  height: 24px;
  border: 3px solid var(--ms-border);
  border-top-color: var(--ms-green-dark);
  border-radius: 50%;
  animation: msc-spin 0.7s linear infinite;
}

@keyframes msc-spin { to { transform: rotate(360deg); } }

.msc-no-results {
  padding: 3rem 2rem;
  text-align: center;
  color: var(--ms-text-muted);
}

/* ── Therapist grid ── */
.msc-therapist-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.msc-therapist-grid.msc-cols-2 { grid-template-columns: repeat(2, 1fr); }
.msc-therapist-grid.msc-cols-1 { grid-template-columns: 1fr; }

/* ── Therapist card ── */
.msc-therapist-card {
  background: var(--ms-white);
  border: 1px solid var(--ms-border);
  border-radius: var(--ms-radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}

.msc-therapist-card:hover {
  box-shadow: var(--ms-shadow-lg);
  transform: translateY(-3px);
}

.msc-therapist-card__photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--ms-green-light);
}

.msc-therapist-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

.msc-therapist-card:hover .msc-therapist-card__photo img {
  transform: scale(1.04);
}

.msc-avatar-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  color: var(--ms-green-dark);
  background: linear-gradient(135deg, var(--ms-green-light), var(--ms-border));
}

.msc-avatar-placeholder--lg {
  width: 100%;
  max-width: 260px;
  aspect-ratio: 1;
  font-size: 3.5rem;
  border-radius: var(--ms-radius-lg);
}

.msc-therapist-card__body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.msc-therapist-card__credential {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ms-green-dark);
}

.msc-therapist-card__name {
  font-size: 1.0625rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
}

.msc-therapist-card__name a {
  color: var(--ms-green-deeper);
  text-decoration: none;
}

.msc-therapist-card__name a:hover { text-decoration: underline; }

.msc-therapist-card__specialisms {
  font-size: 0.8125rem;
  color: var(--ms-text-muted);
  margin: 0;
  line-height: 1.4;
}

.msc-therapist-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.25rem 0;
}

.msc-therapist-card__fee,
.msc-therapist-card__format,
.msc-therapist-card__exp,
.msc-therapist-card__location {
  font-size: 0.8rem;
  background: var(--ms-light);
  border: 1px solid var(--ms-border);
  border-radius: 100px;
  padding: 0.2rem 0.6rem;
  color: var(--ms-text);
  white-space: nowrap;
}

.msc-therapist-card__fee { background: var(--ms-green-light); border-color: var(--ms-green); color: var(--ms-green-deeper); font-weight: 600; }

.msc-therapist-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.25rem 0;
}

.msc-badge {
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 100px;
  padding: 0.2rem 0.65rem;
  display: inline-block;
}

.msc-badge--available { background: var(--ms-green-light); color: var(--ms-green-deeper); }
.msc-badge--full      { background: #fef2f2; color: #b91c1c; }
.msc-badge--la        { background: var(--ms-amber-light); color: var(--ms-amber-dark); }

.msc-therapist-card__actions {
  display: flex;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--ms-border);
}

.msc-therapist-card__cta {
  flex: 1;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ms-green-dark);
  text-decoration: none;
}

.msc-therapist-card__cta:hover { text-decoration: underline; }

.msc-therapist-card__book {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ms-white);
  background: var(--ms-amber);
  border: none;
  border-radius: var(--ms-radius);
  padding: 0.35rem 0.875rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s;
}

.msc-therapist-card__book:hover { background: var(--ms-amber-dark); }

/* ── Pagination ── */
.msc-pagination {
  display: flex;
  gap: 0.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.msc-page-btn {
  background: var(--ms-white);
  border: 1px solid var(--ms-border);
  border-radius: var(--ms-radius);
  padding: 0.4rem 0.875rem;
  cursor: pointer;
  font-size: 0.875rem;
  transition: background 0.15s;
}

.msc-page-btn:hover { background: var(--ms-light); }
.msc-page-btn.is-active { background: var(--ms-green-deeper); color: #fff; border-color: var(--ms-green-deeper); }

/* ── Credential badge (hero) ── */
.msc-credential-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(232,149,26,0.2);
  border: 1px solid rgba(232,149,26,0.4);
  color: var(--ms-amber);
  border-radius: 100px;
  padding: 0.3rem 0.875rem;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

/* ── Single profile sidebar card ── */
.ms-therapist-profile__photo-wrap {
  border-radius: var(--ms-radius-lg);
  overflow: hidden;
  box-shadow: var(--ms-shadow-lg);
  margin-bottom: 1.5rem;
}

.ms-therapist-profile__photo {
  width: 100%;
  display: block;
  max-width: 260px;
}

.msc-profile-sidebar-card {
  background: var(--ms-light);
  border-radius: var(--ms-radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--ms-border);
}

.msc-profile-sidebar-card__fee {
  background: var(--ms-white);
  border-radius: var(--ms-radius);
  padding: 1rem;
  text-align: center;
  margin-bottom: 1.25rem;
  border: 1px solid var(--ms-border);
}

.msc-profile-sidebar-card__fee-amount {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--ms-green-dark);
  font-family: var(--ms-font-heading);
}

.msc-profile-sidebar-card__fee-label {
  font-size: 0.85rem;
  color: var(--ms-text-muted);
}

.msc-profile-sidebar-card__details {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
}

.msc-profile-sidebar-card__details > div { display: flex; gap: 0.5rem; align-items: flex-start; }
.msc-profile-sidebar-card__details dt  { font-weight: 600; flex-shrink: 0; }
.msc-profile-sidebar-card__details dd  { margin: 0; }

/* ── Profile right column sections ── */
.msc-profile-bio {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--ms-text);
  margin-bottom: 2rem;
}

.msc-profile-section {
  background: var(--ms-light);
  border: 1px solid var(--ms-border);
  border-radius: var(--ms-radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.msc-profile-section h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.875rem;
  color: var(--ms-dark);
}

.msc-profile-section--green {
  background: var(--ms-green-light);
  border-color: rgba(45,80,22,0.15);
}

.msc-profile-section--green h3 { color: var(--ms-green-deeper); }

.msc-profile-section--amber {
  background: var(--ms-amber-light);
  border-color: rgba(232,149,26,0.2);
}

.msc-profile-section--amber h3 { color: var(--ms-amber-dark); }

/* ── Taxonomy tag rows ── */
.msc-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.msc-tag {
  border-radius: 100px;
  padding: 0.3rem 0.9rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
}

.msc-tag--green   { background: var(--ms-white); border: 1px solid var(--ms-green); color: var(--ms-green-deeper); font-weight: 600; }
.msc-tag--amber   { background: var(--ms-white); border: 1px solid var(--ms-amber); color: var(--ms-amber-dark); font-weight: 600; }
.msc-tag--neutral { background: var(--ms-white); border: 1px solid var(--ms-border); color: var(--ms-text); }

a.msc-tag:hover { opacity: 0.8; }

/* ── Qualifications list ── */
.msc-qualifications-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.msc-qualifications-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9375rem;
}

.msc-qualifications-list li svg {
  fill: var(--ms-green);
  flex-shrink: 0;
  margin-top: 0.2em;
}

/* ── Cal.com embed ── */
.msc-cal-embed {
  min-height: 700px;
  border-radius: var(--ms-radius-lg);
  overflow: hidden;
  border: 1px solid var(--ms-border);
}

/* ── Responsive directory ── */
@media (max-width: 1024px) {
  .msc-therapist-grid { grid-template-columns: repeat(2, 1fr); }
  .msc-therapist-grid.msc-cols-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .msc-directory { flex-direction: column; }

  .msc-directory__filters {
    flex: none;
    width: 100%;
    position: static;
  }

  .msc-directory__filters-toggle { display: flex; }

  .msc-directory__filters-body {
    display: none;
    margin-top: 1rem;
  }

  .msc-directory__filters-body.is-open { display: block; }
}

@media (max-width: 600px) {
  .msc-therapist-grid,
  .msc-therapist-grid.msc-cols-2,
  .msc-therapist-grid.msc-cols-3 { grid-template-columns: 1fr; }
}

/* ============================================================
   VALUES SECTION
   ============================================================ */
.ms-values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .ms-values-grid { grid-template-columns: repeat(3, 1fr); }
}

.ms-value-card {
  text-align: center;
  padding: 2.5rem 2rem;
  background: var(--ms-white);
  border: 1px solid var(--ms-border);
  border-radius: var(--ms-radius-lg);
}

.ms-value-card__icon {
  width: 64px;
  height: 64px;
  background: var(--ms-green-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.ms-value-card__icon svg {
  width: 32px;
  height: 32px;
  fill: var(--ms-green-dark);
}

.ms-value-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.ms-value-card p {
  color: var(--ms-text-muted);
  font-size: 0.9375rem;
}

/* ============================================================
   PRIVACY / TEXT PAGE
   ============================================================ */
.ms-prose {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--ms-text);
}

.ms-prose h2 {
  font-size: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  color: var(--ms-dark);
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--ms-border);
}

.ms-prose h3 {
  font-size: 1.1rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.ms-prose ul, .ms-prose ol {
  margin-bottom: 1rem;
}

.ms-prose li { margin-bottom: 0.35rem; }

.ms-prose strong { color: var(--ms-dark); }

.ms-prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  margin-bottom: 1.5rem;
}

.ms-prose table th,
.ms-prose table td {
  border: 1px solid var(--ms-border);
  padding: 0.7rem 1rem;
  text-align: left;
}

.ms-prose table th {
  background: var(--ms-light);
  font-weight: 600;
  color: var(--ms-dark);
}

.ms-prose table tr:nth-child(even) td {
  background: var(--ms-light);
}

/* ============================================================
   FOOTER
   ============================================================ */
.ms-footer {
  background: var(--ms-dark);
  color: rgba(255,255,255,0.8);
  padding-top: clamp(3rem, 6vw, 5rem);
}

.ms-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 768px) {
  .ms-footer__grid { grid-template-columns: 2fr 1fr 1fr; gap: 4rem; }
}

.ms-footer__brand-logo {
  height: 48px;
  width: auto;
  margin-bottom: 1rem;
}

.ms-footer__brand-name {
  font-family: var(--ms-font-heading);
  font-size: 1.2rem;
  color: var(--ms-white);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.ms-footer__strapline {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.ms-footer__social {
  display: flex;
  gap: 0.75rem;
}

.ms-footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.ms-footer__social a:hover {
  background: var(--ms-green);
  color: var(--ms-white);
}

.ms-footer__social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.ms-footer__col-title {
  font-family: var(--ms-font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ms-white);
  margin-bottom: 1.25rem;
}

.ms-footer__nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.ms-footer__nav a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color 0.2s;
}

.ms-footer__nav a:hover {
  color: var(--ms-green);
}

.ms-footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
}

.ms-footer__contact-item svg {
  width: 15px;
  height: 15px;
  fill: var(--ms-green);
  flex-shrink: 0;
  margin-top: 0.2em;
}

.ms-footer__contact-item a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.2s;
}

.ms-footer__contact-item a:hover { color: var(--ms-green); }

.ms-footer__cic-note {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  margin-top: 1.5rem;
  line-height: 1.5;
}

.ms-footer__bottom {
  margin-top: 3rem;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
}

.ms-footer__bottom a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.2s;
}

.ms-footer__bottom a:hover { color: var(--ms-green); }

/* ============================================================
   ANIMATIONS
   ============================================================ */
.ms-animate {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.ms-animate.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.ms-animate--delay-1 { transition-delay: 0.1s; }
.ms-animate--delay-2 { transition-delay: 0.2s; }
.ms-animate--delay-3 { transition-delay: 0.3s; }
.ms-animate--delay-4 { transition-delay: 0.4s; }

/* ============================================================
   ASTRA OVERRIDES
   ============================================================ */
.ast-container {
  max-width: var(--ms-container) !important;
}

/* Hide Astra's default header when our custom header is present */
body.ms-custom-header #masthead {
  display: none;
}

/* ============================================================
   UTILITIES
   ============================================================ */
.text-center { text-align: center; }
.text-green  { color: var(--ms-green-dark); }
.text-amber  { color: var(--ms-amber); }
.text-muted  { color: var(--ms-text-muted); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

.ms-badge {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
}

.ms-badge--green {
  background: var(--ms-green-light);
  color: var(--ms-green-deeper);
}

.ms-badge--amber {
  background: var(--ms-amber-light);
  color: var(--ms-amber-dark);
}

/* ============================================================
   RESPONSIVE MEDIA QUERIES SUMMARY
   ============================================================
   Mobile-first: base styles are mobile
   768px:  tablet+
   1024px: small desktop+
   1200px: large desktop+
   ============================================================ */

@media (min-width: 768px) {
  .ms-page-hero { text-align: left; }
}

@media (max-width: 767px) {
  .ms-footer__grid { gap: 2rem; }
  .ms-about-band { gap: 2rem; }
  .ms-multistep__nav { flex-direction: column; }
  .ms-multistep__nav .ms-btn-primary,
  .ms-multistep__nav .ms-btn-secondary { width: 100%; justify-content: center; }
}
