@extends('layouts.public') @section('content') @php $hero = $blocksByKey['hero-plan'] ?? null; $benefits = $blocksByKey['beneficios-plan'] ?? null; $cta = $blocksByKey['cta-plan'] ?? null; $leadForm = $forms['solicitud-comercial'] ?? null; @endphp @if($hero)
{{ $page['titulo_publico'] }}

{{ $hero['titulo'] }}

{{ $hero['subtitulo'] }}

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

{{ $hero['contenido'] }}

@endif
@foreach(($hero['config']['buttons'] ?? []) as $button) {{ $button['text'] }} @endforeach
@endif @if($benefits)

{{ $benefits['titulo'] }}

{{ $benefits['subtitulo'] }}

@foreach(($benefits['config']['items'] ?? []) as $item)

{{ $item['title'] }}

{{ $item['text'] }}

@endforeach
@endif @if($cta && $leadForm)

{{ $cta['titulo'] }}

{{ $cta['subtitulo'] }}

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