@extends('layout.front.master') @section('title', ($service->title ?? 'Servicio') . ' | Servicios de Construcción | ' . config('site.name')) @section('description', strip_tags(\Illuminate\Support\Str::limit($service->description ?? 'Servicio de construcción especializado de Constructora Gama S.A. Más de 33 años de experiencia en obras públicas y privadas en el NOA.', 160))) @section('keywords', config('site.seo.keywords') . ', ' . strtolower($service->title ?? 'servicio') . ', servicio construcción, Constructora Gama') {{-- Open Graph Meta Tags --}} @php $serviceImage = $service->image ? (filter_var($service->image, FILTER_VALIDATE_URL) ? $service->image : asset($service->image)) : asset('cd-project/img/meta-tags/construction/backgrounds/services-bg.jpg'); @endphp @section('og_title', ($service->title ?? 'Servicio') . ' | Servicios de Construcción | ' . config('site.name')) @section('og_description', strip_tags(\Illuminate\Support\Str::limit($service->description ?? 'Servicio de construcción especializado de Constructora Gama S.A. Más de 33 años de experiencia en obras públicas y privadas en el NOA.', 200))) @section('og_image', $serviceImage) @section('og_type', 'article') @section('og_url', url()->current()) {{-- Twitter Card Meta Tags --}} @section('twitter_title', ($service->title ?? 'Servicio') . ' | Servicios de Construcción | ' . config('site.name')) @section('twitter_description', strip_tags(\Illuminate\Support\Str::limit($service->description ?? 'Servicio de construcción especializado de Constructora Gama S.A. Más de 33 años de experiencia en el NOA.', 200))) @section('twitter_image', $serviceImage) @section('content') @php $moduleConfig = get_module_page_header_config('services'); $pageTitle = $service->title ?? $moduleConfig['title']; $pageSubtitle = $service->description ? \Illuminate\Support\Str::limit(strip_tags($service->description), 100) : $moduleConfig['subtitle']; $breadcrumbs = get_module_breadcrumbs('services', $pageTitle); @endphp @if(should_use_modern_page_header('services')) {{-- Modern Page Header (x-page-header) --}} @else {{-- Classic Page Header para demo-construction --}} @if(view()->exists('modules.services.frontend.partials.dynamic-header')) @include('modules.services.frontend.partials.dynamic-header') @endif {{-- Si no existe el header clásico, no mostrar nada --}} @endif {{-- Main Content Section --}}

{{ $service->title }}

{!! nl2br(e($service->description)) !!}
@if(!empty($service->benefits) && count($service->benefits) > 0)

{{ __('¿Por qué elegir nuestro servicio?') }}

@foreach($service->benefits as $benefit)
@if(!empty($benefit['icon'])) @else @endif

{{ $benefit['title'] }}

{{ $benefit['description'] }}

@endforeach
@endif @if(!empty($service->process_steps) && count($service->process_steps) > 0)

{{ __('Nuestro Proceso de Trabajo') }}

@foreach($service->process_steps as $index => $step)
{{ str_pad($step['order'] ?? ($index + 1), 2, '0', STR_PAD_LEFT) }}

{{ $step['title'] }}

{{ $step['description'] }}

@endforeach
@endif @if(!empty($service->faq) && count($service->faq) > 0)

{{ __('Preguntas Frecuentes sobre') }} {{ $service->title }}

@foreach($service->faq as $faq)

{{ $faq['question'] }}

{{ $faq['answer'] }}

@endforeach
@endif @if(!empty($service->features) && count($service->features) > 0)

{{ __('Características del Servicio') }}

@foreach($service->features as $feature)
{{ $feature['title'] }}
@if(!empty($feature['description']))

{{ $feature['description'] }}

@endif
@endforeach
@endif
{{-- Sidebar --}}
{{-- Call to Action Section --}} @if(!empty($service->cta_config))

{{ $service->cta_config['title'] ?? '¿Interesado en ' . $service->title . '?' }}

{{ $service->cta_config['subtitle'] ?? 'Contáctenos para más información sobre este servicio. Nuestro equipo de expertos está disponible para ayudarle con su proyecto de construcción.' }}

@if(!empty($service->cta_config['button_text'])) {{ $service->cta_config['button_text'] }} @endif @if(!empty($service->cta_config['whatsapp_text'])) {{ __('WhatsApp') }} @endif {{ __('Llamar Ahora') }}
@endif @endsection