/* =====================================================
   UNIQUE MENTAL HEALTH SERVICES PLLC — Design System
   v1.0 | Mobile-First | WCAG AA | Built to drop into
   WordPress / Elementor HTML blocks
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,600;0,9..144,700;1,9..144,300;1,9..144,400&family=Inter:wght@400;500;600;700&display=swap');

/* ─── 2.1 DESIGN TOKENS ─────────────────────────── */
:root {
  /* Brand palette */
  --sage:           #2D6A5F;
  --sage-dk:        #1F4D45;
  --sage-soft:      #E8F0EE;
  --sage-mist:      #F2F7F5;
  --terracotta:     #C97B5C;
  --terracotta-dk:  #B0654A;
  --terracotta-lt:  #F4E2D8;
  --cream:          #FAF6F0;
  --oat:            #F1EBE0;
  --ink:            #1A2E2B;
  --slate:          #4A5C58;
  --muted:          #7B8A86;
  --line:           #E5DED2;
  --white:          #FFFFFF;

  /* Status colors (used sparingly) */
  --success:        #2D6A5F;
  --info:           #4A6FA5;

  /* Typography */
  --font-display:   'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body:      'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Type scale (mobile-first, fluid) */
  --fs-xs:          12px;
  --fs-sm:          14px;
  --fs-base:        16px;
  --fs-md:          18px;
  --fs-lg:          clamp(20px, 2.4vw, 24px);
  --fs-xl:          clamp(26px, 3.4vw, 34px);
  --fs-2xl:         clamp(32px, 4.6vw, 48px);
  --fs-3xl:         clamp(40px, 6vw, 68px);
  --fs-hero:        clamp(44px, 7vw, 84px);

  /* Spacing scale */
  --sp-1:           4px;
  --sp-2:           8px;
  --sp-3:           12px;
  --sp-4:           16px;
  --sp-5:           24px;
  --sp-6:           32px;
  --sp-7:           48px;
  --sp-8:           64px;
  --sp-9:           96px;
  --sp-10:          128px;

  /* Radius */
  --r-sm:           8px;
  --r-md:           14px;
  --r-lg:           20px;
  --r-xl:           28px;
  --r-pill:         999px;

  /* Shadow */
  --sh-1:           0 1px 3px rgba(26,46,43,.06);
  --sh-2:           0 4px 16px rgba(26,46,43,.08);
  --sh-3:           0 12px 40px rgba(26,46,43,.10);
  --sh-4:           0 24px 64px rgba(26,46,43,.14);

  /* Motion */
  --ease-out:       cubic-bezier(.22,.61,.36,1);
  --ease-soft:      cubic-bezier(.4,0,.2,1);
  --t-fast:         150ms;
  --t-base:         250ms;
  --t-slow:         500ms;

  /* Layout */
  --container:      1200px;
  --container-sm:   860px;
  --pad:            20px;
}

/* ─── 2.2 RESET ──────────────────────────────────── */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; transition: color var(--t-base) var(--ease-out); }
ul { list-style: none; }
input, textarea, select, button { font: inherit; }

/* Skip link for a11y */
.skip-link {
  position: absolute; top: -40px; left: 8px;
  background: var(--ink); color: var(--white);
  padding: 8px 16px; border-radius: var(--r-sm);
  font-weight: 600; z-index: 9999;
}
.skip-link:focus { top: 8px; }

/* Focus rings (a11y) */
:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ─── 2.3 LAYOUT PRIMITIVES ──────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.container-sm { max-width: var(--container-sm); }

.section { padding: var(--sp-8) 0; }
.section-lg { padding: var(--sp-9) 0; }
@media (min-width: 768px) {
  .section { padding: var(--sp-9) 0; }
  .section-lg { padding: var(--sp-10) 0; }
}

