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

:root {
    --primary-color: #7c9c73;
    --primary-dark: #566d50;
    --primary-hover: #455844;
    --secondary-color: #9ab892;
    --accent-color: #a8c5a0;
    --blue-color: #2f6476;
    --blue-light: #34768a;
    --text-dark: #2c3e50;
    --text-light: #4a5259;
    --bg-light: #f5f7f4;
    --bg-white: #ffffff;
    --border-color: #d7e1d5;
    --shadow: 0 2px 10px rgba(124, 156, 115, 0.15);
    --shadow-lg: 0 10px 30px rgba(124, 156, 115, 0.2);
    --transition: all 0.3s ease;
    
    /* Spacing System (8px grid) */
    --spacing-xs: 0.5rem;   /* 8px */
    --spacing-sm: 1rem;     /* 16px */
    --spacing-md: 1.5rem;   /* 24px */
    --spacing-lg: 2rem;     /* 32px */
    --spacing-xl: 3rem;     /* 48px */
    --spacing-2xl: 4rem;    /* 64px */
    
    /* Senior-Friendly Sizes */
    --min-touch-target: 44px;
    --focus-outline-width: 3px;
}

html {
    scroll-behavior: smooth;
}

/* Skip Navigation Link */
.skip-navigation {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--primary-dark);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    z-index: 10000;
    font-weight: 600;
    border-radius: 0 0 4px 0;
}

.skip-navigation:focus,
.skip-navigation:focus-visible {
    top: 0;
}

/* Hero Trust Line */
.hero-trust-line {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.88);
}

.hero-cta-microcopy {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

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

.btn-phone:hover {
    background: var(--blue-light);
    color: white;
}

.hero .btn-phone {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.85);
    box-shadow: none;
}

.hero .btn-phone:hover {
    background: rgba(255, 255, 255, 0.14);
    color: white;
    border-color: white;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Font Display Optimization - handled via Google Fonts display=swap parameter */

/* Typography Scale for Seniors */
h1 { font-size: 2.5rem; line-height: 1.2; letter-spacing: -0.02em; font-weight: 700; }
h2 { font-size: 2rem; line-height: 1.3; letter-spacing: -0.01em; font-weight: 600; }
h3 { font-size: 1.5rem; line-height: 1.4; font-weight: 600; }
h4 { font-size: 1.25rem; line-height: 1.5; font-weight: 600; }
h5 { font-size: 1.125rem; line-height: 1.5; font-weight: 500; }
h6 { font-size: 1rem; line-height: 1.5; font-weight: 500; }
p, li { font-size: 1.125rem; line-height: 1.7; }
small { font-size: 0.875rem; line-height: 1.6; }

/* Smooth scroll with offset for fixed navbar */
html {
    scroll-padding-top: 80px;
}

/* Senior-Friendly: Minimum Touch Targets */
button, a.btn-primary, a.btn-secondary, .btn-appointment, input[type="submit"], 
input[type="button"], .faq-question, .mobile-menu-toggle {
    min-height: var(--min-touch-target);
    min-width: var(--min-touch-target);
}

/* Enhanced Focus Indicators for Accessibility */
*:focus {
    outline: var(--focus-outline-width) solid var(--blue-color);
    outline-offset: 2px;
}

button:focus, a:focus, input:focus, textarea:focus, select:focus {
    outline: var(--focus-outline-width) solid var(--blue-color);
    outline-offset: 2px;
}

::placeholder {
    color: #4a5259;
    opacity: 1;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.btn-primary:disabled,
.btn-appointment:disabled,
button[type="submit"]:disabled {
    background: #5c6560 !important;
    color: #ffffff !important;
    cursor: not-allowed;
    box-shadow: none !important;
}

/* Enhanced button interactions */
.btn-primary, .btn-secondary {
    position: relative;
    overflow: hidden;
    transition: background-color 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
    min-height: var(--min-touch-target);
    padding: 0.875rem 1.75rem;
}

/* Enhanced link hover effects */
a {
    transition: all 0.3s ease;
}

/* Video Library Styles */
.video-library {
    padding: var(--spacing-2xl) 0;
}

.video-library-controls {
    margin-bottom: var(--spacing-xl);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.video-search-wrapper {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.video-search-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    font-size: 1.1rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    background: var(--bg-white);
    transition: var(--transition);
    font-family: inherit;
}

.video-search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(124, 156, 115, 0.1);
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    pointer-events: none;
}

.video-category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: var(--spacing-sm);
}

.category-filter-btn {
    padding: 0.875rem 1.75rem !important;
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-dark);
    font-weight: 500;
    cursor: pointer;
    transition: color 0.3s ease, border-color 0.3s ease, background-color 0.3s ease !important;
    font-size: 1rem !important;
    font-family: inherit;
    min-height: 44px !important;
    height: auto !important;
    white-space: nowrap;
    transform: none !important;
    width: auto !important;
    -webkit-tap-highlight-color: transparent;
}

.category-filter-btn:hover {
    border-color: transparent;
    color: var(--primary-dark);
    background: transparent;
}

