/* ============================================
   V4 Design System - Next Step Therapy
   Refined Clinical Elegance
   ============================================ */

/* ============================================
   1. CSS CUSTOM PROPERTIES
   ============================================ */
:root {
    /* Primary Palette - Navy Dominant */
    --navy: #1e3a4f;
    --navy-dark: #152a3a;
    --navy-light: #2d4a5e;
    --navy-muted: #3d5a6f;

    /* Accent - Sage (Use Sparingly) */
    --sage: #4a7c59;
    --sage-light: #5f9970;

    /* Neutrals */
    --cream: #f8f6f3;
    --linen: #f5f2ed;
    --white: #ffffff;
    --sand: #e8e4de;

    /* Text */
    --text-primary: #1e3a4f;
    --text-secondary: #4a5a6a;
    --text-muted: #6b7a8a;
    --text-light: rgba(255, 255, 255, 0.9);

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(30, 58, 79, 0.06);
    --shadow-md: 0 4px 12px rgba(30, 58, 79, 0.08);
    --shadow-lg: 0 8px 30px rgba(30, 58, 79, 0.12);

    /* Typography */
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-full: 100px;
}

/* ============================================
   2. BASE TYPOGRAPHY
   ============================================ */
body {
    font-family: var(--font-body) !important;
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display) !important;
    color: var(--navy);
    font-weight: 500;
    line-height: 1.2;
    margin: 0;
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0 0 1rem;
}

a {
    color: var(--sage);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--sage-light);
}

/* ============================================
   3. HEADER - Clean Professional Layout
   ============================================ */
.header,
header.header {
    background: var(--white) !important;
    border-bottom: 1px solid rgba(30, 58, 79, 0.08) !important;
    padding: 0 !important;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: none !important;
}

.header .container,
header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.5rem !important;
}

.header-content,
.header .header-content {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 2rem !important;
    flex-wrap: nowrap !important;
}

/* Logo Section */
.logo-section,
.header .logo-section {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    flex-shrink: 0 !important;
}

.logo,
.header .logo {
    height: 36px !important;
    width: auto !important;
    border-radius: 0 !important;
}

.logo-text,
.header .logo-text {
    font-family: var(--font-display) !important;
    font-size: 1.375rem !important;
    font-weight: 500 !important;
    color: var(--navy) !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

/* CRPO Badge */
.credentials-badge,
.credentials-badge-prominent,
.therapist-credentials {
    background: transparent !important;
    color: var(--text-muted) !important;
    border: none !important;
    padding: 0 !important;
    font-size: 0.75rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.02em !important;
    white-space: nowrap !important;
}

/* Navigation */
.nav,
.header .nav {
    display: flex !important;
    align-items: center !important;
    gap: 2rem !important;
}

.nav a,
.header .nav a {
    font-family: var(--font-body) !important;
    font-size: 0.9375rem !important;
    font-weight: 500 !important;
    color: var(--text-secondary) !important;
    text-decoration: none !important;
    padding: 0.5rem 0 !important;
    border: none !important;
    background: none !important;
    transition: color 0.2s ease !important;
}

.nav a:hover,
.header .nav a:hover {
    color: var(--navy) !important;
}

/* Header CTA Button - Professional with clear hover state */
.header-book-btn,
.header .btn-primary,
.nav .btn-primary {
    background: var(--navy) !important;
    color: var(--white) !important;
    padding: 0.625rem 1.25rem !important;
    border-radius: var(--radius-md) !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    border: 2px solid var(--navy) !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    transition: all 0.25s ease !important;
    box-shadow: 0 2px 8px rgba(30, 58, 79, 0.15) !important;
}

.header-book-btn:hover,
.header .btn-primary:hover,
.nav .btn-primary:hover {
    background: var(--white) !important;
    color: var(--navy) !important;
    border-color: var(--navy) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(30, 58, 79, 0.2) !important;
}

/* Header Phone - Simple text link, NO border box */
.header-phone,
.header .header-phone {
    font-family: var(--font-body) !important;
    font-size: 0.9375rem !important;
    font-weight: 600 !important;
    color: var(--navy) !important;
    text-decoration: none !important;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    white-space: nowrap !important;
}

.header-phone:hover,
.header .header-phone:hover {
    color: var(--sage) !important;
    background: none !important;
    border: none !important;
}

/* Mobile Header */
@media (max-width: 768px) {
    .header-content,
    .header .header-content {
        flex-wrap: wrap !important;
        gap: 1rem !important;
        justify-content: center !important;
    }

    .nav,
    .header .nav {
        gap: 1rem !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
    }

    .credentials-badge,
    .credentials-badge-prominent {
        display: none !important;
    }
}

/* ============================================
   4. HERO SECTION
   ============================================ */
.hero,
section.hero,
.hero-with-bg,
[class*="hero-"] {
    background: var(--cream) !important;
    padding: var(--space-3xl) 0 !important;
    text-align: center;
    background-image: none !important;
}

.hero::before,
.hero-with-bg::before,
[class*="hero-"]::before {
    display: none !important;
}

.hero h1,
.hero-with-bg h1,
[class*="hero-"] h1 {
    font-size: clamp(2.5rem, 6vw, 4rem) !important;  /* Larger than regular H1 */
    line-height: 1.1 !important;
    color: var(--navy) !important;
    margin-bottom: var(--space-lg) !important;
    text-shadow: none !important;
}

.hero p,
.hero .lead-text {
    color: var(--text-secondary) !important;
    font-size: 1.125rem;
    max-width: 700px;
    margin: 0 auto var(--space-xl);
    line-height: 1.7;
}

/* Trust Pills */
.trust-pills,
.hero .trust-pills {
    display: flex !important;
    justify-content: center !important;
    gap: 0.625rem !important;
    flex-wrap: wrap !important;
    margin: var(--space-lg) 0 !important;
}

.trust-pill {
    background: var(--white) !important;
    color: var(--text-secondary) !important;
    padding: 0.5rem 1rem !important;
    border-radius: var(--radius-full) !important;
    font-size: 0.8125rem !important;
    font-weight: 500 !important;
    border: 1px solid rgba(30, 58, 79, 0.1) !important;
}

/* ============================================
   5. BUTTONS
   ============================================ */
.btn-primary,
.primary-cta,
.manus-primary-cta,
a.manus-primary-cta,
.cta-button,
a.cta-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: var(--navy) !important;
    color: var(--white) !important;
    padding: 0.875rem 1.75rem !important;
    border-radius: var(--radius-md) !important;
    font-family: var(--font-body) !important;
    font-size: 0.9375rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    border: 2px solid var(--navy) !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
    box-shadow: 0 2px 8px rgba(30, 58, 79, 0.15) !important;
}

