@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&display=swap');

:root {
    --primary: #3d878a; /* Original Rapture Teal */
    --primary-light: #f0f8f8; /* Soft Teal-tinted background */
    --primary-medium: #54a6a9; /* Medium Teal Accent */
    --cream: #ffffff; /* Original site standard background */
    --bg-white: #ffffff;
    --border-color: #3d878a; /* Teal border */
    --yellow: #faf1de; /* Soft Gold */
    --secondary: #076c18; /* Original Rapture Green Accent */
    
    --text-dark: #1d3b3c; /* Dark teal-grey text */
    --text-muted: #527c7e; /* Muted teal-grey */
    
    --success: #076c18; /* Original Rapture Green Accent */
    --danger: #dc3545; /* Standard red */
    
    --accent-gold: #ffb547; /* Gold stars */
    
    --bg-speech: #fefcfb;
    --border-speech: #076c18;
    --bg-occupational: #fefcfb;
    --border-occupational: #076c18;
    --bg-education: #f0fdf4;
    --border-education: #15803d;
    --bg-physio: #ecfeff;
    --border-physio: #0369a1;
    
    --font-family-headers: 'Plus Jakarta Sans', sans-serif;
    --font-family-body: 'Outfit', sans-serif;
    
    --transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1), color 0.25s cubic-bezier(0.4, 0, 0.2, 1), background 0.25s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    --border-radius-pill: 2.8rem;
    --border-radius-card: 2.5rem;
    --border-radius-sm: 1rem;
    --shadow-flat: 0 4px 0px var(--border-color);
    --header-height: 80px;
    --promo-height: 70px;

    /* Glassmorphism & Glossy Styling System */
    --glass-bg: rgba(255, 255, 255, 0.45);
    --glass-bg-hover: rgba(255, 255, 255, 0.6);
    --glass-border: rgba(61, 135, 138, 0.18);
    --glass-border-hover: rgba(61, 135, 138, 0.35);
    --glass-shadow: 0 8px 32px 0 rgba(61, 135, 138, 0.06);
    --glass-shadow-hover: 0 12px 40px 0 rgba(61, 135, 138, 0.12);
    --glass-highlight: inset 0 1px 0px 0px rgba(255, 255, 255, 0.65);
    --glass-blur: blur(16px) saturate(190%);
    --glow-primary: rgba(61, 135, 138, 0.3);
}

[data-theme="dark"] {
    --cream: #0c1819;
    --bg-white: #122425;
    --text-dark: #e8f4f4;
    --text-muted: #8ebbbd;
    --primary-light: #122425;
    --border-color: #8ebbbd;
    --primary: #8ebbbd;

    /* Glassmorphism & Glossy Styling System - Dark Mode */
    --glass-bg: rgba(18, 36, 37, 0.55);
    --glass-bg-hover: rgba(18, 36, 37, 0.7);
    --glass-border: rgba(142, 187, 189, 0.15);
    --glass-border-hover: rgba(142, 187, 189, 0.3);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    --glass-shadow-hover: 0 12px 40px 0 rgba(0, 0, 0, 0.45);
    --glass-highlight: inset 0 1px 0px 0px rgba(255, 255, 255, 0.15);
    --glass-blur: blur(20px) saturate(170%);
    --glow-primary: rgba(142, 187, 189, 0.2);
}

/* Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    scroll-padding-top: 140px;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

body {
    font-family: var(--font-family-body);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    transition: color 0.3s ease;
    background-color: var(--cream);
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: 
        linear-gradient(
            125deg,
            rgba(61, 135, 138, 0.25) 0%,
            rgba(255, 255, 255, 0.0) 20%,
            rgba(7, 108, 24, 0.15) 35%,
            rgba(255, 255, 255, 0.0) 50%,
            rgba(61, 135, 138, 0.2) 65%,
            rgba(255, 255, 255, 0.0) 80%,
            rgba(7, 108, 24, 0.12) 100%
        );
}

[data-theme="dark"] body::before {
    background: 
        linear-gradient(
            125deg,
            rgba(61, 135, 138, 0.3) 0%,
            rgba(12, 24, 25, 0.0) 20%,
            rgba(7, 108, 24, 0.2) 35%,
            rgba(12, 24, 25, 0.0) 50%,
            rgba(142, 187, 189, 0.18) 65%,
            rgba(12, 24, 25, 0.0) 80%,
            rgba(7, 108, 24, 0.15) 100%
        );
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-headers);
    color: var(--primary);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.1;
    transition: color 0.3s ease;
}

p {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 550;
    line-height: 1.6;
}

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

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--cream);
}
::-webkit-scrollbar-thumb {
    background: var(--primary-medium);
    border-radius: 4px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 40px 0 80px 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 20px 0 60px 0;
    }
}

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

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    letter-spacing: -0.04em;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 24px;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
}

/* Custom Insurance Banner */
.insurance-promo-banner {
    position: relative;
    top: 0;
    width: 100%;
    min-height: var(--promo-height);
    height: auto;
    padding: 10px;
    background: linear-gradient(135deg, #ffffff 0%, rgba(61, 135, 138, 0.15) 100%);
    backdrop-filter: none;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    font-family: var(--font-family-headers);
    font-weight: 800;
    font-size: 0.9rem;
    color: var(--text-dark);
    text-align: center;
}

.insurance-promo-banner a {
    text-decoration: underline;
    margin-left: 6px;
    color: var(--primary);
    white-space: nowrap;
}

[data-theme="dark"] .insurance-promo-banner {
    background: #0c1819 linear-gradient(135deg, rgba(61, 135, 138, 0.4) 0%, rgba(12, 24, 25, 0.9) 100%);
    border-bottom: 1px solid rgba(142, 187, 189, 0.15);
    color: #e8f4f4;
}

[data-theme="dark"] .insurance-promo-banner a {
    color: #8ebbbd;
}

.insurance-promo-banner a:hover {
    text-decoration: none;
}

.mobile-break {
    display: none;
}

/* Sticky Header Navigation */
.header {
    /* Enforce dark-mode theme variables for header and its dropdowns */
    --cream: #0c1819;
    --bg-white: #122425;
    --text-dark: #e8f4f4;
    --text-muted: #8ebbbd;
    --primary-light: #122425;
    --border-color: #8ebbbd;
    --primary: #8ebbbd;
    
    /* Glassmorphism & Glossy Styling System - Dark Mode */
    --glass-bg: rgba(18, 36, 37, 0.55);
    --glass-bg-hover: rgba(18, 36, 37, 0.7);
    --glass-border: rgba(142, 187, 189, 0.15);
    --glass-border-hover: rgba(142, 187, 189, 0.3);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    --glass-shadow-hover: 0 12px 40px 0 rgba(0, 0, 0, 0.45);
    --glass-highlight: inset 0 1px 0px 0px rgba(255, 255, 255, 0.15);
    --glass-blur: blur(20px) saturate(170%);
    --glow-primary: rgba(142, 187, 189, 0.2);
    
    position: absolute;
    top: auto;
    margin-top: 12px;
    left: 24px;
    right: 24px;
    width: auto;
    height: var(--header-height);
    background: rgba(12, 24, 25, 0.32);
    backdrop-filter: blur(28px) saturate(200%);
    -webkit-backdrop-filter: blur(28px) saturate(200%);
    border: 1px solid rgba(142, 187, 189, 0.15);
    border-radius: var(--border-radius-card);
    box-shadow:
        inset 0 1px 0 0 rgba(255, 255, 255, 0.05),
        inset 0 -1px 0 0 rgba(255, 255, 255, 0.02),
        0 8px 40px rgba(0, 0, 0, 0.25);
    z-index: 999;
    transition: var(--transition-spring);
    padding: 0 12px;
}

.header.scrolled {
    top: calc(var(--promo-height) + 8px);
    height: 64px;
    background: rgba(12, 24, 25, 0.45);
    border: 1px solid rgba(142, 187, 189, 0.24);
    box-shadow:
        inset 0 1px 0 0 rgba(255, 255, 255, 0.07),
        0 12px 48px rgba(0, 0, 0, 0.3);
}

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

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 48px;
    width: 48px;
    border-radius: 50%;
    border: 2px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: var(--glass-blur);
}

.brand-name {
    font-family: var(--font-family-headers);
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--text-dark);
    letter-spacing: -0.04em;
    line-height: 1;
}

.brand-tagline {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

nav {
    height: 100%;
}

/* Hover-Dropdown Menus */
.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    height: 100%;
}

