/* ==========================================================================
   DESIGN SYSTEM & CUSTOM PROPERTIES (THE HEALING SPECTRUM)
   ========================================================================== */
:root {
  /* Fonts */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Theme Tokens: Calming Light Mode (Default) */
  --hue-navy: 215;
  --hue-sage: 145;
  --hue-gold: 38;

  --color-primary: hsl(var(--hue-navy), 60%, 23%);
  --color-primary-light: hsl(var(--hue-navy), 55%, 35%);
  --color-primary-ultra-light: rgba(18, 44, 84, 0.04);
  
  --color-secondary: hsl(var(--hue-sage), 25%, 40%);
  --color-secondary-light: hsl(var(--hue-sage), 22%, 50%);
  
  --color-accent: hsl(var(--hue-gold), 40%, 55%);
  --color-accent-light: hsl(var(--hue-gold), 60%, 92%);
  --color-accent-dark: hsl(var(--hue-gold), 45%, 35%);

  /* UI Neutral States */
  --color-bg-base: hsl(30, 20%, 98%);
  --color-bg-surface: rgba(255, 255, 255, 0.72);
  --color-bg-surface-solid: hsl(30, 15%, 96%);
  --color-border: rgba(18, 44, 84, 0.08);
  --color-border-hover: rgba(18, 44, 84, 0.16);
  
  --color-text-main: hsl(var(--hue-navy), 60%, 12%);
  --color-text-muted: hsl(var(--hue-navy), 20%, 42%);
  --color-text-white: #ffffff;
  
  /* Glassmorphism Details */
  --glass-bg: rgba(255, 255, 255, 0.65);
  --glass-border: rgba(255, 255, 255, 0.5);
  --glass-shadow: 0 16px 36px rgba(18, 44, 84, 0.06);
  --glass-blur: blur(16px);

  /* Alert States */
  --color-error: hsl(0, 75%, 48%);
  --color-error-bg: hsl(0, 100%, 97%);
  --color-success: hsl(140, 50%, 35%);
  --color-success-bg: hsl(140, 60%, 95%);
  --color-warning: hsl(35, 75%, 45%);
  --color-warning-bg: hsl(35, 80%, 95%);

  /* Animation Timings */
  --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-fast: all 0.2s ease;
  
  /* Layout Sizing */
  --header-height: 80px;
}

/* Soothing Restful Dark Mode Values */
body.dark-mode {
  --color-primary: hsl(var(--hue-navy), 45%, 85%);
  --color-primary-light: hsl(var(--hue-navy), 50%, 75%);
  --color-primary-ultra-light: rgba(255, 255, 255, 0.03);
  
  --color-secondary: hsl(var(--hue-sage), 25%, 65%);
  --color-secondary-light: hsl(var(--hue-sage), 20%, 75%);
  
  --color-accent: hsl(var(--hue-gold), 50%, 65%);
  --color-accent-light: hsl(var(--hue-navy), 35%, 15%);
  --color-accent-dark: hsl(var(--hue-gold), 55%, 85%);

  --color-bg-base: hsl(var(--hue-navy), 50%, 6%);
  --color-bg-surface: rgba(13, 22, 38, 0.68);
  --color-bg-surface-solid: hsl(var(--hue-navy), 35%, 12%);
  --color-border: rgba(255, 255, 255, 0.08);
  --color-border-hover: rgba(255, 255, 255, 0.16);

  --color-text-main: hsl(var(--hue-navy), 20%, 94%);
  --color-text-muted: hsl(var(--hue-navy), 15%, 72%);
  
  --glass-bg: rgba(13, 22, 38, 0.62);
  --glass-border: rgba(255, 255, 255, 0.06);
  --glass-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  --glass-blur: blur(20px);
  
  --color-error-bg: hsl(0, 50%, 12%);
  --color-success-bg: hsl(140, 50%, 10%);
  --color-warning-bg: hsl(35, 50%, 10%);
}

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

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-main);
  background-color: var(--color-bg-base);
  overflow-x: hidden;
  transition: background-color 0.6s ease, color 0.6s ease;
}

/* Typography Base */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.25;
  transition: color 0.5s ease;
}

p {
  color: var(--color-text-muted);
  transition: color 0.5s ease;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

button, select, input, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

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

.container-padding {
  padding: 100px 5vw;
}

.scroll-margin {
  scroll-margin-top: calc(var(--header-height) + 20px);
}

/* ==========================================================================
   AMBIENT BACKGROUND ANIMATED BLOBS
   ========================================================================== */
.bg-gradient-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.bg-gradient-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.12;
  transition: var(--transition-smooth);
}