.btn-primary:hover,
.primary-cta:hover,
.manus-primary-cta:hover,
a.manus-primary-cta:hover,
.cta-button:hover,
a.cta-button:hover {
    background: var(--white) !important;
    color: var(--navy) !important;
    border-color: var(--navy) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(30, 58, 79, 0.2) !important;
}

.btn-secondary,
.secondary-cta,
.manus-secondary-cta,
.cta-button.secondary {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
    color: var(--navy) !important;
    padding: 0.875rem 1.75rem !important;
    border-radius: var(--radius-md) !important;
    font-family: var(--font-body) !important;
    font-size: 0.9375rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    border: 2px solid var(--navy) !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.btn-secondary:hover,
.secondary-cta:hover,
.manus-secondary-cta:hover {
    background: var(--navy) !important;
    color: var(--white) !important;
}

/* Button sizes */
.btn-lg {
    padding: 1rem 2rem !important;
    font-size: 1.0625rem !important;
}

.btn-sm {
    padding: 0.5rem 1rem !important;
    font-size: 0.875rem !important;
}

/* ============================================
   6. SECTIONS
   ============================================ */
.section,
section.section {
    padding: var(--space-3xl) 0;
}

.section.alternate-bg,
section.alternate-bg {
    background: var(--cream);
}

/* Consistent paragraph spacing */
.section p,
.content p,
article p,
main p,
.main-content p {
    margin-bottom: 1.25rem !important;
    line-height: 1.7 !important;
}

/* Headings after paragraphs need more space */
.section p + h2,
.section p + h3,
article p + h2,
article p + h3,
main p + h2,
main p + h3 {
    margin-top: 2rem !important;
}

/* Lists should have proper spacing */
.section ul,
.section ol,
article ul,
article ol,
main ul,
main ol {
    margin-bottom: 1.25rem !important;
    padding-left: 1.5rem !important;
}

.section li,
article li,
main li {
    margin-bottom: 0.5rem !important;
    line-height: 1.6 !important;
}

.section-title {
    font-family: var(--font-display) !important;
    color: var(--navy) !important;
    text-align: center;
    margin-bottom: var(--space-lg);
}

.section-intro {
    color: var(--text-secondary);
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-2xl);
    font-size: 1.0625rem;
    line-height: 1.7;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Content Grid - single column centered layout */
.content-grid {
    max-width: 800px;
    margin: 0 auto;
}

/* Card Grid - multi-column layout */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
    margin: var(--space-lg) 0;
}

/* Feature Grid - for feature items */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
    margin: var(--space-lg) 0;
}

.feature-item {
    padding: var(--space-lg);
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.feature-item h4 {
    color: var(--navy) !important;
    margin-bottom: var(--space-sm);
}

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

/* Location Grid */
.location-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
    margin: var(--space-lg) 0;
}

/* Info Cards Grid */
.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-md);
    margin: var(--space-lg) 0;
}

.info-card {
    padding: var(--space-md);
    background: var(--cream);
    border-radius: var(--radius-md);
}

.info-card h4 {
    color: var(--navy) !important;
    font-size: 1rem;
    margin-bottom: var(--space-xs);
}

.info-card p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin: 0;
}

/* ============================================
   7. CARDS
   ============================================ */