.nav-item {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-link {
    font-family: var(--font-family-headers);
    font-weight: 800;
    font-size: 1rem;
    color: var(--text-dark);
    padding: 0 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 100%;
    white-space: nowrap;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.nav-link i {
    font-size: 1.1rem;
    transition: var(--transition);
}

.nav-item:hover .nav-link i {
    transform: rotate(180deg);
}

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

.nav-link.active {
    color: var(--text-dark);
    text-shadow: none;
    position: relative;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 14px;
    right: 14px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

/* On inner pages while header overlaps the dark page-hero, use white active/hover */
body.over-hero .nav-link:hover {
    color: var(--bg-white);
    opacity: 1;
}

body.over-hero .nav-link.active {
    color: var(--bg-white);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

body.over-hero .nav-link.active::after {
    background: var(--bg-white);
}

.nav-submenu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-sm);
    padding: 16px;
    min-width: 220px;
    box-shadow: var(--glass-highlight), var(--glass-shadow-hover);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-spring);
    z-index: 100;
}

/* .header.scrolled .nav-submenu top adjustment removed as top: 100% handles this naturally */

.nav-item:hover .nav-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-submenu-link {
    display: block;
    padding: 12px 16px;
    border-radius: 8px;
    font-family: var(--font-family-headers);
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: var(--transition);
}

.nav-submenu-link:hover {
    background-color: var(--primary-light);
    color: var(--primary);
    padding-left: 20px;
}

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

.theme-toggle {
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-dark);
    cursor: pointer;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    transition: var(--transition);
}

.theme-toggle:hover {
    background: var(--primary-light);
    transform: scale(1.05);
}

.menu-toggle {
    display: none;
    font-size: 1.8rem;
    color: var(--text-dark);
    cursor: pointer;
}

@media (max-width: 992px) {
    :root {
        --promo-height: 90px;
    }

    .insurance-promo-banner {
        flex-direction: column;
        gap: 6px;
        padding-top: 12px;
        padding-bottom: 12px;
        background: linear-gradient(135deg, #ffffff 20%, #3d878a 100%);
    }
    
    .insurance-promo-banner a {
        margin-left: 0;
    }

    .menu-toggle {
        display: block;
    }

    .header {
        left: 12px;
        right: 12px;
    }
    
    .nav-menu {
        position: absolute;
        top: calc(100% + 12px);
        left: -110vw;
        width: 100%;
        height: calc(100vh - var(--header-height) - var(--promo-height) - 20px);
        background: rgba(255, 255, 255, 0.85);
        --text-dark: #122425;
        --text-muted: #5e7a7d;
        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
        flex-direction: column;
        align-items: center;
        padding-top: 40px;
        transition: var(--transition);
        border: 1px solid rgba(255, 255, 255, 0.6);
        border-radius: 20px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
        gap: 16px;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }

    [data-theme="dark"] .nav-menu {
        background: rgba(12, 24, 25, 0.85);
        border: 1px solid rgba(142, 187, 189, 0.15);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
        --text-dark: #e8f4f4;
        --text-muted: #8ebbbd;
    }

    .nav-actions .btn {
        display: none;
    }
    
    .nav-item {
        width: 100%;
        height: auto;
        flex-direction: column;
        align-items: center;
    }
    
    .nav-link {
        width: 100%;
        justify-content: center;
        padding: 16px 0;
        height: auto;
    }
    
    .nav-submenu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border: none;
        width: 100%;
        padding: 0;
        background: transparent;
        display: none;
        text-align: center;
    }
    
    .nav-item:hover .nav-submenu {
        transform: none;
    }
    
    .nav-item.active .nav-submenu {
        display: block;
    }
}

/* Expressable Pill Buttons */
/* Expressable Pill Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 34px;
    border-radius: var(--border-radius-pill);
    font-family: var(--font-family-headers);
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    border: 1px solid var(--glass-border);
    transition: var(--transition-spring);
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 100%), var(--primary);
    color: var(--bg-white);
    box-shadow: var(--glass-highlight), 0 4px 12px rgba(61, 135, 138, 0.15);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 30%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    transition: 0.5s;
    pointer-events: none;
}

.btn-primary:hover::after {
    left: 150%;
}

.btn-primary:hover {
    background: linear-gradient(135deg, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0.05) 100%), var(--primary-medium);
    color: var(--bg-white);
    transform: translateY(-2px);
    box-shadow: var(--glass-highlight), 0 8px 24px rgba(61, 135, 138, 0.35), 0 0 15px var(--glow-primary);
}

.btn-secondary {
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 100%), var(--primary-medium);
    color: var(--bg-white);
    box-shadow: var(--glass-highlight), 0 4px 12px rgba(61, 135, 138, 0.1);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0.05) 100%), var(--primary);
    color: var(--bg-white);
    transform: translateY(-2px);
    box-shadow: var(--glass-highlight), 0 8px 24px rgba(61, 135, 138, 0.25), 0 0 15px var(--glow-primary);
}

/* Bright press states — prevent browser default dimming */
.btn-primary:active {
    transform: translateY(0) scale(0.97);
    background: linear-gradient(135deg, rgba(255,255,255,0.35) 0%, rgba(255,255,255,0.1) 100%), var(--primary);
    box-shadow: 0 0 20px var(--glow-primary), 0 0 40px rgba(61, 135, 138, 0.3), var(--glass-highlight);
    filter: brightness(1.15);
}

.btn-secondary:active {
    transform: translateY(0) scale(0.97);
    background: linear-gradient(135deg, rgba(255,255,255,0.35) 0%, rgba(255,255,255,0.1) 100%), var(--primary-medium);
    box-shadow: 0 0 20px var(--glow-primary), 0 0 40px rgba(61, 135, 138, 0.3), var(--glass-highlight);
    filter: brightness(1.15);
}

.btn-outline:active {
    transform: translateY(0) scale(0.97);
    background: var(--primary);
    color: var(--bg-white);
    box-shadow: 0 0 20px var(--glow-primary), var(--glass-highlight);
    filter: brightness(1.1);
}

.btn-outline {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    color: var(--primary);
    box-shadow: var(--glass-highlight), var(--glass-shadow);
}

.btn-outline:hover {
    background: var(--glass-bg-hover);
    border-color: var(--glass-border-hover);
    transform: translateY(-2px);
    box-shadow: var(--glass-highlight), var(--glass-shadow-hover), 0 0 15px var(--glow-primary);
}

/* Expressable Hero Section */
.hero-expressable {
    --primary: #8ebbbd;
    --text-dark: #e8f4f4;
    --text-muted: #8ebbbd;
    --bg-white: #122425;
    
    /* Glassmorphism & Glossy Styling System - Dark Mode */
    --glass-bg: rgba(18, 36, 37, 0.55);
    --glass-bg-hover: rgba(18, 36, 37, 0.7);
    --glass-border: rgba(142, 187, 189, 0.15);
    --glass-border-hover: rgba(142, 187, 189, 0.3);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    --glass-shadow-hover: 0 12px 40px 0 rgba(0, 0, 0, 0.45);
    --glass-highlight: inset 0 1px 0px 0px rgba(255, 255, 255, 0.15);
    --glass-blur: blur(20px) saturate(170%);
    --glow-primary: rgba(142, 187, 189, 0.2);
    
    padding-top: calc(var(--header-height) + var(--promo-height) + 50px);
    padding-bottom: 50px;
    background-color: var(--bg-white);
    color: var(--text-dark); /* Ensure text respects the overridden variable */
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    transform-origin: center center;
    z-index: 0;
    opacity: 0.15;
    pointer-events: none;
}

.relative-z {
    position: relative;
    z-index: 1;
}

.hero-expressable h1 {
    font-size: 4.5rem;
    font-weight: 900;
    color: var(--primary);
    max-width: 850px;
    margin: 0 auto 24px auto;
    letter-spacing: -0.05em;
    line-height: 1.05;
}

.hero-rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-family-headers);
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--primary);
    margin-bottom: 30px;
}

.hero-rating-stars {
    color: var(--accent-gold);
    display: flex;
    gap: 3px;
}

.hero-expressable p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 780px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
}

