@extends('layout.front.master')
@section('title', config('site.name') . ' | ' . config('site.tagline', __('Welcome')))
@section('description', config('site.seo.description') ?? config('site.description', ''))
@section('keywords', config('site.seo.keywords') ?? '')
{{-- Open Graph Meta Tags --}}
@section('og_title', config('site.name'))
@section('og_description', config('site.og.description') ?? config('site.description', ''))
@section('og_image', brand_og_image())
@section('og_type', 'website')
@section('og_url', url()->current())
{{-- Twitter Card Meta Tags --}}
@section('twitter_title', config('site.name'))
@section('twitter_description', config('site.twitter.description') ?? config('site.description', ''))
@section('twitter_image', brand_twitter_image())
@section('content')
{{-- ═══════════════════════════════════════════════════════════════
HERO SECTION — Angled with floating concept images
═══════════════════════════════════════════════════════════════ --}}
{{ config('site.name') }}
{{ config('site.welcome.hero_badge', "Let's Go") }}
{{ config('site.tagline', 'Beyond Expectations') }}
{!! config('site.welcome.hero_title', 'Crafting Success
Through Marketing') !!}
{{ config('site.welcome.feature_1', 'Digital Marketing') }}
{{ config('site.welcome.feature_2', 'Growth Agency') }}
{{-- Floating image grid — 9 concept images, BewPro layout --}}
{{-- ═══════════════════════════════════════════════════════════════
FIRST MARQUEE — Scrolling text ticker
═══════════════════════════════════════════════════════════════ --}}
{{ config('site.welcome.marquee_text', 'Planning • Positioning • Market Research • Optimization • Analysis • Strategy •') }}
{{-- ═══════════════════════════════════════════════════════════════
CLIENT LOGOS / REFERENCES
═══════════════════════════════════════════════════════════════ --}}
@if(is_module_active('references') && isset($featuredReferences) && $featuredReferences->count() > 0)
@foreach($featuredReferences->take(6) as $index => $ref)
@if($ref->logo)
 ? $ref->logo : asset($ref->logo) }})
