@extends('layouts.public') @section('content') @php $hero = $blocksByKey['hero-planes'] ?? null; $plans = $blocksByKey['planes-lista'] ?? null; $cta = $blocksByKey['cta-planes'] ?? null; $leadForm = $forms['solicitud-comercial'] ?? null; @endphp @if($hero)

{{ $hero['titulo'] }}

{{ $hero['subtitulo'] }}

@if(!empty($hero['contenido']))

{{ $hero['contenido'] }}

@endif
@endif @if($plans)

{{ $plans['titulo'] }}

{{ $plans['subtitulo'] }}

@foreach(($plans['config']['items'] ?? []) as $item)
{{ $item['etiqueta'] }}

{{ $item['nombre'] }}

{{ $item['resumen'] }}

{{ $item['precio'] }}
    @foreach(($item['caracteristicas'] ?? []) as $feature)
  • {{ $feature }}
  • @endforeach
Ver detalle
@endforeach
@endif @if($cta && $leadForm)

{{ $cta['titulo'] }}

{{ $cta['subtitulo'] }}

@include('public.partials.form', ['form' => $leadForm, 'pageId' => $page['id']])
@endif @endsection