body.dark-mode .bg-gradient-blob {
  opacity: 0.08;
  filter: blur(140px);
}

.blob-1 {
  top: -10%;
  right: -5%;
  width: 55vw;
  height: 55vw;
  background-color: hsl(var(--hue-navy), 50%, 50%);
  animation: floatBlob1 28s infinite alternate ease-in-out;
}

.blob-2 {
  bottom: -15%;
  left: -10%;
  width: 65vw;
  height: 65vw;
  background-color: hsl(var(--hue-sage), 45%, 50%);
  animation: floatBlob2 36s infinite alternate ease-in-out;
}

.blob-3 {
  top: 40%;
  left: 45%;
  width: 40vw;
  height: 40vw;
  background-color: hsl(var(--hue-gold), 40%, 65%);
  animation: floatBlob3 32s infinite alternate ease-in-out;
}

@keyframes floatBlob1 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-10vw, 15vh) scale(1.15); }
}
@keyframes floatBlob2 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(15vw, -12vh) scale(1.1); }
}
@keyframes floatBlob3 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-8vw, 8vh) scale(1.2); }
}

/* ==========================================================================
   GLASSMORPHISM & DECORATIVE CARD STYLES
   ========================================================================== */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  box-shadow: var(--glass-shadow);
  transition: border-color 0.4s ease, background-color 0.4s ease, box-shadow 0.4s ease;
}

/* ==========================================================================
   BUTTONS & USER INTERACTION ELEMENTS
   ========================================================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  background: var(--color-primary);
  color: var(--color-text-white) !important;
  font-weight: 500;
  border-radius: 50px;
  box-shadow: 0 4px 14px rgba(18, 44, 84, 0.16);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(18, 44, 84, 0.28);
  background: var(--color-primary-light);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  background: rgba(255, 255, 255, 0.4);
  color: var(--color-primary);
  font-weight: 500;
  border: 1px solid var(--color-border-hover);
  border-radius: 50px;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: var(--transition-smooth);
}

body.dark-mode .btn-secondary {
  background: rgba(255, 255, 255, 0.05);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  background: var(--color-primary-ultra-light);
  border-color: var(--color-primary);
}

.btn-text-link {
  display: inline-flex;
  align-items: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-secondary);
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-text-link:hover {
  color: var(--color-primary);
  transform: translateX(4px);
}

/* ==========================================================================
   HEADER & NAVIGATION BAR STYLING
   ========================================================================== */
.main-header {
  position: fixed;
  top: 20px;
  left: 5vw;
  width: 90vw;
  height: var(--header-height);
  z-index: 1000;
  border-radius: 20px;
  transition: transform 0.3s ease, var(--transition-smooth);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 32px;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-primary);
}

.logo-icon {
  width: 36px;
  height: 36px;
  stroke: var(--color-primary);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.logo-area:hover .logo-icon {
  transform: rotate(15deg) scale(1.08);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: var(--font-heading);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.logo-sub {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--color-secondary);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-muted);
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-secondary);
  transition: var(--transition-fast);
}

.nav-link:hover {
  color: var(--color-primary);
}

.nav-link:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Theme Toggler Styles */
.theme-toggle-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: var(--color-primary-ultra-light);
  border: 1px solid var(--color-border);
  transition: var(--transition-smooth);
}

.theme-toggle-btn:hover {
  transform: scale(1.08);
  border-color: var(--color-border-hover);
}

.theme-toggle-btn svg {
  width: 20px;
  height: 20px;
  transition: transform 0.5s ease, opacity 0.3s ease;
}

.sun-icon {
  display: block;
}
.moon-icon {
  display: none;
}

body.dark-mode .sun-icon {
  display: none;
}
body.dark-mode .moon-icon {
  display: block;
  transform: rotate(360deg);
}

/* Mobile Hamburger Trigger */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 1001;
}

.mobile-menu-btn span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--color-primary);
  border-radius: 3px;
  transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.4s ease;
}

