@extends('layouts.site') @php $care = $c['maintenance'] ?? []; $meta = $c['meta'] ?? []; $plans = $care['plans'] ?? []; $featuredIndex = collect($plans)->search(fn ($plan) => ! empty($plan['featured'])); $featuredIndex = $featuredIndex === false ? 0 : $featuredIndex; $featuredPlan = $plans[$featuredIndex] ?? []; $pageKey = 'maintenance'; @endphp @section('pageTitle', ($care['title'] ?? 'Care plans').' — '.($meta['siteName'] ?? '')) @section('metaDescription', $care['description'] ?? ($meta['description'] ?? '')) @section('content')

{{ $care['eyebrow'] ?? '' }}

{{ $care['title'] ?? '' }}

{{ $care['description'] ?? '' }}

@if(!empty($care['primaryCta']['label'])) {{ $care['primaryCta']['label'] }} @endif @if(!empty($care['secondaryCta']['label'])) {{ $care['secondaryCta']['label'] }} @endif
@if($featuredPlan) @endif
@if(!empty($care['includes']))

{{ $care['coverageEyebrow'] ?? 'WHAT IS COVERED' }}

{{ $care['coverageTitle'] ?? 'Everything that keeps a site healthy.' }}

{{ $care['coverageDescription'] ?? '' }}

@foreach($care['includes'] as $include)

{{ $include['title'] ?? '' }}

{{ $include['description'] ?? '' }}

@endforeach
@endif @if(!empty($care['promises']))
@foreach($care['promises'] as $promise)
{{ $promise['label'] ?? '' }} {{ $promise['value'] ?? '' }}
@endforeach
@endif @if($plans)

{{ $care['plansEyebrow'] ?? 'CARE PLANS' }}

{{ $care['plansTitle'] ?? '' }}

{{ $care['plansDescription'] ?? '' }}

@foreach($plans as $plan)

{{ $plan['name'] ?? '' }}

@if(!empty($plan['featured'])) {{ $care['featuredLabel'] ?? 'Most chosen' }} @endif

{{ $plan['description'] ?? '' }}

{{ $plan['price'] ?? '' }} {{ $plan['period'] ?? '' }}

@if(!empty($plan['features']))
    @foreach($plan['features'] as $feature)
  • {{ $feature }}
  • @endforeach
@endif {{ $plan['cta'] ?? 'Choose this plan' }}
@endforeach
@if(!empty($care['note']))

{{ $care['note'] }}

@endif
@endif @if(!empty($care['steps']))

{{ $care['stepsEyebrow'] ?? 'HOW SUPPORT WORKS' }}

{{ $care['stepsTitle'] ?? '' }}

{{ $care['stepsDescription'] ?? '' }}

    @foreach($care['steps'] as $step)
  1. {{ str_pad($loop->iteration, 2, '0', STR_PAD_LEFT) }}

    {{ $step['title'] ?? '' }}

    {{ $step['description'] ?? '' }}

    {{ $step['duration'] ?? '' }}
  2. @endforeach
@endif @if(!empty($care['faqs']))

{{ $care['faqEyebrow'] ?? 'CARE FAQ' }}

{{ $care['faqTitle'] ?? '' }}

{{ $care['faqDescription'] ?? '' }}

{{ $care['supportTitle'] ?? '' }}

{{ $care['supportText'] ?? '' }}

@foreach($care['faqs'] as $faq)
first) open @endif> {{ $faq['question'] ?? '' }}

{{ $faq['answer'] ?? '' }}

@endforeach
@endif @include('site.cta', ['cta' => $c['cta'] ?? []]) @endsection