/* Hello Mind Blocks CSS (Matching Nuxt 1:1) */

.material-symbols-outlined {
  font-family: 'Material Symbols Outlined' !important;
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
  vertical-align: middle;
}

/* Header Styles & Sticky Positioning */
header.wp-block-template-part,
.wp-block-template-part:has(.hm-site-header),
.hm-site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

.hm-site-header.hm-header-interactive {
  transition: background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              backdrop-filter 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.admin-bar header.wp-block-template-part,
.admin-bar .wp-block-template-part:has(.hm-site-header),
.admin-bar .hm-site-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar header.wp-block-template-part,
  .admin-bar .wp-block-template-part:has(.hm-site-header),
  .admin-bar .hm-site-header {
    top: 46px;
  }
}

/* Homepage Mobile Transparent Header (Before Scroll) */
@media (max-width: 991px) {
  header.wp-block-template-part,
  .wp-block-template-part:has(.hm-site-header),
  .hm-site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
  }

  /* Padding offset on non-home pages so fixed header doesn't overlap content */
  .hm-main-content {
    padding-top: 64px !important;
  }

  /* On Homepage, hero starts directly at Y=0 behind transparent fixed header */
  body:has(.hm-home-hero) .hm-main-content,
  body.home .hm-main-content,
  body.front-page .hm-main-content {
    padding-top: 0 !important;
  }

  body:has(.hm-home-hero) header.wp-block-template-part:not(.is-scrolled),
  body:has(.hm-home-hero) .wp-block-template-part:has(.hm-site-header:not(.is-scrolled)),
  body:has(.hm-home-hero) .hm-site-header:not(.is-scrolled),
  body.home header.wp-block-template-part:not(.is-scrolled),
  body.home .wp-block-template-part:has(.hm-site-header:not(.is-scrolled)),
  body.home .hm-site-header:not(.is-scrolled),
  body.front-page header.wp-block-template-part:not(.is-scrolled),
  body.front-page .wp-block-template-part:has(.hm-site-header:not(.is-scrolled)),
  body.front-page .hm-site-header:not(.is-scrolled) {
    background-color: transparent !important;
    background: transparent !important;
    border-bottom-color: transparent !important;
    border-bottom: 1px solid transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  body:has(.hm-home-hero) .hm-site-header:not(.is-scrolled) .hm-logo-img,
  body.home .hm-site-header:not(.is-scrolled) .hm-logo-img,
  body.front-page .hm-site-header:not(.is-scrolled) .hm-logo-img {
    filter: brightness(0) invert(1);
  }

  body:has(.hm-home-hero) .hm-site-header.hm-header-interactive .hm-logo-img,
  body.home .hm-site-header.hm-header-interactive .hm-logo-img,
  body.front-page .hm-site-header.hm-header-interactive .hm-logo-img {
    transition: filter 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .hm-logo-link {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
  }

  .hm-mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 8px;
    border-radius: 12px;
    border: 1px solid rgba(35, 78, 112, 0.2);
    background-color: rgba(35, 78, 112, 0.08);
    color: var(--hm-color-secondary-dark, #234E70);
    cursor: pointer;
    outline: none;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-left: auto;
    position: relative;
    z-index: 20;
  }

  .hm-mobile-menu-toggle:active {
    transform: scale(0.95);
  }

  .hm-mobile-menu-toggle:hover {
    background-color: rgba(35, 78, 112, 0.15);
    color: var(--hm-color-primary, #3CC666);
  }

  body:has(.hm-home-hero) .hm-site-header:not(.is-scrolled) .hm-mobile-menu-toggle,
  body.home .hm-site-header:not(.is-scrolled) .hm-mobile-menu-toggle,
  body.front-page .hm-site-header:not(.is-scrolled) .hm-mobile-menu-toggle {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.18);
  }

  body:has(.hm-home-hero) .hm-site-header:not(.is-scrolled) .hm-mobile-menu-toggle:hover,
  body.home .hm-site-header:not(.is-scrolled) .hm-mobile-menu-toggle:hover,
  body.front-page .hm-site-header:not(.is-scrolled) .hm-mobile-menu-toggle:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--hm-color-primary, #3CC666);
    border-color: rgba(60, 198, 102, 0.4);
  }
}

/* General Typography & Section Tokens */
.hm-section-padded {
  padding: 24px 0;
  width: 100%;
}

@media (min-width: 768px) {
  .hm-section-padded {
    padding: 36px 0;
  }
}

.hm-h2-title {
  font-size: clamp(1.75rem, 3.5vw, 2.375rem);
  font-weight: 700;
  color: var(--hm-color-dark, #0C1D2A);
  margin-bottom: 12px;
  line-height: 1.2;
}

.hm-section-subtitle {
  font-size: 16px;
  color: var(--hm-color-muted, #627A8A);
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* /* 1. Homepage Hero (Dark Theme #0C1D2A - Matches Nuxt index.vue 1:1) */
.hm-home-hero {
  position: relative;
  background-color: #0C1D2A;
  color: #ffffff;
  margin-top: -76px;
  padding: 92px 16px 20px 16px;
  overflow: hidden;
  width: 100%;
}

@media (min-width: 992px) {
  .hm-home-hero {
    margin-top: 0;
    padding: 100px 32px 48px 32px;
  }
}

/* Balanced spacing for Homepage Content Sections */
.hm-home-hero + #therapists,
.hm-home-hero + .hm-section-padded,
#therapists.hm-section-padded {
  padding-top: 24px;
  padding-bottom: 28px;
}

@media (min-width: 768px) {
  .hm-home-hero + #therapists,
  .hm-home-hero + .hm-section-padded,
  #therapists.hm-section-padded {
    padding-top: 28px;
    padding-bottom: 32px;
  }
}

#services.hm-section-padded {
  padding-top: 28px;
  padding-bottom: 28px;
}

#contact-us.hm-section-padded {
  padding-top: 28px;
  padding-bottom: 24px;
}

@media (min-width: 768px) {
  #services.hm-section-padded {
    padding-top: 32px;
    padding-bottom: 32px;
  }

  #contact-us.hm-section-padded {
    padding-top: 32px;
    padding-bottom: 28px;
  }
}

/* Radiant Glowing Background */
.hm-hero-glow-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(60, 198, 102, 0.15) 0%, rgba(12, 29, 42, 0) 70%),
    radial-gradient(circle at 80% 20%, rgba(35, 78, 112, 0.4) 0%, rgba(12, 29, 42, 0) 60%);
  pointer-events: none;
}

.hm-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: center;
}

@media (min-width: 992px) {
  .hm-hero-grid {
    grid-template-columns: 7fr 5fr;
    gap: 48px;
  }
}

/* CPT (Concern & Service) Hero Grid Mobile Layout & Spacing */
.hm-cpt-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

@media (min-width: 992px) {
  .hm-cpt-hero-grid {
    grid-template-columns: 7fr 5fr;
    gap: 48px;
  }
}