@endif
@endforeach
@else
@endif
{{-- ═══════════════════════════════════════════════════════════════
CTA SECTION — "Empowering brands" with badge + description
═══════════════════════════════════════════════════════════════ --}}
{!! config('site.welcome.cta_heading', 'Empowering brands with innovative strategies to drive growth
and success.') !!}
{{ config('site.welcome.feature_description', "Unlock your brand's potential with tailored marketing strategies that connect, engage, and drive measurable results.") }}
{{-- ═══════════════════════════════════════════════════════════════
KPIs / IMPACT NUMBERS — Dark background with counters
═══════════════════════════════════════════════════════════════ --}}
{{ config('site.welcome.kpi_badge', 'Impact Numbers') }}
@php
$defaultKpis = [
['value' => '10', 'append' => '+', 'label' => 'Years of Growth', 'description' => 'Over a decade of driving consistent growth, delivering impactful results, and empowering brands to achieve their fullest potential'],
['value' => '5', 'append' => 'M+', 'label' => 'Revenue Generated', 'description' => 'Millions in revenue generated through strategic campaigns, helping our clients achieve remarkable financial success and sustainable growth.'],
['value' => '100', 'append' => '+', 'label' => 'Business Served', 'description' => 'Partnered with hundreds of businesses across diverse industries, delivering tailored marketing solutions that drive results and foster long-term success.'],
];
$displayKpis = !empty($kpis) ? $kpis : [];
if (empty($displayKpis)) {
for ($i = 1; $i <= 3; $i++) {
$val = config("site.welcome.kpi_{$i}_value");
if ($val) {
$displayKpis[] = [
'value' => $val,
'append' => config("site.welcome.kpi_{$i}_suffix", $defaultKpis[$i-1]['append']),
'label' => config("site.welcome.kpi_{$i}_label", $defaultKpis[$i-1]['label']),
'description' => config("site.welcome.kpi_{$i}_description", $defaultKpis[$i-1]['description']),
];
}
}
}
if (empty($displayKpis)) {
$displayKpis = $defaultKpis;
}
@endphp
@foreach($displayKpis as $index => $kpi)
{{ $kpi['label'] ?? '' }}
@if(!empty($kpi['description']))
{{ $kpi['description'] }}
@endif
@endforeach
{{-- ═══════════════════════════════════════════════════════════════
SERVICES — GSAP scroll-linked images + service blocks
═══════════════════════════════════════════════════════════════ --}}
{{ config('site.welcome.services_badge', __('What We Do')) }}
@if(is_module_active('services') && isset($services) && $services->count() > 0)
@php $scrollImages = ['img1', 'img2', 'img3']; @endphp
@foreach($services->take(3) as $index => $service)
{{ $service->title }}
{{ \Illuminate\Support\Str::limit($service->description ?? strip_tags($service->content), 300) }}
{{ __('Conocé más') }}
@endforeach
@else
{{-- Static fallback: 3 service blocks por defecto --}}
@php
// Tolerante a string (newline-separated) o array (desde JSON)
$normalizeItems = function($val, $defaults) {
if (is_array($val)) return array_values(array_filter($val));
if (is_string($val) && trim($val) !== '') {
$list = preg_split('/\r\n|\r|\n/', $val);
$list = array_values(array_filter(array_map('trim', $list)));
if (!empty($list)) return $list;
}
return $defaults;
};
$service1Items = $normalizeItems(config('site.welcome.service_1_items'), ['Investigación de mercado', 'Estrategia de marca corporativa', 'Posicionamiento y propuesta de valor', 'Arquitectura de marca', 'Estrategia digital corporativa', 'Plan de comunicación 360°', 'Auditoría de marca', 'Estrategia de portafolio']);
$service2Items = $normalizeItems(config('site.welcome.service_2_items'), ['Diseño de identidad visual corporativa', 'Manual de marca y guidelines', 'Sistema de aplicaciones', 'Naming y verbal identity', 'Rediseño de marcas existentes', 'Identidad para sub-marcas', 'Brand book digital interactivo', 'Brand assets para equipos']);
$service3Items = $normalizeItems(config('site.welcome.service_3_items'), ['Sitio web corporativo', 'Memoria anual y reportes', 'Presentaciones institucionales', 'Material de venta B2B', 'Comunicación interna', 'Lanzamientos de productos', 'Eventos corporativos', 'Contenido para redes sociales']);
@endphp
{{ config('site.welcome.service_1_title', __('Estrategia')) }}
{{ config('site.welcome.service_1_title', __('Estrategia')) }}
@foreach($service1Items as $item)
- {{ $item }}
@endforeach
{{ config('site.welcome.service_2_title', __('Identidad')) }}
{{ config('site.welcome.service_2_title', __('Identidad')) }}
@foreach($service2Items as $item)
- {{ $item }}
@endforeach
{{ config('site.welcome.service_3_title', __('Comunicación')) }}
{{ config('site.welcome.service_3_title', __('Comunicación')) }}
@foreach($service3Items as $item)
- {{ $item }}
@endforeach
@endif
{{-- ═══════════════════════════════════════════════════════════════
SECOND "EMPOWERING BRANDS" — Centered text + rotating SVG
═══════════════════════════════════════════════════════════════ --}}
{!! config('site.welcome.projects_heading', 'Empowering brands with innovative strategies to drive growth and success.') !!}
{{-- ═══════════════════════════════════════════════════════════════
FEATURED PROJECTS — List with floating images on hover
═══════════════════════════════════════════════════════════════ --}}
@if(is_module_active('projects') && isset($featuredProjects) && $featuredProjects->count() > 0)
{{ config('site.welcome.projects_badge', __('Featured Projects')) }}
@foreach($featuredProjects->take(5) as $index => $project)
-
{{ str_pad($index + 1, 2, '0', STR_PAD_LEFT) }}
{{ $project->title }}
@if($project->image)
@endif
{{ $project->category->name ?? 'Project' }}
@endforeach
@endif
{{-- ═══════════════════════════════════════════════════════════════
PARALLAX SECTION — Scrollable width parallax image
═══════════════════════════════════════════════════════════════ --}}
{{-- ═══════════════════════════════════════════════════════════════
TESTIMONIALS — Angled section with carousel inside bg-dark
═══════════════════════════════════════════════════════════════ --}}
@php
$homeTestimonials = config('site.welcome.testimonials', [
['text' => __('Superaron nuestras expectativas con estrategias de marketing innovadoras. Se tomaron el tiempo para entender nuestra marca y entregaron campañas dirigidas que impulsaron significativamente los resultados.'), 'author' => __('Cliente Satisfecho'), 'company' => config('site.name')],
['text' => __('Excelente gestión de redes sociales. Nuestro engagement se duplicó y la presencia de marca nunca había sido tan fuerte. Recomendamos ampliamente sus servicios.'), 'author' => __('Cliente Satisfecho'), 'company' => config('site.name')],
['text' => __('Su investigación de mercado fue increíblemente exhaustiva. Aportó insights valiosos que dieron forma a toda nuestra estrategia. No podríamos estar más conformes con el resultado.'), 'author' => __('Cliente Satisfecho'), 'company' => config('site.name')],
]);
@endphp
@if(count($homeTestimonials) > 0)
{{ config('site.welcome.testimonials_stars', 'Beyond Expectations') }}
{!! config('site.welcome.testimonials_heading', 'See what our clients are saying!
') !!}
@foreach($homeTestimonials as $testimonial)
{{ $testimonial['text'] }}
{{ $testimonial['author'] }}, {{ $testimonial['company'] }}
@endforeach
@endif
{{-- ═══════════════════════════════════════════════════════════════
SECOND MARQUEE — Bottom ticker before footer (inside bg-dark)
═══════════════════════════════════════════════════════════════ --}}
{{ config('site.welcome.marquee_text_2', 'Planning • Positioning • Market Research • Optimization • Analysis • Strategy •') }}
@endsection
@section('scripts')
@endsection