/* ============================================
   THRIVE TRAUMA THERAPY — Design System
   Palette: Teal + Warm Gold (validated by competitor analysis)
   Typography: Playfair Display + Montserrat
   ============================================ */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

/* --- CSS Custom Properties (Design Tokens) --- */
:root {
  /* Primary Palette — calming teal family */
  --color-primary: #4a8f8f;
  --color-primary-dark: #3a7272;
  --color-primary-light: #6bb3b3;
  --color-primary-subtle: #e8f4f4;
  
  /* Accent — warm gold */
  --color-accent: #c4a35a;
  --color-accent-dark: #a8893e;
  --color-accent-light: #e0c97d;
  
  /* Neutrals */
  --color-text: #2d3436;
  --color-text-light: #636e72;
  --color-text-muted: #95a5a6;
  --color-bg: #fafbfc;
  --color-bg-warm: #fdf8f0;
  --color-bg-section: #f5f8f8;
  --color-white: #ffffff;
  --color-border: #e0e6e8;
  
  /* Crisis Banner */
  --color-crisis: #d63031;
  --color-crisis-bg: #fff5f5;
  
  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Montserrat', 'Segoe UI', sans-serif;
  
  /* Spacing Scale */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 50%;
  
  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --shadow-xl: 0 12px 48px rgba(0,0,0,0.15);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Container */
  --container-max: 1200px;
  --container-narrow: 800px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
}

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

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

a:hover {
  color: var(--color-primary-dark);
}

ul, ol {
  list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-text);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.2rem, 3vw, 1.6rem);
}

h4 {
  font-size: 1.1rem;
  font-family: var(--font-body);
  font-weight: 600;
}

p {
  margin-bottom: var(--space-md);
}

.text-accent {
  color: var(--color-accent);
}

.text-primary {
  color: var(--color-primary);
}

.text-muted {
  color: var(--color-text-light);
}

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

/* --- Layout Utilities --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.container-narrow {
  max-width: var(--container-narrow);
}

.section {
  padding: var(--space-4xl) 0;
}

.section-alt {
  background-color: var(--color-bg-section);
}

.section-warm {
  background-color: var(--color-bg-warm);
}

.grid {
  display: grid;
  gap: var(--space-xl);
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.flex {
  display: flex;
  gap: var(--space-md);
}

.flex-center {
  align-items: center;
  justify-content: center;
}

/* --- Crisis Banner --- */
.crisis-banner {
  background: var(--color-crisis-bg);
  border-bottom: 2px solid #fecaca;
  padding: var(--space-sm) var(--space-md);
  text-align: center;
  font-size: 0.85rem;
  font-weight: 500;
  color: #7f1d1d;
  position: relative;
  z-index: 1001;
}

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

.crisis-banner a:hover {
  color: #b91c1c;
}

/* --- Navigation --- */
.header {
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow var(--transition-base);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-top {
  background: var(--color-primary-dark);
  color: var(--color-white);
  padding: var(--space-xs) 0;
  font-size: 0.85rem;
}

.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.header-top a {
  color: var(--color-white);
  opacity: 0.9;
}

.header-top a:hover {
  opacity: 1;
}

.header-phone {
  font-weight: 600;
  letter-spacing: 0.02em;
}

.header-phone svg {
  width: 14px;
  height: 14px;
  vertical-align: middle;
  margin-right: 4px;
}

.nav-main {
  padding: var(--space-md) 0;
}

.nav-main .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
}

/* Full horizontal logo image in nav (replaces icon + text combo) */
.nav-logo-img {
  height: 52px;
  width: auto;
  max-width: 220px;
  display: block;
  object-fit: contain;
}

/* Hide redundant text next to the full logo image in nav */
.logo > div {
  display: none;
}

.logo-icon {
  display: none;
}

/* Keep logo-text visible in footer (it's standalone there, not next to the image) */
.footer-brand .logo-text {
  display: block;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  line-height: 1.2;
}

.logo-tagline {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
  padding: var(--space-sm) 0;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width var(--transition-base);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-primary);
}