@keyframes hmFloatGentle {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

.hm-cpt-hero-image-wrap {
  animation: hmFloatGentle 6s ease-in-out infinite;
  will-change: transform;
}

.hm-cpt-hero-grid img,
.hm-cpt-hero-img {
  animation: none !important;
}

@media (max-width: 991px) {
  .hm-cpt-hero-cta {
    margin-bottom: 8px;
  }
  .hm-cpt-hero-image-wrap {
    margin-top: 18px;
  }
  .hm-cpt-hero-img {
    height: 300px !important;
  }
}

@media (max-width: 639px) {
  .hm-cpt-hero-grid {
    gap: 32px;
  }
  .hm-cpt-hero-image-wrap {
    margin-top: 24px;
  }
  .hm-cpt-hero-img {
    height: 250px !important;
  }
}

.hm-hero-text-col {
  text-align: center;
}

@media (min-width: 992px) {
  .hm-hero-text-col {
    text-align: left;
  }
}

.hm-hero-title {
  font-size: clamp(1.85rem, 6vw, 3.5rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.12;
  margin-bottom: 8px;
}

@media (min-width: 992px) {
  .hm-hero-title {
    margin-bottom: 16px;
    line-height: 1.15;
  }
}

.hm-hero-subtitle {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
  margin-bottom: 16px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .hm-hero-subtitle {
    font-size: 16px;
  }
}

@media (min-width: 992px) {
  .hm-hero-subtitle {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 28px;
    margin-left: 0;
    margin-right: 0;
  }
}

/* Hero Highlights Animated Slider (Clean Subheading Label) */
.hm-hero-slider-wrap {
  margin-bottom: 18px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

@media (min-width: 992px) {
  .hm-hero-slider-wrap {
    margin-bottom: 28px;
    margin-left: 0;
    margin-right: 0;
  }
}

.hm-hero-slider-track {
  position: relative;
  overflow: hidden;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 768px) {
  .hm-hero-slider-track {
    height: 30px;
  }
}

@media (min-width: 992px) {
  .hm-hero-slider-track {
    height: 32px;
    justify-content: flex-start;
  }
}

.hm-hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(28px);
  transition: transform 0.75s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.75s ease, visibility 0.75s;
  will-change: transform, opacity;
}

@media (min-width: 992px) {
  .hm-hero-slide {
    justify-content: flex-start;
  }
}

.hm-hero-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
}

.hm-hero-slide.slide-out-left {
  opacity: 0;
  visibility: hidden;
  transform: translateX(-28px);
}

.hm-hero-slide.slide-out-right {
  opacity: 0;
  visibility: hidden;
  transform: translateX(28px);
}

.hm-hero-slide.slide-in-left {
  transform: translateX(-28px);
}

.hm-hero-slide.slide-in-right {
  transform: translateX(28px);
}

.hm-hero-slide-text {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .hm-hero-slide-text {
    font-size: 16.5px;
  }
}

@media (min-width: 992px) {
  .hm-hero-slide-text {
    font-size: 18px;
    line-height: 1.6;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hm-hero-slide {
    transition: opacity 0.2s ease !important;
    transform: none !important;
  }
}

/* Offer Card */
.hm-offer-card {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  max-width: 440px;
  margin: 0 auto 16px auto;
  text-align: left;
}

@media (min-width: 992px) {
  .hm-offer-card {
    padding: 16px 20px;
    border-radius: 16px;
    margin: 0 0 24px 0;
    gap: 16px;
  }
}

.hm-offer-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background-color: rgba(60, 198, 102, 0.2);
  color: var(--hm-color-primary, #3CC666);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

@media (min-width: 992px) {
  .hm-offer-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }
}

.hm-offer-badge {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--hm-color-primary, #3CC666);
  margin: 0 0 2px 0;
}

@media (min-width: 992px) {
  .hm-offer-badge {
    font-size: 11px;
  }
}

.hm-offer-heading {
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
}

@media (min-width: 992px) {
  .hm-offer-heading {
    font-size: 15px;
  }
}

.hm-offer-footnote {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.4);
  margin: 2px 0 0 0;
}

/* CTA Buttons */
.hm-hero-cta-group {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 10px;
  align-items: center;
  max-width: 440px;
  margin: 0 auto;
  width: 100%;
}

.hm-hero-cta-group .hm-btn-primary,
.hm-hero-cta-group .hm-btn-hero-secondary {
  flex: 1 1 0%;
  min-width: 0;
  min-height: 44px;
  height: 44px;
  padding: 0 14px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  border-radius: 999px !important;
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  white-space: nowrap !important;
  line-height: 1 !important;
  margin: 0 !important;
}

.hm-hero-cta-group .hm-btn-primary .material-symbols-outlined {
  font-size: 17px !important;
  margin-left: 4px;
  vertical-align: middle;
}

@media (min-width: 576px) {
  .hm-hero-cta-group .hm-btn-primary,
  .hm-hero-cta-group .hm-btn-hero-secondary {
    flex: initial;
    min-height: 48px;
    height: 48px;
    padding: 0 24px !important;
    font-size: 14.5px !important;
  }
}

@media (min-width: 992px) {
  .hm-hero-cta-group {
    justify-content: flex-start;
    margin: 0;
    gap: 16px;
  }

  .hm-hero-cta-group .hm-btn-primary,
  .hm-hero-cta-group .hm-btn-hero-secondary {
    min-height: 50px;
    height: 50px;
    padding: 0 28px !important;
    font-size: 15px !important;
  }
}

.hm-btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff !important;
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  backdrop-filter: blur(6px);
}

.hm-btn-hero-secondary:hover {
  background-color: rgba(255, 255, 255, 0.18);
  border-color: #ffffff;
  transform: translateY(-2.5px) scale(1.02);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.hm-social-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  padding-top: 2px;
}

@media (min-width: 992px) {
  .hm-social-proof {
    justify-content: flex-start;
    margin-top: 20px;
    gap: 10px;
  }
}

.hm-stars-row {
  display: flex;
  color: #F4B740;
}

.hm-stars-row .material-symbols-outlined {
  font-size: 16px;
}

@media (min-width: 992px) {
  .hm-stars-row .material-symbols-outlined {
    font-size: 20px;
  }
}

.hm-proof-text {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  margin: 0;
}

@media (min-width: 992px) {
  .hm-proof-text {
    font-size: 13px;
  }
}

/* Lottie Graphic Column - Hidden on mobile, visible on desktop (Matches index.vue line 79-89) */
.hm-hero-graphic-col {
  display: none;
}

@media (min-width: 992px) {
  .hm-hero-graphic-col {
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

.hm-graphic-box {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hm-lottie-player {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hm-hero-banner-img {
  width: 100%;
  max-width: 480px;
  height: 380px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.25);
  display: block;
  margin: 0 auto;
}

/* 2. Concern Chips Grid */
.hm-concern-chips-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 36px;
}

@media (min-width: 768px) {
  .hm-concern-chips-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

@media (min-width: 1024px) {
  .hm-concern-chips-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.hm-concern-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  min-height: 76px;
  border-radius: 16px;
  text-decoration: none;
  color: var(--hm-color-dark, #0C1D2A);
  border: 1px solid #E5ECE7;
  background-color: #ffffff;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(12, 29, 42, 0.03);
  text-align: left;
}

.hm-concern-chip:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(12, 29, 42, 0.08);
}

.hm-chip-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.hm-chip-text {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}

/* Chip Colors */
.hm-chip-amber {
  background-color: #FEF9EE;
  border-color: #FDE6B0;
}

.hm-chip-amber .hm-chip-icon {
  color: #D97706;
}

.hm-chip-sky {
  background-color: #F0F9FF;
  border-color: #BAE6FD;
}

.hm-chip-sky .hm-chip-icon {
  color: #0284C7;
}

.hm-chip-purple {
  background-color: #FAF5FF;
  border-color: #E9D5FF;
}

.hm-chip-purple .hm-chip-icon {
  color: #9333EA;
}

.hm-chip-slate {
  background-color: #F1F5F9;
  border-color: #CBD5E1;
}

.hm-chip-slate .hm-chip-icon {
  color: #475569;
}

.hm-chip-rose {
  background-color: #FFF1F2;
  border-color: #FECDD3;
}

.hm-chip-rose .hm-chip-icon {
  color: #E11D48;
}

.hm-chip-pink {
  background-color: #FDF2F8;
  border-color: #FBCFE8;
}

.hm-chip-pink .hm-chip-icon {
  color: #DB2777;
}

.hm-chip-emerald {
  background-color: #ECFDF5;
  border-color: #A7F3D0;
}

.hm-chip-emerald .hm-chip-icon {
  color: #059669;
}

.hm-chip-teal {
  background-color: #F0FDFA;
  border-color: #99F6E4;
}

.hm-chip-teal .hm-chip-icon {
  color: #0D9488;
}

.hm-chip-lime {
  background-color: #F7FEE7;
  border-color: #D9F99D;
}

.hm-chip-lime .hm-chip-icon {
  color: #65A30D;
}

.hm-chip-cyan {
  background-color: #ECFEFF;
  border-color: #A5F3FC;
}

.hm-chip-cyan .hm-chip-icon {
  color: #0891B2;
}

.hm-chip-indigo {
  background-color: #EEF2FF;
  border-color: #C7D2FE;
}

.hm-chip-indigo .hm-chip-icon {
  color: #4F46E5;
}

/* 3. Therapist Filter & Cards */
.hm-therapist-filter-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  max-width: 600px;
  margin: 20px auto 0 auto;
}

@media (min-width: 768px) {
  .hm-therapist-filter-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    max-width: none;
    margin-top: 24px;
  }
}

.hm-filter-pill {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 12px 14px;
  min-height: 56px;
  background-color: #ffffff;
  border: 1px solid #E5ECE7;
  border-radius: 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--hm-color-dark);
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: left;
  line-height: 1.25;
  width: 100%;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.hm-filter-pill:focus {
  outline: none;
}

.hm-filter-pill:focus-visible {
  outline: 2px solid var(--hm-color-primary);
  outline-offset: 2px;
}

@media (max-width: 767px) {
  .hm-filter-pill[data-filter="all"] {
    grid-column: span 2;
    justify-content: center;
    padding: 10px 16px;
    min-height: 44px;
  }
}

@media (min-width: 768px) {
  .hm-filter-pill {
    width: auto;
    font-size: 14px;
    padding: 12px 20px;
    min-height: auto;
  }
}

@media (hover: hover) and (pointer: fine) {
  .hm-filter-pill:hover:not(.active) {
    border-color: rgba(60, 198, 102, 0.4);
    box-shadow: 0 4px 14px rgba(60, 198, 102, 0.1);
    transform: translateY(-2px);
    color: var(--hm-color-primary);
    background-color: #f7fbf8;
  }
}

.hm-filter-pill.is-pressed:not(.active) {
  background-color: #F0FDF4;
  border-color: rgba(60, 198, 102, 0.6);
  color: var(--hm-color-primary);
  transform: scale(0.97);
  box-shadow: 0 2px 6px rgba(60, 198, 102, 0.15);
  transition: transform 0.08s ease, background-color 0.08s ease, border-color 0.08s ease;
}

.hm-filter-pill.active {
  background-color: var(--hm-color-primary);
  background: var(--hm-gradient-primary);
  border-color: transparent;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(60, 198, 102, 0.3);
}

.hm-therapists-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 20px;
}

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

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

