<?php ($pageDescription = trim(strip_tags((string) $page->content))); ?>

<?php $__env->startSection('title', ($page->meta_title ?: $page->title) . ' | ' . ($settings->site_name ?? 'Saleem Sial Analytics')); ?>
<?php $__env->startSection('meta_description', $page->meta_description ?: 'Explore GA4, GTM, dashboard, ad tracking, and server-side analytics services from Saleem Sial Analytics.'); ?>
<?php $__env->startSection('meta_image', $settings?->logo_url ?? asset('uploads/placeholders/default-logo.png')); ?>

<?php $__env->startSection('content'); ?>
    <div class="site-wrapper">
        <article class="entry-content ssa-page-shell">
            <section class="ssa-inner-hero reveal-on-scroll">
                <div class="prespa-saas-box ssa-badge">
                    <img src="<?php echo e(asset('assets/themes/prespa-saas/assets/img/ps-patterns/icons/workflows.png')); ?>" alt="">
                    <span>Services</span>
                </div>

                <h1><?php echo e($page->title ?: 'Tracking and analytics services built for modern growth teams.'); ?></h1>
                <p><?php echo e($pageDescription ?: 'Browse the full service catalog, filter by category, and request a free audit or direct support from any page.'); ?></p>
            </section>

            <section class="ssa-services-layout">
                <aside class="ssa-service-sidebar reveal-on-scroll">
                    <div class="ssa-sidebar-card">
                        <h2>Service categories</h2>
                        <nav class="ssa-category-nav" aria-label="Service categories">
                            <a href="<?php echo e(route('services.index')); ?>" class="<?php echo e(blank($currentCategory) ? 'is-active' : ''); ?>">
                                <span>All services</span>
                                <strong><?php echo e($categories->sum('total')); ?></strong>
                            </a>

                            <?php $__currentLoopData = $categories; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $category): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <a href="<?php echo e(route('services.index', ['category' => $category->category])); ?>" class="<?php echo e($currentCategory === $category->category ? 'is-active' : ''); ?>">
                                    <span><?php echo e($category->category); ?></span>
                                    <strong><?php echo e($category->total); ?></strong>
                                </a>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                        </nav>
                    </div>

                    <div class="ssa-sidebar-card">
                        <?php echo $__env->make('partials.contact-actions', [
                            'headline' => 'Need help choosing the right service?',
                            'intent' => 'pricing',
                            'compact' => true,
                            'showSupport' => true,
                        ], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
                    </div>
                </aside>

                <div class="ssa-services-main">
                    <div class="ssa-services-toolbar reveal-on-scroll">
                        <p>
                            Showing
                            <strong><?php echo e($services->count()); ?></strong>
                            <?php echo e(\Illuminate\Support\Str::plural('service', $services->count())); ?>

                            <?php if(filled($currentCategory)): ?>
                                in <strong><?php echo e($currentCategory); ?></strong>
                            <?php endif; ?>
                        </p>
                        <?php if(filled($currentCategory)): ?>
                            <a href="<?php echo e(route('services.index')); ?>" class="ssa-inline-link">Clear filter</a>
                        <?php endif; ?>
                    </div>

                    <section class="ssa-service-grid">
                        <?php $__empty_1 = true; $__currentLoopData = $services; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $service): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
                            <div class="reveal-on-scroll">
                                <?php echo $__env->make('partials.service-card', ['service' => $service], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
                            </div>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
                            <div class="ssa-sidebar-card reveal-on-scroll">
                                <h2>No services found</h2>
                                <p>Try another category, or request a free audit and we can recommend the best tracking path for your setup.</p>
                            </div>
                        <?php endif; ?>
                    </section>
                </div>
            </section>
        </article>
    </div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.app', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH /home/xsoftdev/saleemsail.xsoftdevelop.com/resources/views/frontend/services.blade.php ENDPATH**/ ?>