/* IGI — Product Detail (Motor) */
function Motor({ navigate }) {
const [tab, setTab] = React.useState('coverage');
const tabs = [
{ id: 'coverage', label: 'What\'s covered' },
{ id: 'plans', label: 'Plans & pricing' },
{ id: 'addons', label: 'Add-ons' },
{ id: 'claims', label: 'How claims work' },
{ id: 'docs', label: 'Documents' },
];
return (
<>
Motor Insurance
Drive with
peace of mind.
Comprehensive cover for private cars, commercial vehicles, and motorcycles — with same-day claim assessment at 180+ approved workshops nationwide.
{[['98%', 'Claims paid'], ['7 days', 'Avg. settlement'], ['180+', 'Workshops']].map(([n, l]) => (
))}
[ illustration: motor cover ]
{tabs.map(t => (
))}
{tab === 'coverage' && }
{tab === 'plans' && }
{tab === 'addons' && }
{tab === 'claims' && }
{tab === 'docs' && }
>
);
}
function CoverageSection() {
const covered = [
{ i: I.Car, t: 'Accidental damage', d: 'Repair or replacement up to your insured value.' },
{ i: I.Flame, t: 'Fire & explosion', d: 'Including self-ignition and short-circuits.' },
{ i: I.Lock, t: 'Theft & burglary', d: 'Whole vehicle and accessories permanently fitted.' },
{ i: I.Users, t: 'Third-party liability', d: 'Up to PKR 20 lakh as standard, extendable.' },
{ i: I.Zap, t: 'Natural disasters', d: 'Floods, storms, earthquakes — covered as standard.' },
{ i: I.ShieldCheck, t: 'Riot, strike, terrorism', d: 'Damage from civil disturbance, no extra cost.' },
];
const notCovered = [
'Wear & tear, mechanical breakdown',
'Driving without a valid license',
'Use of vehicle for racing or rallying',
'Damage caused while under influence',
];
return (
What\'s covered
The cover, in plain language.
Not covered
{notCovered.map(n => (
{n}
))}
);
}
function PlansSection({ navigate }) {
const plans = [
{ name: 'Third Party', price: 'from 2,500', highlights: ['Mandatory legal cover', 'Liability up to PKR 20L', 'No own-damage cover'], color: 'var(--ink-200)' },
{ name: 'Standard', price: 'from 18,500', highlights: ['Accidental damage', 'Theft & fire', 'Third-party liability', '120+ workshops'], featured: true, color: 'var(--blue-600)' },
{ name: 'Comprehensive Plus', price: 'from 28,900', highlights: ['Everything in Standard', 'Zero depreciation', 'Roadside assistance 24/7', 'Free pickup & drop'], color: 'var(--navy-800)' },
];
return (
Plans & pricing
Pick the plan that fits.
Indicative prices for a 2024 Toyota Yaris in Karachi. Your final premium depends on your vehicle, location, and history.
{plans.map(p => (
{p.featured && (
MOST POPULAR
)}
{p.name}
PKR
{p.price.replace('from ', '')}
/year
{p.highlights.map(h => (
{h}
))}
))}
);
}
function AddonsSection() {
const addons = [
{ i: I.Wrench, t: 'Roadside assistance', p: '+1,800/yr', d: '24/7 towing, jump-start, flat tyre, fuel delivery within 50km.' },
{ i: I.User, t: 'Personal accident cover', p: '+1,200/yr', d: 'Up to PKR 10 lakh for driver & passengers.' },
{ i: I.Sparkles, t: 'Zero depreciation', p: '+3,400/yr', d: 'No deduction for wear & tear on parts during claim.' },
{ i: I.Car, t: 'Replacement vehicle', p: '+2,100/yr', d: 'Rental car for up to 14 days during repair.' },
{ i: I.Lock, t: 'Key & lock cover', p: '+600/yr', d: 'Replacement of stolen or damaged keys, fobs and locks.' },
{ i: I.Globe, t: 'Cross-border (UAE)', p: '+4,500/yr', d: 'Extend cover for trips to UAE — popular with Karachi families.' },
];
return (
Optional add-ons
Tailor it to your life.
);
}
function ClaimsFlowSection({ navigate }) {
return (
Motor claims
From dent to drive — seven days.
{[
{ d: 'Day 1', t: 'Report incident', dx: 'Call, app, or web. Share photos & FIR if applicable.' },
{ d: 'Day 1-2', t: 'Surveyor visit', dx: 'On-site assessment within 4 working hours.' },
{ d: 'Day 3-5', t: 'Approval', dx: 'Estimate reviewed and approved by our claims team.' },
{ d: 'Day 5-7', t: 'Repair & deliver', dx: 'Workshop completes repair. We pay them directly.' },
].map((s, i) => (
{s.d}
{s.t}
{s.dx}
0{i+1}
))}
);
}
function DocsSection() {
const docs = [
'Policy wording (Comprehensive)',
'Policy wording (Third Party)',
'Claim form — Motor',
'List of approved workshops (PDF)',
'Premium calculation methodology',
'Customer service charter',
];
return (
Documents
Everything in writing.
);
}
window.Motor = Motor;