.content-card,
.specialization-card,
.info-card {
    background: var(--white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
}

.content-card:hover,
.specialization-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.specialization-card {
    border-top: 3px solid var(--navy);
}

.content-card h2,
.content-card h3 {
    color: var(--navy) !important;
    margin-bottom: var(--space-md);
}

.content-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Quick Stats Grid */
.quick-stats {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
    gap: 1rem !important;
    margin-top: var(--space-xl) !important;
    max-width: 1000px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Quick Stat Cards */
.quick-stat-card {
    background: var(--white);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    border-top: 3px solid var(--navy);
    box-shadow: var(--shadow-sm);
    text-align: left;
}

.quick-stat-card h3 {
    font-family: var(--font-display) !important;
    font-size: 1.125rem;
    color: var(--navy) !important;
    margin-bottom: 0.5rem;
}

.quick-stat-card p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin: 0;
    line-height: 1.5;
}

/* ============================================
   8. CTA BOXES (Navy Background)
   ============================================ */
.cta-box {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    background: var(--navy) !important;
    padding: var(--space-2xl) !important;
    border-radius: var(--radius-lg) !important;
    text-align: center !important;
}

.cta-box * {
    color: var(--white) !important;
}

.cta-box h2,
.cta-box h3 {
    font-family: var(--font-display) !important;
    color: var(--white) !important;
    margin-bottom: var(--space-md) !important;
}

.cta-box p {
    color: rgba(255, 255, 255, 0.9) !important;
    margin-bottom: var(--space-lg) !important;
    max-width: 600px !important;
    text-align: center !important;
}

.cta-box .btn-primary,
.cta-box .btn.btn-primary,
.cta-box a.btn,
.cta-box a.btn-primary,
.cta-box .manus-primary-cta {
    display: inline-block !important;
    background: var(--white) !important;
    color: var(--navy) !important;
    border: 2px solid var(--white) !important;
    padding: 1rem 2rem !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
}

.cta-box .btn-primary:hover,
.cta-box .manus-primary-cta:hover {
    background: var(--cream) !important;
    color: var(--navy) !important;
}

/* Secondary CTA inside CTA boxes - white outline button */
.cta-box .btn-secondary,
.cta-box .btn.btn-secondary,
.cta-box a.btn-secondary,
.cta-box .secondary-cta,
.cta-box a.secondary-cta {
    display: inline-block !important;
    background: transparent !important;
    color: #ffffff !important;
    padding: 1rem 2rem !important;
    border-radius: 8px !important;
    font-family: var(--font-body) !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    border: 2px solid rgba(255, 255, 255, 0.8) !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.cta-box .btn-secondary:hover,
.cta-box .secondary-cta:hover,
.cta-box a.secondary-cta:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    color: var(--white) !important;
    border-color: var(--white) !important;
}

/* CTA box button container - ensure proper centering */
.cta-box > div[style*="display: flex"],
.cta-box .cta-buttons,
.cta-box .hero-cta,
.cta-box .secondary-ctas {
    display: flex !important;
    gap: 1rem !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    align-items: center !important;
}

/* Hero CTA sections - proper button layout */
.hero-cta {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 1rem !important;
    margin-top: var(--space-lg) !important;
    flex-wrap: wrap !important;
}

.hero-cta .secondary-ctas {
    display: flex !important;
    gap: 1rem !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
}

/* Reduce hero spacing */
.hero {
    padding: var(--space-2xl) 0 !important;
}

.hero .trust-pills {
    margin: var(--space-md) 0 !important;
}

/* Hero secondary CTAs on light backgrounds */
.hero .secondary-cta {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
    color: var(--navy) !important;
    padding: 0.875rem 1.75rem !important;
    border-radius: var(--radius-md) !important;
    font-family: var(--font-body) !important;
    font-size: 0.9375rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    border: 2px solid var(--navy) !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    flex: 0 0 auto !important;
    width: auto !important;
}

.hero .secondary-cta:hover {
    background: var(--navy) !important;
    color: var(--white) !important;
}

/* Ensure hero CTAs don't stretch */
.hero-cta .manus-primary-cta,
.hero-cta .secondary-cta,
.hero .manus-primary-cta,
.hero .secondary-cta {
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 0 !important;
}

/* Override shared.min.css flex:1 on secondary-cta globally */
.secondary-cta {
    flex: 0 0 auto !important;
}

/* ============================================
   9. LISTS
   ============================================ */
.feature-list {
    list-style: none;
    padding: 0;
    margin: var(--space-md) 0;
}

.feature-list li {
    padding: 0.5rem 0 0.5rem 1.75rem;
    position: relative;
    color: var(--text-secondary);
    line-height: 1.6;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--navy);
    font-weight: 700;
}

/* ============================================
   10. FAQ SECTION
   ============================================ */
.faq-grid {
    display: grid;
    gap: var(--space-md);
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--navy);
    box-shadow: var(--shadow-sm);
}

.faq-question {
    font-family: var(--font-display) !important;
    font-size: 1.125rem;
    color: var(--navy) !important;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* ============================================
   11. TABLES
   ============================================ */
.comparison-table-wrapper {
    overflow-x: auto;
    margin: var(--space-xl) 0;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
}

.comparison-table th {
    background: var(--navy);
    color: var(--white);
    padding: 1rem 1.25rem;
    font-family: var(--font-display);
    font-weight: 600;
    text-align: left;
}

.comparison-table td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(30, 58, 79, 0.1);
    color: var(--text-secondary);
}

.comparison-table tr:nth-child(even) {
    background: var(--cream);
}

/* ============================================
   12. PROCESS STEPS
   ============================================ */
.process-steps {
    max-width: 700px;
    margin: 0 auto;
}

.step-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: var(--space-xl);
    position: relative;
}

.step-number {
    background: var(--navy);
    color: var(--white);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
    margin-right: var(--space-lg);
    flex-shrink: 0;
}

.step-content h3 {
    font-family: var(--font-display) !important;
    color: var(--navy) !important;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--text-secondary);
    margin: 0;
}

/* ============================================
   13. MOBILE STICKY CTA
   ============================================ */
.mobile-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 -4px 20px rgba(30, 58, 79, 0.12);
    padding: 0.75rem;
    z-index: 999;
    display: none;
    gap: 0.5rem;
    border-top: 1px solid rgba(30, 58, 79, 0.1);
}

