@php($d = $d ?? [])
@php($tints = ['#ff6b6b','#ffd166','#4ecdc4','#a78bfa','#fb923c','#60a5fa'])
<section class="vs-section pf-services" id="services">
    <div class="vs-container">
        <div class="pf-head" data-aos="fade-up">
            <span class="pf-sticker pf-sticker-dark">{{ $d['eyebrow'] ?? 'Our services' }}</span>
            <h2 class="pf-h2">{{ $d['heading'] ?? 'Everything you need' }}</h2>
            @if(!empty($d['subheading']))<p class="pf-lead">{{ $d['subheading'] }}</p>@endif
        </div>
        <div class="pf-cards">
            @foreach(($d['items'] ?? []) as $i => $item)
                <div class="pf-card" data-aos="fade-up" data-aos-delay="{{ ($i % 3) * 90 }}" style="--t:{{ $tints[$i % count($tints)] }}">
                    <div class="pf-card-icon"><i class="{{ $item['icon'] ?? 'fas fa-stethoscope' }}"></i></div>
                    <h3>{{ $item['title'] ?? '' }}</h3>
                    <p>{{ $item['text'] ?? '' }}</p>
                </div>
            @endforeach
        </div>
    </div>
</section>