/* Mobile Menu Active States */
.mobile-menu-btn.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-btn.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* ==========================================================================
   MOBILE NAV DRAWER & OVERLAY
   ========================================================================== */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(18, 44, 84, 0.25);
  backdrop-filter: blur(8px);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.mobile-nav-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-drawer {
  position: absolute;
  top: 120px;
  right: 5vw;
  width: 320px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  transform: translateY(-20px);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.mobile-nav-overlay.active .mobile-nav-drawer {
  transform: translateY(0);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-link {
  font-size: 18px;
  font-weight: 500;
  color: var(--color-text-muted);
  padding: 8px 0;
  border-bottom: 1px solid var(--color-border);
}

.mobile-link:hover {
  color: var(--color-primary);
  padding-left: 8px;
}

.mobile-nav-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ==========================================================================
   HERO SECTION STYLING (THE SANCTUARY ENTRANCE)
   ========================================================================== */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-height) + 60px);
  padding-bottom: 80px;
  padding-left: 5vw;
  padding-right: 5vw;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 60px;
  width: 100%;
}

.hero-text-content {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: var(--color-primary-ultra-light);
  border: 1px solid var(--color-border);
  color: var(--color-primary-light);
  font-weight: 600;
  font-size: 13px;
  border-radius: 50px;
  width: max-content;
}

.pulse-indicator {
  display: block;
  width: 8px;
  height: 8px;
  background-color: var(--color-secondary);
  border-radius: 50%;
  position: relative;
}

.pulse-indicator::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-secondary);
  border-radius: 50%;
  animation: pulseScale 1.8s infinite ease-out;
}

@keyframes pulseScale {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(2.5); opacity: 0; }
}

.hero-title {
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.15;
}

.highlight-text {
  color: var(--color-secondary);
  font-style: italic;
  font-family: var(--font-heading);
}

.hero-subtitle {
  font-size: 19px;
  line-height: 1.6;
  max-width: 620px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 18px;
}

.hero-btn {
  gap: 8px;
}

.arrow-icon {
  transition: transform 0.3s ease;
}

.btn-primary:hover .arrow-icon {
  transform: translateX(4px);
}

.hero-highlights {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 20px;
}

.highlight-item {
  display: flex;
  flex-direction: column;
}

.highlight-num {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  color: var(--color-secondary);
}

.highlight-desc {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.divider-vertical {
  width: 1px;
  height: 48px;
  background-color: var(--color-border);
}

/* Hero Right: Premium Info Card */
.hero-visual-card {
  perspective: 1000px;
}

.ambient-card-inner {
  padding: 44px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.6s ease;
}

.hero-visual-card:hover .ambient-card-inner {
  transform: translateY(-8px) rotateX(2deg) rotateY(-2deg);
  box-shadow: 0 24px 50px rgba(18, 44, 84, 0.12);
}

.card-header-icon {
  width: 60px;
  height: 60px;
  background-color: var(--color-accent-light);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-dark);
}

.soothe-heart-svg {
  width: 32px;
  height: 32px;
  animation: heartbeat 2.5s infinite ease-in-out;
}

@keyframes heartbeat {
  0% { transform: scale(1); }
  14% { transform: scale(1.12); }
  28% { transform: scale(1); }
  42% { transform: scale(1.12); }
  70% { transform: scale(1); }
}

.visual-card-title {
  font-size: 24px;
  font-weight: 600;
}

.visual-card-text {
  font-size: 15px;
  line-height: 1.5;
}

.visual-card-bullet-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bullet-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
}

.bullet-check {
  color: var(--color-secondary);
  font-weight: 700;
}

.visual-card-phone-cta {
  display: flex;
  flex-direction: column;
  padding: 16px 24px;
  background-color: var(--color-primary-ultra-light);
  border-radius: 16px;
  border: 1px solid var(--color-border);
  margin-top: 10px;
}

.tel-text {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-secondary);
}

.tel-number {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-primary);
}