.mobile-cta-bar a {
    flex: 1;
    padding: 0.875rem 1rem;
    text-align: center;
    text-decoration: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9375rem;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-cta-book {
    background: var(--navy);
    color: var(--white);
}

.mobile-cta-phone {
    background: var(--sage);
    color: var(--white);
}

@media (max-width: 768px) {
    .mobile-cta-bar {
        display: flex;
    }

    body {
        padding-bottom: 70px;
    }
}

/* Floating CTA - Desktop */
.floating-cta {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--navy);
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-full);
    border: 2px solid var(--navy);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    box-shadow: var(--shadow-lg);
    z-index: 998;
    display: none;
    transition: all 0.25s ease;
}

.floating-cta:hover {
    background: var(--white);
    color: var(--navy);
    border: 2px solid var(--navy);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(30, 58, 79, 0.25);
}

@media (min-width: 769px) {
    .floating-cta {
        display: block;
    }
}

/* ============================================
   14. FOOTER
   ============================================ */
.footer,
footer.footer {
    background: var(--navy-dark) !important;
    color: #ffffff !important;
    padding: var(--space-2xl) 0 var(--space-lg) !important;
}

.footer h4 {
    font-family: var(--font-body) !important;
    color: #ffffff !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    margin-bottom: var(--space-md) !important;
    letter-spacing: 0.02em !important;
}

.footer p,
.footer li {
    color: rgba(255, 255, 255, 0.95) !important;
    font-size: 0.9375rem !important;
    line-height: 1.6 !important;
}

.footer a {
    color: #ffffff !important;
    font-size: 0.9375rem !important;
    text-decoration: none !important;
}

.footer a:hover {
    color: #ffffff !important;
    text-decoration: underline !important;
}

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer li {
    margin-bottom: 0.625rem;
}

/* Footer button override - white on navy background */
.footer .btn-primary {
    background: #ffffff !important;
    color: var(--navy) !important;
    border: 2px solid #ffffff !important;
}

.footer .btn-primary:hover {
    background: var(--cream) !important;
    color: var(--navy) !important;
}

.footer-bottom,
.footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.3) !important;
    padding-top: var(--space-lg) !important;
    margin-top: var(--space-xl) !important;
    text-align: center !important;
    color: rgba(255, 255, 255, 0.9) !important;
}

.footer-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: var(--space-xl) !important;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: var(--space-lg) !important;
        text-align: center !important;
    }
}

/* ============================================
   15. DARK SECTION OVERRIDES
   ============================================ */
.approach,
.contact,
#contact,
[style*="background: var(--navy)"],
[style*="background:#1e3a4f"],
[style*="background: #1e3a4f"] {
    background: var(--navy) !important;
}

.approach *,
.contact *,
#contact * {
    color: var(--white) !important;
}

.approach h2,
.approach h3,
.contact h2,
.contact h3,
#contact h2,
#contact h3 {
    color: var(--white) !important;
}

.approach p,
.contact p,
#contact p {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Light cards within dark sections */
.approach .specialization-highlight,
.contact .contact-info,
#contact .contact-info {
    background: var(--white) !important;
    border-radius: var(--radius-lg);
}

.approach .specialization-highlight *,
.contact .contact-info *,
#contact .contact-info * {
    color: var(--navy) !important;
}

.contact .contact-info a,
#contact .contact-info a {
    color: var(--sage) !important;
}

/* Secondary CTAs in dark sections */
.approach .secondary-cta,
.contact .secondary-cta,
#contact .secondary-cta,
.contact-section .secondary-cta {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
    color: #ffffff !important;
    padding: 0.875rem 1.75rem !important;
    border-radius: var(--radius-md) !important;
    font-family: var(--font-body) !important;
    font-size: 0.9375rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    border: 2px solid rgba(255, 255, 255, 0.8) !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.approach .secondary-cta:hover,
.contact .secondary-cta:hover,
#contact .secondary-cta:hover,
.contact-section .secondary-cta:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    color: var(--white) !important;
    border-color: var(--white) !important;
}

/* Primary CTAs in dark sections - white button */
.approach .manus-primary-cta,
.contact .manus-primary-cta,
#contact .manus-primary-cta,
.contact-section .manus-primary-cta {
    background: var(--white) !important;
    color: var(--navy) !important;
    border: 2px solid var(--white) !important;
}

.approach .manus-primary-cta:hover,
.contact .manus-primary-cta:hover,
#contact .manus-primary-cta:hover,
.contact-section .manus-primary-cta:hover {
    background: var(--cream) !important;
    color: var(--navy) !important;
}

/* CTA Boxes within content - ensure text visibility */
.cta-box,
[class*="cta-box"],
.section .cta-box {
    background: var(--navy) !important;
}

.cta-box *,
.cta-box h2,
.cta-box h3,
.cta-box h4,
.cta-box p,
.cta-box span,
.cta-box li {
    color: var(--white) !important;
}

.cta-box p {
    color: rgba(255, 255, 255, 0.95) !important;
}

/* CTA Box buttons - inverted for contrast */
.cta-box .btn-primary,
.cta-box .manus-primary-cta,
.cta-box .primary-cta {
    background: var(--white) !important;
    color: var(--navy) !important;
    border: 2px solid var(--white) !important;
}

.cta-box .btn-primary:hover,
.cta-box .manus-primary-cta:hover,
.cta-box .primary-cta:hover {
    background: var(--cream) !important;
    color: var(--navy) !important;
}