/* ─── 2.4 TYPOGRAPHY ─────────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: var(--sp-4);
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1.5px;
  background: var(--sage);
  display: inline-block;
}
.eyebrow.center::before { display: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  color: var(--ink);
  letter-spacing: -.01em;
}
h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-2xl); margin-bottom: var(--sp-4); }
h3 { font-size: var(--fs-xl); margin-bottom: var(--sp-3); }
h4 { font-size: var(--fs-lg); margin-bottom: var(--sp-2); }
.italic-accent { font-style: italic; font-weight: 300; color: var(--sage); }

.lead {
  font-size: var(--fs-md);
  line-height: 1.7;
  color: var(--slate);
  max-width: 640px;
}
@media (min-width: 768px) { .lead { font-size: 19px; } }

.section-title {
  margin-bottom: var(--sp-3);
}
.section-sub {
  color: var(--slate);
  font-size: var(--fs-md);
  line-height: 1.7;
  max-width: 600px;
}
.center { text-align: center; }
.center .section-sub,
.center .lead { margin-left: auto; margin-right: auto; }

/* ─── 2.5 BUTTONS ────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--t-base) var(--ease-out);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  min-height: 48px; /* WCAG tap target */
}
.btn-primary {
  background: var(--terracotta);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(201,123,92,.32);
}
.btn-primary:hover {
  background: var(--terracotta-dk);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,123,92,.38);
}
.btn-primary:active { transform: translateY(0); }

.btn-sage {
  background: var(--sage);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(45,106,95,.32);
}
.btn-sage:hover {
  background: var(--sage-dk);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(45,106,95,.4);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-outline:hover {
  background: var(--ink);
  color: var(--cream);
}

.btn-ghost {
  background: rgba(255,255,255,.08);
  color: var(--white);
  border-color: rgba(255,255,255,.4);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.18);
  border-color: var(--white);
}

.btn-large { padding: 18px 36px; font-size: 16px; min-height: 56px; }
.btn-block { display: flex; width: 100%; }

.btn-row {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
@media (min-width: 480px) {
  .btn-row { flex-direction: row; flex-wrap: wrap; }
}

/* ─── 2.6 TOPBAR + HEADER ────────────────────────── */
.topbar {
  background: var(--ink);
  color: rgba(255,255,255,.78);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 0;
}
.topbar .container {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  justify-content: center;
  align-items: center;
}
.topbar a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: inherit;
}
.topbar a:hover { color: var(--terracotta-lt); }
.topbar i { color: var(--terracotta); font-size: 12px; }
.topbar .sep { color: rgba(255,255,255,.18); }
@media (max-width: 520px) { .topbar .sep { display: none; } }
@media (min-width: 768px) {
  .topbar .container { justify-content: flex-end; }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 800;
  background: rgba(250,246,240,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: background var(--t-base);
}
.site-header.scrolled {
  background: rgba(250,246,240,.98);
  box-shadow: var(--sh-2);
}
.hdr-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}
.logo-link { display: inline-flex; align-items: center; gap: 10px; }
.logo-link img {
  height: 48px;
  width: auto;
}
.logo-fallback {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--sage-dk);
  line-height: 1.1;
}
.logo-fallback span {
  display: block;
  font-size: 11px;
  font-family: var(--font-body);
  color: var(--muted);
  letter-spacing: .15em;
  text-transform: uppercase;
  font-weight: 500;
  margin-top: 2px;
}

/* Desktop nav (hidden on mobile) */
.nav-desk {
  display: none;
  align-items: center;
  gap: 4px;
}
.nav-desk a,
.nav-desk button {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  padding: 10px 16px;
  border-radius: var(--r-pill);
  background: none;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: background var(--t-base), color var(--t-base);
}
.nav-desk a:hover,
.nav-desk button:hover { background: var(--sage-mist); color: var(--sage-dk); }
.nav-desk a.active { color: var(--sage-dk); font-weight: 600; }
.nav-desk a.active::after {
  content: '';
  display: block;
  width: 6px; height: 6px;
  background: var(--terracotta);
  border-radius: 50%;
  margin-left: 4px;
}
.nav-desk .has-drop > button i { font-size: 11px; transition: transform var(--t-base); }
.nav-desk .has-drop:hover > button i,
.nav-desk .has-drop:focus-within > button i { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: relative;
}
.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--sh-3);
  padding: 8px;
  min-width: 250px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-base), transform var(--t-base), visibility var(--t-base);
}
.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: var(--r-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}
.dropdown-menu a i {
  color: var(--sage);
  width: 18px;
  text-align: center;
  font-size: 13px;
}
.dropdown-menu a:hover { background: var(--sage-mist); color: var(--sage-dk); }