/* ==========================================================================
   COMMON SECTION HEADERS
   ========================================================================== */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.section-title {
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.divider-line {
  width: 60px;
  height: 3px;
  background-color: var(--color-secondary);
  border-radius: 2px;
}

.section-subtitle {
  font-size: 17px;
  line-height: 1.6;
}


/* ==========================================================================
   TREATMENT FOCUS CARD (CLINICAL CALLOUT)
   ========================================================================== */
.focus-section {
  padding-top: 0;
  padding-bottom: 40px;
}

.focus-banner-card {
  padding: 48px;
  border-left: 4.5px solid var(--color-accent);
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.focus-banner-card h2 {
  font-size: 26px;
  font-weight: 600;
  line-height: 1.4;
}

.focus-lead-text {
  font-size: 18px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .focus-banner-card {
    padding: 28px 24px;
    border-left: 3.5px solid var(--color-accent);
  }

  .focus-banner-card h2 {
    font-size: 20px;
  }

  .focus-lead-text {
    font-size: 15px;
  }
}

/* ==========================================================================
   CLINICAL SERVICES GRID
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.service-card {
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s ease, box-shadow 0.4s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-secondary-light);
  box-shadow: 0 16px 40px rgba(18, 44, 84, 0.08);
}

.service-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background-color: var(--color-primary-ultra-light);
  color: var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s ease, background-color 0.4s ease;
}

.service-card:hover .service-icon-box {
  transform: scale(1.1);
  background-color: var(--color-accent-light);
  color: var(--color-accent);
}

.service-icon-box svg {
  width: 28px;
  height: 28px;
}

.service-card-title {
  font-size: 21px;
  font-weight: 600;
}

.service-card-text {
  font-size: 15px;
  line-height: 1.5;
}

/* ==========================================================================
   EXPANDABLE CLINICAL DRAWERS (MODAL)
   ========================================================================== */
.modal-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(18, 44, 84, 0.2);
  backdrop-filter: blur(8px);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.modal-drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-drawer {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 550px;
  height: 100%;
  border-radius: 30px 0 0 30px;
  padding: 60px 48px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.modal-drawer-overlay.active .modal-drawer {
  transform: translateX(0);
}

.drawer-close-btn {
  position: absolute;
  top: 30px;
  left: 30px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-ultra-light);
  cursor: pointer;
  font-weight: bold;
  transition: var(--transition-fast);
}

.drawer-close-btn:hover {
  transform: scale(1.1) rotate(90deg);
  background: var(--color-border-hover);
}

.drawer-content-flow {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 40px;
}

.drawer-tag {
  align-self: flex-start;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 11px;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 0.5px;
  background-color: var(--color-accent-light);
  color: var(--color-accent);
}

.drawer-title {
  font-size: 32px;
}

.drawer-body-text {
  font-size: 16px;
  line-height: 1.6;
}

.drawer-subtitle-bold {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--color-secondary);
}

.drawer-bullet-item {
  display: flex;
  gap: 16px;
  font-size: 15px;
  margin-bottom: 12px;
}

.bullet-accent-icon {
  font-size: 18px;
}

/* ==========================================================================
   SPECIALTIES BLOCKS (TMS, SPRAVATO, DETOX)
   ========================================================================== */
.specialty-details-flow {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.specialty-block {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 60px;
  padding: 60px;
}

.specialty-block.inverted {
  grid-template-columns: 0.9fr 1.1fr;
}

.specialty-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.specialty-tag {
  align-self: flex-start;
  padding: 6px 14px;
  background: var(--color-primary-ultra-light);
  border: 1px solid var(--color-border);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-secondary);
}

.specialty-block-title {
  font-size: 28px;
  font-weight: 700;
}

.specialty-block-text {
  font-size: 16px;
  line-height: 1.6;
}

.feature-highlights-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.feature-item {
  display: flex;
  gap: 16px;
  font-size: 15px;
  line-height: 1.4;
}

.feature-icon {
  font-size: 20px;
}

.specialty-cta {
  width: max-content;
}

/* Graphics/Diagram Placeholders for Aesthetics */
.specialty-graphic-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 280px;
  background-color: var(--color-primary-ultra-light);
  border-radius: 20px;
  border: 1px dashed var(--color-border);
  overflow: hidden;
}