/* Dark section links - ensure visibility (exclude CTAs) */
.approach a:not(.btn):not(.manus-primary-cta):not(.secondary-cta),
.contact a:not(.btn):not(.manus-primary-cta):not(.secondary-cta),
#contact a:not(.btn):not(.manus-primary-cta):not(.secondary-cta),
.cta-box a:not(.btn):not(.manus-primary-cta):not(.secondary-cta) {
    color: #8cb390 !important;
    text-decoration: underline !important;
}

.approach a:not(.btn):not(.manus-primary-cta):not(.secondary-cta):hover,
.contact a:not(.btn):not(.manus-primary-cta):not(.secondary-cta):hover,
#contact a:not(.btn):not(.manus-primary-cta):not(.secondary-cta):hover,
.cta-box a:not(.btn):not(.manus-primary-cta):not(.secondary-cta):hover {
    color: var(--white) !important;
}

/* Contact Section Form - improved contrast */
.contact input,
.contact textarea,
.contact select,
#contact input,
#contact textarea,
#contact select {
    background: rgba(255, 255, 255, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    color: var(--white) !important;
}

.contact input::placeholder,
.contact textarea::placeholder,
#contact input::placeholder,
#contact textarea::placeholder {
    color: rgba(255, 255, 255, 0.7) !important;
}

.contact input:focus,
.contact textarea:focus,
.contact select:focus,
#contact input:focus,
#contact textarea:focus,
#contact select:focus {
    border-color: var(--sage) !important;
    background: rgba(255, 255, 255, 0.18) !important;
    box-shadow: 0 0 0 3px rgba(74, 124, 89, 0.2) !important;
}

.contact label,
#contact label {
    color: rgba(255, 255, 255, 0.95) !important;
}

/* ============================================
   16. FORM ELEMENTS
   ============================================ */
input,
textarea,
select {
    font-family: var(--font-body);
    font-size: 1rem;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(30, 58, 79, 0.2);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--text-primary);
    transition: all 0.2s ease;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(30, 58, 79, 0.1);
}

/* ============================================
   17. UTILITY CLASSES
   ============================================ */
.text-navy { color: var(--navy) !important; }
.text-sage { color: var(--sage) !important; }
.text-secondary { color: var(--text-secondary) !important; }
.text-white { color: var(--white) !important; }

.bg-navy { background: var(--navy) !important; }
.bg-cream { background: var(--cream) !important; }
.bg-white { background: var(--white) !important; }

/* ============================================
   18. ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* Smooth transitions */
a, button, .btn,
.specialization-card,
.trust-item,
.content-card {
    transition: all 0.2s ease;
}

/* Focus states */
a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 2px solid var(--navy);
    outline-offset: 2px;
}

/* Selection */
::selection {
    background: var(--navy);
    color: var(--white);
}

/* ============================================
   19. RESPONSIVE TYPOGRAPHY
   ============================================ */
@media (max-width: 768px) {
    h1 { font-size: 1.875rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }

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

    .hero {
        padding: var(--space-2xl) 0 !important;
    }

    /* CTA Box Mobile Fixes */
    .cta-box {
        padding: 1.5rem !important;
        margin: 1.5rem 0 !important;
    }

    .cta-box h3 {
        font-size: 1.25rem !important;
    }

    .cta-box p {
        font-size: 0.95rem !important;
    }

    .cta-box .btn,
    .cta-box .btn-primary,
    .cta-box .btn-secondary {
        width: 100% !important;
        padding: 1rem !important;
        font-size: 1rem !important;
    }

    .cta-box .cta-buttons,
    .cta-box > div[style*="display: flex"] {
        flex-direction: column !important;
        width: 100% !important;
    }

    /* Paragraph and content mobile */
    .section p,
    .content p,
    article p,
    main p {
        font-size: 1rem !important;
        line-height: 1.6 !important;
    }
}

/* ============================================
   20. PRINT STYLES
   ============================================ */
@media print {
    .header,
    .footer,
    .mobile-cta-bar,
    .floating-cta {
        display: none !important;
    }

    body {
        padding: 0 !important;
    }
}

/* ============================================
   21. SERVICE PAGE CONTRAST FIXES
   Comprehensive rules to ensure text visibility
   on all service and landing pages
   ============================================ */