.hero-ctas {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

/* Hero visual frame removed for background video */

@media (max-width: 768px) {
    .hero-expressable h1 {
        font-size: 2.75rem;
    }
    /* Mobile frame styling removed */
}

/* Trust Logos Bar */
.trust-bar {
    border-top: 2px solid var(--border-color);
    border-bottom: 2px solid var(--border-color);
    padding: 30px 0;
    background-color: var(--primary-light);
    text-align: center;
}

.trust-title {
    font-family: var(--font-family-headers);
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.trust-logos-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.trust-logo-item {
    font-family: var(--font-family-headers);
    font-weight: 900;
    font-size: 1.25rem;
    color: rgba(61, 135, 138, 0.4);
    letter-spacing: -0.5px;
}

/* How It Works Section */
.how-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.how-card {
    background-color: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-card);
    padding: 50px 35px;
    box-shadow: var(--shadow-flat);
    text-align: left;
    transition: var(--transition);
}

.how-card:hover {
    transform: translate(-4px, -4px);
    box-shadow: 0 8px 0 var(--border-color);
}

.how-step-badge {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    background-color: var(--primary-light);
    color: var(--primary);
    font-family: var(--font-family-headers);
    font-weight: 900;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.how-card h3 {
    font-size: 1.6rem;
    font-weight: 900;
    margin-bottom: 16px;
    letter-spacing: -0.03em;
}

.how-card p {
    font-size: 1rem;
    color: var(--text-muted);
}

/* ===================================
   Unified Pediatric Ecosystem Section
   =================================== */

/* Split Content Layout */
.split-content-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

@media (max-width: 992px) {
    .split-content-section {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Visual Image Card */
.bold-image-card {
    border-radius: var(--border-radius-card);
    overflow: hidden;
    position: relative;
    box-shadow: var(--glass-shadow);
    border: 1px solid var(--glass-border);
}

.bold-image-card img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.bold-image-card:hover img {
    transform: scale(1.05);
}

/* Glossy shimmer overlay on image card */
.bold-image-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%, rgba(61,135,138,0.08) 100%);
    pointer-events: none;
}

/* Feature List */
.large-feature-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Feature Item */
.large-feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 28px 24px;
    border-radius: 16px;
    position: relative;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1), background 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: default;
    overflow: hidden;
}

/* Gloss sweep on feature items */
.large-feature-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    transition: 0.65s ease;
    pointer-events: none;
}

.large-feature-item:hover::after {
    left: 130%;
}

.large-feature-item:hover {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    box-shadow: var(--glass-highlight), var(--glass-shadow);
    transform: translateX(8px);
}

/* Step Number Badge */
.large-feature-num {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-family-headers);
    font-weight: 900;
    font-size: 1.2rem;
    color: var(--primary);
    background: rgba(61, 135, 138, 0.08);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-highlight);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

/* Pulsing ring on hover */
.large-feature-item:hover .large-feature-num {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 0 6px rgba(61, 135, 138, 0.15), 0 4px 16px rgba(61, 135, 138, 0.3);
    transform: rotate(-8deg) scale(1.1);
}

/* Feature Content */
.large-feature-content h4 {
    font-family: var(--font-family-headers);
    font-size: 1.2rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: var(--text-dark);
    margin-bottom: 6px;
    transition: color 0.3s ease;
}

.large-feature-item:hover .large-feature-content h4 {
    color: var(--primary);
}

.large-feature-content p {
    font-family: var(--font-family-body);
    font-size: 0.92rem;
    font-weight: 500;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0;
}

/* Entrance animation for feature items */
@keyframes featureSlideIn {
    0% {
        opacity: 0;
        transform: translateX(-30px) scale(0.96);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.large-feature-item.revealed {
    animation: featureSlideIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.large-feature-item:nth-child(1).revealed { animation-delay: 0.1s; }
.large-feature-item:nth-child(2).revealed { animation-delay: 0.25s; }
.large-feature-item:nth-child(3).revealed { animation-delay: 0.4s; }

/* ============================
   Intake Timeline Section
   ============================ */

.intake-timeline-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 56px;
    position: relative;
}

/* Connecting line through all steps */
.intake-timeline-grid::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 12.5%;
    right: 12.5%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-medium), #22c55e, #38bdf8);
    border-radius: 2px;
    z-index: 0;
    opacity: 0.3;
}

@media (max-width: 992px) {
    .intake-timeline-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
    .intake-timeline-grid::before {
        display: none;
    }
}

@media (max-width: 576px) {
    .intake-timeline-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* Timeline Block */
.intake-timeline-block {
    text-align: center;
    padding: 24px 20px;
    position: relative;
    z-index: 1;
    border-radius: var(--border-radius-card);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1), background 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: default;
}

.intake-timeline-block:hover {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    box-shadow: var(--glass-highlight), var(--glass-shadow);
    transform: translateY(-8px);
}

/* Step Number Circle */
.intake-step-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto 24px auto;
    font-family: var(--font-family-headers);
    font-weight: 900;
    font-size: 1.3rem;
    color: var(--primary);
    background: rgba(61, 135, 138, 0.08);
    border: 2px solid var(--glass-border);
    box-shadow: var(--glass-highlight), inset 0 -2px 6px rgba(61, 135, 138, 0.06);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), background 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1), color 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

/* Animated ring pulse */
.intake-step-num::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.intake-timeline-block:hover .intake-step-num {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 4px 20px rgba(61, 135, 138, 0.35);
    transform: scale(1.15);
}