/* Pulse Animation Ring Diagram */
.diagram-pulse-ring {
  position: relative;
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brain-svg {
  width: 52px;
  height: 52px;
  color: var(--color-secondary);
  z-index: 2;
}

.pulse-wave {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 1px solid var(--color-secondary);
  border-radius: 50%;
  opacity: 0;
  z-index: 1;
}

.wave-1 {
  animation: pulseDiagramRing 4s infinite linear;
}
.wave-2 {
  animation: pulseDiagramRing 4s infinite linear 2s;
}

@keyframes pulseDiagramRing {
  0% { transform: scale(0.6); opacity: 0.8; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* Droplet Diagram Specialty 2 */
.diagram-spravato {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.droplets-svg {
  width: 52px;
  height: 52px;
  color: var(--color-accent);
}

.mist-droplets {
  position: absolute;
  width: 100%;
  height: 120px;
  top: 50px;
  left: 0;
  display: flex;
  justify-content: space-around;
}

.drop {
  width: 6px;
  height: 6px;
  background-color: var(--color-accent);
  border-radius: 50%;
  opacity: 0;
}

.d1 { animation: fallDrop 3s infinite ease-in-out; }
.d2 { animation: fallDrop 3s infinite ease-in-out 1s; }
.d3 { animation: fallDrop 3s infinite ease-in-out 2s; }

@keyframes fallDrop {
  0% { transform: translateY(0) scale(1); opacity: 0.9; }
  100% { transform: translateY(60px) scale(0.2); opacity: 0; }
}

/* Diagram Shield Specialty 3 */
.diagram-recovery {
  display: flex;
  align-items: center;
  justify-content: center;
}

.recovery-shield-svg {
  width: 72px;
  height: 72px;
  color: var(--color-secondary);
  animation: floatDiagramShield 6s infinite ease-in-out;
}

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

/* ==========================================================================
   MEDICAL TEAM SECTION
   ========================================================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.team-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(18, 44, 84, 0.06);
}

.team-img-placeholder {
  height: 240px;
  background-color: var(--color-primary-ultra-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-secondary);
  position: relative;
}

.team-img-placeholder svg {
  width: 64px;
  height: 64px;
  opacity: 0.4;
  transition: transform 0.4s ease;
}

.team-card:hover .team-img-placeholder svg {
  transform: scale(1.1);
}

.badge-role {
  position: absolute;
  bottom: 20px;
  left: 20px;
  padding: 6px 12px;
  background: var(--color-secondary);
  color: var(--color-text-white);
  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;
  border-radius: 50px;
}

.team-info-body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.team-name {
  font-size: 21px;
  font-weight: 600;
}

.team-credentials {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-secondary);
}

.team-bio {
  font-size: 14px;
  line-height: 1.5;
}

/* ==========================================================================
   INTERACTIVE APPOINTMENT SCHEDULER WIZARD
   ========================================================================== */
.booking-section {
  background-color: var(--color-primary-ultra-light);
}

.booking-wizard-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Stepper Stepper Indicators */
.wizard-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.step-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 1;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.step-indicator.active {
  opacity: 1;
}

.step-num {
  width: 36px;
  height: 36px;
  background-color: var(--color-bg-surface-solid);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
  transition: var(--transition-smooth);
}

.step-indicator.active .step-num {
  background-color: var(--color-primary);
  color: var(--color-text-white);
  border-color: var(--color-primary);
  box-shadow: 0 4px 10px rgba(18, 44, 84, 0.16);
}

.step-indicator.completed .step-num {
  background-color: var(--color-secondary);
  color: var(--color-text-white);
  border-color: var(--color-secondary);
}

.step-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.step-line {
  flex-grow: 1;
  height: 1px;
  background-color: var(--color-border);
  margin-top: -24px;
  z-index: 0;
  transition: background-color 0.4s ease;
}

.step-line.active {
  background-color: var(--color-secondary);
}

/* Wizard Form Body Panes */
.wizard-form-body {
  position: relative;
}

.wizard-step-pane {
  display: none;
  flex-direction: column;
  gap: 28px;
  animation: fadeWizardPane 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.wizard-step-pane.active {
  display: flex;
}

@keyframes fadeWizardPane {
  0% { transform: translateY(12px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

.step-pane-title {
  font-size: 24px;
  font-weight: 600;
}

.step-pane-subtitle {
  font-size: 14px;
  margin-top: -20px;
}

/* STEP 1: Select service selection cards */
.service-selection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.wizard-select-card {
  cursor: pointer;
}

.wizard-select-card input {
  display: none;
}

.select-card-inner {
  padding: 24px;
  border-radius: 16px;
  background: var(--color-bg-surface-solid);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  transition: var(--transition-smooth);
}

.wizard-select-card input:checked + .select-card-inner {
  background: var(--color-primary-ultra-light);
  border-color: var(--color-primary);
  box-shadow: 0 8px 20px rgba(18, 44, 84, 0.05);
}

.select-card-icon {
  font-size: 24px;
}

.select-card-name {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-primary);
}

.select-card-desc {
  font-size: 13px;
  line-height: 1.4;
  color: var(--color-text-muted);
}

/* Provider Select and Dropdown style */
.provider-dropdown-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-label-bold {
  font-weight: 600;
  font-size: 15px;
}

.form-input {
  width: 100%;
  padding: 14px 20px;
  border-radius: 12px;
  background: var(--color-bg-surface-solid);
  border: 1px solid var(--color-border);
  color: var(--color-text-main);
  transition: var(--transition-fast);
}

.form-input:focus {
  border-color: var(--color-secondary);
  background: var(--color-bg-surface);
  box-shadow: 0 0 0 3px rgba(74, 114, 89, 0.15);
}

.custom-select-wrapper {
  position: relative;
}

.custom-select-wrapper::after {
  content: '▼';
  font-size: 10px;
  color: var(--color-text-muted);
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.form-input select {
  appearance: none;
  -webkit-appearance: none;
}

/* STEP 2: Calendar Slot Picker layouts */
.calendar-booking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.calendar-wrapper {
  background: var(--color-bg-surface-solid);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 24px;
}

.calendar-header-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.calendar-current-month {
  font-size: 18px;
}

.calendar-nav {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: bold;
  border: 1px solid var(--color-border);
  background: var(--color-bg-surface);
  transition: var(--transition-fast);
}

.calendar-nav:hover {
  background: var(--color-primary-ultra-light);
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-weight: bold;
  font-size: 12px;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.calendar-days-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  text-align: center;
}

.cal-day-cell {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
}

.cal-day-cell:hover:not(.disabled) {
  background-color: var(--color-border-hover);
}

.cal-day-cell.active {
  background-color: var(--color-primary) !important;
  color: var(--color-text-white) !important;
  font-weight: bold;
}

.cal-day-cell.disabled {
  opacity: 0.25;
  cursor: not-allowed;
  pointer-events: none;
}

.cal-day-cell.today {
  border: 1.5px solid var(--color-secondary);
}

.time-slots-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.slots-header-title {
  font-size: 16px;
  font-weight: 600;
}

.slots-subtext {
  font-size: 13px;
  margin-top: -8px;
}

.time-slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 12px;
}

.time-slot-btn {
  padding: 12px;
  border-radius: 12px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  background: var(--color-bg-surface-solid);
  border: 1px solid var(--color-border);
  transition: var(--transition-fast);
}

.time-slot-btn:hover:not(.disabled) {
  border-color: var(--color-secondary);
  background: var(--color-primary-ultra-light);
}

.time-slot-btn.active {
  background-color: var(--color-secondary) !important;
  border-color: var(--color-secondary) !important;
  color: var(--color-text-white) !important;
}

.time-slot-btn.disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.empty-slots-placeholder {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 20px;
  color: var(--color-text-muted);
  border: 1px dashed var(--color-border);
  border-radius: 12px;
  font-size: 14px;
}

/* STEP 3: Patient Intake Form fields */
.wizard-intake-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-double-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}

.form-label {
  font-size: 14px;
  font-weight: 500;
}

.text-area {
  resize: vertical;
}

.form-checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 8px;
  cursor: pointer;
}

.form-checkbox-group input {
  width: 18px;
  height: 18px;
  accent-color: var(--color-secondary);
  margin-top: 3px;
}

.checkbox-label {
  font-size: 13px;
  line-height: 1.4;
}

/* Wizard Stepper Nav footer */
.wizard-pane-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--color-border);
  padding-top: 24px;
  margin-top: 16px;
}

.wizard-pane-footer button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* STEP 4: Success Screener details */
.booking-success-wrapper {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 40px 0;
}

.success-icon-animation {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: var(--color-success-bg);
  color: var(--color-success);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: scaleSuccessIcon 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.success-icon-animation svg {
  width: 44px;
  height: 44px;
}

@keyframes scaleSuccessIcon {
  0% { transform: scale(0.3); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.success-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-success);
}

.success-lead {
  font-size: 18px;
  margin-top: -12px;
}

.success-summary-card {
  width: 100%;
  max-width: 480px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 12px;
  font-size: 15px;
}

.summary-line:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.success-next-steps {
  font-size: 15px;
  max-width: 580px;
  line-height: 1.6;
}

.reset-wizard-btn {
  margin-top: 10px;
}

/* ==========================================================================
   INSURANCE PARTNERSHIPS
   ========================================================================== */
.insurance-badges-container {
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.insurance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.insurance-logo-card {
  padding: 24px;
  border-radius: 16px;
  background-color: var(--color-primary-ultra-light);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: var(--transition-smooth);
}

.insurance-logo-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-accent);
}

.insurance-icon-styled {
  font-size: 24px;
}

.insurance-brand-name {
  font-weight: 600;
  font-size: 14px;
  line-height: 1.3;
}

.insurance-notice-box {
  border-left: 3.5px solid var(--color-accent);
  padding-left: 20px;
}

.notice-text {
  font-size: 14px;
  line-height: 1.5;
}

/* ==========================================================================
   SOOTHING ACCORDION FAQ
   ========================================================================== */
.faq-accordion-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item {
  border-radius: 18px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-question-btn {
  width: 100%;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.faq-question-btn:hover {
  color: var(--color-secondary);
}

.faq-icon-indicator {
  font-size: 24px;
  line-height: 1;
  font-weight: 300;
  transition: transform 0.4s ease;
}

.faq-question-btn[aria-expanded="true"] .faq-icon-indicator {
  transform: rotate(45deg);
}

.faq-answer-pane {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.faq-answer-inner {
  padding: 0 32px 28px 32px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text-muted);
}

/* ==========================================================================
   CONTACT, LOCATIONS & DIRECTORIES
   ========================================================================== */
.contact-details-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
}

.locations-vertical-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.office-box {
  padding: 24px;
  border-radius: 16px;
  background-color: var(--color-bg-surface-solid);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.office-box:hover {
  background-color: var(--color-primary-ultra-light);
}

.office-box.active {
  background-color: var(--color-primary-ultra-light);
  border-color: var(--color-secondary);
  box-shadow: 0 4px 15px rgba(18, 44, 84, 0.03);
}

.office-header-flow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.office-pin {
  font-size: 20px;
}

.office-title {
  font-size: 18px;
  font-weight: 600;
}

.office-address {
  font-size: 14px;
  line-height: 1.4;
  margin-left: 32px;
  margin-bottom: 8px;
}

.office-hours {
  font-size: 13px;
  margin-left: 32px;
  line-height: 1.4;
}

.divider-horizontal {
  height: 1px;
  background-color: var(--color-border);
  margin: 12px 0;
}

.contact-clickable {
  color: var(--color-secondary);
  font-weight: 600;
}

.contact-clickable:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

.contact-numbers-box {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-card-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
}

.number-line {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 15px;
}

.contact-icon-svg {
  font-size: 20px;
}

/* Contact Form Right Side details */
.contact-form-column {
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-lead-desc {
  font-size: 14px;
  margin-top: -12px;
}

.quick-contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Field validation styles */
.field-error-msg {
  display: none;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-error);
  margin-top: 4px;
  animation: slideErrorIn 0.3s ease;
}

@keyframes slideErrorIn {
  from { transform: translateY(-4px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.form-group.invalid .form-input {
  border-color: var(--color-error);
  background-color: var(--color-error-bg);
}

.form-group.invalid .field-error-msg {
  display: block;
}

/* shake animation on invalid submission */
.shake-animation {
  animation: shakeFormElements 0.5s ease;
}

@keyframes shakeFormElements {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

.form-feedback-banner {
  padding: 16px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  display: none;
  animation: fadeWizardPane 0.4s ease;
}

.form-feedback-banner.success {
  display: block;
  background-color: var(--color-success-bg);
  color: var(--color-success);
  border: 1px solid rgba(74, 114, 89, 0.15);
}

.form-feedback-banner.error {
  display: block;
  background-color: var(--color-error-bg);
  color: var(--color-error);
  border: 1px solid rgba(220, 50, 50, 0.15);
}

/* Map Mockup Component */
.contact-map-mockup {
  height: 200px;
  border-radius: 16px;
  background-color: var(--color-bg-surface-solid);
  border: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
  margin-top: 10px;
}

.map-inner-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px;
  text-align: center;
  background: radial-gradient(circle, var(--color-primary-ultra-light) 0%, transparent 80%);
}

.map-compass {
  font-size: 28px;
  animation: compassSpin 8s infinite linear;
}

@keyframes compassSpin {
  0% { transform: rotate(0deg); }
  50% { transform: rotate(15deg); }
  100% { transform: rotate(0deg); }
}

.map-link-btn {
  padding: 8px 18px;
  font-size: 13px;
}

/* ==========================================================================
   CRISIS EMERGENCY DISCLAIMER (HIGH PRIORITY)
   ========================================================================== */
.crisis-disclaimer-section {
  padding-top: 0;
}

.crisis-container {
  border-left: 6px solid var(--color-error);
  padding: 40px;
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 24px;
  align-items: start;
}

.crisis-icon {
  font-size: 36px;
  color: var(--color-error);
}

.crisis-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.crisis-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-error);
}

.crisis-text {
  font-size: 15px;
  line-height: 1.5;
  font-weight: 500;
}

.crisis-helplines {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.helpline-badge {
  padding: 16px 20px;
  background-color: var(--color-error-bg);
  border-radius: 12px;
  font-size: 14px;
  border: 1px solid rgba(220, 50, 50, 0.08);
}

.crisis-num {
  color: var(--color-error);
  font-weight: 700;
  text-decoration: underline;
}

/* ==========================================================================
   FOOTER STYLE SHEET
   ========================================================================== */
.main-footer {
  background-color: var(--color-bg-surface-solid);
  border-top: 1px solid var(--color-border);
}

.footer-top-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 40px;
}

.footer-brand-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-primary);
}

.footer-logo .logo-icon {
  stroke: var(--color-primary);
}

.footer-brand-title {
  font-family: var(--font-heading);
  font-size: 21px;
  font-weight: 700;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.5;
}

.footer-hipaa-badge {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-secondary);
  align-self: flex-start;
  padding: 6px 12px;
  background-color: var(--color-primary-ultra-light);
  border-radius: 50px;
}

.footer-title {
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-secondary);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 14px;
  color: var(--color-text-muted);
}

.footer-links a:hover {
  color: var(--color-primary);
  transform: translateX(4px);
}

.footer-address-line, .footer-phone-line, .footer-email-line {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 12px;
}

.footer-phone-line a, .footer-email-line a {
  color: var(--color-secondary);
  font-weight: 500;
}

.footer-phone-line a:hover, .footer-email-line a:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

.footer-bottom-container {
  border-top: 1px solid var(--color-border);
  padding: 30px 5vw;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-copyright {
  font-size: 13px;
  color: var(--color-text-muted);
}

.footer-legal-links {
  display: flex;
  gap: 24px;
}

.legal-link {
  font-size: 13px;
  color: var(--color-text-muted);
  cursor: pointer;
}

.legal-link:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

/* ==========================================================================
   BASIC MODAL OVERLAYS (POLICIES & MOCK CONTEXTS)
   ========================================================================== */
.legal-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(18, 44, 84, 0.3);
  backdrop-filter: blur(8px);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fadeWizardPane 0.3s ease;
}

.legal-modal-overlay.active {
  display: flex;
}

.legal-modal-body {
  width: 100%;
  max-width: 600px;
  max-height: 80vh;
  padding: 48px;
  position: relative;
  overflow-y: auto;
}

.modal-close-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-ultra-light);
  cursor: pointer;
  font-weight: bold;
  transition: var(--transition-fast);
}