.category-filter-btn.active {
    background: transparent;
    border-color: transparent;
    color: var(--primary-dark);
    font-weight: 600;
}

.category-filter-btn:focus,
.category-filter-btn:focus-visible,
.category-filter-btn:active {
    outline: none !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent;
}

.video-results-info {
    text-align: center;
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
    font-size: 0.95rem;
    min-height: 1.5rem;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.video-card {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background: #000;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

.video-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    cursor: pointer;
}

.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    border: none;
    border-radius: 50%;
    width: 68px;
    height: 68px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.video-play-button:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-play-button svg {
    width: 48px;
    height: 48px;
}

.video-wrapper.loaded iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-card-content {
    padding: var(--spacing-md);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.video-card-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    line-height: 1.4;
}

.video-card-content p {
    color: var(--text-light);
    margin-bottom: var(--spacing-sm);
    flex: 1;
    line-height: 1.6;
}

.video-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
}

.video-category-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--bg-light);
    color: var(--primary-dark);
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
}

.no-results {
    text-align: center;
    padding: var(--spacing-xl);
    color: var(--text-light);
}

.no-results p {
    font-size: 1.1rem;
}

/* About Section Updates */
.about-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin: var(--spacing-xl) 0;
}

.highlight-item {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: var(--bg-light);
    border-radius: 12px;
}

.highlight-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    color: var(--primary-color);
}

.highlight-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.highlight-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Responsive Video Library */
@media (max-width: 1024px) and (min-width: 769px) {
    section {
        padding: var(--spacing-xl) 0;
    }
    
    .videos-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: var(--spacing-md);
    }
    
    .about-highlights {
        grid-template-columns: 1fr;
    }
    
    .video-category-filters {
        gap: 0.875rem;
    }
    
    .category-filter-btn {
        padding: 0.8125rem 1.625rem;
    }
    
}