.intake-timeline-block:hover .intake-step-num::before {
    opacity: 0.3;
    transform: scale(1);
    animation: intakeRipple 1.5s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

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

/* Per-step accent colors */
.intake-timeline-block:nth-child(1) .intake-step-num { color: #3d878a; background: rgba(61,135,138,0.08); }
.intake-timeline-block:nth-child(1):hover .intake-step-num { background: #3d878a; }
.intake-timeline-block:nth-child(2) .intake-step-num { color: #076c18; background: rgba(7,108,24,0.08); }
.intake-timeline-block:nth-child(2):hover .intake-step-num { background: #076c18; }
.intake-timeline-block:nth-child(3) .intake-step-num { color: #15803d; background: rgba(21,128,61,0.08); }
.intake-timeline-block:nth-child(3):hover .intake-step-num { background: #15803d; }
.intake-timeline-block:nth-child(4) .intake-step-num { color: #0369a1; background: rgba(3,105,161,0.08); }
.intake-timeline-block:nth-child(4):hover .intake-step-num { background: #0369a1; }

/* Timeline headings */
.intake-timeline-block h4 {
    font-family: var(--font-family-headers);
    font-size: 1.2rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: var(--text-dark);
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.intake-timeline-block:hover h4 {
    color: var(--primary);
}

/* Timeline descriptions */
.intake-timeline-block p {
    font-family: var(--font-family-body);
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0;
    max-width: 240px;
    margin-left: auto;
    margin-right: auto;
}

/* Entrance animation for timeline blocks */
@keyframes timelinePopIn {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    60% {
        transform: translateY(-6px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.intake-timeline-block.revealed {
    animation: timelinePopIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.intake-timeline-block:nth-child(1).revealed { animation-delay: 0.1s; }
.intake-timeline-block:nth-child(2).revealed { animation-delay: 0.22s; }
.intake-timeline-block:nth-child(3).revealed { animation-delay: 0.34s; }
.intake-timeline-block:nth-child(4).revealed { animation-delay: 0.46s; }

/* Expressable Age Tabs / Split grids */
.split-grid-expressable {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 992px) {
    .split-grid-expressable {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.expressable-visual-card {
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-flat);
}

.expressable-visual-card img {
    width: 100%;
    display: block;
    height: auto;
}

.care-bullet-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    list-style: none;
    margin-top: 30px;
}

.care-bullet-item {
    display: flex;
    gap: 16px;
}

.care-bullet-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: var(--primary);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.care-bullet-content h4 {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.care-bullet-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Expressable Treatment Directory Grid */
.treatment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-top: 50px;
}

.treatment-item-box {
    background-color: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 24px 30px;
    font-family: var(--font-family-headers);
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition);
    cursor: pointer;
}

.treatment-item-box:hover {
    background-color: var(--primary-light);
    transform: translate(-2px, -2px);
    box-shadow: 0 4px 0 var(--border-color);
}

.treatment-item-box i {
    font-size: 1.25rem;
    color: var(--primary-medium);
}

/* Milestone Screening Wizard Dashboard */
/* ===================================
   Milestone Screening Wizard - Pediatric
   =================================== */
.checklist-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-card);
    box-shadow: var(--glass-highlight), var(--glass-shadow);
    padding: 36px 40px;
    margin-top: 40px;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
}

/* Playful floating shapes behind the card */
.checklist-card::before {
    content: '';
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(61,135,138,0.08) 0%, transparent 70%);
    top: -30px;
    right: -30px;
    pointer-events: none;
}

.checklist-card::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(234,179,8,0.06) 0%, transparent 70%);
    bottom: -20px;
    left: -20px;
    pointer-events: none;
}

@media (max-width: 768px) {
    .checklist-card {
        padding: 24px 20px;
        margin-top: 28px;
    }
}

/* Header with mascot, steps, status */
.checklist-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--glass-border);
    flex-wrap: wrap;
    gap: 12px;
    position: relative;
    z-index: 2;
}

.step-indicator {
    font-family: var(--font-family-headers);
    font-weight: 900;
    font-size: 1rem;
    color: var(--primary);
    background: rgba(61, 135, 138, 0.08);
    padding: 6px 16px;
    border-radius: var(--border-radius-pill);
    border: 1px solid var(--glass-border);
}

/* Rainbow gradient progress bar */
.checklist-progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(61, 135, 138, 0.06);
    border-radius: 3px;
    border: none;
    margin-top: 12px;
    position: relative;
    overflow: hidden;
}

.checklist-progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, #3d878a, #22c55e, #38bdf8, #a855f7);
    background-size: 300% 100%;
    width: 25%;
    border-radius: 3px;
    transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes progressShimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Wizard steps */
.checklist-wizard-step {
    display: none;
    position: relative;
    z-index: 2;
}

.checklist-wizard-step.active {
    display: block;
    animation: wizardSlideIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes wizardSlideIn {
    0% {
        opacity: 0;
        transform: translateX(20px) scale(0.97);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

/* Step Dots Navigation */
.wizard-step-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 28px;
    position: relative;
    z-index: 2;
}

.wizard-dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-family-headers);
    font-weight: 900;
    font-size: 0.85rem;
    color: var(--text-muted);
    background: rgba(61, 135, 138, 0.06);
    border: 1.5px solid var(--glass-border);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: default;
    flex-shrink: 0;
}

.wizard-dot.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(61, 135, 138, 0.12), 0 2px 8px rgba(61, 135, 138, 0.25);
    transform: scale(1.15);
}

.wizard-dot.completed {
    background: rgba(61, 135, 138, 0.15);
    color: var(--primary);
    border-color: var(--primary);
}

.wizard-dot-line {
    width: 40px;
    height: 2px;
    background: var(--glass-border);
    transition: background 0.4s ease;
    flex-shrink: 0;
}

.wizard-dot-line.completed {
    background: var(--primary);
}

/* Question title */
.checklist-question {
    font-family: var(--font-family-headers);
    font-size: 1.25rem;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 8px;
    color: var(--primary);
    letter-spacing: -0.02em;
}

/* Question description */
.checklist-question-desc {
    font-family: var(--font-family-body);
    font-size: 0.92rem;
    font-weight: 500;
    line-height: 1.55;
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* Option icon indicators */
.checklist-opt-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.checklist-opt-icon.opt-yes {
    color: var(--success, #22c55e);
}

.checklist-opt-icon.opt-no {
    color: var(--accent-gold);
}

.checklist-option-label:hover .checklist-opt-icon {
    transform: scale(1.2);
}

/* Option cards - colorful and playful */
.checklist-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.checklist-option-label {
    background: rgba(61, 135, 138, 0.04);
    border: 1.5px solid var(--glass-border);
    border-radius: 14px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    font-family: var(--font-family-body);
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--text-dark);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

/* Gloss sweep on option hover */
.checklist-option-label::after {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.25) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    transition: 0.5s ease;
    pointer-events: none;
}

.checklist-option-label:hover::after {
    left: 130%;
}

.checklist-option-label:hover {
    background: rgba(61, 135, 138, 0.1);
    border-color: var(--primary);
    transform: translateX(4px);
    box-shadow: 0 2px 12px rgba(61, 135, 138, 0.1);
}

/* Selected state */
.checklist-option-label:has(input:checked) {
    background: rgba(61, 135, 138, 0.12);
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(61, 135, 138, 0.1), 0 2px 12px rgba(61, 135, 138, 0.12);
}

.checklist-option-label input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    flex-shrink: 0;
}

/* Nav buttons - compact */
.checklist-nav-buttons {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    position: relative;
    z-index: 2;
}

.checklist-nav-buttons .btn {
    font-size: 0.88rem;
    padding: 10px 24px;
}

/* Results panel */
.checklist-result-box {
    display: none;
    text-align: center;
    animation: wizardSlideIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    position: relative;
    z-index: 2;
}

.result-icon {
    font-size: 3.5rem;
    margin-bottom: 16px;
    animation: resultBounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes resultBounce {
    0% { transform: scale(0); opacity: 0; }
    60% { transform: scale(1.2); }
    100% { transform: scale(1); opacity: 1; }
}

.result-title {
    font-family: var(--font-family-headers);
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.result-desc {
    font-family: var(--font-family-body);
    font-size: 0.92rem;
    font-weight: 500;
    line-height: 1.6;
    color: var(--text-muted);
    max-width: 520px;
    margin: 0 auto 24px auto;
}

.result-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.result-actions .btn {
    font-size: 0.88rem;
    padding: 10px 24px;
}

/* ===================================
   Google Reviews Grid
   =================================== */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 48px;
}

@media (max-width: 1024px) {
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .reviews-grid {
        grid-template-columns: 1fr;
    }
}

/* Individual review card */
.review-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-card);
    box-shadow: var(--glass-highlight), var(--glass-shadow);
    padding: 28px;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.review-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.12) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-20deg);
    transition: 0.6s ease;
    pointer-events: none;
}

.review-card:hover::before {
    left: 140%;
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--glass-highlight), 0 12px 32px rgba(61, 135, 138, 0.12);
    border-color: rgba(61, 135, 138, 0.2);
}

/* Card header: avatar + name + google icon */
.review-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #2a6b6e);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-family-headers);
    font-weight: 900;
    font-size: 0.85rem;
    color: #fff;
    flex-shrink: 0;
    letter-spacing: 0.02em;
}

.review-meta {
    flex: 1;
    min-width: 0;
}

.review-author {
    font-family: var(--font-family-headers);
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0;
    letter-spacing: -0.01em;
}

.review-badge-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 2px;
    flex-wrap: wrap;
}

.review-badge {
    font-family: var(--font-family-body);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--primary);
    background: rgba(61, 135, 138, 0.08);
    padding: 2px 8px;
    border-radius: var(--border-radius-pill);
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.review-time {
    font-family: var(--font-family-body);
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.review-google-icon {
    font-size: 1.4rem;
    color: #4285f4;
    flex-shrink: 0;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.review-card:hover .review-google-icon {
    opacity: 1;
}

/* Stars */
.review-stars {
    color: var(--accent-gold);
    font-size: 0.9rem;
    margin-bottom: 12px;
    display: flex;
    gap: 1px;
}

/* Review text — truncated with read more */
.review-text {
    font-family: var(--font-family-body);
    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1.65;
    color: var(--text-dark);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.review-text.expanded {
    -webkit-line-clamp: unset;
    overflow: visible;
}

/* Read more button */
.review-read-more {
    background: none;
    border: none;
    color: var(--primary);
    font-family: var(--font-family-headers);
    font-size: 0.8rem;
    font-weight: 800;
    cursor: pointer;
    padding: 6px 0 0 0;
    transition: color 0.3s ease;
    display: inline-block;
}

.review-read-more:hover {
    color: var(--primary-medium);
    text-decoration: underline;
}

/* CTA link below grid */
.reviews-cta {
    text-align: center;
    margin-top: 36px;
}

.reviews-cta .btn i {
    color: #4285f4;
}

/* Accordion FAQ */
.faqs-container {
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    transition: var(--transition);
}

.faq-question {
    padding: 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--primary);
    font-family: var(--font-family-headers);
    user-select: none;
}

.faq-icon {
    font-size: 1.35rem;
    transition: var(--transition);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 24px;
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.active,
.faq-item:hover {
    background-color: var(--primary-light);
    box-shadow: var(--shadow-flat);
}

.faq-item.active .faq-icon,
.faq-item:hover .faq-icon {
    transform: rotate(180deg);
    color: var(--primary-medium);
}

.faq-item.active .faq-answer,
.faq-item:hover .faq-answer {
    max-height: 400px; /* Increased from 200px to ensure longer answers fit when hovered */
    padding: 0 24px 24px 24px;
}

/* Glassmorphic Multi-step Scheduling Modal Widget */
.booking-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    padding: 20px;
}

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

.booking-modal-content {
    background: #ffffff;
    border: 1px solid var(--glass-border);
    max-width: 600px;
    width: 100%;
    border-radius: var(--border-radius-card);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 90vh;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] .booking-modal-content {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    box-shadow: var(--glass-highlight), var(--glass-shadow-hover);
}

.booking-modal.active .booking-modal-content {
    transform: scale(1) translateY(0);
}

.booking-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.6rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.booking-modal-close:hover {
    color: var(--danger);
    transform: rotate(90deg);
}

.booking-modal-body {
    padding: 45px;
}

@media (max-width: 768px) {
    .booking-modal-body {
        padding: 30px 20px;
    }
}

.booking-step {
    display: none;
}

.booking-step.active {
    display: block;
    animation: fadeInUp 0.4s ease forwards;
}

.booking-step-title {
    font-size: 1.75rem;
    font-weight: 900;
    margin-bottom: 8px;
}

.booking-step-subtitle {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 28px;
}

/* Form Styles */
.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-family: var(--font-family-headers);
    font-weight: 800;
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.15);
    color: var(--text-dark);
    font-family: inherit;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: var(--glass-highlight), inset 0 1px 3px rgba(61, 135, 138, 0.04);
    transition: var(--transition-spring);
}