.modal-close-btn:hover {
  transform: scale(1.08) rotate(90deg);
}

.modal-inner-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.modal-inner-content h3 {
  font-size: 24px;
  color: var(--color-primary);
}

.modal-inner-content h4 {
  font-size: 16px;
  color: var(--color-secondary);
}

.modal-inner-content p {
  font-size: 14px;
  line-height: 1.6;
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS AND TRANSITIONS
   ========================================================================== */
.scroll-reveal-item {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.scroll-reveal-item.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Utilities */
.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUpAnim 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }

@keyframes fadeInUpAnim {
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVENESS AND MOBILE ADAPTIONS)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  
  .hero-badge, .hero-highlights {
    align-self: center;
  }

  .hero-cta-group {
    justify-content: center;
  }
  
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .specialty-block, .specialty-block.inverted {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px;
  }
  
  .specialty-graphic-visual {
    order: -1;
  }

  .contact-details-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-top-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }

  .container-padding {
    padding: 60px 5vw;
  }

  .main-header {
    top: 10px;
  }

  .header-container {
    padding: 0 20px;
  }

  .desktop-nav, .desktop-booking-cta {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero-title {
    font-size: 38px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta-group .btn-primary, .hero-cta-group .btn-secondary {
    width: 100%;
  }

  .ambient-card-inner {
    padding: 24px;
  }

  .tel-number {
    font-size: 20px;
  }

  .section-title {
    font-size: 28px;
  }

  .modal-drawer {
    padding: 40px 24px;
    border-radius: 0;
  }

  .calendar-booking-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .form-double-column {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .booking-wizard-container {
    padding: 24px;
  }

  .wizard-stepper {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  .step-line {
    display: none;
  }

  .insurance-badges-container {
    padding: 24px;
  }

  .faq-question-btn {
    padding: 20px 24px;
    font-size: 16px;
  }

  .contact-form-column {
    padding: 24px;
  }

  .crisis-container {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 16px;
  }

  .footer-top-container {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   LOCAL AREAS SERVED SECTION (SEO)
   ========================================================================== */
.areas-served-section {
  position: relative;
  z-index: 2;
  background: transparent;
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.area-card {
  display: flex;
  flex-direction: column;
  padding: 30px 24px;
  border-radius: 20px;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease;
}

.area-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--color-accent-gold);
}

.area-pin {
  font-size: 28px;
  margin-bottom: 16px;
}

.area-card-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--color-primary);
}

.area-card-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text-muted);
}