.hm-therapist-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #E5ECE7;
  box-shadow: 0 6px 20px rgba(12, 29, 42, 0.04);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.hm-therapist-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(12, 29, 42, 0.1), 0 0 0 1px rgba(61, 198, 102, 0.35);
  border-color: rgba(61, 198, 102, 0.4);
}

.hm-t-card-header {
  background: linear-gradient(145deg, #165b32 0%, #0d3b1f 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 22px 18px 22px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
}

.hm-t-header-text,
.hm-t-card-header > div:first-child {
  flex: 1;
  min-width: 0;
}

.hm-t-name {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 4px 0;
  line-height: 1.3;
  word-break: break-word;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hm-t-spec {
  font-size: 13px;
  color: #4ade80;
  font-weight: 600;
  margin: 0;
  word-break: break-word;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hm-t-avatar {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  flex-shrink: 0;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.hm-therapist-card:hover .hm-t-avatar {
  transform: scale(1.06);
}

.hm-t-card-body {
  padding: 20px 22px 24px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 16px;
  background: #ffffff;
}

.hm-t-tags-box {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 52px;
}

.hm-t-tag-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(61, 198, 102, 0.1);
  border: 1px solid rgba(61, 198, 102, 0.2);
  color: #0C1D2A;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.hm-t-tag-pill:hover {
  background: rgba(61, 198, 102, 0.2);
  border-color: rgba(61, 198, 102, 0.4);
  color: #0C1D2A;
}

.hm-t-lang-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid #E5ECE7;
  border-bottom: 1px solid #E5ECE7;
  margin-top: auto;
}

.hm-t-lang-lbl {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #627A8A;
}

.hm-t-lang-val {
  font-size: 13px;
  font-weight: 600;
  color: #0C1D2A;
}

.hm-t-actions-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.hm-btn-t-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1.5px solid #0C1D2A;
  color: #0C1D2A;
  background: transparent;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s ease;
  min-height: 42px;
}

.hm-btn-t-secondary:hover {
  background: rgba(12, 29, 42, 0.05);
  border-color: #0C1D2A;
  color: #0C1D2A;
}

.hm-btn-t-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #3DC666 0%, #1ea850 100%);
  color: #ffffff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(61, 198, 102, 0.35);
  transition: all 0.2s ease;
  min-height: 42px;
}

.hm-btn-t-primary:hover {
  box-shadow: 0 6px 20px rgba(61, 198, 102, 0.5);
  transform: translateY(-1px);
}

/* 4. Services Chips Grid */
.hm-services-chips-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 768px) {
  .hm-services-chips-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

@media (min-width: 1024px) {
  .hm-services-chips-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.hm-svc-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  min-height: 80px;
  border-radius: 16px;
  text-decoration: none;
  color: var(--hm-color-dark);
  border: 1px solid #E5ECE7;
  background-color: #ffffff;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(12, 29, 42, 0.03);
}

.hm-svc-chip:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(12, 29, 42, 0.08);
}

.hm-svc-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.hm-svc-text {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}

.hm-svc-orange {
  background-color: #FFF7ED;
  border-color: #FED7AA;
}

.hm-svc-orange .hm-svc-icon {
  color: #EA580C;
}

.hm-svc-blue {
  background-color: #EFF6FF;
  border-color: #BFDBFE;
}

.hm-svc-blue .hm-svc-icon {
  color: #2563EB;
}

.hm-svc-fuchsia {
  background-color: #FDF4FF;
  border-color: #F5D0FE;
}

.hm-svc-fuchsia .hm-svc-icon {
  color: #C026D3;
}

.hm-svc-violet {
  background-color: #F5F3FF;
  border-color: #DDD6FE;
}

.hm-svc-violet .hm-svc-icon {
  color: #7C3AED;
}

.hm-svc-red {
  background-color: #FEF2F2;
  border-color: #FECACA;
}

.hm-svc-red .hm-svc-icon {
  color: #DC2626;
}

.hm-svc-zinc {
  background-color: #F4F4F5;
  border-color: #E4E4E7;
}

.hm-svc-zinc .hm-svc-icon {
  color: #52525B;
}

.hm-svc-yellow {
  background-color: #FEFCE8;
  border-color: #FEF08A;
}

.hm-svc-yellow .hm-svc-icon {
  color: #CA8A04;
}

.hm-svc-green {
  background-color: #F0FDF4;
  border-color: #BBF7D0;
}

.hm-svc-green .hm-svc-icon {
  color: #16A34A;
}

.hm-svc-stone {
  background-color: #F5F5F4;
  border-color: #E7E5E4;
}

.hm-svc-stone .hm-svc-icon {
  color: #57534E;
}

.hm-svc-gray {
  background-color: #F9FAFB;
  border-color: #E5E7EB;
}

.hm-svc-gray .hm-svc-icon {
  color: #4B5563;
}

.hm-svc-emerald {
  background-color: #ECFDF5;
  border-color: #A7F3D0;
}
.hm-svc-emerald .hm-svc-icon {
  color: #059669;
}

.hm-svc-amber {
  background-color: #FFFBEB;
  border-color: #FDE68A;
}
.hm-svc-amber .hm-svc-icon {
  color: #D97706;
}

.hm-svc-teal {
  background-color: #F0FDFA;
  border-color: #99F6E4;
}
.hm-svc-teal .hm-svc-icon {
  color: #0D9488;
}

.hm-svc-purple {
  background-color: #FAF5FF;
  border-color: #E9D5FF;
}
.hm-svc-purple .hm-svc-icon {
  color: #9333EA;
}

.hm-svc-indigo {
  background-color: #EEF2FF;
  border-color: #C7D2FE;
}
.hm-svc-indigo .hm-svc-icon {
  color: #4F46E5;
}

.hm-svc-rose {
  background-color: #FFF1F2;
  border-color: #FECDD3;
}
.hm-svc-rose .hm-svc-icon {
  color: #E11D48;
}

.hm-svc-cyan {
  background-color: #ECFEFF;
  border-color: #A5F3FC;
}
.hm-svc-cyan .hm-svc-icon {
  color: #0891B2;
}

.hm-svc-slate {
  background-color: #EFF6FF;
  border-color: #BFDBFE;
}
.hm-svc-slate .hm-svc-icon {
  color: #2563EB;
}

.hm-svc-sage {
  background-color: #F0FDF4;
  border-color: #BBF7D0;
}
.hm-svc-sage .hm-svc-icon {
  color: #16A34A;
}

.hm-svc-navy {
  background-color: #F5F5F4;
  border-color: #E7E5E4;
}
.hm-svc-navy .hm-svc-icon {
  color: #57534E;
}

.hm-svc-terracotta {
  background-color: #FEF2F2;
  border-color: #FECACA;
}
.hm-svc-terracotta .hm-svc-icon {
  color: #DC2626;
}

/* 5. Testimonials Grid */
.hm-testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 860px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .hm-testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.hm-testimonial-card {
  background-color: #F8FAF8;
  border: 1px solid #E5ECE7;
  border-radius: 20px;
  padding: 28px;
  position: relative;
  box-shadow: 0 4px 16px rgba(12, 29, 42, 0.03);
}

.hm-quote-icon {
  font-size: 36px;
  color: rgba(60, 198, 102, 0.2);
  margin-bottom: 8px;
  display: block;
}

.hm-testimonial-text {
  font-size: 15px;
  color: var(--hm-color-dark);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 20px;
}

.hm-testimonial-author-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid #E5ECE7;
}

.hm-avatar-circle {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background-color: rgba(60, 198, 102, 0.15);
  color: var(--hm-color-primary);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ─────────────────────────────────────────────────────────────
   6. WHY CHOOSE HELLO MIND SECTION (Modern High-Trust UI)
   ───────────────────────────────────────────────────────────── */
.hm-why-choose-section {
  position: relative;
  padding: 36px 0;
  background-color: #F8FAF8;
  border-top: 1px solid rgba(229, 236, 231, 0.7);
  border-bottom: 1px solid rgba(229, 236, 231, 0.7);
}

/* Header */
.hm-why-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 36px auto;
}

.hm-why-title {
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 800;
  color: #0C1D2A;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 10px 0;
}

.hm-why-subtitle {
  font-size: 15px;
  color: #64748B;
  line-height: 1.6;
  margin: 0 auto;
}

/* Grid */
.hm-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Modern Clean Card (Matches Concern Detail 1:1) */
.hm-why-card-v2 {
  background: #FFFFFF;
  border: 1.5px solid var(--card-border, rgba(60, 198, 102, 0.3));
  border-radius: 20px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 18px rgba(12, 29, 42, 0.04);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.hm-why-card-v2:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 42px rgba(12, 29, 42, 0.09), 0 2px 10px rgba(60, 198, 102, 0.06);
}