select.form-control option {
    background-color: var(--bg-white);
    color: var(--text-dark);
}

.form-control:focus {
    outline: none;
    border-color: var(--glass-border-hover);
    background-color: rgba(255, 255, 255, 0.45);
    box-shadow: var(--glass-highlight), 0 0 15px var(--glow-primary);
    transform: translateY(-1px);
}

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

@media (max-width: 576px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

.form-buttons {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 32px;
}

/* Inner Page Hero Block */
.page-hero {
    position: relative;
    width: 100%;
    min-height: 320px;
    height: auto;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    text-align: center;
    padding-top: calc(var(--header-height) + var(--promo-height) + 20px);
    padding-bottom: 40px;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(61, 135, 138, 0.9), rgba(61, 135, 138, 0.95));
    z-index: 1;
}

.page-hero-content {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--bg-white) !important;
    margin-bottom: 12px;
}

@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 2.2rem;
    }
}

.page-breadcrumbs {
    font-family: var(--font-family-headers);
    font-size: 1rem;
    font-weight: 700;
}

.page-breadcrumbs a {
    color: rgba(255, 255, 255, 0.7);
}

.page-breadcrumbs a:hover {
    color: var(--primary-medium);
}

/* ===================================
   Why Rapture — Origin Story
   =================================== */

.why-rapture-section {
    background: linear-gradient(135deg, #f0f7f7 0%, #e8f4f0 100%);
    color: var(--text-dark);
}

[data-theme="dark"] .why-rapture-section {
    background: linear-gradient(135deg, #0f2b30 0%, #1a3a4d 100%);
    color: #fff;
}

[data-theme="dark"] .why-rapture-section h2 {
    color: #fff;
}

[data-theme="dark"] .why-rapture-section h3 {
    color: #fff;
}

[data-theme="dark"] .why-rapture-section h2 em {
    color: var(--secondary);
}

[data-theme="dark"] .why-rapture-section .why-rapture-body {
    color: rgba(255, 255, 255, 0.85);
}

[data-theme="dark"] .why-rapture-section .why-rapture-subtitle {
    color: rgba(255, 255, 255, 0.5);
}

[data-theme="dark"] .why-rapture-section .why-rapture-divider {
    border-color: rgba(255, 255, 255, 0.15);
}

[data-theme="dark"] .why-rapture-section .why-rapture-pillar-divider {
    border-color: rgba(255, 255, 255, 0.15);
}

[data-theme="dark"] .why-rapture-section .why-rapture-pillar-label {
    color: rgba(255, 255, 255, 0.5);
}

[data-theme="dark"] .why-rapture-section .why-rapture-rapture-title {
    color: var(--secondary);
}

/* ===================================
   Founder Spotlight — Dominant Split
   =================================== */

.founder-spotlight {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.founder-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    min-height: 520px;
}

.founder-image-side {
    position: relative;
    overflow: hidden;
}

.founder-image-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.founder-content-side {
    background: var(--primary-dark, #1a4a4d);
    color: #fff;
    display: flex;
    align-items: center;
    padding: 60px 50px;
}

.founder-content-inner {
    width: 100%;
}

.founder-label {
    font-family: var(--font-family-headers);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 8px;
}

.founder-name {
    font-family: var(--font-family-headers);
    font-size: 2.6rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 28px;
    line-height: 1.15;
}

.founder-name em {
    font-style: italic;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
}

.founder-bio {
    font-size: 0.95rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 16px;
}

.founder-credentials {
    list-style: none;
    padding: 0;
    margin: 12px 0 0 0;
}

.founder-credentials li {
    position: relative;
    padding-left: 24px;
    font-size: 0.92rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 10px;
}

.founder-credentials li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-medium, #5ec4c8);
    font-weight: 700;
}

.founder-bottom-line {
    margin-top: 40px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.founder-bottom-label {
    font-family: var(--font-family-headers);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.45);
    display: block;
    margin-bottom: 8px;
}

.founder-bottom-left p {
    font-size: 0.9rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
}

.founder-bottom-left p em {
    font-style: italic;
    color: rgba(255, 255, 255, 0.95);
}

.founder-cta {
    white-space: nowrap;
    border-color: rgba(255, 255, 255, 0.4) !important;
    color: #fff !important;
    padding: 10px 24px !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em;
    border-radius: 6px;
}

.founder-cta:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: #fff !important;
}

@media (max-width: 900px) {
    .founder-split {
        grid-template-columns: 1fr;
    }
    .founder-image-side {
        height: 400px;
    }
    .founder-content-side {
        padding: 40px 30px;
    }
    .founder-name {
        font-size: 2rem;
    }
    .founder-bottom-line {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Contact Coordinates Grids & Location maps */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 40px;
    margin-bottom: 60px;
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact-card-box {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-card);
    padding: 45px;
    box-shadow: var(--glass-highlight), var(--glass-shadow);
    transition: var(--transition-spring);
}

.contact-card-box:hover {
    box-shadow: var(--glass-highlight), var(--glass-shadow-hover), 0 0 24px var(--glow-primary);
}

.contact-detail-item {
    display: flex;
    gap: 16px;
    margin-bottom: 30px;
}

.contact-detail-item:last-child {
    margin-bottom: 0;
}

.contact-detail-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    background: rgba(61, 135, 138, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: var(--glass-highlight);
}

.contact-detail-content h4 {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.contact-detail-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.contact-form-box {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-card);
    padding: 45px;
    box-shadow: var(--glass-highlight), var(--glass-shadow);
    transition: var(--transition-spring);
}

.contact-form-box:hover {
    box-shadow: var(--glass-highlight), var(--glass-shadow-hover), 0 0 24px var(--glow-primary);
}

.map-container {
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-card);
    overflow: hidden;
    box-shadow: var(--glass-highlight), var(--glass-shadow);
    height: 450px;
    width: 100%;
    transition: var(--transition-spring);
}

.map-container:hover {
    box-shadow: var(--glass-highlight), var(--glass-shadow-hover), 0 0 24px var(--glow-primary);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Expressable Styled Footer */
.footer {
    background: #102627; /* Deep teal slate matching original Rapture theme */
    color: #a7c5c6;
    padding: 90px 0 40px 0;
    border-top: 2px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: 40px;
    margin-bottom: 50px;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-col h3 {
    color: var(--bg-white) !important;
    font-size: 1.25rem;
    font-weight: 850;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.footer-desc {
    margin-bottom: 24px;
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #1a3c3e;
    background: rgba(255, 255, 255, 0.03);
    color: #a7c5c6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
}

.footer-social-link:hover {
    background: var(--primary-medium);
    color: var(--primary);
    border-color: var(--primary-medium);
    transform: translate(-1px, -1px);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 14px;
}

.footer-links a {
    font-size: 0.95rem;
    font-weight: 600;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--bg-white);
    padding-left: 6px;
}

.footer-contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.92rem;
}

.footer-contact-icon {
    color: var(--secondary);
    font-size: 1.2rem;
}

.footer-bottom {
    border-top: 2px solid #143031;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.88rem;
    font-weight: 600;
}

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

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

.fade-in-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-element.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Initial hidden states for scroll-reveal animations */
.large-feature-item {
    opacity: 0;
    transform: translateX(-30px) scale(0.96);
}

.intake-timeline-block {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
}

/* ==========================================================================
   Expressable-Inspired Premium Custom Upgrades & Animations
   ========================================================================== */

/* Mascot Characters ("Rapture Pals") */
.rapture-mascot {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    pointer-events: auto;
    transition: transform 0.4s ease;
}

.rapture-mascot:hover {
    transform: translateY(-6px);
}

.rapture-mascot svg {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 8px 16px rgba(61, 135, 138, 0.15));
    transition: var(--transition-spring);
}

.rapture-mascot:hover svg {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 12px 24px rgba(61, 135, 138, 0.25));
}

/* Character eye blink animation - only when visible */
.mascot-eye-left, .mascot-eye-right {
    transform-origin: center;
}

@keyframes mascotFloat {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    100% {
        transform: translateY(-12px) rotate(2deg);
    }
}

@keyframes mascotBlink {
    0%, 90%, 100% {
        transform: scaleY(1);
    }
    95% {
        transform: scaleY(0.1);
    }
}

/* Kids vs. Adults Tab Toggler */
.tab-switcher-wrapper {
    display: flex;
    justify-content: center;
    margin: 40px auto 20px auto;
    max-width: 420px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-pill);
    padding: 6px;
    position: relative;
    box-shadow: var(--glass-highlight), var(--glass-shadow);
}