/* Light section text - ensure navy/dark text on light backgrounds */
/* NOTE: These rules should NOT apply inside .cta-box - see overrides below */
.section:not(.approach):not(.contact):not(#contact) > .container > h2,
.section:not(.approach):not(.contact):not(#contact) > .container > h3,
.section:not(.approach):not(.contact):not(#contact) > .container > h4,
.section:not(.approach):not(.contact):not(#contact) > .container > .content-grid h2,
.section:not(.approach):not(.contact):not(#contact) > .container > .content-grid h3,
.section:not(.approach):not(.contact):not(#contact) > .container > .content-card h2,
.section:not(.approach):not(.contact):not(#contact) > .container > .content-card h3,
.section:not(.approach):not(.contact):not(#contact) .section-title,
.section:not(.approach):not(.contact):not(#contact) .content-card h2,
.section:not(.approach):not(.contact):not(#contact) .content-card h3 {
    color: var(--navy) !important;
}

.section:not(.approach):not(.contact):not(#contact) > .container > p,
.section:not(.approach):not(.contact):not(#contact) > .container > .content-grid p,
.section:not(.approach):not(.contact):not(#contact) .content-card p,
.section:not(.approach):not(.contact):not(#contact) .content-card li {
    color: var(--text-secondary) !important;
}

/* CRITICAL OVERRIDE: CTA box text MUST be white - highest specificity */
/* Covers all nesting scenarios: direct, inside content-card, inside content-grid */
.cta-box h2,
.cta-box h3,
.cta-box h4,
.cta-box p,
.cta-box li,
.cta-box span,
.cta-box strong,
.section .cta-box h2,
.section .cta-box h3,
.section .cta-box h4,
.section .cta-box p,
.section .cta-box li,
.section .cta-box span,
.section .cta-box strong,
.content-card .cta-box h2,
.content-card .cta-box h3,
.content-card .cta-box h4,
.content-card .cta-box p,
.content-card .cta-box li,
.content-card .cta-box span,
.content-grid .cta-box h2,
.content-grid .cta-box h3,
.content-grid .cta-box h4,
.content-grid .cta-box p,
.content-grid .cta-box li,
.content-grid .cta-box span,
.section .content-card .cta-box h2,
.section .content-card .cta-box h3,
.section .content-card .cta-box h4,
.section .content-card .cta-box p,
.section .content-card .cta-box li,
.section .content-card .cta-box span,
.section .content-grid .cta-box h2,
.section .content-grid .cta-box h3,
.section .content-grid .cta-box h4,
.section .content-grid .cta-box p,
.section .content-grid .cta-box li,
.section .content-grid .cta-box span,
.section:not(.approach):not(.contact):not(#contact) .cta-box h2,
.section:not(.approach):not(.contact):not(#contact) .cta-box h3,
.section:not(.approach):not(.contact):not(#contact) .cta-box h4,
.section:not(.approach):not(.contact):not(#contact) .cta-box p,
.section:not(.approach):not(.contact):not(#contact) .cta-box li,
.section:not(.approach):not(.contact):not(#contact) .cta-box span,
.section:not(.approach):not(.contact):not(#contact) .content-card .cta-box h2,
.section:not(.approach):not(.contact):not(#contact) .content-card .cta-box h3,
.section:not(.approach):not(.contact):not(#contact) .content-card .cta-box h4,
.section:not(.approach):not(.contact):not(#contact) .content-card .cta-box p,
.section:not(.approach):not(.contact):not(#contact) .content-grid .cta-box h2,
.section:not(.approach):not(.contact):not(#contact) .content-grid .cta-box h3,
.section:not(.approach):not(.contact):not(#contact) .content-grid .cta-box h4,
.section:not(.approach):not(.contact):not(#contact) .content-grid .cta-box p,
main .cta-box h2,
main .cta-box h3,
main .cta-box h4,
main .cta-box p,
main .cta-box li,
main .cta-box span {
    color: #ffffff !important;
}

/* Content cards always have light backgrounds */
.content-card,
.info-card,
.faq-item,
.specialization-card,
.feature-card,
.card {
    background: var(--white) !important;
}

.content-card h2,
.content-card h3,
.content-card h4,
.info-card h3,
.info-card h4,
.faq-item h4,
.specialization-card h3,
.feature-card h3,
.card h3 {
    color: var(--navy) !important;
}

.content-card p,
.info-card p,
.faq-item p,
.specialization-card p,
.feature-card p,
.card p {
    color: var(--text-secondary) !important;
}

/* Feature lists always dark text */
.feature-list li,
ul.feature-list li {
    color: var(--text-secondary) !important;
}

.feature-list li::before,
ul.feature-list li::before {
    color: var(--navy) !important;
}

/* Section titles and intros */
.section-title,
.section-header h2 {
    color: var(--navy) !important;
}

/* Light sections - intro text */
.section:not(.approach):not(.contact):not(#contact) .section-intro,
.section:not(.approach):not(.contact):not(#contact) .section-header p,
.section:not(.approach):not(.contact):not(#contact) .lead-text {
    color: var(--text-secondary) !important;
}

/* Hero sections - ensure readable */
.hero h1 {
    color: var(--navy) !important;
}

.hero p,
.hero .lead-text {
    color: var(--text-secondary) !important;
}

/* DARK SECTIONS - Lead text must be WHITE */
.approach .lead-text,
.approach .section-header p,
.approach p,
.contact .lead-text,
.contact .section-header p,
#contact .lead-text,
#contact .section-header p {
    color: rgba(255, 255, 255, 0.95) !important;
}

.approach .section-subtitle,
.contact .section-subtitle,
#contact .section-subtitle {
    color: #8cb390 !important;
}

.approach h2,
.approach h3,
.contact h2,
.contact h3,
#contact h2,
#contact h3 {
    color: var(--white) !important;
}

/* Trust pills maintain visibility */
.trust-pill {
    background: rgba(30, 58, 79, 0.08) !important;
    color: var(--navy) !important;
    border: 1px solid rgba(30, 58, 79, 0.15) !important;
}

/* Process steps */
.process-step,
.step-item {
    background: var(--cream) !important;
}

.process-step h3,
.step-content h3 {
    color: var(--navy) !important;
}

.process-step p,
.step-content p {
    color: var(--text-secondary) !important;
}

.step-number {
    background: var(--navy) !important;
    color: var(--white) !important;
}

/* Location cards - Professional card styling */
.location-card {
    background: var(--white) !important;
    padding: var(--space-xl) !important;
    border-radius: var(--radius-md) !important;
    box-shadow: var(--shadow-sm) !important;
    border-top: 3px solid var(--sage) !important;
}

.location-card h3 {
    font-family: var(--font-display) !important;
    font-size: 1.375rem !important;
    color: var(--navy) !important;
    margin-bottom: var(--space-md) !important;
    font-weight: 600 !important;
}

.location-card > p {
    color: var(--text-secondary) !important;
    font-size: 0.9375rem !important;
    line-height: 1.6 !important;
    margin-bottom: var(--space-md) !important;
}

.location-card ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.location-card ul li {
    color: var(--text-secondary) !important;
    font-size: 0.875rem !important;
    padding: var(--space-xs) 0 !important;
    padding-left: 1.5rem !important;
    position: relative !important;
    line-height: 1.5 !important;
}

.location-card ul li::before {
    content: "✓" !important;
    position: absolute !important;
    left: 0 !important;
    color: var(--sage) !important;
    font-weight: 600 !important;
}

.location-card ul li strong {
    color: var(--navy) !important;
    font-weight: 600 !important;
}

/* Comparison tables */
.comparison-table th {
    background: var(--navy) !important;
    color: var(--white) !important;
}

.comparison-table td {
    color: var(--text-secondary) !important;
}

/* Snippet targets and highlighted content */
.snippet-target,
.highlight-box,
[style*="background: rgba(30, 58, 79"] {
    background: rgba(30, 58, 79, 0.06) !important;
}

.snippet-target h3,
.highlight-box h3 {
    color: var(--navy) !important;
}

.snippet-target p,
.highlight-box p {
    color: var(--text-secondary) !important;
}

/* Inline style overrides for dark backgrounds */
[style*="background: #1e3a4f"] *,
[style*="background:#1e3a4f"] *,
[style*="background: var(--navy)"] *,
[style*="background: linear-gradient(135deg, #1e3a4f"] * {
    color: var(--white) !important;
}

[style*="background: #1e3a4f"] p,
[style*="background:#1e3a4f"] p,
[style*="background: var(--navy)"] p,
[style*="background: linear-gradient(135deg, #1e3a4f"] p {
    color: rgba(255, 255, 255, 0.95) !important;
}

/* Buttons in dark inline sections */
[style*="background: #1e3a4f"] .btn-primary,
[style*="background:#1e3a4f"] .btn-primary,
[style*="background: #1e3a4f"] .manus-primary-cta,
[style*="background:#1e3a4f"] .manus-primary-cta {
    background: var(--white) !important;
    color: var(--navy) !important;
}

/* Quiz widget text fixes */
.quiz-widget-container {
    background: var(--white) !important;
}

.quiz-question-text,
.quiz-option {
    color: var(--navy) !important;
}

.quiz-result-title {
    color: var(--navy) !important;
}

.quiz-result-description {
    color: var(--text-secondary) !important;
}

/* Mobile CTA bar text */
.mobile-cta-bar a.mobile-cta-book {
    background: var(--navy) !important;
    color: var(--white) !important;
}

.mobile-cta-bar a.mobile-cta-phone {
    background: var(--sage) !important;
    color: var(--white) !important;
}

/* Contact section specific - form styling */
.contact-section,
section.contact-section {
    background: var(--navy) !important;
}

.contact-section *,
.contact-section h2,
.contact-section h3,
.contact-section p {
    color: var(--white) !important;
}

.contact-section p {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Therapist details in dark sections */
.contact-section .therapist-details p,
.contact .therapist-details p {
    color: rgba(255, 255, 255, 0.9) !important;
}

.contact-section .therapist-details strong,
.contact .therapist-details strong {
    color: var(--white) !important;
}

/* ============================================
   NUCLEAR OVERRIDE: CTA BOX TEXT VISIBILITY
   These rules MUST be at the very end to override everything
   ============================================ */

/* Force ALL text in CTA boxes to be white - no exceptions */
.cta-box,
.cta-box *,
.cta-box h1,
.cta-box h2,
.cta-box h3,
.cta-box h4,
.cta-box h5,
.cta-box h6,
.cta-box p,
.cta-box span,
.cta-box li,
.cta-box strong,
.cta-box em,
.cta-box a:not(.btn-primary):not(.manus-primary-cta),
.cta-box label,
.cta-box div,
[class*="cta-box"] *,
[class*="cta-box"] p,
[class*="cta-box"] h2,
[class*="cta-box"] h3,
[class*="cta-box"] span {
    color: #ffffff !important;
}

/* CTA box paragraph text - slightly transparent white */
.cta-box p,
[class*="cta-box"] p {
    color: rgba(255, 255, 255, 0.95) !important;
}

/* CTA box buttons - white background, navy text */
.cta-box .btn-primary,
.cta-box .btn.btn-primary,
.cta-box .manus-primary-cta,
.cta-box .primary-cta,
.cta-box a.manus-primary-cta,
.cta-box a.btn-primary,
.cta-box a.btn.btn-primary,
.cta-box a.primary-cta,
[class*="cta-box"] .btn-primary,
[class*="cta-box"] .btn.btn-primary,
[class*="cta-box"] .manus-primary-cta {
    display: inline-block !important;
    background: #ffffff !important;
    color: #1e3a4f !important;
    border: 2px solid #ffffff !important;
    padding: 1rem 2rem !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

/* CTA box secondary buttons - white outline */
.cta-box .secondary-cta,
.cta-box a.secondary-cta,
.cta-box .btn-secondary,
[class*="cta-box"] .secondary-cta,
[class*="cta-box"] a.secondary-cta {
    background: transparent !important;
    color: #ffffff !important;
    border: 2px solid rgba(255, 255, 255, 0.8) !important;
    text-decoration: none !important;
}

/* Force background on all CTA boxes */
.cta-box,
[class*="cta-box"],
div.cta-box,
section .cta-box {
    background: #1a2a3a !important;
    background-color: #1a2a3a !important;
}

/* Inline style overrides for CTA boxes */
.cta-box[style],
.cta-box[style] *,
.cta-box[style] p,
.cta-box[style] span {
    color: #ffffff !important;
}

/* ============================================
   RELATED SERVICES SECTION
   ============================================ */
.related-services {
    background: var(--cream) !important;
    padding: var(--space-2xl) 0 !important;
}

.related-services .section-title {
    text-align: center !important;
    color: var(--navy) !important;
    margin-bottom: var(--space-xl) !important;
}

.service-links-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: var(--space-lg) !important;
    max-width: 1000px !important;
    margin: 0 auto !important;
}

.service-link-card {
    display: block !important;
    background: var(--white) !important;
    padding: var(--space-xl) !important;
    border-radius: var(--radius-md) !important;
    text-decoration: none !important;
    box-shadow: var(--shadow-sm) !important;
    border-top: 3px solid var(--sage) !important;
    transition: all 0.2s ease !important;
}

.service-link-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: var(--shadow-md) !important;
}

.service-link-card h3 {
    font-family: var(--font-display) !important;
    font-size: 1.25rem !important;
    color: var(--sage) !important;
    margin-bottom: var(--space-sm) !important;
    font-weight: 600 !important;
}

.service-link-card p {
    font-size: 0.9375rem !important;
    color: var(--text-secondary) !important;
    line-height: 1.6 !important;
    margin: 0 !important;
}

/* ============================================
   HELPFUL RESOURCES SECTION
   ============================================ */
.helpful-resources {
    padding: var(--space-2xl) 0 !important;
}

.helpful-resources .section-title {
    text-align: center !important;
    color: var(--navy) !important;
    margin-bottom: var(--space-xl) !important;
}

.resources-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: var(--space-md) !important;
    max-width: 800px !important;
    margin: 0 auto !important;
}

.resource-link {
    display: inline-block !important;
    background: var(--white) !important;
    padding: var(--space-md) var(--space-lg) !important;
    border-radius: var(--radius-md) !important;
    text-decoration: none !important;
    color: var(--sage) !important;
    font-weight: 600 !important;
    font-size: 0.9375rem !important;
    box-shadow: var(--shadow-sm) !important;
    border: 1px solid rgba(140, 179, 144, 0.2) !important;
    transition: all 0.2s ease !important;
}

.resource-link:hover {
    background: var(--sage) !important;
    color: var(--white) !important;
    transform: translateY(-2px) !important;
}

/* Fix old service-links styling */
.service-links {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: var(--space-lg) !important;
}

.service-links article {
    background: var(--white) !important;
    padding: var(--space-xl) !important;
    border-radius: var(--radius-md) !important;
    box-shadow: var(--shadow-sm) !important;
    border-top: 3px solid var(--sage) !important;
}

.service-links article h3 {
    font-size: 1.25rem !important;
    margin-bottom: var(--space-sm) !important;
}

.service-links article h3 a {
    color: var(--sage) !important;
    text-decoration: none !important;
}

.service-links article h3 a:hover {
    color: var(--navy) !important;
}

.service-links article p {
    color: var(--text-secondary) !important;
    font-size: 0.9375rem !important;
    margin: 0 !important;
}

/* Fix old ul styling in helpful-resources */
.helpful-resources ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: var(--space-md) !important;
}

.helpful-resources ul li {
    margin: 0 !important;
}

.helpful-resources ul li a {
    display: inline-block !important;
    background: var(--white) !important;
    padding: var(--space-md) var(--space-lg) !important;
    border-radius: var(--radius-md) !important;
    text-decoration: none !important;
    color: var(--sage) !important;
    font-weight: 600 !important;
    font-size: 0.9375rem !important;
    box-shadow: var(--shadow-sm) !important;
    border: 1px solid rgba(140, 179, 144, 0.2) !important;
    transition: all 0.2s ease !important;
}

.helpful-resources ul li a:hover {
    background: var(--sage) !important;
    color: var(--white) !important;
}

/* ============================================
   FINAL NUCLEAR OVERRIDE: CTA BOX BUTTONS
   Added December 2024 to fix invisible buttons
   ============================================ */
.cta-box a.btn,
.cta-box a.btn-primary,
.cta-box a.btn.btn-primary,
div.cta-box a.btn,
div.cta-box a.btn-primary,
section .cta-box a.btn,
section .cta-box a.btn-primary,
main .cta-box a.btn,
main .cta-box a.btn-primary,
article .cta-box a.btn,
article .cta-box a.btn-primary {
    display: inline-block !important;
    background: #ffffff !important;
    color: #1e3a4f !important;
    padding: 1rem 2rem !important;
    border: 2px solid #ffffff !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 0.9375rem !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
}

.cta-box a.btn:hover,
.cta-box a.btn-primary:hover,
.cta-box a.btn.btn-primary:hover,
div.cta-box a.btn:hover,
div.cta-box a.btn-primary:hover {
    background: #f8f6f3 !important;
    color: #1e3a4f !important;
    transform: translateY(-2px) !important;
}