.hm-why-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--icon-bg, #DCFCE7);
  color: var(--icon-color, #166534);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  flex-shrink: 0;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.hm-why-card-v2:hover .hm-why-icon-box {
  transform: scale(1.12) rotate(-4deg);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.hm-why-icon-box .material-symbols-outlined {
  font-size: 24px;
}

.hm-why-card-heading {
  font-size: 18px;
  font-weight: 700;
  color: #0C1D2A;
  margin: 0 0 8px 0;
  line-height: 1.35;
}

.hm-why-card-desc {
  font-size: 14px;
  color: #64748B;
  line-height: 1.6;
  margin: 0;
}

/* ── Mobile & Tablet Responsiveness for Why Choose ── */
@media (max-width: 1024px) {
  .hm-why-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}

@media (max-width: 767px) {
  .hm-why-choose-section {
    padding: 40px 0;
  }
  .hm-why-header {
    margin-bottom: 24px;
    padding: 0 4px;
  }
  .hm-why-title {
    font-size: 22px;
    line-height: 1.3;
    margin-bottom: 8px;
  }
  .hm-why-subtitle {
    font-size: 13.5px;
    line-height: 1.5;
  }
  .hm-why-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .hm-why-card-v2 {
    padding: 20px 18px;
    border-radius: 16px;
    box-shadow: 0 2px 6px rgba(12, 29, 42, 0.04);
  }
  .hm-why-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    margin-bottom: 14px;
  }
  .hm-why-icon-box .material-symbols-outlined {
    font-size: 22px;
  }
  .hm-why-card-heading {
    font-size: 16.5px;
    margin-bottom: 6px;
  }
  .hm-why-card-desc {
    font-size: 13.5px;
    line-height: 1.55;
  }
}

/* 7. Contact Split Section */
.hm-contact-split-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 1080px;
  margin: 0 auto;
}

@media (min-width: 992px) {
  .hm-contact-split-grid {
    grid-template-columns: 5fr 7fr;
  }
}

.hm-contact-card {
  background-color: #ffffff;
  border: 1px solid #E5ECE7;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 8px 24px rgba(12, 29, 42, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hm-contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hm-contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.hm-info-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background-color: rgba(60, 198, 102, 0.12);
  color: var(--hm-color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hm-contact-info-item h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--hm-color-dark);
  margin: 0 0 4px 0;
}

.hm-contact-info-item p {
  font-size: 14px;
  color: var(--hm-color-muted);
  line-height: 1.5;
  margin: 0;
}

.hm-contact-btns-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 28px;
}

.hm-map-card {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid #E5ECE7;
  min-height: 360px;
  box-shadow: 0 8px 24px rgba(12, 29, 42, 0.05);
  position: relative;
}

.hm-google-map-iframe {
  width: 100%;
  height: 100%;
  border: none;
  position: absolute;
  inset: 0;
}

/* 8. Hub 3-Column Categories Grid */
.hm-hub-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 36px;
}

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

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

.hm-hub-card {
  border-radius: 24px;
  padding: 28px;
  text-decoration: none;
  background: #FFFFFF;
  color: var(--hm-color-dark);
  border: 1px solid #E5ECE7;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 20px rgba(12, 29, 42, 0.04);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.hm-hub-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(12, 29, 42, 0.09);
  border-color: #3CC666;
}

.hm-hub-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background-color: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.hm-hub-card:hover .hm-hub-icon-box {
  transform: scale(1.08);
}

.hm-hub-icon-box .material-symbols-outlined {
  font-size: 26px;
}

.hm-hub-card-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 6px 0;
  color: #0C1D2A;
  transition: color 0.2s ease;
}

.hm-hub-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  background-color: rgba(12, 29, 42, 0.04);
  color: #0C1D2A;
  border: 1px solid rgba(12, 29, 42, 0.08);
  display: inline-block;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hm-hub-card-desc {
  font-size: 14.5px;
  color: #64748B;
  line-height: 1.65;
  margin: 14px 0 22px 0;
}

.hm-hub-cta-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--hm-color-primary);
  padding-top: 14px;
  border-top: 1px solid #F1F5F9;
  transition: all 0.2s ease;
}

.hm-hub-cta-row .material-symbols-outlined {
  font-size: 16px;
  transition: transform 0.3s ease;
}

.hm-hub-card:hover .hm-hub-cta-row .material-symbols-outlined {
  transform: translateX(4px);
}

/* Service & Concern Card Color Themes (Curated for HelloMind Mental Health Brand) */