.hdr-cta {
  background: var(--ink) !important;
  color: var(--cream) !important;
  padding: 11px 22px !important;
  border-radius: var(--r-pill) !important;
  margin-left: 8px;
  box-shadow: var(--sh-2);
}
.hdr-cta:hover {
  background: var(--sage-dk) !important;
  color: var(--white) !important;
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 10px;
  border-radius: var(--r-sm);
  -webkit-tap-highlight-color: transparent;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--ink);
  border-radius: 4px;
  transition: all var(--t-base) var(--ease-out);
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile drawer */
.drawer {
  display: none;
  background: var(--cream);
  border-top: 1px solid var(--line);
  padding: 12px 0 24px;
}
.drawer.is-open { display: block; animation: slide-down var(--t-base) var(--ease-out); }
@keyframes slide-down {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.drawer a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.drawer a:last-child { border-bottom: none; }
.drawer a:hover,
.drawer a.active { background: var(--sage-mist); color: var(--sage-dk); }
.drawer .drawer-sub {
  padding-left: 44px;
  font-size: 14px;
  color: var(--slate);
  background: rgba(45,106,95,.04);
}
.drawer .drawer-sub i { color: var(--sage); width: 16px; font-size: 12px; }
.drawer-cta {
  background: var(--terracotta);
  color: var(--white) !important;
  margin: 16px 20px 4px;
  border-radius: var(--r-pill);
  justify-content: center;
  border-bottom: none !important;
  font-weight: 600 !important;
}

@media (min-width: 1024px) {
  .nav-desk { display: flex; }
  .hamburger { display: none; }
  .drawer { display: none !important; }
  .hdr-inner { padding: 18px 0; }
  .logo-link img { height: 56px; }
}

/* ─── 2.7 PAGE HERO (inner pages) — cinematic image-backed ─── */
.page-hero {
  position: relative;
  background: var(--sage-dk);
  color: var(--white);
  padding: 88px 0 64px;
  overflow: hidden;
  isolation: isolate;
}
.page-hero::before {
  /* Background image */
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url('https://images.unsplash.com/photo-1441974231531-c6227db76b6e?q=80&w=1600&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: saturate(.85);
}
.page-hero::after {
  /* Dark cinematic overlay */
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(26,46,43,.55) 0%, rgba(26,46,43,.85) 100%),
    linear-gradient(120deg, rgba(31,77,69,.6) 0%, transparent 55%, rgba(201,123,92,.22) 100%);
}
.page-hero .crumb {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,.7);
  margin-bottom: var(--sp-4);
  letter-spacing: .04em;
}
.page-hero .crumb a { color: var(--terracotta-lt); }
.page-hero .crumb a:hover { color: var(--white); }
.page-hero h1 {
  color: var(--white);
  margin-bottom: var(--sp-4);
  max-width: 820px;
  font-size: clamp(36px, 5vw, 60px);
  letter-spacing: -.02em;
  text-shadow: 0 2px 24px rgba(0,0,0,.25);
}
.page-hero h1 em,
.page-hero h1 .italic-accent {
  font-style: italic;
  font-weight: 400;
  color: var(--terracotta-lt);
}
.page-hero p {
  color: rgba(255,255,255,.82);
  font-size: var(--fs-md);
  line-height: 1.7;
  max-width: 620px;
  text-shadow: 0 1px 12px rgba(0,0,0,.18);
}
@media (min-width: 768px) {
  .page-hero { padding: 140px 0 100px; }
  .page-hero p { font-size: 19px; }
}