.nav-cta {
  background: var(--color-primary) !important;
  color: var(--color-white) !important;
  padding: var(--space-sm) var(--space-lg) !important;
  border-radius: var(--radius-xl);
  font-weight: 600 !important;
  transition: all var(--transition-fast) !important;
}

.nav-cta:hover {
  background: var(--color-primary-dark) !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.nav-cta::after {
  display: none !important;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  margin: 6px 0;
  transition: var(--transition-fast);
  border-radius: 2px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-xl);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  line-height: 1.4;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-accent {
  background: var(--color-accent);
  color: var(--color-white);
}

.btn-accent:hover {
  background: var(--color-accent-dark);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-white {
  background: var(--color-white);
  color: var(--color-primary-dark);
}

.btn-white:hover {
  background: var(--color-primary-subtle);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-sm {
  padding: 10px 24px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1.05rem;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, 
    rgba(42, 100, 100, 0.88) 0%, 
    rgba(58, 114, 114, 0.75) 50%, 
    rgba(74, 143, 143, 0.65) 100%);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.hero-content {
  color: var(--color-white);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  padding: 8px 20px;
  border-radius: var(--radius-xl);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: var(--space-lg);
  border: 1px solid rgba(255,255,255,0.2);
}

.hero-badge svg {
  width: 16px;
  height: 16px;
}

.hero h1 {
  color: var(--color-white);
  margin-bottom: var(--space-lg);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
}

.hero h1 .highlight {
  color: var(--color-accent-light);
  font-style: italic;
}

.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.8;
  opacity: 0.92;
  margin-bottom: var(--space-xl);
  max-width: 520px;
}

.hero-geo {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: var(--space-xl);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.hero-geo svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  width: 380px;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 4px solid rgba(255,255,255,0.2);
}

/* --- EMDRIA Badge --- */
.emdria-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: linear-gradient(135deg, #f0f9f9, #e8f4f4);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-primary-light);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary-dark);
}

.emdria-badge svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

/* --- Section Headers --- */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-3xl);
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}

.section-header h2 {
  margin-bottom: var(--space-md);
}

.section-header p {
  color: var(--color-text-light);
  font-size: 1.05rem;
}

.section-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  margin: var(--space-lg) auto;
  border-radius: var(--radius-full);
}

/* --- Cards --- */
.card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  border: 1px solid var(--color-border);
}

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

.card-icon {
  width: 56px;
  height: 56px;
  background: var(--color-primary-subtle);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  transition: background var(--transition-base);
}

.card:hover .card-icon {
  background: var(--color-primary);
}

.card-icon svg {
  width: 28px;
  height: 28px;
  color: var(--color-primary);
  transition: color var(--transition-base);
}

.card:hover .card-icon svg {
  color: var(--color-white);
}

.card h3 {
  margin-bottom: var(--space-md);
  font-size: 1.25rem;
}

.card p {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-md);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-primary);
}

.card-link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.card-link:hover svg {
  transform: translateX(4px);
}

/* --- About Preview (Home) --- */
.about-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.about-preview-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.about-preview-content .section-label {
  text-align: left;
}

.about-preview-content h2 {
  margin-bottom: var(--space-lg);
}

.about-preview-content p {
  color: var(--color-text-light);
  margin-bottom: var(--space-md);
}

.credentials-list {
  margin: var(--space-xl) 0;
}

.credentials-list li {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-sm) 0;
  font-weight: 500;
  color: var(--color-text);
}

.credentials-list li svg {
  width: 20px;
  height: 20px;
  color: var(--color-primary);
  flex-shrink: 0;
}

/* --- Testimonials --- */
.testimonial-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--color-primary);
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--color-primary-light);
  opacity: 0.3;
  position: absolute;
  top: 10px;
  left: 20px;
  line-height: 1;
}

.testimonial-card p {
  font-style: italic;
  color: var(--color-text-light);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: var(--space-lg);
  position: relative;
  z-index: 1;
}

.testimonial-author {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-primary-dark);
}

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  color: var(--color-white);
  padding: var(--space-4xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-full);
}

