@extends('layouts.public') @section('content')

{{ __('ui.home.hero_title') }}

{{ __('ui.home.hero_text') }}

{{-- Location finder: dependent dropdowns, works as a plain link list without JS --}}
{{-- Honest coverage: real counts only (Principle 3, Part 6.3). --}} @feature('home.coverage_map')

{{ __('ui.home.coverage') }}

@foreach($provinces as $p)

@if($p->isPubliclyVisible()) {{ $p->localizedName() }} @else {{ $p->localizedName() }} @endif

{{ $p->active_tehsils_count ? __('ui.home.active') : ($p->registration_tehsils_count ? __('ui.home.registration_open') : __('ui.home.coming_soon')) }}

{{ __('ui.home.counts', ['districts' => $p->districts_count, 'tehsils' => $p->tehsils_count, 'unit' => $p->subunitLabel()]) }}

@if($p->active_tehsils_count)

{{ __('ui.home.active_count', ['count' => $p->active_tehsils_count]) }}

@endif
@endforeach
@endfeature

{{ __('ui.home.news_title') }}

{{-- Phase 2–3: Latest / Most read / Trending appear here, real data only. --}}

{{ __('ui.home.no_news_yet') }}

{{ __('ui.home.reporters_title') }}

{{ __('ui.home.reporters_text') }}

@if($registrationOpen) {{ __('ui.nav.become_reporter') }} @else

{{ __('ui.home.registration_closed') }}

@endif
@endsection