@media (max-width: 768px) {
    section {
        padding: var(--spacing-md) 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    .section-header {
        margin-bottom: var(--spacing-md);
    }
    
    .container {
        padding: 0 1rem;
    }
    
    section {
        padding: var(--spacing-md) 0;
    }
    
    .section-header {
        margin-bottom: var(--spacing-md);
    }
    
    .section-header-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .section-header-content > div {
        width: 100%;
    }
    
    .toggle-videos-btn {
        margin-top: 1rem;
        padding: 0.625rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .video-library {
        padding: var(--spacing-xl) 0;
    }
    
    .video-library-controls {
        margin-bottom: var(--spacing-lg);
    }
    
    .video-search-input {
        font-size: 1rem;
        padding: 0.75rem 0.75rem 0.75rem 2.5rem;
    }
    
    .video-category-filters {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        justify-content: flex-start;
        gap: 1rem;
        padding-bottom: 0.5rem;
        margin-left: -1rem;
        margin-right: -1rem;
        padding-left: 1rem;
        padding-right: 1rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: var(--border-color) transparent;
    }
    
    .video-category-filters::-webkit-scrollbar {
        height: 4px;
    }
    
    .video-category-filters::-webkit-scrollbar-track {
        background: transparent;
    }
    
    .video-category-filters::-webkit-scrollbar-thumb {
        background: var(--border-color);
        border-radius: 2px;
    }
    
    .video-category-filters::-webkit-scrollbar-thumb:hover {
        background: var(--primary-color);
    }
    
    .category-filter-btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
        min-height: 44px;
        flex-shrink: 0;
    }
    
    .videos-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .video-card-content {
        padding: 1.25rem;
    }
    
    .video-card-content h3 {
        font-size: 1.05rem;
    }
    
    .highlight-item {
        flex-direction: column;
        text-align: center;
    }
    
    .highlight-icon {
        margin: 0 auto;
    }
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    background: transparent !important;
}

/* Navigation */
.navbar {
    background: var(--bg-white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: box-shadow 0.3s ease, background 0.3s ease;
    backdrop-filter: blur(10px);
    overflow: visible;
    width: 100%;
}

.navbar .container {
    background: transparent !important;
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.95);
}

.navbar.scrolled .nav-actions .btn-appointment {
    /* No size changes on scroll - button remains stable */
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.875rem 0;
    gap: 1.5rem;
    position: relative;
    width: 100%;
    min-height: 80px;
    background: transparent !important;
}

.nav-wrapper > * {
    background: transparent !important;
}

/* Ensure no gray boxes appear anywhere in navbar (except logo shadows) */
.navbar .nav-menu,
.navbar .nav-main-items,
.navbar .nav-dropdown-items,
.navbar .nav-actions,
.navbar .nav-menu *,
.navbar .nav-main-items *,
.navbar .nav-dropdown-items *,
.navbar .nav-actions * {
    box-shadow: none !important;
}

.navbar .logo,
.navbar .logo-link,
.navbar .nav-menu,
.navbar .nav-main-items,
.navbar .nav-dropdown-items,
.navbar .nav-actions {
    background: transparent !important;
}

.navbar .logo a,
.navbar .logo-link {
    background: #ffffff !important;
}

.logo,
.logo-link {
    display: block;
    flex-shrink: 0;
}

.logo a,
.logo-link {
    display: block;
    text-decoration: none;
    padding: 8px 12px;
    background: #ffffff !important;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.25s ease;
}

.logo a:hover,
.logo-link:hover {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    background: #ffffff !important;
}

.logo-img {
    height: 60px;
    width: auto;
    max-width: 240px;
    object-fit: contain;
    transition: var(--transition);
}

.logo-img:hover {
    opacity: 0.9;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.25rem;
    align-items: center;
    flex: 1 1 auto;
    justify-content: flex-start;
    margin: 0;
    min-width: 0;
    flex-shrink: 1;
    margin-right: 1rem;
    background: transparent !important;
}

.nav-menu li {
    list-style: none;
}

.nav-main-items,
.nav-dropdown-items {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin: 0;
    padding: 0;
    background: transparent !important;
}

.nav-main-items {
    justify-content: flex-start;
    gap: 1.25rem;
    flex-wrap: nowrap;
    flex: 1 1 auto;
}

.nav-main-items li {
    position: relative;
    min-width: fit-content;
}

.nav-dropdown-items {
    justify-content: flex-end;
    position: relative;
    gap: 2rem;
    flex-wrap: nowrap;
    margin-right: 0;
    flex-shrink: 1;
}

.nav-dropdown-items::before {
    display: none;
}

.nav-menu a,
.dropdown-toggle {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1rem;
    font-family: inherit;
    transition: color 0.25s ease;
    position: relative;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 0.85rem;
    min-width: fit-content;
    background: transparent;
    border: none;
    cursor: pointer;
}

.nav-menu a:hover,
.dropdown-toggle:hover,
.dropdown-toggle[aria-expanded="true"] {
    color: var(--primary-dark);
}

.nav-menu a::after,
.dropdown-toggle::after {
    content: '';
    position: absolute;
    bottom: 0.35rem;
    left: 0.85rem;
    right: 0.85rem;
    width: auto;
    height: 2px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.nav-menu a:hover::after,
.dropdown-toggle:hover::after,
.dropdown-toggle[aria-expanded="true"]::after {
    transform: scaleX(1);
}

.nav-menu a,
.dropdown-toggle {
    -webkit-tap-highlight-color: transparent;
}

.dropdown {
    position: relative;
}

.dropdown > a,
.dropdown-toggle {
    padding-right: 1.35rem;
}

.dropdown-arrow {
    margin-left: 0.4rem;
    display: inline-flex;
    align-items: center;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: inherit;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    line-height: 1;
}

.dropdown-arrow svg {
    width: 10px;
    height: 6px;
    display: block;
}

.dropdown:hover .dropdown-arrow,
.dropdown.open .dropdown-arrow {
    transform: translateY(-50%) rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    background: var(--bg-white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    list-style: none;
    min-width: 220px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    border-radius: 8px;
    margin-top: 0;
    z-index: 1001;
    border: none !important;
    outline: none !important;
}

.dropdown:hover .dropdown-menu,
.dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a::after,
.nav-mobile-actions a::after {
    display: none;
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-dark);
    white-space: nowrap;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    background: transparent;
    border: none;
    border-radius: 0;
}

.dropdown-menu a:hover {
    background: rgba(124, 156, 115, 0.08);
    color: var(--primary-dark);
    padding-left: 1.75rem;
}

.dropdown-menu a:focus-visible {
    background: rgba(86, 109, 80, 0.1);
    color: var(--primary-dark);
}

/* Nested Dropdown Submenu Styles */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > a {
    position: relative;
    padding-right: 2.5rem;
}

.dropdown-arrow-submenu {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: inherit;
    line-height: 1;
}

.dropdown-arrow-submenu svg {
    width: 6px;
    height: 10px;
    display: block;
}

.dropdown-submenu:hover .dropdown-arrow-submenu {
    transform: translateY(-50%) translateX(2px);
}

.dropdown-submenu-menu {
    position: absolute;
    top: 0;
    left: 100%;
    margin-left: 0.5rem;
    background: var(--bg-white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    list-style: none;
    min-width: 220px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    border-radius: 8px;
    z-index: 1002;
    border: none !important;
    outline: none !important;
}

.dropdown-submenu:hover .dropdown-submenu-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.dropdown-submenu-menu li {
    padding: 0;
}

.dropdown-submenu-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-dark);
    white-space: nowrap;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    background: transparent;
    border: none;
    border-radius: 0;
}

.dropdown-submenu-menu a:hover {
    background: rgba(124, 156, 115, 0.08);
    color: var(--primary-dark);
    padding-left: 1.75rem;
}

.dropdown-submenu-menu a:focus-visible {
    background: rgba(86, 109, 80, 0.1);
    color: var(--primary-dark);
}

/* Keep nav items free of gray fill boxes and click outlines */
.nav-menu a,
.nav-menu a:active,
.nav-menu a:hover,
.nav-menu a:focus,
.nav-menu a:focus-visible,
.dropdown-toggle,
.dropdown-toggle:active,
.dropdown-toggle:hover,
.dropdown-toggle:focus,
.dropdown-toggle:focus-visible,
.dropdown > a,
.dropdown > a:active,
.dropdown > a:hover,
.dropdown > a:focus,
.dropdown-menu a:active,
.dropdown-menu a:focus,
.dropdown-menu a:focus-visible,
.dropdown-submenu-menu a:active,
.dropdown-submenu-menu a:focus,
.dropdown-submenu-menu a:focus-visible {
    border: none;
    outline: none !important;
    box-shadow: none !important;
}

/* Dropdown menus need shadows but no borders */
.dropdown-menu,
.dropdown-submenu-menu {
    border: none !important;
    outline: none !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.dropdown-menu:focus,
.dropdown-menu:active,
.dropdown-menu:hover,
.dropdown-submenu-menu:focus,
.dropdown-submenu-menu:active,
.dropdown-submenu-menu:hover {
    border: none !important;
    outline: none !important;
}

.nav-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-shrink: 0;
    flex-grow: 0;
    margin-left: auto;
    margin-right: 0;
    min-width: auto;
    width: auto;
    position: relative;
    z-index: 100;
}

.nav-actions a {
    white-space: nowrap;
    font-size: 0.9rem;
    padding: 0.75rem 1.5rem;
    flex-shrink: 0;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
}

.nav-actions .btn-appointment {
    font-size: 0.9rem !important;
    padding: 0.75rem 1.25rem !important;
    min-width: auto !important;
    max-width: none !important;
    width: auto !important;
    min-height: 44px !important;
    height: auto !important;
    transform: none !important;
    transition: background-color 0.25s ease, box-shadow 0.25s ease !important;
    position: relative !important;
    z-index: 100 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: nowrap;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    -webkit-tap-highlight-color: transparent;
}

.mobile-menu-toggle:focus,
.mobile-menu-toggle:focus-visible,
.mobile-menu-toggle:active {
    outline: none !important;
    box-shadow: none !important;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: var(--transition);
}

/* Buttons */
.btn-primary, .btn-secondary {
    padding: 0.875rem 1.75rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background: var(--primary-hover);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background: transparent;
    color: var(--blue-color);
    border: none;
}

.btn-secondary:hover {
    background: var(--blue-color);
    color: white;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}

/* Enhanced Appointment Button */
.btn-appointment {
    position: relative;
    background: var(--primary-dark) !important;
    color: white !important;
    font-weight: 600 !important;
    box-shadow: 0 2px 8px rgba(124, 156, 115, 0.25);
    transform: none;
    z-index: 1;
    letter-spacing: 0.2px;
    transition: background-color 0.25s ease, box-shadow 0.25s ease !important;
}

.nav-actions .btn-appointment:hover,
.btn-appointment:hover {
    transform: none !important;
    box-shadow: 0 4px 12px rgba(86, 109, 80, 0.28) !important;
    background: var(--primary-hover) !important;
    color: white !important;
}

.btn-appointment:active {
    transform: none !important;
}

.nav-actions .btn-appointment:active {
    transform: none !important;
}

/* Larger appointment buttons get more prominent effects */
.btn-appointment.btn-large {
    padding: 1.15rem 2.25rem;
    font-size: 1.15rem;
}

.btn-appointment.btn-large:hover {
    box-shadow: 0 6px 16px rgba(86, 109, 80, 0.28) !important;
    background: var(--primary-hover) !important;
    color: white !important;
}

/* Hero Section */
.hero {
    position: relative;
    color: white;
    padding: 160px 0 110px;
    margin-top: 70px;
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--primary-dark);
}