.tab-switcher-slider {
    position: absolute;
    top: 6px;
    left: 6px;
    width: calc(50% - 6px);
    height: calc(100% - 12px);
    background: var(--primary);
    border-radius: var(--border-radius-pill);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 1;
}

.tab-switcher-wrapper.adult-active .tab-switcher-slider {
    transform: translateX(100%);
}

.tab-btn {
    flex: 1;
    border: none;
    background: transparent;
    padding: 14px 28px;
    font-family: var(--font-family-headers);
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--primary);
    cursor: pointer;
    border-radius: var(--border-radius-pill);
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
    text-align: center;
}

.tab-btn.active {
    color: var(--bg-white) !important;
}

.tab-switcher-wrapper.adult-active .tab-btn-kids {
    color: var(--primary);
}

.tab-switcher-wrapper.adult-active .tab-btn-adults {
    color: var(--bg-white);
}

/* Tab Panels content */
.tab-content-container {
    position: relative;
    width: 100%;
}

.tab-content-panel {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.tab-content-panel.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Cost & Insurance Estimator Section */
.estimator-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-card);
    box-shadow: var(--glass-highlight), var(--glass-shadow);
    padding: 50px;
    max-width: 950px;
    margin: 50px auto 0 auto;
    transition: var(--transition-spring);
}

.estimator-card:hover {
    box-shadow: var(--glass-highlight), var(--glass-shadow-hover), 0 0 32px var(--glow-primary);
}

@media (max-width: 768px) {
    .estimator-card {
        padding: 30px 20px;
    }
}

.estimator-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: center;
    text-align: left;
}

@media (max-width: 992px) {
    .estimator-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

.estimator-inputs {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.estimator-results {
    background: rgba(61, 135, 138, 0.08);
    border: 1px dashed var(--glass-border);
    border-radius: var(--border-radius-sm);
    padding: 35px 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: var(--transition-spring);
    box-shadow: var(--glass-highlight), inset 0 2px 8px rgba(61, 135, 138, 0.05);
}

.estimator-results:hover {
    transform: translateY(-4px);
    background: rgba(61, 135, 138, 0.12);
    border-style: solid;
    border-color: var(--glass-border-hover);
    box-shadow: var(--glass-highlight), var(--glass-shadow-hover), 0 0 15px var(--glow-primary);
}

.estimator-price-tag {
    font-family: var(--font-family-headers);
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--secondary);
    letter-spacing: -0.05em;
    line-height: 1.1;
    margin: 12px 0;
}

.estimator-price-tag span {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-muted);
}

/* Custom Range Slider */
.slider-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.slider-header {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-family-headers);
    font-weight: 800;
    font-size: 1rem;
    color: var(--primary);
}

.slider-val-label {
    color: var(--secondary);
}

.estimator-range {
    -webkit-appearance: none;
    width: 100%;
    height: 10px;
    border-radius: 5px;
    background: var(--primary-light);
    border: 2px solid var(--border-color);
    outline: none;
    transition: opacity .2s;
}

.estimator-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary);
    border: 2px solid var(--bg-white);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.estimator-range::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    background: var(--secondary);
}

/* Cost Indicator Progress Bar */
.cost-meter-container {
    width: 100%;
    height: 12px;
    background: rgba(61, 135, 138, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    margin-top: 15px;
    overflow: hidden;
    position: relative;
}

.cost-meter-bar {
    height: 100%;
    width: 40%;
    background: linear-gradient(90deg, var(--primary-medium), var(--secondary));
    border-radius: 6px;
    transition: width 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Staggered Delay Utilities */
.stagger-1 { transition-delay: 0.1s !important; }
.stagger-2 { transition-delay: 0.2s !important; }
.stagger-3 { transition-delay: 0.3s !important; }
.stagger-4 { transition-delay: 0.4s !important; }

/* Enhanced Springy Hover States */
/* ==============================
   Service Specialty Cards System
   ============================== */

/* Grid layout for service cards */
.organic-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
    margin-top: 48px;
    text-align: left;
}

@media (max-width: 576px) {
    .organic-cards-grid {
        grid-template-columns: 1fr;
    }
}

/* Service Card Base */
.organic-card {
    background: var(--glass-bg) !important;
    border: 1px solid var(--glass-border) !important;
    border-radius: var(--border-radius-card) !important;
    box-shadow: var(--glass-highlight), var(--glass-shadow) !important;
    transition: var(--transition-spring) !important;
    padding: 40px 32px 32px 32px !important;
    display: flex !important;
    flex-direction: column !important;
    position: relative;
    overflow: hidden;
}

/* Diagonal gloss sweep on hover */
.organic-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.25) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    transition: 0.7s ease;
    pointer-events: none;
    z-index: 1;
}

.organic-card:hover::after {
    left: 150%;
}

/* Per-specialty accent top bar */
.organic-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: var(--border-radius-card) var(--border-radius-card) 0 0;
    background: var(--primary-medium);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.organic-card:hover::before {
    opacity: 1;
}

