@extends('layouts.landingPage.template') @php $gallery = $property['gallery'] ?? []; $heroImage = $gallery[0]['url'] ?? null; $secondaryGallery = collect($gallery)->slice(1, 2)->values()->all(); $map = $property['map'] ?? []; $mapMarker = $map['marker_position'] ?? null; $mapMarkerLat = is_numeric($mapMarker['lat'] ?? null) ? (float) $mapMarker['lat'] : null; $mapMarkerLng = is_numeric($mapMarker['lng'] ?? null) ? (float) $mapMarker['lng'] : null; $googleMapsUrl = $mapMarkerLat !== null && $mapMarkerLng !== null ? 'https://www.google.com/maps/dir/?api=1&destination='.$mapMarkerLat.','.$mapMarkerLng.'&travelmode=driving' : null; $calculator = $property['financing_calculator'] ?? ['enabled' => false, 'plans' => []]; $defaultCalculatorPlan = collect($calculator['plans'] ?? [])->firstWhere('id', $calculator['default_plan_id'] ?? null) ?? collect($calculator['plans'] ?? [])->first(); @endphp @section('title', ($property['title'] ?? 'Propiedad') . ' | ' . ($landing['brand']['full'] ?? 'Fraccionamientos Colima')) @section('extra-styles') @endsection @section('main-content')
@foreach ($property['breadcrumbs'] as $breadcrumb) @if (!$loop->last) {{ $breadcrumb['label'] }} / @else {{ $breadcrumb['label'] }} @endif @endforeach
arrow_back Volver al inventario

{{ $property['headline'] }}

{{ $property['description'] }}

{{ $property['primary_badge'] }} @if ($property['secondary_badge']) {{ $property['secondary_badge'] }} @endif
{{ $property['title'] }}

{{ $property['development']['name'] }}

{{ $property['price_formatted'] }}

{{ $property['location_label'] }}

@foreach ($secondaryGallery as $image)
{{ $image['alt'] }}
{{ $image['caption'] }}
@endforeach @if ($secondaryGallery === [])
Galería en construcción. La ficha ya usa el inventario y la ubicación real del lote.
@endif
@foreach ($property['metrics'] as $metric)
{{ $metric['icon'] }}

Dato

{{ $metric['value'] }}

@endforeach
Ficha del lote

Ubicación, medidas y contexto comercial

{{ $property['development_description'] }}

{{ $property['development']['status_label'] }}

Lote

{{ $property['lot_label'] }}

{{ $property['block_label'] }}

Disponibilidad

{{ number_format($property['inventory']['available_lots']) }} lotes disponibles

de {{ number_format($property['inventory']['total_lots']) }} publicados en {{ $property['development']['name'] }}

@if ($calculator['enabled'] ?? false)

Simulador financiero

Calcula tu mensualidad

Ajusta el enganche para estimar la mensualidad del lote con el plan seleccionado.

Estimado
@if (count($calculator['plans'] ?? []) > 1) @else
{{ $defaultCalculatorPlan['name'] ?? 'Financiamiento disponible' }} · {{ $defaultCalculatorPlan['financing_months'] ?? 0 }} meses
@endif

Mínimo requerido: {{ $defaultCalculatorPlan['minimum_down_payment_formatted'] ?? 'MX$0.00' }}

Precio total

{{ $defaultCalculatorPlan['total_price_formatted'] ?? $property['price_formatted'] }}

Plazo

{{ $defaultCalculatorPlan['financing_months'] ?? 0 }} meses

Mensualidad estimada

{{ $defaultCalculatorPlan['default_monthly_payment_formatted'] ?? 'MX$0.00' }}

La simulación toma el enganche mínimo del plan por default y recalcula una mensualidad estimada sobre el saldo restante.

@endif @if ($property['amenities'] !== [])

Amenidades del desarrollo

@foreach ($property['amenities'] as $amenity)
{{ $amenity['icon'] }} {{ $amenity['name'] }}
@endforeach
@endif
@endsection @section('extra-scripts') @endsection