.hero > .container {
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-media {
    position: absolute;
    inset: 0;
    background-image: url('hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.02);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(44, 62, 46, 0.55) 0%, rgba(86, 109, 80, 0.62) 42%, rgba(44, 62, 46, 0.78) 100%),
        linear-gradient(135deg, rgba(124, 156, 115, 0.35) 0%, rgba(74, 144, 164, 0.18) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.hero-brand {
    margin: 0 0 1rem;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.92);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 700;
    margin: 0 0 1rem;
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: white;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    margin: 0 auto 2rem;
    max-width: 36rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.92);
}

.hero-buttons {
    display: flex;
    gap: 0.85rem;
    justify-content: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.hero-buttons .btn-appointment {
    background: white !important;
    color: var(--primary-dark) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.hero-buttons .btn-appointment:hover {
    background: #f3f7f2 !important;
    color: var(--primary-dark) !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22) !important;
}

.hero-info {
    display: none;
}

.info-label {
    font-size: 0.875rem;
    opacity: 0.8;
}

.info-value {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    text-decoration: none;
}

/* Statistics Section */
.stats-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(74, 144, 164, 0.06) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(107, 168, 187, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.stat-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.stat-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 12px 40px rgba(124, 156, 115, 0.15);
    border-color: var(--primary-color);
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--blue-color), var(--blue-light));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.4s ease;
    position: relative;
}

.stat-card:hover .stat-icon {
    transform: rotate(5deg) scale(1.1);
    box-shadow: 0 8px 25px rgba(74, 144, 164, 0.4);
}

.stat-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1;
    display: inline-block;
}