/* Specialty accent colors for the top bar */
.speech-card::before { background: linear-gradient(90deg, #3d878a, #54a6a9); }
.occupational-card::before { background: linear-gradient(90deg, #076c18, #0ea530); }
.education-card::before { background: linear-gradient(90deg, #15803d, #22c55e); }
.physio-card::before { background: linear-gradient(90deg, #0369a1, #38bdf8); }

.organic-card:hover {
    transform: translateY(-10px) scale(1.03) !important;
    background: var(--glass-bg-hover) !important;
    border-color: var(--glass-border-hover) !important;
    box-shadow: var(--glass-highlight), var(--glass-shadow-hover), 0 0 28px var(--glow-primary) !important;
}

/* Icon Box */
.organic-icon-box {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    background: rgba(61, 135, 138, 0.1);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-highlight), inset 0 -2px 6px rgba(61, 135, 138, 0.06);
    transition: var(--transition-spring);
    position: relative;
    z-index: 2;
}

.organic-icon-box i {
    font-size: 1.75rem;
    color: var(--primary);
    transition: var(--transition-spring);
}

.organic-card:hover .organic-icon-box {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 4px 20px rgba(61, 135, 138, 0.4);
    transform: translateY(-4px) rotate(-5deg) scale(1.1);
}

.organic-card:hover .organic-icon-box i {
    color: #fff;
    transform: scale(1.15);
}

/* Specialty-specific icon colors */
.speech-card .organic-icon-box { background: rgba(61, 135, 138, 0.1); }
.speech-card .organic-icon-box i { color: #3d878a; }
.speech-card:hover .organic-icon-box { background: #3d878a; }

.occupational-card .organic-icon-box { background: rgba(7, 108, 24, 0.08); }
.occupational-card .organic-icon-box i { color: #076c18; }
.occupational-card:hover .organic-icon-box { background: #076c18; }

.education-card .organic-icon-box { background: rgba(21, 128, 61, 0.08); }
.education-card .organic-icon-box i { color: #15803d; }
.education-card:hover .organic-icon-box { background: #15803d; }

.physio-card .organic-icon-box { background: rgba(3, 105, 161, 0.08); }
.physio-card .organic-icon-box i { color: #0369a1; }
.physio-card:hover .organic-icon-box { background: #0369a1; }

/* Card Headings */
.organic-card h3 {
    font-family: var(--font-family-headers);
    font-size: 1.4rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.2;
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

.organic-card:hover h3 {
    color: var(--primary);
}

/* Card Description */
.organic-card p {
    font-family: var(--font-family-body);
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.65;
    color: var(--text-muted);
    margin-bottom: 24px;
    flex: 1;
    position: relative;
    z-index: 2;
}

/* "Details" Link */
.organic-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-family-headers);
    font-weight: 800;
    font-size: 0.9rem;
    color: var(--primary);
    padding: 8px 20px;
    border-radius: var(--border-radius-pill);
    border: 1px solid var(--glass-border);
    background: rgba(61, 135, 138, 0.06);
    box-shadow: var(--glass-highlight);
    transition: var(--transition-spring);
    position: relative;
    z-index: 2;
    align-self: flex-start;
}

.organic-link i {
    font-size: 1rem;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.organic-link:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 4px 16px rgba(61, 135, 138, 0.35);
    transform: translateY(-2px);
}

.organic-link:hover i {
    transform: translateX(4px);
}

/* Entrance animation for cards */
@keyframes cardReveal {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.organic-card.revealed {
    animation: cardReveal 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.organic-card.stagger-1.revealed { animation-delay: 0.08s; }
.organic-card.stagger-2.revealed { animation-delay: 0.18s; }
.organic-card.stagger-3.revealed { animation-delay: 0.28s; }
.organic-card.stagger-4.revealed { animation-delay: 0.38s; }

.btn-primary, .btn-secondary, .btn-outline {
    transition: var(--transition-spring) !important;
}

.btn:hover {
    transform: translateY(-3px) scale(1.03) !important;
}

/* Floating Interactive Accents */
.hero-visual-frame {
    transition: var(--transition-spring);
}

.hero-visual-frame:hover {
    transform: scale(1.01) rotate(0.5deg);
}

.floating-hero-accent {
    position: absolute;
    background: var(--glass-bg-hover);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-sm);
    padding: 14px 20px;
    font-family: var(--font-family-headers);
    font-weight: 800;
    color: var(--primary);
    box-shadow: var(--glass-highlight), var(--glass-shadow);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10;
    pointer-events: none;
    transition: var(--transition-spring);
}

.floating-hero-accent i {
    font-size: 1.4rem;
    color: var(--secondary);
}

.accent-bubble-1 {
    top: 15%;
    left: -8%;
}

.accent-bubble-2 {
    bottom: 25%;
    right: -8%;
}

@keyframes floatMascot {
    0% { transform: translateY(0px) rotate(0deg); }
    100% { transform: translateY(-10px) rotate(-1deg); }
}

@media (max-width: 992px) {
    .floating-hero-accent {
        display: none;
    }
}

/* ==========================================================================
   Therapists and Blog Upgrades Styling
   ========================================================================== */

/* Therapists Layout */
.therapists-section {
    background: var(--bg-light);
}

.therapists-filters-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
}

.filter-badge {
    padding: 10px 24px;
    border-radius: var(--border-radius-pill);
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    color: var(--primary);
    font-family: var(--font-family-headers);
    font-weight: 800;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-spring);
    box-shadow: var(--glass-highlight), var(--glass-shadow);
}

.filter-badge:hover, .filter-badge.active {
    background: var(--primary);
    color: var(--bg-white) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--glow-primary);
}

.therapists-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 36px;
    margin-bottom: 40px;
}

.therapist-profile-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-card);
    overflow: hidden;
    box-shadow: var(--glass-highlight), var(--glass-shadow);
    transition: var(--transition-spring);
    display: flex;
    flex-direction: column;
    position: relative;
}

.therapist-profile-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    transition: 0.75s;
    pointer-events: none;
}

.therapist-profile-card:hover::after {
    left: 150%;
}

.therapist-profile-card:hover {
    transform: translateY(-8px) scale(1.02);
    background: var(--glass-bg-hover);
    border-color: var(--glass-border-hover);
    box-shadow: var(--glass-highlight), var(--glass-shadow-hover), 0 0 24px var(--glow-primary);
}

.therapist-image-box {
    position: relative;
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
    border-bottom: 1px solid var(--glass-border);
}

.therapist-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.therapist-profile-card:hover .therapist-image-box img {
    transform: scale(1.08);
}

.therapist-card-body {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.therapist-meta {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 8px;
}

.therapist-meta h3 {
    font-size: 1.45rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: var(--text-dark);
}

.therapist-credential {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 700;
    margin-bottom: 16px;
}

.therapist-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--accent-gold);
}

.therapist-rating i {
    font-size: 1rem;
}

.therapist-specialties {
    margin-bottom: 20px;
}

.therapist-specialties h5 {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.specialty-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.specialty-tag {
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(61, 135, 138, 0.08);
    border: 1px solid var(--glass-border);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
}

.therapist-footer {
    border-top: 1px dashed var(--glass-border);
    padding-top: 20px;
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.availability-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
}

.status-indicator-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
}

/* Blog/Learning Centre Layout */
.blog-search-box {
    max-width: 500px;
    margin: 0 auto 48px auto;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
}

.blog-post-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-card);
    overflow: hidden;
    box-shadow: var(--glass-highlight), var(--glass-shadow);
    transition: var(--transition-spring);
    display: flex;
    flex-direction: column;
    position: relative;
}

.blog-post-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    transition: 0.75s;
    pointer-events: none;
}

.blog-post-card:hover::after {
    left: 150%;
}

.blog-post-card:hover {
    transform: translateY(-8px) scale(1.02);
    background: var(--glass-bg-hover);
    border-color: var(--glass-border-hover);
    box-shadow: var(--glass-highlight), var(--glass-shadow-hover), 0 0 24px var(--glow-primary);
}

.blog-post-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    border-bottom: 1px solid var(--glass-border);
}

.blog-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-post-card:hover .blog-post-image img {
    transform: scale(1.08);
}

.blog-category-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--glass-bg-hover);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    padding: 6px 14px;
    border-radius: var(--border-radius-pill);
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--primary);
    box-shadow: var(--glass-highlight), var(--glass-shadow);
}

.blog-card-body {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-date {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 700;
    margin-bottom: 12px;
}

.blog-post-card h3 {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.25;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.blog-post-card h3 a {
    color: inherit;
    transition: var(--transition);
}

.blog-post-card h3 a:hover {
    color: var(--primary);
}

.blog-excerpt {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 24px;
    flex: 1;
}

.blog-read-more {
    font-family: var(--font-family-headers);
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.blog-read-more:hover {
    color: var(--secondary);
    gap: 10px;
}

/* Ambient Glowing Background Blobs */
.hero-expressable {
    position: relative;
    overflow: hidden;
}

/* Ambient Glowing Background Blobs (Removed due to Safari blur edge clamping bugs) */

/* Ensure hero content sits above the ambient glow */
.hero-expressable h1,
.hero-rating-badge,
.hero-expressable p,
.hero-ctas,
.hero-visual-frame {
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .hero-expressable::before,
    .hero-expressable::after {
        display: none;
    }
}

/* Cost & Package Estimator ambient glows */
.estimator-card {
    position: relative;
}

.estimator-card::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(61, 135, 138, 0.2) 0%, rgba(61, 135, 138, 0) 70%);
    filter: blur(40px);
    z-index: -1;
    pointer-events: none;
}

.estimator-card::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(7, 108, 24, 0.15) 0%, rgba(7, 108, 24, 0) 70%);
    filter: blur(40px);
    z-index: -1;
    pointer-events: none;
}

@keyframes pulseGlow {
    0% { transform: scale(1) translateY(0); opacity: 0.8; }
    100% { transform: scale(1.15) translateY(-10px); opacity: 1; }
}

/* ===================================
   Article Page Styles
   =================================== */