/* ─── 2.8 CARDS ──────────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  box-shadow: var(--sh-1);
  transition: transform var(--t-base) var(--ease-out), box-shadow var(--t-base);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--sh-3); }

.icon-tile {
  width: 56px;
  height: 56px;
  border-radius: var(--r-md);
  background: var(--sage-soft);
  color: var(--sage-dk);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: var(--sp-4);
}
.icon-tile.terra { background: var(--terracotta-lt); color: var(--terracotta-dk); }
.icon-tile.oat   { background: var(--oat); color: var(--ink); }

/* ─── 2.9 GRIDS ──────────────────────────────────── */
.grid-2,
.grid-3,
.grid-4 { display: grid; gap: var(--sp-5); }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr 1fr; gap: var(--sp-4); }

@media (min-width: 640px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); gap: var(--sp-5); }
}

/* ─── 2.10 FORMS ─────────────────────────────────── */
.form-field { margin-bottom: var(--sp-5); }
.form-field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: var(--sp-2);
}
.form-field label .req { color: var(--terracotta); }
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  background: var(--white);
  color: var(--ink);
  font-size: 16px; /* prevents iOS zoom */
  outline: none;
  transition: border-color var(--t-base), box-shadow var(--t-base);
  -webkit-appearance: none;
  appearance: none;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(45,106,95,.12);
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr; gap: var(--sp-4); }
@media (min-width: 540px) { .form-row { grid-template-columns: 1fr 1fr; } }

/* ─── 2.11 FOOTER ────────────────────────────────── */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.7);
  padding: var(--sp-8) 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
  padding-bottom: var(--sp-7);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
@media (min-width: 640px)  { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: var(--sp-7); } }

.footer-brand p { font-size: 14px; line-height: 1.7; margin-top: var(--sp-3); max-width: 320px; }
.footer-brand .logo-fallback,
.footer-brand .logo-fallback span { color: var(--cream); }
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--terracotta-lt);
  margin-bottom: var(--sp-4);
}
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,.65); }
.footer-links a:hover { color: var(--terracotta-lt); }
.footer-contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: var(--sp-3);
  font-size: 14px;
}
.footer-contact-item i {
  color: var(--terracotta);
  margin-top: 4px;
  font-size: 13px;
  flex-shrink: 0;
}
.footer-contact-item a { color: rgba(255,255,255,.85); font-weight: 500; }
.footer-contact-item a:hover { color: var(--terracotta-lt); }
.footer-contact-item span { color: rgba(255,255,255,.55); }

.footer-bottom {
  padding: var(--sp-4) 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,.4);
}
.footer-bottom strong { color: var(--terracotta-lt); }
@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* ─── 2.12 STICKY MOBILE CALL BAR ────────────────── */
.mobile-cta-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--sage-dk);
  display: flex;
  z-index: 700;
  box-shadow: 0 -4px 20px rgba(0,0,0,.18);
}
.mobile-cta-bar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 8px;
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  border-right: 1px solid rgba(255,255,255,.12);
  -webkit-tap-highlight-color: transparent;
  min-height: 50px;
}
.mobile-cta-bar a:last-child { border-right: none; }
.mobile-cta-bar a:active { background: var(--sage); }
.mobile-cta-bar a.terra { background: var(--terracotta); }
.mobile-cta-bar a.terra:active { background: var(--terracotta-dk); }
.mobile-cta-bar i { font-size: 15px; }
@media (min-width: 1024px) { .mobile-cta-bar { display: none; } }
@media (max-width: 1023px) { body { padding-bottom: 50px; } }

/* ─── 2.13 ANIMATIONS ────────────────────────────── */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0;
  transform: translateY(20px);
}
.reveal.in-view {
  animation: fade-up 700ms var(--ease-out) forwards;
}

