import { test, expect } from '@playwright/test';

test('hero renders and CTA works', async ({ page }) => {
  await page.goto('http://localhost:3000');
  await expect(page.getByRole('heading', { name: /Electricians in Corpus Christi/i })).toBeVisible();
  const cta = page.getByRole('link', { name: /Get My Free Quote/i }).first();
  await expect(cta).toBeVisible();
});