/* 1. Botanical Forest (Primary Brand Green) */
.hm-card-emerald, .hm-card-green {
  border-color: rgba(60, 198, 102, 0.25);
}
.hm-card-emerald:hover, .hm-card-green:hover {
  border-color: #3CC666;
  box-shadow: 0 20px 40px rgba(60, 198, 102, 0.15);
}
.hm-card-emerald .hm-hub-icon-box, .hm-card-green .hm-hub-icon-box { background: #DCFCE7; color: #166534; }
.hm-card-emerald:hover .hm-hub-card-title, .hm-card-green:hover .hm-hub-card-title { color: #166534; }
.hm-card-emerald .hm-hub-cta-row, .hm-card-green .hm-hub-cta-row { color: #166534; }

/* 2. Deep Ocean Teal */
.hm-card-teal, .hm-card-zinc {
  border-color: rgba(20, 184, 166, 0.25);
}
.hm-card-teal:hover, .hm-card-zinc:hover {
  border-color: #14B8A6;
  box-shadow: 0 20px 40px rgba(20, 184, 166, 0.15);
}
.hm-card-teal .hm-hub-icon-box, .hm-card-zinc .hm-hub-icon-box { background: #CCFBF1; color: #0F766E; }
.hm-card-teal:hover .hm-hub-card-title, .hm-card-zinc:hover .hm-hub-card-title { color: #0F766E; }
.hm-card-teal .hm-hub-cta-row, .hm-card-zinc .hm-hub-cta-row { color: #0F766E; }

/* 3. Serene Sky Slate */
.hm-card-slate, .hm-card-blue, .hm-card-gray {
  border-color: rgba(59, 130, 246, 0.25);
}
.hm-card-slate:hover, .hm-card-blue:hover, .hm-card-gray:hover {
  border-color: #3B82F6;
  box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15);
}
.hm-card-slate .hm-hub-icon-box, .hm-card-blue .hm-hub-icon-box, .hm-card-gray .hm-hub-icon-box { background: #E0F2FE; color: #1E40AF; }
.hm-card-slate:hover .hm-hub-card-title, .hm-card-blue:hover .hm-hub-card-title, .hm-card-gray:hover .hm-hub-card-title { color: #1E40AF; }
.hm-card-slate .hm-hub-cta-row, .hm-card-blue .hm-hub-cta-row, .hm-card-gray .hm-hub-cta-row { color: #1E40AF; }

/* 4. Eucalyptus Sage */
.hm-card-sage {
  border-color: rgba(78, 159, 118, 0.25);
}
.hm-card-sage:hover {
  border-color: #4E9F76;
  box-shadow: 0 20px 40px rgba(78, 159, 118, 0.15);
}
.hm-card-sage .hm-hub-icon-box { background: #E2F6EC; color: #2D5A43; }
.hm-card-sage:hover .hm-hub-card-title { color: #2D5A43; }
.hm-card-sage .hm-hub-cta-row { color: #2D5A43; }

/* 5. Calm Twilight Iris */
.hm-card-indigo, .hm-card-violet, .hm-card-fuchsia {
  border-color: rgba(99, 102, 241, 0.25);
}
.hm-card-indigo:hover, .hm-card-violet:hover, .hm-card-fuchsia:hover {
  border-color: #6366F1;
  box-shadow: 0 20px 40px rgba(99, 102, 241, 0.15);
}
.hm-card-indigo .hm-hub-icon-box, .hm-card-violet .hm-hub-icon-box, .hm-card-fuchsia .hm-hub-icon-box { background: #E0E7FF; color: #3730A3; }
.hm-card-indigo:hover .hm-hub-card-title, .hm-card-violet:hover .hm-hub-card-title, .hm-card-fuchsia:hover .hm-hub-card-title { color: #3730A3; }
.hm-card-indigo .hm-hub-cta-row, .hm-card-violet .hm-hub-cta-row, .hm-card-fuchsia .hm-hub-cta-row { color: #3730A3; }

/* 6. Warm Amber & Honey */
.hm-card-amber {
  border-color: rgba(217, 119, 6, 0.25);
}
.hm-card-amber:hover {
  border-color: #D97706;
  box-shadow: 0 20px 40px rgba(217, 119, 6, 0.15);
}
.hm-card-amber .hm-hub-icon-box { background: #FEF3C7; color: #92400E; }
.hm-card-amber:hover .hm-hub-card-title { color: #92400E; }
.hm-card-amber .hm-hub-cta-row { color: #92400E; }

/* 7. Warm Terracotta Clay */
.hm-card-terracotta, .hm-card-orange, .hm-card-red {
  border-color: rgba(234, 88, 12, 0.25);
}
.hm-card-terracotta:hover, .hm-card-orange:hover, .hm-card-red:hover {
  border-color: #EA580C;
  box-shadow: 0 20px 40px rgba(234, 88, 12, 0.15);
}
.hm-card-terracotta .hm-hub-icon-box, .hm-card-orange .hm-hub-icon-box, .hm-card-red .hm-hub-icon-box { background: #FFEDD5; color: #9A3412; }
.hm-card-terracotta:hover .hm-hub-card-title, .hm-card-orange:hover .hm-hub-card-title, .hm-card-red:hover .hm-hub-card-title { color: #9A3412; }
.hm-card-terracotta .hm-hub-cta-row, .hm-card-orange .hm-hub-cta-row, .hm-card-red .hm-hub-cta-row { color: #9A3412; }

/* 8. Signature Obsidian Navy */
.hm-card-navy, .hm-card-stone {
  border-color: rgba(12, 29, 42, 0.18);
}
.hm-card-navy:hover, .hm-card-stone:hover {
  border-color: #0C1D2A;
  box-shadow: 0 20px 40px rgba(12, 29, 42, 0.12);
}
.hm-card-navy .hm-hub-icon-box, .hm-card-stone .hm-hub-icon-box { background: #F1F5F9; color: #0C1D2A; }
.hm-card-navy:hover .hm-hub-card-title, .hm-card-stone:hover .hm-hub-card-title { color: #0C1D2A; }
.hm-card-navy .hm-hub-cta-row, .hm-card-stone .hm-hub-cta-row { color: #0C1D2A; }

/* 9. Custom Dynamic Card */
.hm-card-custom:hover { box-shadow: 0 20px 48px rgba(0, 0, 0, 0.12); }



/* 9. About Us Elements */
.hm-about-hero {
  background-color: #F8FAF8;
  padding: 32px 0;
  width: 100%;
}

@media (min-width: 768px) {
  .hm-about-hero {
    padding: 40px 0;
  }
}

.hm-split-2-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .hm-split-2-col {
    grid-template-columns: 1fr 1fr;
  }
}

.hm-box-card {
  background-color: #ffffff;
  border: 1px solid #E5ECE7;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 4px 16px rgba(12, 29, 42, 0.03);
}

.hm-icon-rounded {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: rgba(60, 198, 102, 0.12);
  color: var(--hm-color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.hm-box-card-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--hm-color-dark);
  margin: 0 0 8px 0;
}

.hm-box-card-lead {
  font-size: 15px;
  font-weight: 600;
  color: var(--hm-color-primary);
  margin: 0 0 14px 0;
}

.hm-box-card-body {
  font-size: 15px;
  color: var(--hm-color-muted);
  line-height: 1.7;
  margin: 0;
}

.hm-check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
  color: var(--hm-color-muted);
}

.hm-check-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.hm-values-7-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 640px) {
  .hm-values-7-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
}

@media (min-width: 1024px) {
  .hm-values-7-grid {
    grid-template-columns: repeat(7, 1fr);
    gap: 16px;
  }
}

.hm-value-mini-card {
  background-color: #ffffff;
  border-radius: 20px;
  padding: 24px 16px;
  text-align: center;
  box-shadow: 0 4px 18px rgba(12, 29, 42, 0.04);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.hm-value-mini-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(12, 29, 42, 0.09);
}

.hm-icon-mini {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px auto;
  transition: transform 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.hm-value-mini-card:hover .hm-icon-mini {
  transform: scale(1.1);
}

.hm-value-title {
  font-size: 16px;
  font-weight: 700;
  color: #0C1D2A;
  margin: 0 0 6px 0;
  line-height: 1.3;
}

.hm-value-desc {
  font-size: 13px;
  color: #64748B;
  line-height: 1.5;
  margin: 0;
}

.hm-stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 1060px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .hm-stats-row {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
}

.hm-stat-card {
  background-color: #ffffff;
  border: 1.5px solid #E5ECE7;
  border-radius: 24px;
  padding: 32px 20px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(12, 29, 42, 0.04);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hm-stat-card:hover {
  transform: translateY(-6px);
  border-color: #3CC666;
  box-shadow: 0 20px 40px rgba(60, 198, 102, 0.12);
}

.hm-stat-val {
  font-size: 44px;
  font-weight: 800;
  color: #166534;
  line-height: 1.1;
  margin: 0 0 8px 0;
  letter-spacing: -0.02em;
}

.hm-stat-lbl {
  font-size: 14px;
  font-weight: 700;
  color: #0C1D2A;
  margin: 0;
  line-height: 1.4;
}

.hm-accred-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.hm-accred-card {
  background-color: #ffffff;
  border: 1px solid #E5ECE7;
  border-radius: 9999px;
  padding: 8px 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 1px 2px rgba(12, 29, 42, 0.02);
  transition: all 0.2s ease;
}

.hm-accred-card:hover {
  border-color: #cbd5e1;
  transform: translateY(-1px);
}

.hm-accred-name {
  font-size: 12.5px;
  font-weight: 600;
  color: #334155;
  white-space: nowrap;
}

/* ==========================================================================
   Single Therapist View (Matches therapist-detail.vue 1:1)
   ========================================================================== */

.hm-therapist-detail-wrap {
  padding-top: 16px;
  padding-bottom: 64px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

@media (min-width: 768px) {
  .hm-therapist-detail-wrap {
    padding-top: 32px;
    padding-bottom: 96px;
    padding-left: 32px;
    padding-right: 32px;
  }
}

.hm-therapist-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

@media (min-width: 1024px) {
  .hm-therapist-detail-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }
}

/* Sidebar Column */
.hm-therapist-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
  max-width: 100%;
}

@media (min-width: 1024px) {
  .hm-therapist-sidebar {
    grid-column: span 4;
    position: sticky;
    top: 112px;
  }
}

/* Main Content Column */
.hm-therapist-main {
  display: flex;
  flex-direction: column;
  gap: 32px;
  min-width: 0;
  max-width: 100%;
}

@media (min-width: 1024px) {
  .hm-therapist-main {
    grid-column: span 8;
  }
}

/* Card Container */
.hm-td-card {
  background-color: #ffffff;
  border-radius: 24px;
  padding: 20px;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(229, 236, 231, 0.6);
  min-width: 0;
  max-width: 100%;
  word-break: break-word;
  overflow-wrap: anywhere;
}

@media (min-width: 768px) {
  .hm-td-card {
    padding: 24px;
  }
  .hm-td-card-lg {
    padding: 32px;
  }
}

/* Therapist Bullet List */
.hm-td-bullets-list {
  margin: 0;
  padding: 0 0 0 20px;
  list-style-type: disc;
}

.hm-td-bullets-list li {
  margin-bottom: 8px;
  line-height: 1.75;
  color: #475569;
  font-size: 15px;
  padding-left: 4px;
}

.hm-td-bullets-list li::marker {
  color: #3CC666;
}

.hm-td-bullets-list li:last-child {
  margin-bottom: 0;
}

/* Profile Header (Mobile: row, Desktop: col) */
.hm-td-profile-header {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .hm-td-profile-header {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    margin-bottom: 24px;
  }
}

.hm-td-img-box {
  position: relative;
  width: 82px;
  height: 98px;
  border-radius: 14px;
  overflow: hidden;
  background-color: #F8FAF8;
  border: 1px solid rgba(229, 236, 231, 0.5);
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .hm-td-img-box {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    border-radius: 16px;
  }
}

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

.hm-td-profile-meta {
  flex: 1;
  min-width: 0;
}

@media (min-width: 768px) {
  .hm-td-profile-meta {
    margin-top: 24px;
  }
}

.hm-td-name-row {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 4px;
  min-width: 0;
  max-width: 100%;
}

.hm-td-name {
  font-size: clamp(17px, 4.2vw, 20px);
  font-weight: 700;
  color: #234E70;
  line-height: 1.25;
  margin: 0;
  min-width: 0;
  flex: 0 1 auto;
  word-break: break-word;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (min-width: 768px) {
  .hm-td-name {
    font-size: 24px;
  }
}

.hm-td-verified-tick {
  color: #3CC666;
  font-size: 20px;
  line-height: 1.25;
  margin-top: 2px;
  font-variation-settings: 'FILL' 1;
  flex-shrink: 0;
  display: inline-flex;
}

@media (min-width: 768px) {
  .hm-td-verified-tick {
    font-size: 22px;
    margin-top: 3px;
  }
}

.hm-td-specialty {
  font-size: 12px;
  font-weight: 600;
  color: rgba(35, 78, 112, 0.8);
  line-height: 1.4;
  margin: 0;
}

@media (min-width: 768px) {
  .hm-td-specialty {
    font-size: 14px;
  }
}

.hm-td-affiliations {
  font-size: 11px;
  color: #667085;
  margin-top: 4px;
  margin-bottom: 0;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .hm-td-affiliations {
    font-size: 12px;
  }
}

/* Verification Banner */
.hm-td-verify-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background-color: #ECFDF5;
  border: 1px solid #A7F3D0;
  border-radius: 12px;
  font-size: 11px;
  color: #065F46;
  font-weight: 500;
}

@media (min-width: 768px) {
  .hm-td-verify-banner {
    font-size: 12px;
  }
}

/* Badges Grid (Rating & Experience) */
.hm-td-badges-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding-top: 2px;
}

.hm-td-badge-box {
  background-color: #F8FAF8;
  border: 1px solid rgba(229, 236, 231, 0.7);
  border-radius: 12px;
  padding: 8px 4px;
  text-align: center;
}

@media (min-width: 768px) {
  .hm-td-badge-box {
    padding: 12px;
  }
}

.hm-td-badge-val {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-bottom: 2px;
  font-size: 12px;
  font-weight: 700;
  color: #2F3A3D;
}

@media (min-width: 768px) {
  .hm-td-badge-val {
    font-size: 14px;
  }
}

.hm-td-badge-label {
  font-size: 10px;
  color: #667085;
  font-weight: 500;
  display: block;
}

@media (min-width: 768px) {
  .hm-td-badge-label {
    font-size: 11px;
  }
}

/* Info List */
.hm-td-info-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(229, 236, 231, 0.7);
  font-size: 11px;
  color: #667085;
}

@media (min-width: 768px) {
  .hm-td-info-list {
    font-size: 12px;
  }
}

.hm-td-info-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hm-td-info-item .material-symbols-outlined {
  color: #3CC666;
  font-size: 16px;
}

@media (min-width: 768px) {
  .hm-td-info-item .material-symbols-outlined {
    font-size: 18px;
  }
}

.hm-td-book-btn {
  width: 100%;
  margin-top: 16px;
  background-color: #3CC666;
  color: #ffffff !important;
  padding: 12px 24px;
  border-radius: 9999px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(60, 198, 102, 0.25);
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.hm-td-book-btn:hover {
  background-color: #34b35b;
  transform: scale(1.02);
  box-shadow: 0 6px 20px rgba(60, 198, 102, 0.35);
}

.hm-td-book-btn:active {
  transform: scale(0.98);
}

/* Video Card */
.hm-td-video-box {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(229, 236, 231, 0.5);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  background-color: #0C1D2A;
}

.hm-td-video-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hm-td-video-box:hover img {
  transform: scale(1.05);
}

.hm-td-video-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
}

.hm-td-video-box:hover .hm-td-video-overlay {
  background-color: rgba(0, 0, 0, 0.35);
}

.hm-td-video-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hm-td-play-circle {
  width: 48px;
  height: 48px;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.hm-td-video-box:hover .hm-td-play-circle {
  transform: scale(1.1);
}

.hm-td-video-duration {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background-color: rgba(0, 0, 0, 0.75);
  color: #ffffff;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: monospace;
}

/* Audio Player */
.hm-td-audio-player {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background-color: #F8FAF8;
  border-radius: 12px;
  border: 1px solid rgba(229, 236, 231, 0.6);
}

.hm-td-audio-btn {
  background: none;
  border: none;
  padding: 0;
  color: #3CC666;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.15s ease, color 0.15s ease;
}

.hm-td-audio-btn:hover {
  color: #34b35b;
}

.hm-td-audio-btn:active {
  transform: scale(0.95);
}

.hm-td-waveform-wrap {
  position: relative;
  flex: 1;
  height: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  container-type: inline-size;
}

.hm-td-waveform-bg {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 24px;
  padding: 0 4px;
  pointer-events: none;
}

.hm-td-waveform-clipper {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  overflow: hidden;
  pointer-events: none;
  transition: width 0.08s linear;
}

.hm-td-waveform-fg {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 24px;
  padding: 0 4px;
  pointer-events: none;
  width: 100cqw;
}

.hm-td-wavebar {
  width: 3px;
  border-radius: 9999px;
  transition: height 0.3s ease;
}

/* Section Headings */
.hm-td-section-title {
  font-size: 20px;
  font-weight: 700;
  color: #234E70;
  margin: 0 0 16px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.hm-td-section-title-bordered {
  margin: 0 0 24px 0;
  border-bottom: 1px solid rgba(229, 236, 231, 0.7);
  padding-bottom: 12px;
}

/* Areas of Expertise Grid */
.hm-td-expertise-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .hm-td-expertise-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.hm-td-expertise-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 16px;
  border-width: 1px;
  border-style: solid;
  transition: all 0.3s ease;
}

.hm-td-expertise-card:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transform: translateY(-1px);
}

.hm-td-expertise-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.85);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  flex-shrink: 0;
  border: 1px solid rgba(229, 236, 231, 0.5);
}

.hm-td-expertise-name {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
}

/* Services Offered Grid */
.hm-td-services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .hm-td-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.hm-td-service-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: default;
}

.hm-td-service-check {
  width: 20px;
  height: 20px;
  border-radius: 9999px;
  background-color: #ECFDF5;
  border: 1px solid #A7F3D0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.hm-td-service-item:hover .hm-td-service-check {
  transform: scale(1.1);
}

.hm-td-service-text {
  font-size: 16px;
  color: #667085;
  line-height: 1.5;
  transition: color 0.2s ease;
}

.hm-td-service-item:hover .hm-td-service-text {
  color: #3CC666;
}

/* Collapsible Items in Therapist Detail (Areas of Expertise & Services) */
.hm-td-item-hidden {
  display: none !important;
}

.hm-td-item-collapsible:not(.hm-td-item-hidden) {
  animation: hmTdFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes hmTdFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hm-td-show-all-wrap {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  padding-top: 4px;
}

.hm-td-show-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  background: #F0FDF4;
  border: 1.5px solid #86EFAC;
  color: #166534;
  border-radius: 9999px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  outline: none;
}

.hm-td-show-all-btn:hover {
  background: #DCFCE7;
  border-color: #3CC666;
  color: #14532D;
  box-shadow: 0 4px 12px rgba(60, 198, 102, 0.18);
  transform: translateY(-1px);
}

.hm-td-show-all-btn:active {
  transform: scale(0.98);
}

.hm-td-show-all-btn .hm-td-show-all-icon {
  font-size: 19px;
  transition: transform 0.25s ease;
  line-height: 1;
}

.hm-td-show-all-btn[data-expanded="true"] .hm-td-show-all-icon {
  transform: rotate(180deg);
}

/* Concern Detail: Services Offered Block (Direct Visual Block, Single Column without Image) */
.hm-concern-services-offered-block.hm-section-padded,
.hm-concern-services-offered-block {
  background-color: #071511;
  position: relative;
  overflow: hidden;
  padding-top: 60px;
  padding-bottom: 64px;
}

@media (min-width: 768px) {
  .hm-concern-services-offered-block.hm-section-padded,
  .hm-concern-services-offered-block {
    padding-top: 80px;
    padding-bottom: 88px;
  }
}

@media (min-width: 1024px) {
  .hm-concern-services-offered-block.hm-section-padded,
  .hm-concern-services-offered-block {
    padding-top: 92px;
    padding-bottom: 100px;
  }
}

.hm-concern-service-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.92);
  border-radius: 14px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  backdrop-filter: blur(4px);
}

.hm-concern-service-chip:hover {
  background-color: rgba(60, 198, 102, 0.2) !important;
  border-color: rgba(60, 198, 102, 0.45) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(60, 198, 102, 0.18);
}

/* FAQ Accordion Block */
.hm-faq-section {
  padding: 52px 0 60px 0;
  background-color: #F8FAF8;
  border-top: none;
}

.hm-faq-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 36px auto;
}

.hm-faq-title {
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 800;
  color: #0C1D2A;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 10px 0;
}

.hm-faq-subtitle {
  font-size: 15px;
  color: #64748B;
  line-height: 1.6;
  margin: 0 auto;
}

.hm-faq-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hm-faq-card {
  background: #ffffff;
  border: 1.5px solid #E5ECE7;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(12, 29, 42, 0.02);
}

.hm-faq-card:hover {
  border-color: rgba(60, 198, 102, 0.45);
  box-shadow: 0 6px 16px rgba(60, 198, 102, 0.06);
}

.hm-faq-card.active {
  border-color: #3CC666;
  box-shadow: 0 8px 24px rgba(60, 198, 102, 0.08);
}

.hm-faq-question-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  outline: none;
  font-family: inherit;
}

.hm-faq-q-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
}

.hm-faq-num {
  font-size: 13px;
  font-weight: 700;
  color: #166534;
  background: #DCFCE7;
  border-radius: 8px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hm-faq-card.active .hm-faq-num {
  background: #166534;
  color: #ffffff;
}

.hm-faq-question-text {
  font-size: 15.5px;
  font-weight: 700;
  color: #0C1D2A;
  line-height: 1.4;
  transition: color 0.2s ease;
}

.hm-faq-card.active .hm-faq-question-text {
  color: #166534;
}

.hm-faq-chevron {
  font-size: 22px;
  color: #64748b;
  flex-shrink: 0;
  transition: transform 0.25s ease, color 0.25s ease;
}

.hm-faq-card.active .hm-faq-chevron {
  transform: rotate(180deg);
  color: #166534;
}

.hm-faq-answer-wrap {
  overflow: hidden;
}

.hm-faq-answer-content {
  padding: 0 22px 20px 64px;
}

.hm-faq-answer-content p {
  font-size: 14.5px;
  color: #475569;
  line-height: 1.65;
  margin: 0;
}

/* Help Desk Banner */
.hm-faq-help-card {
  margin-top: 32px;
  padding: 22px 28px;
  background: #ffffff;
  border: 1.5px solid #E5ECE7;
  border-radius: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.hm-faq-help-title {
  font-size: 16.5px;
  font-weight: 700;
  color: #0C1D2A;
  margin: 0 0 4px 0;
}

.hm-faq-help-desc {
  font-size: 13.5px;
  color: #64748B;
  margin: 0;
}

/* Mobile & Tablet Responsiveness for FAQ */
@media (max-width: 767px) {
  .hm-faq-section {
    padding: 38px 0 44px 0;
  }
  .hm-faq-header {
    margin-bottom: 24px;
    padding: 0 4px;
  }
  .hm-faq-title {
    font-size: 22px;
    line-height: 1.3;
    margin-bottom: 8px;
  }
  .hm-faq-subtitle {
    font-size: 13.5px;
    line-height: 1.5;
  }
  .hm-faq-accordion-list {
    gap: 10px;
  }
  .hm-faq-card {
    border-radius: 14px;
  }
  .hm-faq-question-btn {
    padding: 14px 14px;
    gap: 10px;
  }
  .hm-faq-q-left {
    gap: 10px;
  }
  .hm-faq-num {
    width: 24px;
    height: 24px;
    font-size: 11.5px;
    border-radius: 6px;
  }
  .hm-faq-question-text {
    font-size: 14px;
    line-height: 1.35;
  }
  .hm-faq-answer-content {
    padding: 0 14px 14px 48px;
  }
  .hm-faq-answer-content p {
    font-size: 13.5px;
    line-height: 1.55;
  }
  .hm-faq-help-card {
    padding: 18px 16px;
    flex-direction: column;
    align-items: flex-start;
    border-radius: 16px;
  }
  .hm-faq-help-title {
    font-size: 15.5px;
  }
  .hm-faq-help-desc {
    font-size: 13px;
  }
}

/* ==========================================================================
   Combined "Our Clinics" & Interactive Photo Gallery Component
   ========================================================================== */

.hm-clinics-section {
  background-color: #ffffff;
}

.hm-clinic-header {
  text-align: center;
  margin-bottom: 24px;
}

.hm-clinic-tabs-wrap {
  text-align: center;
  margin-bottom: 28px;
}

.hm-clinic-tabs {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: transparent;
  padding: 4px;
}

.hm-clinic-tab-btn {
  border-radius: 9999px;
  padding: 10px 32px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1.5px solid #0C2B22;
  background: #ffffff;
  color: #0C2B22;
  -webkit-tap-highlight-color: transparent;
}

.hm-clinic-tab-btn:hover {
  background: #f8fafc;
}

.hm-clinic-tab-btn.is-active {
  background: #0C2B22;
  color: #ffffff;
  border-color: #0C2B22;
  box-shadow: 0 4px 14px rgba(12, 43, 34, 0.18);
}

.hm-clinic-swipe-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: #64748b;
  margin-top: 10px;
  font-weight: 500;
  user-select: none;
}

.hm-clinic-pane {
  display: none;
}

.hm-clinic-pane.is-active {
  display: block;
  animation: hmFadeIn 0.3s ease;
}

.hm-clinic-split-layout {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 520px;
  margin: 0 auto;
}

/* Mobile ordering matching reference screenshot 1:1 */
.hm-clinic-media-col {
  order: 1;
  width: 100%;
}

.hm-clinic-info-col {
  order: 2;
  width: 100%;
}

@media (min-width: 992px) {
  .hm-clinic-split-layout {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 48px;
    align-items: start;
    max-width: 1160px;
  }

  .hm-clinic-info-col {
    order: 1;
  }

  .hm-clinic-media-col {
    order: 2;
  }

  .hm-clinic-swipe-hint {
    display: none;
  }
}

/* Gallery Slider Card */
.hm-clinic-slider-card {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 20px;
  overflow: hidden;
  background: #0f172a;
  box-shadow: 0 10px 30px -6px rgba(12, 29, 42, 0.12);
  user-select: none;
  touch-action: pan-y;
}

.hm-clinic-slides-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.hm-clinic-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s ease;
  pointer-events: none;
  transform: scale(1.02);
}

.hm-clinic-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: scale(1);
}

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

.hm-clinic-zoom-trigger {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(12, 29, 42, 0.65);
  backdrop-filter: blur(4px);
  color: #ffffff;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 3;
}

.hm-clinic-zoom-trigger:hover {
  background: rgba(12, 29, 42, 0.9);
  transform: scale(1.08);
}

.hm-clinic-counter-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(12, 29, 42, 0.65);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 9999px;
  z-index: 3;
  pointer-events: none;
  letter-spacing: 0.04em;
}

.hm-clinic-arrow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  color: #0C2B22;
  border: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 4;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  -webkit-tap-highlight-color: transparent;
}

.hm-clinic-arrow-prev {
  left: 12px;
}

.hm-clinic-arrow-next {
  right: 12px;
}

.hm-clinic-arrow-btn:hover {
  background: #0C2B22;
  color: #ffffff;
  transform: translateY(-50%) scale(1.08);
}

.hm-clinic-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.hm-clinic-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
  border: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

.hm-clinic-dot.is-active {
  background: var(--hm-color-primary, #3CC666);
  width: 22px;
  border-radius: 9999px;
}

/* Desktop Thumbnail Strip */
.hm-clinic-thumbs-strip {
  display: none;
}

@media (min-width: 992px) {
  .hm-clinic-thumbs-strip {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    overflow-x: auto;
    padding-bottom: 4px;
  }
}

.hm-clinic-thumb {
  flex-shrink: 0;
  width: 76px;
  height: 52px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  cursor: pointer;
  background: #f1f5f9;
  transition: all 0.2s ease;
  opacity: 0.65;
}

.hm-clinic-thumb.is-active,
.hm-clinic-thumb:hover {
  border-color: var(--hm-color-primary, #3CC666);
  opacity: 1;
  transform: translateY(-2px);
}

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

/* Embedded Map Layer (Exact gallery card space) */
.hm-clinic-map-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
}

.hm-clinic-map-iframe {
  width: 100% !important;
  height: 100% !important;
  border: none !important;
  display: block !important;
  position: relative !important;
  inset: auto !important;
}

.hm-clinic-view-toggle-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 16px;
  background: #f8fafc;
  padding: 4px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.hm-clinic-mode-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s ease;
}

.hm-clinic-mode-btn.is-active {
  background: #ffffff;
  color: #0C2B22;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  font-weight: 700;
}

/* Information Column Styles */
.hm-clinic-branch-title {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 800;
  color: #0C2B22;
  margin: 0 0 20px 0;
  letter-spacing: -0.02em;
}

.hm-clinic-info-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.hm-clinic-info-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.hm-clinic-icon-box {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 12px;
  background: rgba(60, 198, 102, 0.12);
  border: 1px solid rgba(60, 198, 102, 0.22);
  color: #0C2B22;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hm-clinic-icon-box .material-symbols-outlined {
  font-size: 22px;
  color: #0C2B22;
}

.hm-clinic-info-text-wrap {
  flex: 1;
}

.hm-clinic-info-label {
  display: block;
  font-size: 14.5px;
  font-weight: 800;
  color: #0C2B22;
  margin-bottom: 3px;
}

.hm-clinic-info-val {
  font-size: 13.5px;
  line-height: 1.5;
  color: #475569;
  margin: 0;
}

.hm-clinic-info-val a {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}

.hm-clinic-info-val a:hover {
  color: var(--hm-color-primary, #3CC666);
  text-decoration: underline;
}

/* 2x2 Action Buttons Grid (Matches screenshot 1:1) */
.hm-clinic-action-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}

.hm-clinic-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 12px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  box-sizing: border-box;
  min-height: 48px;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.hm-btn-location,
.hm-btn-call {
  background: #ffffff;
  color: #0C2B22;
  border: 1.5px solid #0C2B22;
}

.hm-btn-location:hover,
.hm-btn-call:hover {
  background: #f8fafc;
  transform: translateY(-1px);
}

.hm-btn-whatsapp {
  background: #ffffff;
  color: #0C2B22;
  border: 1.5px solid #0C2B22;
}

.hm-btn-whatsapp svg {
  color: #25D366;
  flex-shrink: 0;
}

.hm-btn-whatsapp:hover {
  background: #f0fdf4;
  border-color: #25D366;
  color: #166534;
  transform: translateY(-1px);
}

.hm-btn-book {
  background: #3CC666;
  color: #ffffff !important;
  border: 1.5px solid #3CC666;
  box-shadow: 0 4px 14px rgba(60, 198, 102, 0.3);
}

.hm-btn-book:hover {
  background: #34b35b;
  border-color: #34b35b;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(60, 198, 102, 0.4);
}

/* Height stability when switching map / photos */
.hm-clinic-slider-wrap.is-map-active .hm-clinic-dots {
  visibility: hidden;
  pointer-events: none;
}

.hm-clinic-slider-wrap.is-map-active .hm-clinic-thumbs-strip {
  opacity: 0.85;
}

/* Lightbox Modal - True Fullscreen Viewport */
.hm-clinic-lightbox {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  background: rgba(10, 25, 36, 0.96) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  z-index: 9999999 !important;
  display: none;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  box-sizing: border-box !important;
  opacity: 0;
  transition: opacity 0.25s ease;
  touch-action: none;
}

.hm-clinic-lightbox.is-open {
  display: flex !important;
  opacity: 1 !important;
}

.hm-clinic-lb-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  z-index: 10;
  color: #ffffff;
}

.hm-clinic-lb-counter {
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.1);
  padding: 4px 14px;
  border-radius: 9999px;
  letter-spacing: 0.04em;
}

.hm-clinic-lb-close {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: transform 0.15s ease;
}

.hm-clinic-lb-close:hover {
  transform: scale(1.15);
  color: #3CC666;
}

.hm-clinic-lb-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
}

.hm-clinic-lb-prev {
  left: 20px;
}

.hm-clinic-lb-next {
  right: 20px;
}

.hm-clinic-lb-arrow:hover {
  background: var(--hm-color-primary, #3CC666);
  color: #ffffff;
  transform: translateY(-50%) scale(1.08);
}

.hm-clinic-lb-content {
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hm-clinic-lb-img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

/* ==========================================================================
   Legal & Standard Content Pages (Privacy Policy, Terms, etc.)
   ========================================================================== */
.hm-legal-page-section {
  background-color: var(--hm-color-surface-soft, #F8FAF8);
  padding: 56px 20px 88px;
  width: 100% !important;
  box-sizing: border-box;
}

.hm-legal-card,
.wp-block-post-content > .hm-legal-card {
  max-width: 860px !important;
  width: 100% !important;
  margin: 0 auto !important;
  background-color: #ffffff;
  padding: 48px 48px;
  border-radius: 20px;
  border: 1px solid var(--hm-color-border, #E5ECE7);
  box-shadow: 0 4px 24px rgba(12, 29, 42, 0.04);
  box-sizing: border-box;
  text-align: left;
}

@media (max-width: 768px) {
  .hm-legal-page-section {
    padding: 36px 14px 64px;
  }
  .hm-legal-card,
  .wp-block-post-content > .hm-legal-card {
    padding: 32px 20px;
    border-radius: 16px;
  }
}

/* Badge */
.hm-legal-badge,
p.hm-legal-badge {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(60, 198, 102, 0.12);
  color: #3CC666;
  font-size: 13px;
  font-weight: 700;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
  line-height: 1.4;
}

/* Headings inside Legal Card */
.hm-legal-card h1,
.hm-legal-card .wp-block-heading:is(h1),
.hm-legal-card > h1 {
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: #0C1D2A;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-top: 0;
  margin-bottom: 24px;
}

.hm-legal-card h2,
.hm-legal-card .wp-block-heading:is(h2) {
  font-size: clamp(1.35rem, 2.2vw, 1.6rem);
  font-weight: 700;
  color: #0C1D2A;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin-top: 36px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid #F0F4F1;
}

.hm-legal-card h3,
.hm-legal-card .wp-block-heading:is(h3) {
  font-size: 1.2rem;
  font-weight: 600;
  color: #0C1D2A;
  line-height: 1.35;
  margin-top: 28px;
  margin-bottom: 10px;
}

/* Paragraphs & Text inside Legal Card */
.hm-legal-card p,
.hm-legal-card .wp-block-paragraph {
  font-size: 15px;
  color: #4A6375;
  line-height: 1.75;
  margin-top: 0;
  margin-bottom: 18px;
}

.hm-legal-card p:last-child {
  margin-bottom: 0;
}

/* Lists inside Legal Card */
.hm-legal-card ul,
.hm-legal-card ol,
.hm-legal-card .wp-block-list {
  padding-left: 24px;
  margin-top: 0;
  margin-bottom: 22px;
  color: #4A6375;
  line-height: 1.7;
}

.hm-legal-card li,
.hm-legal-card .wp-block-list-item {
  margin-bottom: 8px;
  font-size: 15px;
}

.hm-legal-card li:last-child {
  margin-bottom: 0;
}

/* Links inside Legal Card */
.hm-legal-card a {
  color: #3CC666;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.hm-legal-card a:hover {
  color: #2EA853;
}

/* Separators */
.hm-legal-card hr,
.hm-legal-card .wp-block-separator {
  border: 0;
  border-top: 1px solid #E5ECE7;
  margin: 32px 0;
}

/* Tables */
.hm-legal-card .wp-block-table {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 28px 0;
  border-radius: 12px;
  border: 1px solid #E5ECE7;
  box-shadow: 0 1px 4px rgba(12, 29, 42, 0.04);
  background: #ffffff;
}

.hm-legal-card table,
.hm-legal-card .wp-block-table table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

.hm-legal-card .wp-block-table table.has-fixed-layout {
  table-layout: auto !important;
}

.hm-legal-card th,
.hm-legal-card td {
  padding: 14px 16px;
  border: 1px solid #E5ECE7;
  text-align: left;
  vertical-align: top;
}

.hm-legal-card th {
  background: #F8FAF8;
  font-weight: 600;
  color: #0C1D2A;
  font-size: 13px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.hm-legal-card tbody tr:nth-child(even) td {
  background-color: #FAFCFA;
}

.hm-legal-card tbody tr:hover td {
  background-color: rgba(60, 198, 102, 0.04);
}

/* Custom smooth scrollbar for tables */
.hm-legal-card .wp-block-table::-webkit-scrollbar {
  height: 6px;
}
.hm-legal-card .wp-block-table::-webkit-scrollbar-track {
  background: #F1F5F2;
  border-radius: 3px;
}
.hm-legal-card .wp-block-table::-webkit-scrollbar-thumb {
  background: #C4D4C8;
  border-radius: 3px;
}
.hm-legal-card .wp-block-table::-webkit-scrollbar-thumb:hover {
  background: #9DB4A3;
}

@media (max-width: 768px) {
  .hm-legal-card .wp-block-table {
    margin: 20px 0;
  }
  .hm-legal-card table,
  .hm-legal-card .wp-block-table table {
    min-width: 500px;
    font-size: 13px;
  }
  .hm-legal-card th,
  .hm-legal-card td {
    padding: 10px 12px;
  }
}

/* Editor Specific Tweaks */
.editor-styles-wrapper .hm-legal-page-section {
  background-color: var(--hm-color-surface-soft, #F8FAF8);
  padding: 40px 20px 60px;
}

.editor-styles-wrapper .hm-legal-card {
  max-width: 860px;
  margin: 0 auto;
  background-color: #ffffff;
  padding: 48px 48px;
  border-radius: 20px;
  border: 1px solid var(--hm-color-border, #E5ECE7);
  box-shadow: 0 4px 24px rgba(12, 29, 42, 0.04);
}

/* ==========================================================================
   Connect Consultation Section (In-Clinic & Online Options)
   ========================================================================== */
.hm-connect-section {
  background-color: var(--hm-color-surface-alt, #E8F0EB);
  padding: 36px 0;
  border-top: 1px solid var(--hm-color-border-alt, #DFE8E1);
  border-bottom: 1px solid var(--hm-color-border-alt, #DFE8E1);
}

.hm-section-alt {
  background-color: var(--hm-color-surface-alt, #E8F0EB);
  border-top: 1px solid var(--hm-color-border-alt, #DFE8E1);
  border-bottom: 1px solid var(--hm-color-border-alt, #DFE8E1);
}

.hm-connect-container {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
}

.hm-connect-header {
  text-align: center;
  margin-bottom: 32px;
}

.hm-connect-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.hm-connect-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1.5px solid #E5ECE7;
  border-radius: 20px;
  padding: 32px 28px 26px 28px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(12, 29, 42, 0.04);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.hm-connect-card:hover {
  transform: translateY(-4px);
  border-color: rgba(60, 198, 102, 0.5);
  box-shadow: 0 16px 36px rgba(12, 29, 42, 0.08), 0 2px 10px rgba(60, 198, 102, 0.08);
}

.hm-connect-card:focus-visible {
  outline: 3px solid #3CC666;
  outline-offset: 3px;
}

.hm-connect-icon-box {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background-color: #EDF7F0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: #0E4426;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease;
}

.hm-connect-card:hover .hm-connect-icon-box {
  transform: scale(1.05);
  background-color: #E2F3E7;
}

.hm-connect-card-title {
  font-family: inherit;
  font-size: 20px;
  font-weight: 700;
  color: #0C1D2A;
  margin: 0 0 8px 0;
  line-height: 1.3;
  transition: color 0.2s ease;
}

.hm-connect-card:hover .hm-connect-card-title {
  color: #0E4426;
}

.hm-connect-card-desc {
  font-family: inherit;
  font-size: 14.5px;
  color: #627A8A;
  line-height: 1.5;
  margin: 0 0 24px 0;
  flex: 1;
}

.hm-connect-card-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid rgba(229, 236, 231, 0.5);
}

.hm-connect-action-text {
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: #0C1D2A;
  transition: color 0.2s ease;
}

.hm-connect-card:hover .hm-connect-action-text {
  color: #0E4426;
}

.hm-connect-arrow {
  font-size: 20px;
  font-weight: 500;
  color: #B88728;
  line-height: 1;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hm-connect-card:hover .hm-connect-arrow {
  transform: translateX(5px);
}

/* Mobile Responsive */
@media (max-width: 767px) {
  .hm-connect-section {
    padding: 28px 0;
  }

  .hm-connect-container {
    padding: 0 20px;
  }

  .hm-connect-header {
    margin-bottom: 24px;
  }

  .hm-connect-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hm-connect-card {
    padding: 24px 20px 20px 20px;
    border-radius: 18px;
  }

  .hm-connect-icon-box {
    width: 60px;
    height: 60px;
    margin-bottom: 18px;
  }

  .hm-connect-card-title {
    font-size: 19px;
  }

  .hm-connect-card-desc {
    margin-bottom: 18px;
    font-size: 14px;
  }

  .hm-connect-action-text {
    font-size: 14.5px;
  }

  .hm-connect-arrow {
    font-size: 20px;
  }
}