.cta-banner h2 {
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.cta-banner p {
  opacity: 0.9;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto var(--space-xl);
}

.cta-banner .btn {
  position: relative;
  z-index: 1;
}

/* --- FAQ Section --- */
.faq-item {
  background: var(--color-white);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: box-shadow var(--transition-base);
}

.faq-item:hover {
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg) var(--space-xl);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  text-align: left;
  transition: color var(--transition-fast);
}

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

.faq-question svg {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-base);
  flex-shrink: 0;
  color: var(--color-primary);
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer-inner {
  padding: 0 var(--space-xl) var(--space-xl);
  color: var(--color-text-light);
  line-height: 1.8;
}

/* --- Contact Section --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
}

.contact-info-card {
  display: flex;
  gap: var(--space-lg);
  padding: var(--space-lg);
  background: var(--color-bg-section);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  transition: all var(--transition-base);
}

.contact-info-card:hover {
  background: var(--color-primary-subtle);
}

.contact-info-card svg {
  width: 24px;
  height: 24px;
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-info-card h4 {
  margin-bottom: var(--space-xs);
}

.contact-info-card p,
.contact-info-card a {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

/* --- Forms --- */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: var(--space-sm);
  color: var(--color-text);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-white);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-subtle);
}

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

/* --- Standardized Phone Input & Validation --- */
.phone-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.phone-input-wrapper input {
  padding-right: 44px;
}

.phone-valid-indicator {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%) scale(0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.phone-valid-indicator.is-valid {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

.form-group input.is-invalid {
  border-color: #ef4444 !important;
  background-color: #fef2f2 !important;
}

.form-group input.is-invalid:focus {
  border-color: #dc2626 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2) !important;
}

.form-group input.is-valid {
  border-color: #059669;
}

.phone-error-msg {
  color: #dc2626;
  font-size: 0.8rem;
  margin-top: 4px;
  font-weight: 500;
  display: none;
}

.phone-error-msg.visible {
  display: block;
}

/* --- Footer --- */
.footer {
  background: var(--color-text);
  color: rgba(255,255,255,0.8);
  padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

.footer h4 {
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: var(--space-lg);
}

.footer p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.7);
}

.footer-brand .logo-text {
  color: var(--color-white);
  font-size: 1.3rem;
  margin-bottom: var(--space-md);
}

.footer-links a {
  display: block;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  padding: var(--space-xs) 0;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-accent-light);
}

.footer-social {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--color-primary);
  transform: translateY(-2px);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  color: var(--color-white);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--space-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

.footer-bottom a {
  color: rgba(255,255,255,0.5);
}

.footer-bottom a:hover {
  color: var(--color-accent-light);
}