/* Reduced motion respect */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ─── 2.14 UTILITIES ─────────────────────────────── */
.bg-cream  { background: var(--cream); }
.bg-sage   { background: var(--sage); color: var(--white); }
.bg-mist   { background: var(--sage-mist); }
.bg-oat    { background: var(--oat); }
.bg-ink    { background: var(--ink); color: var(--white); }
.text-sage { color: var(--sage); }
.text-terra{ color: var(--terracotta); }
.text-muted{ color: var(--muted); }
.text-white{ color: var(--white); }
.flex      { display: flex; }
.flex-col  { flex-direction: column; }
.gap-2     { gap: var(--sp-2); }
.gap-3     { gap: var(--sp-3); }
.gap-4     { gap: var(--sp-4); }
.gap-5     { gap: var(--sp-5); }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.text-center { text-align: center; }
.mt-3 { margin-top: var(--sp-3); }
.mt-4 { margin-top: var(--sp-4); }
.mt-5 { margin-top: var(--sp-5); }
.mt-6 { margin-top: var(--sp-6); }
.mt-7 { margin-top: var(--sp-7); }
.mb-3 { margin-bottom: var(--sp-3); }
.mb-4 { margin-bottom: var(--sp-4); }
.mb-5 { margin-bottom: var(--sp-5); }
.mb-6 { margin-bottom: var(--sp-6); }

/* Crisis banner (small floating link in footer) */
.crisis-line {
  background: rgba(201,123,92,.1);
  border: 1px solid rgba(201,123,92,.25);
  border-radius: var(--r-md);
  padding: 14px 18px;
  font-size: 13px;
  color: var(--terracotta-lt);
  margin-top: var(--sp-5);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.crisis-line strong { color: var(--white); }
.crisis-line i { color: var(--terracotta); margin-top: 3px; }

/* ─── Refined components for mental-health practice standards ── */

/* Conditions tag grid */
.conditions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media (min-width: 640px)  { .conditions-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; } }
@media (min-width: 1024px) { .conditions-grid { grid-template-columns: repeat(4, 1fr); } }
.condition-tag {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  transition: border-color var(--t-base), transform var(--t-base);
}
.condition-tag:hover {
  border-color: var(--sage);
  transform: translateY(-2px);
}
.condition-tag i {
  color: var(--sage);
  font-size: 12px;
  flex-shrink: 0;
}

/* Approach (treatment modality) cards */
.approach-clinical {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
}
@media (min-width: 640px)  { .approach-clinical { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .approach-clinical { grid-template-columns: repeat(4, 1fr); } }
.approach-clinical .item {
  padding: var(--sp-5);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: border-color var(--t-base), box-shadow var(--t-base);
}
.approach-clinical .item:hover {
  border-color: var(--sage);
  box-shadow: var(--sh-2);
}
.approach-clinical h4 {
  font-size: 17px;
  margin-bottom: 8px;
  margin-top: var(--sp-3);
}
.approach-clinical p {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.65;
  margin: 0;
}

/* Process steps with connecting line */
.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
  position: relative;
}
@media (min-width: 768px)  { .process-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .process-steps { grid-template-columns: repeat(4, 1fr); } }
.process-step {
  position: relative;
  padding: var(--sp-5);
}
.process-step .step-num {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--terracotta);
  letter-spacing: .14em;
  margin-bottom: var(--sp-3);
  display: block;
}
.process-step h4 {
  font-size: 18px;
  margin-bottom: 10px;
}
.process-step p {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.65;
  margin: 0;
}
@media (min-width: 1024px) {
  .process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 36px; right: -12px;
    width: 24px; height: 1px;
    background: var(--line);
  }
}

/* Section headers, refined (centered with eyebrow + title + sub) */
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--sp-7);
}
.section-head h2 { margin-bottom: var(--sp-3); }
.section-head p { color: var(--slate); font-size: var(--fs-md); line-height: 1.7; }

/* Confidentiality badge */
.confidentiality-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: var(--sage-mist);
  border: 1px solid rgba(45,106,95,.2);
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 600;
  color: var(--sage-dk);
  letter-spacing: .03em;
}
.confidentiality-badge i { color: var(--sage); font-size: 11px; }

/* Visually hidden (a11y) */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Insurance band spacing */
.insurance-band {
  margin-bottom: var(--sp-7);
}
