/* Generic practice-area page renderer. Set window.HDZ_PAGE before loading. */ const { Button: PButton, ProcessTimeline: PTimeline, TestimonialCard: PTestimonial, Accordion: PAccordion } = window.WarpDesignSystem_e8eaa1; const PP_STR = { overview: { en: 'Overview', es: 'Resumen' }, process: { en: 'How it works', es: 'Cómo funciona' }, processTitle: { en: 'What to expect, step by step.', es: 'Qué esperar, paso a paso.' }, faq: { en: 'FAQ', es: 'Preguntas Frecuentes' }, faqTitle: { en: 'Common questions.', es: 'Preguntas comunes.' }, clientVoice: { en: 'Client Voice', es: 'Voz del Cliente' }, otherAreas: { en: 'Other practice areas', es: 'Otras áreas de práctica' }, home: { en: 'Home', es: 'Inicio' }, }; function PracticePage() { const [lang, setLang] = useLang(); const t = (o) => o[lang]; const slug = window.HDZ_PAGE; const page = window.PRACTICE_PAGES[slug]; const href = `${slug}.html`; const others = SHARED.nav[lang].slice(1).filter((l) => l.href !== href); return (
{/* HERO */}
{/* breadcrumb */}
{t(PP_STR.home)} / {t(page.title)}
{page.hideHeroIcon ? null :
{Icons[page.icon](40)}
}

{t(page.title)}

{t(page.heroSub)}

{t(SHARED.cta)} {HDZ_CONTACT.phone}
{(page.imageSlot || page.heroImage) && (
{page.heroImage ? ( {page.heroImage.alt[lang]} ) : (
)}
)}
{/* OVERVIEW + CASE TYPES */}

{t(page.overview)}

{page.caseTypes[lang].map((c, i) => (
{c.t}

{c.b}

))}
{/* PROCESS + TESTIMONIAL */}
{/* FAQ */}
{/* INTERNAL LINKS */}
{t(PP_STR.otherAreas)} {others.map((o) => ( (e.currentTarget.style.color = 'var(--color-accent)')} onMouseLeave={(e) => (e.currentTarget.style.color = 'var(--color-text)')} > {o.label} → ))}
); } window.PracticePage = PracticePage;