/* global React, Reveal, PhiMark, ArchPattern */
// =======================================================================
// TREATMENT DATA (compliant template: what / candidacy / process / aftercare / FAQ)
// No prices. No guaranteed results. Category-level only.
// =======================================================================
const TREATMENT_DATA = {
'skin-quality': {
no: '01',
name: 'Skin Quality',
nameAr: 'جودة البشرة',
hero: 'media/treatment-injectables-01.webp',
blurb: 'Addressing early signs of ageing, supporting skin health, restoring luminosity — with biostimulators, energy-based therapies, wrinkle relaxation and hyaluronic-acid injectables.',
blurbAr: 'علاج العلامات المبكرة للشیخوخة، صحة وإشراق البشرة.',
what: 'The Skin Quality pillar groups treatments that work at the level of the skin itself — supporting collagen and elastin production, calming inflammation, smoothing fine lines and improving texture. Plans typically combine more than one modality, chosen after diagnostic assessment.',
candidacy: [
'Adults seeking to address early signs of ageing or skin-quality concerns',
'Suitable medical history and skin-type assessment',
'Realistic expectations — results vary; outcomes are never guaranteed',
'Not suitable during pregnancy or for certain medical conditions',
],
process: [
['Diagnostic', 'A doctor-led consultation. 3D imaging of skin captures texture, pigmentation, hydration, and depth of lines as objective baselines.'],
['Plan', 'A personalised plan is proposed based on findings. You are encouraged to take time before committing.'],
['Treatment', 'Each treatment is delivered by the consulting doctor. Sessions vary in length; comfort, sterility and discretion are the constants.'],
['Review', 'A follow-up review is scheduled to assess response. The plan is adjusted, paused, or completed as appropriate.'],
],
aftercare: 'Most non-surgical treatments allow a return to daily activity. You will be given a written aftercare protocol covering the first 24\u201372 hours — typical guidance includes avoiding heat, intense exercise, and certain skincare actives for a defined window. Direct contact with the clinic is available during recovery.',
faqs: [
['Will results be guaranteed?', 'No. Outcomes vary between individuals, and we are required by regulatory guidance not to promise results. Your doctor will discuss what is realistic for your specific assessment.'],
['How long does a session take?', 'Session length depends on the treatment and plan. Your consultation will set clear expectations.'],
['Are there prices on the website?', 'No. All treatment is by consultation — a written plan and quotation are provided after assessment.'],
['What if I decide not to proceed?', 'That is the expected outcome of some consultations. We sometimes recommend skincare and sun protection only.'],
],
devices: ['3D imaging assessment', 'Energy-based therapy', 'Injectable biostimulators', 'Hyaluronic-acid injectables', 'Wrinkle relaxation'],
},
'facial-structure': {
no: '02',
name: 'Facial Structure',
nameAr: 'بنية الوجه',
hero: 'media/treatment-detail-01.webp',
blurb: 'Restoring proportion as the face changes — bone loss, muscle shift, fat redistribution — with a stated focus on natural results.',
blurbAr: 'استعادة التوازن الطبیعي للوجه.',
what: 'The Facial Structure pillar addresses architectural change. Treatments work with the underlying anatomy of the face rather than on the surface, restoring proportion in a way that respects the patient’s natural features. Conservative dosing and anatomically considered planning are explicit values.',
candidacy: [
'Adults experiencing age-related changes in facial proportion',
'Suitable medical history and anatomical assessment',
'A preference for natural, restorative outcomes over dramatic change',
'Realistic expectations — results vary; outcomes are never guaranteed',
],
process: [
['Diagnostic', 'A consultation that maps the face anatomically, identifying where structure has changed.'],
['Plan', 'A staged plan is proposed — some areas may not be treated at all. Conservatism is a positive value here.'],
['Treatment', 'Each session is delivered by the consulting doctor with explicit attention to symmetry and proportion.'],
['Review', 'Follow-up review at the appropriate interval; subsequent stages confirmed only after assessment.'],
],
aftercare: 'Typical aftercare includes avoiding pressure on treated areas, certain sleeping positions, and heat for a defined window. A written protocol is provided.',
faqs: [
['What does "natural" mean here?', 'Treatment that respects the patient’s anatomy — the aim is restoration of proportion, not transformation.'],
['How many sessions are typical?', 'Plans are individual; some are single sessions, others are staged. Your consultation will outline the expected number.'],
['Are there prices on the website?', 'No. All treatment is by consultation — a written plan and quotation are provided after assessment.'],
],
devices: ['3D imaging · anatomical mapping', 'Structural injectables', 'Volume restoration', 'Profile and contour balance'],
},
'hair-restoration': {
no: '03',
name: 'Hair Restoration',
nameAr: 'إستعادة الشعر',
hero: 'media/treatment-hair-01.webp',
blurb: 'Non-surgical, personalised hair-health plans. 3D imaging assesses scalp health before any plan is proposed.',
blurbAr: 'خطط شخصیة غیر جراحیة لصحة الشعر.',
what: 'The Hair Restoration pillar treats hair and scalp health as a clinical concern rather than a cosmetic one. Diagnostic 3D imaging maps the scalp; treatment plans are personalised, staged and conservative. Dr Halah Taha has a particular interest in alopecia.',
candidacy: [
'Adults concerned with hair thinning, loss, or scalp health',
'Comprehensive medical history including nutritional and hormonal factors',
'Realistic expectations — hair-health response varies; outcomes are never guaranteed',
],
process: [
['Diagnostic', '3D imaging of the scalp; bloodwork may be requested. A clinical baseline is established before any plan is proposed.'],
['Plan', 'A staged plan, often with topical, in-clinic and at-home components.'],
['Treatment', 'Sessions are delivered in-clinic at planned intervals.'],
['Review', 'Response is assessed against the imaging baseline at scheduled review points.'],
],
aftercare: 'Aftercare for hair-restoration treatments is typically minimal but includes specific guidance for the first 24 hours. A written protocol is provided.',
faqs: [
['Is this surgery?', 'No. Ouronyx Dubai offers non-surgical hair restoration only.'],
['When do results show?', 'Hair-cycle response is gradual. Your doctor will discuss realistic timelines for your specific case.'],
['Are there prices on the website?', 'No. All treatment is by consultation.'],
],
devices: ['3D scalp imaging', 'In-clinic scalp therapy', 'Personalised maintenance protocols'],
},
};
// =======================================================================
// Treatments hub
// =======================================================================
function TreatmentsHub({ locale, onNav, onBook }) {
const ar = locale === 'ar';
const pillars = Object.entries(TREATMENT_DATA);
return (
{/* Page header */}
φ {ar ? 'العلاجات' : 'Treatments'}
{ar ? <>ثلاث ركائز. خطة واحدة.> : <>Three pillars. One plan.>}
{ar
? 'كل خطة علاجیة في عیادتنا تبدأ بمحادثة تشخیصیة وتصویر ثلاثي الأبعاد. لا أسعار قبل الاستشارة، ولا وعود بنتائج. الصحة قبل الجمال.'
: 'Every plan begins with a doctor-led consultation and 3D imaging. No prices are quoted before assessment; no results are guaranteed. Health over beauty.'}
{/* Pillars list — full-width editorial rows */}
{pillars.map(([slug, p], i) => (
))}
{/* Diagnostic-first section */}
{ar ? 'التشخيص أولاً' : 'Diagnostic-first'}
{ar ? <>تصویر ثلاثي الأبعاد.> : <>3D imaging. Then plan.>}
{ar
? 'یعتمد نهجنا على ربط التكنولوجیا بالعلامات النفسیة والجمالیة والتشریحیة، لبناء محادثة قائمة على البیانات تمكنك من اتخاذ قرار مدروس.'
: 'Our approach blends technology with psychological, aesthetic and anatomical markers — a data-driven conversation that empowers you to make informed decisions, not a procedure menu.'}
);
}
// =======================================================================
// Treatment detail page — with tabs (what / candidacy / process / aftercare / FAQ)
// =======================================================================
function TreatmentDetail({ slug, locale, onNav, onBook }) {
const ar = locale === 'ar';
const p = TREATMENT_DATA[slug];
const [tab, setTab] = React.useState('what');
if (!p) return
Treatment not found.
;
const tabs = [
['what', ar ? 'ما هو' : 'What it is'],
['candidacy', ar ? 'المرشحون' : 'Candidacy'],
['process', ar ? 'العملية' : 'Process'],
['aftercare', ar ? 'الرعاية اللاحقة' : 'Aftercare'],
['faq', ar ? 'الأسئلة' : 'FAQs'],
];
return (
{/* Hero */}
{p.no} · PILLAR
{ar ? p.nameAr : p.name}.
{/* Lede + sidebar */}
{ar ? p.blurbAr : p.blurb}
{ar ? 'في هذه الركيزة' : 'Within this pillar'}
{p.devices.map((d) => (
{d}
))}
{/* Tabs */}
{tabs.map(([k, v]) => (
))}
{tab === 'what' && (
{p.what}
)}
{tab === 'candidacy' && (
{p.candidacy.map((c, i) => (
0{i + 1}
{c}
))}
)}
{tab === 'process' && (
{p.process.map(([title, body], i) => (
STEP · 0{i + 1}
{title}
{body}
))}
)}
{tab === 'aftercare' && (
{p.aftercare}
Direct contact with the clinic is available during recovery — WhatsApp +971 58 685 8562.
)}
{tab === 'faq' && (
{p.faqs.map(([q, a], i) => (
))}
)}
{/* Cross-link to other pillars */}
{ar ? 'ركائز أخرى' : 'Other pillars'}
{Object.entries(TREATMENT_DATA).filter(([k]) => k !== slug).map(([k, other]) => (
))}
);
}
function FAQRow({ q, a }) {
const [open, setOpen] = React.useState(false);
return (