.stat-suffix {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
    margin-top: 0.5rem;
}

/* Section Badge */
.section-badge {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

.about-features {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 12px;
    transition: var(--transition);
}

.about-feature:hover {
    background: white;
    box-shadow: var(--shadow);
    transform: translateX(5px);
}

.feature-check {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.about-feature h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.about-feature p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: var(--bg-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(74, 144, 164, 0.05), rgba(107, 168, 187, 0.05));
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(74, 144, 164, 0.2);
    border-color: var(--blue-color);
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    color: var(--blue-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    color: var(--blue-light);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.feature-link {
    color: var(--primary-dark);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

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

/* Section Styles */
section {
    padding: var(--spacing-2xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    position: relative;
}

.section-header-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
}

.section-header-content > div {
    flex: 1;
    min-width: 250px;
}

.section-header h2 {
    font-size: 2.75rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.2;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.toggle-videos-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary-dark);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.toggle-videos-btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.toggle-videos-btn:active {
    transform: translateY(0);
}

.toggle-videos-btn .btn-icon {
    transition: transform 0.3s ease;
}

.toggle-videos-btn.hidden .btn-icon {
    transform: rotate(45deg);
}


/* Trust Section */
.trust-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 4rem 0;
}

.trust-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.trust-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.trust-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.trust-item-featured {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    position: relative;
}

.trust-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-dark);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.trust-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.trust-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

.trust-item p {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.95;
    color: white;
}

.about-highlight-box {
    background: linear-gradient(135deg, rgba(124, 156, 115, 0.05) 0%, rgba(86, 109, 80, 0.1) 100%);
    border: 2px solid var(--primary-color);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.highlight-box-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.highlight-box-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.highlight-icon {
    width: 48px;
    height: 48px;
    background: var(--blue-color);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.highlight-box-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.highlight-box-item p {
    font-size: 1rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

.why-us-intro {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    line-height: 1.7;
}

/* About Section */
.about {
    background: var(--bg-light);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text .lead {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.about-stats {
    display: flex;
    gap: 3rem;
    justify-content: center;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-light);
    font-size: 1rem;
}

/* Professionals Section */
.professionals {
    background: var(--bg-white);
}

.professionals-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.professional-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.professional-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.professional-image {
    margin-bottom: 1.5rem;
}

.image-placeholder-professional {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    border: 3px solid var(--border-color);
    transition: var(--transition);
}

.professional-card:hover .image-placeholder-professional {
    border-color: var(--primary-color);
    background: rgba(124, 156, 115, 0.05);
}

.professional-image img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    margin: 0 auto;
    border: 3px solid var(--border-color);
    transition: var(--transition);
}

.professional-card:hover .professional-image img {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(124, 156, 115, 0.2);
}

.professional-card h2,
.professional-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.professional-title {
    color: var(--primary-dark);
    font-weight: 500;
    font-size: 1rem;
    margin: 0;
}

/* Why Us Section */
.why-us {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.why-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 10% 20%, rgba(74, 144, 164, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

.why-us-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.why-us-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.why-us-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.why-us-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.why-us-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.why-us-feature:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(124, 156, 115, 0.1);
}

.why-us-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--blue-color), var(--blue-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.why-us-feature h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.why-us-feature p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin: 0;
}

.why-us-image {
    position: relative;
}

.image-placeholder {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    padding: 4rem 2rem;
    text-align: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(124, 156, 115, 0.2);
    transition: transform 0.4s ease;
}

.image-placeholder:hover {
    transform: scale(1.02);
}

.image-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Videos Section */
.videos {
    background: var(--bg-light);
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.video-card {
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border: 2px solid transparent;
    position: relative;
}

.video-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--blue-color), var(--blue-light));
    transform: scaleX(0);
    transition: transform 0.4s ease;
    z-index: 1;
}

.video-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(74, 144, 164, 0.2);
    border-color: var(--blue-color);
}

.video-card:hover::before {
    transform: scaleX(1);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background: #000;
    cursor: pointer;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-wrapper.loaded .video-thumbnail {
    display: none;
}

.video-play-button {
    background: rgba(0, 0, 0, 0.8);
    border: none;
    border-radius: 50%;
    width: 68px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease;
    padding: 0;
}

.video-play-button:hover {
    transform: scale(1.1);
}

.video-play-button:focus {
    outline: 3px solid var(--blue-color);
    outline-offset: 2px;
}

.video-card h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    font-size: 1.25rem;
    color: var(--text-dark);
}

.video-card p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
}

/* Testimonials Section */
.testimonials {
    background: var(--bg-white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 16px;
    border-left: 4px solid var(--blue-color);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 120px;
    color: rgba(124, 156, 115, 0.05);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(74, 144, 164, 0.12);
}

.testimonial-stars {
    color: #ffc107;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.testimonial-author {
    color: var(--text-dark);
    font-weight: 600;
}

/* Services Section */
.services {
    background: var(--bg-light);
}

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

.service-card {
    background: var(--bg-white);
    padding: var(--spacing-lg);
    border-radius: 12px;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: var(--shadow);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

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

.service-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--spacing-md);
    background: linear-gradient(135deg, var(--blue-color), var(--blue-light));
    border-radius: 12px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.service-icon svg {
    width: 40px;
    height: 40px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.05);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Contact Section */
.contact {
    background: var(--bg-white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    color: var(--blue-color);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(74, 144, 164, 0.1);
    border-radius: 50%;
    padding: 12px;
}

.contact-icon svg {
    width: 100%;
    height: 100%;
    transition: var(--transition);
}

.contact-item:hover .contact-icon {
    background: rgba(74, 144, 164, 0.2);
    transform: scale(1.05);
}

.contact-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-item p {
    color: var(--text-light);
    line-height: 1.8;
}

.contact-item a {
    color: var(--blue-color);
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-form-wrapper {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 12px;
}

.contact-form h3 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(124, 156, 115, 0.1);
}

.checkbox-group label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-weight: 400;
    font-size: 0.9rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.25rem;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: white;
}

.footer-logo-link {
    display: inline-block;
    padding: 0.75rem 1.25rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
}

.footer-logo-link:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.footer-logo {
    height: 70px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
    filter: none;
    transition: var(--transition);
}

.footer-section a:hover .footer-logo {
    opacity: 0.9;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.footer-links a:hover {
    color: white;
}

/* Chat Widget */
.chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
}

.chat-button {
    width: 60px;
    height: 60px;
    background: var(--primary-dark);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: background-color 0.25s ease, box-shadow 0.25s ease;
    position: relative;
}

.chat-button:hover {
    background: var(--primary-hover);
}

.chat-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--primary-dark);
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
}