/* --- Page Headers (Inner Pages) --- */
.page-header {
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  color: var(--color-white);
  padding: var(--space-4xl) 0 var(--space-3xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--color-bg);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.page-header h1 {
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.page-header p {
  opacity: 0.9;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.breadcrumb {
  font-size: 0.85rem;
  opacity: 0.7;
  margin-bottom: var(--space-lg);
}

.breadcrumb a {
  color: var(--color-white);
  opacity: 0.8;
}

.breadcrumb a:hover {
  opacity: 1;
}

/* --- Blog Cards --- */
.blog-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  border: 1px solid var(--color-border);
}

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

.blog-card-image {
  height: 200px;
  background-size: cover;
  background-position: center;
}

.blog-card-content {
  padding: var(--space-xl);
}

.blog-card-meta {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.blog-card h3 {
  margin-bottom: var(--space-md);
  font-size: 1.15rem;
}

.blog-card p {
  color: var(--color-text-light);
  font-size: 0.9rem;
}

/* --- EMDR Process Steps --- */
.process-steps {
  counter-reset: step;
}

.process-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
  align-items: start;
}

.process-step-number {
  width: 64px;
  height: 64px;
  background: var(--color-primary);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  flex-shrink: 0;
}

.process-step h3 {
  margin-bottom: var(--space-sm);
}

.process-step p {
  color: var(--color-text-light);
}

/* --- Insurance Table --- */
.insurance-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.insurance-table th {
  background: var(--color-primary);
  color: var(--color-white);
  padding: var(--space-md) var(--space-lg);
  font-weight: 600;
  text-align: left;
  font-size: 0.9rem;
}

.insurance-table td {
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid var(--color-border);
  font-size: 0.95rem;
}

.insurance-table tr:last-child td {
  border-bottom: none;
}

.insurance-table tr:nth-child(even) td {
  background: var(--color-bg-section);
}

/* --- Animations --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-subtitle {
    margin: 0 auto var(--space-xl);
  }
  
  .hero-geo {
    justify-content: center;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-image {
    order: -1;
  }
  
  .hero-image img {
    width: 280px;
    height: 350px;
  }
  
  .about-preview {
    grid-template-columns: 1fr;
  }
  
  .about-preview-image {
    order: -1;
  }
  
  .about-preview-content .section-label {
    text-align: center;
  }
  
  .about-preview-content {
    text-align: center;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-white);
    flex-direction: column;
    padding: var(--space-lg);
    box-shadow: var(--shadow-lg);
    gap: var(--space-sm);
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .nav-links a {
    padding: var(--space-md);
    width: 100%;
    text-align: center;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .nav-logo-img {
    height: 42px;
    max-width: 160px;
  }
  
  .hero {
    min-height: 70vh;
  }
  
  .hero h1 {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }
  
  .section {
    padding: var(--space-3xl) 0;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  
  .process-step {
    grid-template-columns: 50px 1fr;
    gap: var(--space-md);
  }
  
  .process-step-number {
    width: 50px;
    height: 50px;
    font-size: 1.1rem;
  }
  
  .header-top .container {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-md);
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  
  .hero-actions .btn {
    text-align: center;
    justify-content: center;
  }
  
  .btn-lg {
    padding: 16px 28px;
  }
}

/* --- Client Portal & Google Calendar Integration Styles --- */
.nav-portal-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-primary) !important;
  font-weight: 600 !important;
  border: 1px solid var(--color-primary-light);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  transition: all var(--transition-fast);
}

.nav-portal-link:hover {
  background: var(--color-primary-subtle);
  border-color: var(--color-primary);
}

.nav-portal-link svg {
  width: 14px;
  height: 14px;
}

.consultation-booking-box {
  background: #f0f7f7;
  border: 1.5px solid #c2e0e0;
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-xl);
  box-shadow: 0 4px 12px rgba(74, 143, 143, 0.08);
}

.consultation-booking-header {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.consultation-booking-header svg {
  width: 28px;
  height: 28px;
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.consultation-booking-header h4 {
  margin-bottom: var(--space-xs);
  color: var(--color-primary-dark);
  font-size: 1.15rem;
}

.consultation-booking-header p {
  margin-bottom: 0;
  font-size: 0.9rem;
  color: var(--color-text-light);
}

.day-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-accent);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 10px;
  margin-top: var(--space-md);
  margin-bottom: var(--space-md);
}

.slot-btn {
  background: #ffffff;
  border: 1.5px solid var(--color-border);
  color: var(--color-text);
  padding: 10px 6px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  text-align: center;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.slot-btn.available:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-primary-subtle);
  transform: translateY(-1px);
}

.slot-btn.selected {
  background: var(--color-primary);
  color: #ffffff;
  border-color: #083c3c;
  border-width: 2px;
  box-shadow: 0 4px 14px rgba(13, 92, 92, 0.4);
  transform: translateY(-2px);
  position: relative;
}

.slot-btn.selected .slot-status-tag {
  background: #ffffff;
  color: var(--color-primary);
  font-weight: 700;
}

.slot-btn.booked {
  background: #f3f4f6;
  border-color: #e5e7eb;
  color: #9ca3af;
  cursor: not-allowed;
  opacity: 0.75;
}

.slot-btn.booked .slot-time {
  text-decoration: line-through;
}

