(function (global) {
const { useState } = React;
const { Header, Breadcrumb, Footer } = global.ShieldPointComponents;
function FaqPage() {
const navConfig = global.SHIELD_POINT_NAV;
const breadcrumbItems = [
{ label: 'Home', href: '/' },
{ label: 'FAQ' },
];
const inspectionFaqs = [
{
q: 'What is a home inspection?',
a: 'A home inspection is an impartial, non-invasive visual evaluation of a property’s accessible systems and components so buyers and owners understand its current condition before making decisions.',
},
{
q: 'What does a standard home inspection include?',
a: 'It covers the roof, attic, exterior, foundation and structure, plumbing, electrical, heating and cooling (HVAC), insulation, ventilation, and interior rooms.',
},
{
q: 'Is a home inspection a pass-or-fail test?',
a: 'No. Every home has maintenance items. An inspection objectively documents defects, safety concerns, and upcoming repairs rather than giving a pass or fail grade.',
},
{
q: 'How long does a home inspection take?',
a: 'Most residential inspections take between 2 to 3.5 hours depending on the size, age, and condition of the property.',
},
{
q: 'When will I receive my home inspection report?',
a: 'You receive a clear, easy-to-read digital report with high-resolution photos and practical recommendations within 24 hours — often the same day.',
},
{
q: 'Should I attend the home inspection?',
a: 'Yes! Attending allows us to walk you through key findings in person, explain routine maintenance, and answer your questions on-site.',
},
{
q: 'Which areas does Shield Point Home Inspection serve?',
a: 'We are based in Brampton and serve Mississauga, Caledon, Toronto (GTA), Oakville, Burlington, Milton, Hamilton, Niagara Falls, Guelph, Kitchener, Waterloo, and Cambridge.',
},
{
q: 'What types of properties do you inspect?',
a: 'We inspect detached homes, semi-detached houses, townhomes, condominiums, new construction (PDI & Tarion warranty), and pre-listing properties.',
},
{
q: 'Why choose Shield Point Home Inspection?',
a: 'Led by Veerpal Singh (Carson Dunlop trained, InterNACHI® certified, OBC Part 9 qualified), we deliver unhurried inspections, transparent pricing starting at $99, and clear communication.',
},
];
const pestFaqs = [
{
q: 'Are your pest control treatments safe for children and pets?',
a: 'Yes. We use Health Canada–approved, targeted products and low-toxicity application methods designed to keep your family and pets safe.',
},
{
q: 'How soon can you come out for an emergency pest problem?',
a: 'We offer rapid same-day and next-day dispatch across Brampton, Mississauga, Caledon, and the GTA for urgent pest situations.',
},
{
q: 'Do I need to leave my house during the service?',
a: 'For most targeted treatments, you do not need to leave. If a specific treatment requires temporary vacating (such as intensive bed bug or flea fogging), we inform you clearly in advance.',
},
{
q: 'Do you offer a guarantee or warranty on your services?',
a: 'Yes, our treatments include clear service guarantees and practical prevention advice to help ensure pests do not return.',
},
{
q: 'How long does a typical pest control treatment take?',
a: 'Most standard residential pest treatments take 45 to 90 minutes, depending on the pest type, severity, and property size.',
},
];
const [searchQuery, setSearchQuery] = useState('');
const [activeTab, setActiveTab] = useState('all');
const [openInspection, setOpenInspection] = useState(0);
const [openPest, setOpenPest] = useState(0);
const qLower = searchQuery.trim().toLowerCase();
const filterList = (list) =>
qLower
? list.filter(
(item) =>
item.q.toLowerCase().includes(qLower) ||
item.a.toLowerCase().includes(qLower)
)
: list;
const filteredInspection =
activeTab === 'pest' ? [] : filterList(inspectionFaqs);
const filteredPest =
activeTab === 'inspection' ? [] : filterList(pestFaqs);
const showInspection = filteredInspection.length > 0;
const showPest = filteredPest.length > 0;
const singleColumnMode = (showInspection && !showPest) || (!showInspection && showPest);
return (