.chat-window {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 450px;
    max-width: calc(100vw - 40px);
    height: 550px;
    max-height: min(550px, calc(100vh - 220px));
    min-height: 400px;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.chat-window.active {
    display: flex !important;
}

.chat-widget:has(.chat-window.active) .chat-button {
    display: none;
}

.chat-header {
    background: linear-gradient(135deg, var(--blue-color), var(--blue-light));
    color: white;
    padding: 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.chat-avatar {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.chat-header h3 {
    font-size: 1.2rem;
    margin: 0;
    font-weight: 600;
}

.chat-status {
    font-size: 0.9rem;
    opacity: 0.9;
    display: block;
    margin-top: 2px;
}

.chat-close {
    background: none;
    border: none;
    color: white;
    font-size: 2.2rem;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-messages {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    background: var(--bg-light);
    min-height: 0;
}

.chat-message {
    margin-bottom: 1.25rem;
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    animation: messageSlideIn 0.3s ease;
}

@keyframes messageSlideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bot-message {
    max-width: 85%;
}

.user-message {
    max-width: 85%;
    margin-left: auto;
    flex-direction: row-reverse;
}

.message-avatar {
    width: 40px;
    height: 40px;
    background: var(--primary-dark);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.user-message .message-avatar {
    background: var(--primary-dark);
}

.message-content {
    padding: 1rem 1.25rem;
    border-radius: 12px;
    font-size: 1.05rem;
    line-height: 1.6;
}

.bot-message .message-content {
    background: white;
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.user-message .message-content {
    background: var(--primary-dark);
    color: white;
    border-bottom-right-radius: 4px;
}

.message-content p {
    margin: 0;
}

.message-content p + p {
    margin-top: 0.5rem;
}

.message-list {
    margin: 0;
    padding-left: 1.25rem;
    list-style: none;
}

.message-list li {
    margin-bottom: 0.5rem;
    position: relative;
}

.message-list li::before {
    content: '•';
    position: absolute;
    left: -1rem;
    color: var(--primary-color);
    font-weight: bold;
}

.quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    padding: 0 0.75rem;
}

.quick-action-btn {
    padding: 0.75rem 1rem;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--text-dark);
    font-weight: 500;
}

.quick-action-btn:hover {
    background: var(--primary-dark);
    color: white;
    border-color: var(--primary-dark);
    transform: translateY(-1px);
}

.chat-typing {
    padding: 1rem 1.25rem;
    display: none;
    align-items: center;
}

.chat-typing.is-visible {
    display: flex;
}

.typing-indicator {
    display: flex;
    gap: 0.35rem;
    padding: 0.75rem 1rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.typing-indicator span {
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: typingBounce 1.4s infinite ease-in-out;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingBounce {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.7;
    }
    30% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

.chat-input-area {
    display: flex;
    gap: 0.75rem;
    padding: 1rem;
    background: white;
    border-top: 1px solid var(--border-color);
    flex-shrink: 0;
}

.chat-input-area input {
    flex: 1;
    padding: 1rem 1.25rem;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    font-size: 1.05rem;
    outline: none;
    transition: var(--transition);
}

.chat-input-area input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(124, 156, 115, 0.1);
}

.chat-input-area button {
    width: 48px;
    height: 48px;
    padding: 0;
    background: var(--primary-dark);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.chat-input-area button:hover {
    background: var(--primary-hover);
    transform: scale(1.05);
}

.chat-input-area button:active {
    transform: scale(0.95);
}

.chat-input-area button svg {
    width: 22px;
    height: 22px;
}

/* Appointment Modal */
.appointment-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.appointment-modal.active {
    display: flex;
}

.appointment-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.appointment-modal-content {
    position: relative;
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    padding: 2rem;
    z-index: 2001;
    animation: modalSlideIn 0.3s ease;
}

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

.appointment-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-dark);
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
}

.appointment-modal-close:hover {
    color: var(--primary-dark);
    transform: rotate(90deg);
}

.appointment-modal-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    padding-right: 2rem;
}

.appointment-modal-instruction {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.appointment-modal-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.appointment-modal-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.appointment-modal-form label {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
}

.required-indicator {
    color: #dc3545;
}

.appointment-modal-form .form-input,
.appointment-modal-form .form-textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: #f8f9fa;
    color: var(--text-dark);
}

.appointment-modal-form .form-input:focus,
.appointment-modal-form .form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 3px rgba(124, 156, 115, 0.1);
}

.appointment-modal-form .form-input.error,
.appointment-modal-form .form-textarea.error {
    border-color: #dc3545;
}

.appointment-modal-form .form-textarea {
    resize: vertical;
    min-height: 100px;
}

.select-wrapper {
    position: relative;
}

.select-wrapper select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 2.5rem;
    cursor: pointer;
}

.select-arrow {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--text-light);
}