.slot-status-tag {
  font-size: 0.68rem;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.avail-tag {
  background: #dcfce7;
  color: #15803d;
}

.booked-tag {
  background: #fee2e2;
  color: #b91c1c;
}

.slot-conflict-alert {
  padding: 10px 14px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: var(--radius-md);
  color: #92400e;
  font-size: 0.85rem;
  margin-top: var(--space-sm);
  display: none;
}

/* Prominent Live Selected Slot Callout */
.selected-slot-callout {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin-top: 14px;
  animation: slideDownSlot 0.25s ease-out;
}

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

.selected-slot-callout.pulse-highlight {
  animation: pulseSlot 0.4s ease-out;
}

@keyframes pulseSlot {
  0% { transform: scale(0.98); }
  50% { transform: scale(1.015); border-color: #22c55e; }
  100% { transform: scale(1); border-color: #86efac; }
}

.selected-slot-callout-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: #16a34a;
  color: #ffffff;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.selected-slot-callout-content {
  flex: 1;
}

.selected-slot-callout-title {
  font-size: 0.95rem;
  color: #14532d;
  margin-bottom: 2px;
}

.selected-slot-callout-title strong {
  color: #15803d;
  font-weight: 700;
}

.selected-slot-callout-sub {
  font-size: 0.8rem;
  color: #166534;
  line-height: 1.4;
}

.booking-confirmation-details {
  margin-top: 14px;
  padding: 16px;
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1.5px solid #a7f3d0;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.08);
}

.confirmed-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #d1fae5;
  color: #065f46;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
}

.google-cal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #ffffff;
  color: #374151;
  border: 1.5px solid #d1d5db;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all var(--transition-fast);
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.google-cal-btn:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  color: #111827;
  transform: translateY(-1px);
}

.portal-highlight-card {
  background: linear-gradient(135deg, #edf6f6 0%, #f7fbfb 100%);
  border: 1.5px solid #b8dede;
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin-top: var(--space-xl);
}

.portal-highlight-card h4 {
  color: var(--color-primary-dark);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: var(--space-xs);
}

.portal-highlight-card p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-bottom: var(--space-md);
}

.form-success-banner {
  background: #ecfdf5;
  border: 1.5px solid #a7f3d0;
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin-bottom: var(--space-lg);
  color: #065f46;
}

.form-success-banner h4 {
  color: #065f46;
  margin-bottom: var(--space-xs);
}

/* --- VIP Reschedule & Apology Workflow Styles --- */
.reschedule-banner {
  background: #fffbeb;
  border: 2px solid #fcd34d;
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin-bottom: var(--space-xl);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.12);
}

.reschedule-header {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.reschedule-icon {
  font-size: 1.8rem;
  line-height: 1;
}

.reschedule-header h4 {
  color: #92400e;
  font-size: 1.2rem;
  margin-bottom: var(--space-xs);
}

.reschedule-header p {
  color: #78350f;
  font-size: 0.95rem;
  margin-bottom: var(--space-sm);
  line-height: 1.5;
}

.old-slot-pill {
  display: inline-block;
  background: #fee2e2;
  color: #991b1b;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  border: 1px solid #fecaca;
}

/* --- Jeanette's Schedule Manager Panel --- */
.admin-trigger-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f3f4f6;
  color: #6b7280;
  border: 1px dashed #d1d5db;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.admin-trigger-badge:hover {
  background: #e5e7eb;
  color: #374151;
  border-color: #9ca3af;
}

.admin-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
}

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

.admin-modal-content {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 600px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  border: 1.5px solid var(--color-border);
}

.admin-modal-header {
  padding: var(--space-lg);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-modal-header h3 {
  margin-bottom: 0;
  font-size: 1.25rem;
  color: var(--color-primary-dark);
}

.admin-modal-body {
  padding: var(--space-lg);
}

.admin-booking-item {
  background: #f9fafb;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.admin-booking-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.admin-booking-info strong {
  color: var(--color-text);
  font-size: 0.95rem;
}

.admin-booking-info span {
  font-size: 0.85rem;
  color: var(--color-primary-dark);
  font-weight: 500;
}

.admin-booking-info small {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.btn-cancel-reschedule {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
  padding: 6px 12px;
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-cancel-reschedule:hover {
  background: #fecaca;
  color: #7f1d1d;
}