.article-hero-badge {
    display: inline-block;
    background: rgba(61, 135, 138, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-family: var(--font-family-headers);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 5px 16px;
    border-radius: var(--border-radius-pill);
    margin-bottom: 16px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.article-layout {
    max-width: 820px;
    margin: 0 auto;
}

.article-body {
    font-family: var(--font-family-body);
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.article-meta span {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.article-meta span i {
    color: var(--primary);
    font-size: 1rem;
}

.article-lead {
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.75;
    color: var(--text-dark);
    margin-bottom: 32px;
    padding-left: 20px;
    border-left: 3px solid var(--primary);
}

.article-body h2 {
    font-family: var(--font-family-headers);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-dark);
    margin: 40px 0 16px 0;
    letter-spacing: -0.02em;
}

.article-body h3 {
    font-family: var(--font-family-headers);
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 28px 0 12px 0;
}

.article-body p {
    font-size: 0.95rem;
    font-weight: 450;
    line-height: 1.75;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.article-body ul {
    margin: 0 0 20px 24px;
    padding: 0;
}

.article-body ul li {
    font-size: 0.95rem;
    font-weight: 450;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 8px;
    position: relative;
}

/* Callout box */
.article-callout {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-left: 4px solid var(--primary);
    border-radius: var(--border-radius-card);
    padding: 24px 28px;
    margin: 28px 0;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.article-callout > i {
    font-size: 1.5rem;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.article-callout p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.7;
}

/* Milestone table */
.article-table-wrap {
    margin: 28px 0;
    border-radius: var(--border-radius-card);
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.article-table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--font-family-body);
}

.article-table thead {
    background: linear-gradient(135deg, var(--primary), #2a6b6e);
}

.article-table th {
    font-family: var(--font-family-headers);
    font-size: 0.85rem;
    font-weight: 800;
    color: #fff;
    padding: 14px 20px;
    text-align: left;
    letter-spacing: 0.02em;
}

.article-table td {
    font-size: 0.88rem;
    font-weight: 450;
    line-height: 1.65;
    color: var(--text-dark);
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    vertical-align: top;
}

.article-table tbody tr {
    background: var(--glass-bg);
    transition: background 0.3s ease;
}

.article-table tbody tr:hover {
    background: rgba(61, 135, 138, 0.04);
}

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

.article-table td:first-child {
    font-family: var(--font-family-headers);
    font-weight: 800;
    color: var(--primary);
    white-space: nowrap;
    width: 140px;
}

@media (max-width: 640px) {
    .article-table td:first-child {
        white-space: normal;
        width: auto;
    }
}

/* CTA box */
.article-cta-box {
    background: linear-gradient(135deg, rgba(61, 135, 138, 0.06) 0%, rgba(61, 135, 138, 0.02) 100%);
    border: 1px solid rgba(61, 135, 138, 0.15);
    border-radius: var(--border-radius-card);
    padding: 36px;
    text-align: center;
    margin: 40px 0;
}

.article-cta-box h3 {
    font-family: var(--font-family-headers);
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--text-dark);
    margin: 0 0 12px 0;
}

.article-cta-box p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Article navigation */
.article-nav {
    margin-top: 48px;
    padding-top: 28px;
    border-top: 1px solid var(--border-color);
}

.article-nav-label {
    font-family: var(--font-family-headers);
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: block;
    margin-bottom: 16px;
}

.article-nav-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.article-nav-card {
    flex: 1;
    min-width: 200px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-card);
    padding: 20px 24px;
    text-decoration: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.article-nav-card:hover {
    transform: translateY(-2px);
    border-color: rgba(61, 135, 138, 0.25);
    box-shadow: 0 8px 24px rgba(61, 135, 138, 0.1);
}

.article-nav-dir {
    display: block;
    font-family: var(--font-family-headers);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 6px;
}

.article-nav-title {
    display: block;
    font-family: var(--font-family-headers);
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.4;
}

/* ==========================================================================
   Reduced Motion & Performance Hints
   ========================================================================== */

/* GPU layer promotion for elements with reveal animations */
.fade-in-element,
.large-feature-item,
.intake-timeline-block,
.organic-card {
    will-change: transform, opacity;
}

/* Remove will-change after animation completes to free GPU memory */
.fade-in-element.revealed,
.large-feature-item.revealed,
.intake-timeline-block.revealed,
.organic-card.revealed {
    will-change: auto;
}

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

    .fade-in-element,
    .large-feature-item,
    .intake-timeline-block,
    .organic-card {
        opacity: 1;
        transform: none;
        will-change: auto;
    }
}

/* Red Flag Caution Cards */
.red-flag-card {
    background: #fff5f5;
    border: 2px solid #e53e3e;
    border-radius: 16px;
    padding: 40px 35px;
    box-shadow: 0 4px 20px rgba(229, 62, 62, 0.12);
}

.red-flag-card h3 {
    color: #c53030 !important;
}

.red-flag-card .red-flag-icon {
    color: #e53e3e;
}

.red-flag-card span {
    color: #1d3b3c;
}

[data-theme="dark"] .red-flag-card {
    background: rgba(229, 62, 62, 0.12);
    border: 2px solid #fc8181;
    box-shadow: 0 4px 20px rgba(229, 62, 62, 0.2);
}

[data-theme="dark"] .red-flag-card h3 {
    color: #feb2b2 !important;
}

[data-theme="dark"] .red-flag-card .red-flag-icon {
    color: #fc8181;
}

[data-theme="dark"] .red-flag-card span {
    color: #fff5f5;
}

/* ===================================
   New Article 2-Column Layout Styles
   =================================== */

.article-header-clean {
    padding-top: 80px !important;
    padding-bottom: 40px !important;
    margin-top: 0 !important;
    background: var(--bg-white) !important;
    text-align: left;
}

body > .article-header-clean {
    margin-top: 40px !important;
}

.article-header-clean .container {
    max-width: 1000px;
    margin: 0 auto;
}

.article-breadcrumb {
    font-family: var(--font-family-headers);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
    display: block;
}

.article-breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.article-breadcrumb a:hover {
    color: var(--primary);
}

.article-header-clean h1 {
    font-family: var(--font-family-headers);
    font-size: 3rem;
    font-weight: 900;
    color: var(--text-dark);
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.article-meta-clean {
    font-family: var(--font-family-body);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 12px;
}

.article-meta-clean .meta-author {
    color: var(--primary);
    font-weight: 600;
}

.article-meta-clean .meta-dot {
    opacity: 0.5;
}

.article-layout-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: start;
}

.article-sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.toc-widget {
    background: transparent;
}

.sidebar-widget-title {
    font-family: var(--font-family-headers);
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-dark);
    margin-bottom: 20px;
    display: block;
}

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

.toc-list li {
    margin-bottom: 16px;
}

.toc-list a {
    font-family: var(--font-family-body);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.toc-list a:hover, .toc-list a.active {
    color: var(--primary);
    font-weight: 600;
}

.related-sidebar-widget {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.related-sidebar-card {
    display: flex;
    gap: 16px;
    align-items: center;
    text-decoration: none;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 24px;
    transition: transform 0.3s ease;
}

.related-sidebar-card:hover {
    transform: translateX(5px);
}

.related-sidebar-card:last-child {
    border-bottom: none;
}

.related-thumb {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    object-fit: cover;
    flex-shrink: 0;
    border: 3px solid rgba(61, 135, 138, 0.15); /* Teal frame */
    padding: 4px;
    background: var(--bg-white);
    box-shadow: var(--glass-shadow);
}

.related-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.related-meta {
    font-family: var(--font-family-headers);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.related-title {
    font-family: var(--font-family-body);
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-dark);
    margin: 0;
    transition: color 0.3s ease;
}

.related-sidebar-card:hover .related-title {
    color: var(--primary);
}

.related-date {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.article-main-content {
    font-family: var(--font-family-body);
}

/* ===================================
   Article Typography for Readability
   =================================== */
.article-main-content p {
    font-size: 1.1rem;
    line-height: 1.85;
    margin-bottom: 1.75rem;
    color: #333;
}

.article-main-content p:last-child {
    margin-bottom: 0;
}

.article-main-content h2 {
    font-family: var(--font-family-headers);
    font-size: 1.85rem;
    font-weight: 800;
    margin-top: 3rem;
    margin-bottom: 1.25rem;
    color: var(--text-dark);
    line-height: 1.3;
}

.article-main-content h3 {
    font-family: var(--font-family-headers);
    font-size: 1.4rem;
    font-weight: 700;
    margin-top: 2.25rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    line-height: 1.4;
}

.article-main-content ul, 
.article-main-content ol {
    margin-bottom: 1.75rem;
    padding-left: 1.5rem;
}

.article-main-content li {
    font-size: 1.1rem;
    line-height: 1.85;
    margin-bottom: 0.75rem;
    color: #333;
}

.article-main-content strong {
    font-weight: 700;
    color: var(--primary);
}

.article-main-content em {
    font-style: italic;
    color: #555;
}

.article-lead {
    font-size: 1.25rem !important;
    line-height: 1.8 !important;
    color: var(--text-dark) !important;
    font-weight: 500;
    margin-bottom: 2.5rem !important;
}

.article-featured-image-container {
    margin-bottom: 40px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(61, 135, 138, 0.15) 0%, rgba(7, 108, 24, 0.1) 100%); /* Teal/Green soft gradient */
    padding: 24px; /* Thick soft frame effect */
}

.article-featured-image-container img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    box-shadow: var(--glass-shadow);
}

.featured-articles-section {
    padding: 80px 0;
    background: var(--bg-white);
    border-top: 1px solid var(--glass-border);
}

.featured-articles-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.featured-articles-title {
    font-family: var(--font-family-headers);
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--text-dark);
}

.btn-outline-pill {
    padding: 10px 24px;
    border-radius: var(--border-radius-pill);
    border: 1px solid var(--text-dark);
    background: transparent;
    color: var(--text-dark);
    font-family: var(--font-family-headers);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition);
}

.btn-outline-pill:hover {
    background: var(--text-dark);
    color: var(--bg-white);
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.featured-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    background: transparent;
    border: none;
    box-shadow: none;
    transition: transform 0.3s ease;
}

.featured-card:hover {
    transform: translateY(-8px);
}

.featured-card-image {
    width: 100%;
    aspect-ratio: 16/11;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(61, 135, 138, 0.15) 0%, rgba(7, 108, 24, 0.1) 100%);
    padding: 16px;
    margin-bottom: 24px;
    transition: var(--transition);
}

.featured-card:hover .featured-card-image {
    background: linear-gradient(135deg, rgba(61, 135, 138, 0.25) 0%, rgba(7, 108, 24, 0.2) 100%);
}

.featured-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--glass-shadow);
}

.featured-card-meta {
    font-family: var(--font-family-headers);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.featured-card-title {
    font-family: var(--font-family-headers);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.35;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.featured-card:hover .featured-card-title {
    color: var(--primary);
}

.featured-card-date {
    font-family: var(--font-family-body);
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

@media (max-width: 992px) {
    .article-layout-grid {
        grid-template-columns: 1fr;
    }
    
    .article-sidebar {
        position: relative;
        top: 0;
        margin-bottom: 40px;
    }

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

@media (max-width: 768px) {
    .article-header-clean h1 {
        font-size: 2.2rem;
    }
}