.checkbox-group {
    margin-top: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-weight: 400;
}

.checkbox-input {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.consent-message {
    background: var(--bg-light);
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--text-light);
    margin-top: 0.5rem;
}

.consent-message p {
    margin: 0;
}

.error-message {
    color: #dc3545;
    font-size: 0.85rem;
    display: none;
    margin-top: 0.25rem;
}

.error-message.show {
    display: block;
}

.appointment-modal-form .btn-primary {
    margin-top: 0.5rem;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .why-us-content {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 120px 0 72px;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 2.35rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.75rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons a {
        width: 100%;
    }
    
    .trust-content {
        grid-template-columns: 1fr;
    }
    
    .highlight-box-content {
        grid-template-columns: 1fr;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .features-grid,
    .services-grid,
    .testimonials-grid,
    .videos-grid {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        gap: 2rem;
    }
    
    .chat-window {
        width: min(320px, calc(100vw - 24px));
        max-width: calc(100vw - 24px);
        height: min(360px, calc(100dvh - 200px));
        max-height: min(360px, calc(100dvh - 200px));
        min-height: 0;
        right: 12px;
        left: auto;
        bottom: 88px;
    }

    .chat-button {
        width: 52px;
        height: 52px;
    }
    
    .footer-logo {
        height: 55px;
        max-width: 220px;
    }
    
    .appointment-modal-content {
        width: 95%;
        max-height: 95vh;
        padding: 1.5rem;
    }
    
    .appointment-modal-title {
        font-size: 1.5rem;
    }
}

/* Success Modal */
.success-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.success-modal.active {
    display: flex;
}

.success-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.success-modal-content {
    position: relative;
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    box-shadow: var(--shadow-lg);
    padding: 3rem 2rem;
    z-index: 2001;
    animation: modalSlideIn 0.3s ease;
    text-align: center;
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #28a745, #20c997);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.success-modal-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.success-modal-message {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.success-modal-info {
    text-align: left;
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.success-modal-info p {
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.success-modal-info ul {
    list-style: none;
    padding: 0;
}

.success-modal-info li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-dark);
}

.success-modal-info li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: 700;
}

.success-modal-info a {
    color: var(--blue-color);
    text-decoration: none;
    font-weight: 600;
}

.success-modal-info a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .success-modal-content {
        width: 95%;
        padding: 2rem 1.5rem;
    }
    
    .success-modal-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .appointment-modal-content {
        width: 98%;
        padding: 1.25rem;
    }
    
    .appointment-modal-title {
        font-size: 1.25rem;
        padding-right: 1.5rem;
    }
    
    .appointment-modal-close {
        top: 0.75rem;
        right: 0.75rem;
        font-size: 1.75rem;
    }
}



/* Shared chrome additions */
.nav-mobile-actions {
    display: none;
}

#appointment {
    scroll-margin-top: 90px;
}

.appointment-modal[hidden],
.success-modal[hidden] {
    display: none;
}

.appointment-modal.active,
.success-modal.active {
    display: flex;
}

.modal-location-text {
    margin: 0 0 1rem;
    padding: 0.85rem 1rem;
    background: var(--bg-light);
    border-radius: 8px;
    color: var(--text-dark);
    font-size: 1rem;
    line-height: 1.5;
}

.consent-message a {
    color: var(--primary-dark);
}

.footer-tagline {
    margin-top: 1rem;
}

.footer-highlight {
    margin-top: 0.5rem;
    font-weight: 600;
    color: #d5e4d0;
}

/* Inner pages */
.page-hero {
    background: linear-gradient(180deg, #eef3ec 0%, var(--bg-light) 100%);
    padding: 140px 0 3rem;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 1.25rem;
}

.breadcrumb a {
    color: var(--primary-dark);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.page-eyebrow {
    display: inline-block;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary-dark);
}

.page-hero h1 {
    margin-bottom: 0.75rem;
    max-width: 20ch;
}

.page-subtitle {
    max-width: 42rem;
    color: var(--text-light);
    font-size: 1.2rem;
    margin: 0;
}

.page-content {
    padding: 3rem 0 4rem;
}

.page-article {
    max-width: 44rem;
}

.page-content-wide .page-article {
    max-width: none;
}

.page-article h2 {
    margin: 2.25rem 0 0.85rem;
    color: var(--text-dark);
}

.page-article h3 {
    margin: 1.75rem 0 0.75rem;
}

.page-article h4 {
    margin: 1.25rem 0 0.5rem;
    color: var(--primary-dark);
}

.page-article p,
.page-article li {
    margin-bottom: 1rem;
}

.page-article ul {
    margin: 0 0 1.5rem 1.25rem;
}

.page-article .lead {
    font-size: 1.2rem;
    color: var(--text-dark);
}

.page-citations {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
    color: var(--text-light);
}

.page-citations p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.page-cta {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 16px;
}

.page-cta h2 {
    margin: 0 0 0.5rem;
}

.page-cta p {
    margin: 0 0 1.25rem;
    color: var(--text-light);
}

.page-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.page-cta-actions a::after {
    display: none;
}

/* Sticky CTA — mobile homepage */
.sticky-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary-dark);
    color: white;
    padding: 0.65rem 0.75rem;
    z-index: 900;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: nowrap;
}

.sticky-cta-bar.active {
    display: flex;
}

.sticky-cta-bar a {
    background: white;
    color: var(--primary-dark);
    padding: 0.55rem 0.65rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    min-height: 44px;
    flex: 1 1 0;
    min-width: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.sticky-cta-bar .phone-link {
    background: var(--blue-color);
    color: white;
}

body:has(.sticky-cta-bar.active) {
    padding-bottom: 76px;
}

body:has(.sticky-cta-bar.active) .chat-widget {
    bottom: 92px;
}

body:has(.sticky-cta-bar.active) .chat-window {
    bottom: 88px;
    max-height: min(340px, calc(100dvh - 180px));
}

@media (min-width: 769px) {
    .sticky-cta-bar,
    .sticky-cta-bar.active {
        display: none;
    }

    body:has(.sticky-cta-bar.active) {
        padding-bottom: 0;
    }

    body:has(.sticky-cta-bar.active) .chat-widget {
        bottom: 20px;
    }

    body:has(.sticky-cta-bar.active) .chat-window {
        bottom: 100px;
    }
}

@media (max-width: 1100px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu,
    .navbar .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        max-width: none;
        height: calc(100vh - 80px);
        background: #ffffff !important;
        flex-direction: column;
        padding: 2rem;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
        overflow-y: auto;
        margin: 0;
        gap: 0;
        visibility: hidden;
        pointer-events: none;
        z-index: 1001;
    }

    .nav-menu.active {
        left: 0;
        visibility: visible;
        pointer-events: auto;
    }

    .nav-main-items,
    .nav-dropdown-items,
    .nav-menu {
        flex-direction: column;
        width: 100%;
        gap: 0.25rem;
        align-items: flex-start;
    }

    .nav-dropdown-items::before {
        display: none;
    }

    .nav-actions {
        display: none;
    }

    .nav-actions .btn-phone {
        display: none !important;
    }

    .dropdown-toggle,
    .nav-menu > li > a {
        width: 100%;
        justify-content: space-between;
    }

    .dropdown-menu {
        display: none;
        width: calc(100% - 0.5rem);
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        margin: 0.5rem 0 0 1rem;
        background: var(--bg-light);
    }

    .dropdown.open .dropdown-menu {
        display: block;
    }

    .dropdown-submenu-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        margin: 0.5rem 0 0 2rem;
        background: var(--bg-light);
    }

    .dropdown-arrow-submenu {
        transform: translateY(-50%) rotate(90deg);
    }

    .dropdown-submenu:hover .dropdown-arrow-submenu {
        transform: translateY(-50%) rotate(90deg) translateX(2px);
    }

    .nav-mobile-actions {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
        margin-top: 1.5rem;
        padding-top: 1.25rem;
        border-top: 1px solid var(--border-color);
    }

    .nav-mobile-actions a {
        width: 100%;
        text-align: center;
    }

    .logo-img {
        height: 50px;
        max-width: 200px;
    }

    .nav-wrapper {
        padding: 0.75rem 0;
        gap: 1rem;
        min-height: 70px;
    }
}

@media (max-width: 900px) {
    .professionals-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        gap: 1.5rem;
    }

    .footer-content {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 110px 0 2rem;
    }

    .page-hero h1 {
        font-size: 2rem;
        max-width: none;
    }

    .page-cta-actions {
        flex-direction: column;
    }

    .page-cta-actions a {
        width: 100%;
    }

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

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    .reveal-on-scroll {
        opacity: 1;
        transform: none;
    }
}
