/* global window */
// ============ CONTENT DATA ============
// All facts traceable to research/. Pricing/hours/whatsapp deliberately marked TODO
// where the brief says they are unverified.

const CLINIC = {
  name: "Empire Dental Clinic",
  tagline: "Cosmetic & General Dentistry in Business Bay",
  rating: "4.98",
  reviewCount: 20,
  reviewSource: "Doctify",
  phone: "+971 4 276 6577",
  phoneHref: "tel:+97142766577",
  address: {
    line1: "Office 901, Tower B (Block B), Floor 9",
    line2: "Empire Heights, Marasi Drive",
    line3: "Business Bay, Dubai, UAE"
  },
  hoursLine: "≈ 10:00 – 19:00, Sat–Thu",
  hoursTodo: true,
  whatsappTodo: true,
  emailTodo: true,
  consultPrice: "from AED 200",
  consultTodo: true,
  okadoc: "https://www.okadoc.com/en-ae/practitioner/dentist/dubai/ammar-kayali",
  doctify: "https://www.doctify.com/en-ae/practice/empire-dental-clinic",
  instagram: "@empiredentalclinic"
};

const TREATMENTS = [
  // Cosmetic
  {
    id: "veneers", cat: "Cosmetic", icon: IconSparkle,
    title: "Porcelain Veneers",
    short: "Tooth-coloured shells, custom-shaped for a natural-looking smile.",
    featured: true,
    duration: "2 visits",
    appointments: "≈ 2 weeks",
    price: "Consultation",
    body: "Hand-finished porcelain veneers, shade-matched to your face and lip line. The Empire approach favours conservative tooth reduction and a result that reads as your own teeth — not a uniform Hollywood row. Multiple Doctify patients describe Empire veneers as “look soo natural”.",
    process: [
      { t: "Smile design consultation", d: "Photographs, bite analysis and a printed mock-up of the proposed shape." },
      { t: "Preparation & temporaries", d: "Minimal enamel reduction; you leave with provisional veneers." },
      { t: "Lab fabrication", d: "Hand-layered porcelain at the partner lab, shade-verified in-clinic." },
      { t: "Bonding & polish", d: "Final fit, occlusion check, and polish in a single visit." }
    ],
    faqs: [
      { q: "How many veneers will I need?", a: "Most smile makeovers involve 6–10 veneers on the upper arch, sometimes paired with whitening on the lower arch. Dr Ammar will recommend the smallest case that achieves your goals." },
      { q: "Will my veneers look fake?", a: "Empire prioritises natural-looking results — translucent edges, subtle character, and proportions matched to your face. We can mock up the final shape before any tooth is touched." },
      { q: "How long do they last?", a: "Well-maintained porcelain veneers commonly last 10–15+ years. Night-guards are recommended if you grind." }
    ]
  },
  { id: "hollywood", cat: "Cosmetic", icon: IconCrown,
    title: "Hollywood Smile",
    short: "Full smile makeover combining veneers, alignment and whitening.",
    duration: "2–4 visits", appointments: "2–4 weeks", price: "Consultation",
    body: "A bespoke makeover plan rather than a fixed package — we choose between veneers, crowns, whitening, gum reshaping and orthodontic adjustment based on what your case actually needs.",
    process: [
      { t: "Diagnostic workup", d: "Photos, scans and a wax-up of the proposed result." },
      { t: "Treatment sequencing", d: "Alignment or whitening first if indicated; cosmetic work last." },
      { t: "Restorative phase", d: "Veneers and/or crowns placed in 1–2 visits." },
      { t: "Refinement & review", d: "Bite check at 1 week; polish review at 1 month." }
    ],
    faqs: [
      { q: "Is a Hollywood Smile right for me?", a: "It depends on your goals and starting point. In many cases a more conservative plan — whitening + 4–6 veneers — delivers the same visual result." }
    ]
  },
  { id: "whitening", cat: "Cosmetic", icon: IconSparkle,
    title: "Zoom Teeth Whitening",
    short: "In-chair, light-activated whitening in a single visit.",
    duration: "60–75 min", appointments: "1 visit", price: "Consultation",
    body: "Single-visit, in-chair whitening with light-activated gel. Often paired with custom take-home trays for maintenance.",
    process: [
      { t: "Shade & sensitivity check", d: "Baseline shade recorded; we screen for sensitivity triggers." },
      { t: "Gum isolation", d: "A protective dam keeps the gel on enamel only." },
      { t: "Three light-activated cycles", d: "15-minute cycles, with breaks to check shade." },
      { t: "Desensitiser & shade record", d: "Final shade compared to baseline; aftercare instructions issued." }
    ],
    faqs: [
      { q: "Will it cause sensitivity?", a: "Mild sensitivity for 24–48 hours is common. We apply a desensitiser at the end and avoid whitening if you’re prone to extreme sensitivity." }
    ]
  },
  { id: "laser", cat: "Cosmetic", icon: IconSparkle,
    title: "Laser Dentistry",
    short: "Soft-tissue laser for gum reshaping and lesion treatment.",
    duration: "Varies", appointments: "1+ visits", price: "Consultation",
    body: "Soft-tissue diode laser used for gum reshaping, frenectomy and treatment of minor lesions — typically with less bleeding and quicker recovery than scalpel surgery.",
    process: [{ t: "Assessment", d: "Indication review and informed consent." }, { t: "Laser session", d: "Topical or local anaesthesia; the laser is applied in short controlled passes." }, { t: "Aftercare", d: "Soft diet and rinses for 24–48 hours." }],
    faqs: [{ q: "Does it hurt?", a: "Most cases are done under topical or local anaesthesia and patients report minimal discomfort during and after." }]
  },

  // Orthodontics
  { id: "invisalign", cat: "Orthodontics", icon: IconAligner,
    title: "Invisalign",
    short: "Clear aligners managed by orthodontist Dr Khaled Rajab.",
    featured: true,
    duration: "20–30 min reviews", appointments: "6–18 months", price: "Consultation",
    body: "Aligner therapy planned and supervised by Dr Khaled Rajab, a GCC-registered specialist orthodontist with 25+ years of clinical experience. Most adult cases finish in 6–18 months of full-time wear.",
    process: [
      { t: "Records & ClinCheck", d: "Digital impressions, photos and a 3D plan you preview before starting." },
      { t: "Aligner delivery", d: "Each tray worn ≈22 hours/day, changed every 1–2 weeks." },
      { t: "6-weekly reviews", d: "Short check-ins with Dr Khaled to track progress and refine." },
      { t: "Retention", d: "Custom retainers (fixed or removable) at the end." }
    ],
    faqs: [
      { q: "Will Invisalign work for my case?", a: "Most mild-to-moderate crowding, spacing and bite issues are treatable with aligners. Severe surgical cases may need braces or combined therapy." },
      { q: "How visible are the aligners?", a: "They’re thin, clear and removable for eating and key occasions. Attachments — small tooth-coloured bumps — are usually only noticeable up close." }
    ]
  },
  { id: "braces", cat: "Orthodontics", icon: IconAligner,
    title: "Braces & Self-Ligation",
    short: "Traditional and SLX self-ligating brackets — including complex cases.",
    duration: "Monthly review", appointments: "12–24 months", price: "Consultation",
    body: "Conventional and self-ligating bracket systems for cases not suitable for aligners — including functional, surgical/orthognathic and TMJ-related cases.",
    process: [{ t: "Orthodontic workup", d: "Cephalometric and panoramic imaging; treatment plan signed off." }, { t: "Bracket placement", d: "Brackets and initial wire fitted in a single appointment." }, { t: "Monthly adjustments", d: "Wire progressions and elastics as needed." }, { t: "Debond & retention", d: "Brackets removed, polish, and retainers fitted." }],
    faqs: [{ q: "Braces or Invisalign?", a: "Dr Khaled will recommend the option that suits your case — sometimes braces give a more controlled result, sometimes aligners suffice." }]
  },
  { id: "retainers", cat: "Orthodontics", icon: IconAligner,
    title: "Retainers",
    short: "Fixed and removable retainers to hold your result.",
    duration: "Single visit", appointments: "1", price: "Consultation",
    body: "Retention is the longest phase of orthodontic treatment. We recommend a combination of fixed lingual wire (lower) and a removable Essix-style retainer (upper) for most cases.",
    process: [{ t: "Final scan", d: "Digital scan of the finished arch." }, { t: "Fit & instruction", d: "Retainers fitted and a wear schedule agreed." }, { t: "Long-term reviews", d: "6-monthly check-ins for the first year." }],
    faqs: [{ q: "How long do I wear them?", a: "Full-time for the first 3–6 months, then nightly indefinitely." }]
  },

  // Implants & Restoration
  { id: "implants", cat: "Implants", icon: IconImplant,
    title: "Dental Implants",
    short: "Titanium implants with US-trained implantology by Dr Ammar.",
    featured: true,
    duration: "3–6 months total", appointments: "3–5 visits", price: "Consultation",
    body: "Single tooth, multiple tooth and full-arch implant solutions. Dr Ammar Kayali holds advanced implantology training from the United States (2000) and has placed implants across the GCC for two decades.",
    process: [
      { t: "Diagnostic CBCT", d: "3D imaging to plan implant position around nerves and sinuses." },
      { t: "Surgical placement", d: "Implant placed under local anaesthesia; healing cap fitted." },
      { t: "Osseointegration", d: "3–6 months while the implant fuses to bone." },
      { t: "Restoration", d: "Custom abutment and crown placed by Dr Ammar." }
    ],
    faqs: [{ q: "Am I a candidate?", a: "Most adults with adequate bone are candidates. If bone volume is low, grafting may extend the timeline." }]
  },
  { id: "crowns", cat: "Implants", icon: IconImplant,
    title: "Crowns & Bridges",
    short: "Tooth-coloured ceramic crowns and conventional bridges.",
    duration: "2 visits", appointments: "≈ 2 weeks", price: "Consultation",
    body: "Full-ceramic crowns are the default for visible teeth; metal-ceramic where bite forces demand it. Bridges are an alternative to implants where a stable abutment tooth exists on either side.",
    process: [{ t: "Preparation", d: "Tooth preparation and digital impression." }, { t: "Temporary", d: "Provisional crown fitted." }, { t: "Fit & bond", d: "Final crown checked, adjusted and cemented." }],
    faqs: [{ q: "Crown or veneer?", a: "If most of the tooth is intact and the concern is cosmetic, a veneer is conservative. If the tooth is heavily restored or root-treated, a crown is safer." }]
  },
  { id: "dentures", cat: "Implants", icon: IconImplant,
    title: "Dentures",
    short: "Conventional and implant-supported dentures.",
    duration: "4–6 weeks", appointments: "3–5 visits", price: "Consultation",
    body: "Full and partial removable dentures, with the option to anchor onto 2–4 implants for stability — particularly transformational on the lower arch.",
    process: [{ t: "Impressions & bite registration", d: "Three appointments to capture form and function." }, { t: "Try-in", d: "Wax try-in to confirm shade, tooth shape and lip support." }, { t: "Fit & review", d: "Delivery, with 1–2 short follow-ups for adjustment." }],
    faqs: [{ q: "Will they look like dentures?", a: "Modern denture teeth and gum acrylics are dramatically more lifelike than older designs — try-ins let you preview before the final." }]
  },

  // General & Preventive
  { id: "cleaning", cat: "General", icon: IconLeaf,
    title: "Check-up & Cleaning",
    short: "6-monthly examination, scale & polish.",
    duration: "45–60 min", appointments: "1", price: "from AED 200",
    body: "Full mouth examination, periodontal screening, scaling, polishing and personalised hygiene advice. This is also the appointment where most patients start their relationship with Dr Ammar.",
    process: [{ t: "Examination", d: "Soft-tissue, gum and tooth-by-tooth screen." }, { t: "Scale & polish", d: "Ultrasonic scaling and polish with prophy paste." }, { t: "Plan & advice", d: "Written summary of findings and next steps." }],
    faqs: [{ q: "How often should I come?", a: "Most healthy adults benefit from a 6-monthly cleaning; gum patients sometimes need 3–4 month intervals." }]
  },
  { id: "rct", cat: "General", icon: IconTooth,
    title: "Root Canal Treatment",
    short: "Single-visit root canal therapy where indicated.",
    duration: "60–90 min", appointments: "1–2", price: "Consultation",
    body: "Modern endodontic instruments and irrigation protocols, usually completed in one or two visits depending on tooth complexity.",
    process: [{ t: "Diagnosis & access", d: "Radiograph and pulp testing; access opened under rubber dam." }, { t: "Cleaning & shaping", d: "Canals cleaned, shaped and disinfected." }, { t: "Obturation", d: "Canals sealed; crown plan discussed." }],
    faqs: [{ q: "Does it hurt?", a: "Under proper local anaesthesia the procedure itself is painless. Post-op tenderness is typical for 24–72 hours." }]
  },
  { id: "extraction", cat: "General", icon: IconTooth,
    title: "Extractions & Oral Surgery",
    short: "Simple and surgical extractions including cyst removal.",
    duration: "20–60 min", appointments: "1", price: "Consultation",
    body: "From simple extractions to surgical removal of impacted teeth and dental cysts, with grafting where future implant placement is planned.",
    process: [{ t: "Imaging & consent", d: "OPG or CBCT and signed consent." }, { t: "Surgical removal", d: "Under local anaesthesia with sedation options on request." }, { t: "Aftercare", d: "Sutures and a 1-week follow-up." }],
    faqs: [{ q: "What about wisdom teeth?", a: "Most upper wisdom teeth are straightforward; lower impactions are referred or staged carefully depending on root anatomy." }]
  },
  { id: "gums", cat: "General", icon: IconLeaf,
    title: "Gum Treatment",
    short: "Periodontal therapy from scaling to gum surgery.",
    duration: "Per quadrant", appointments: "2–4", price: "Consultation",
    body: "Non-surgical periodontal therapy as a first line; minor gum surgery and laser-assisted treatment where deep pockets or recession require it.",
    process: [{ t: "Periodontal charting", d: "Full mouth pocket measurements." }, { t: "Deep cleaning", d: "Scaling and root planning, often per quadrant." }, { t: "Re-evaluation", d: "Re-chart at 8 weeks; surgical review only if needed." }],
    faqs: [{ q: "Will my gums grow back?", a: "Lost gum tissue doesn’t regrow on its own, but inflammation can be controlled and recession can be partially corrected with grafting." }]
  }
];

const CATEGORIES = [
  { id: "all", label: "All treatments" },
  { id: "Cosmetic", label: "Cosmetic" },
  { id: "Orthodontics", label: "Orthodontics" },
  { id: "Implants", label: "Implants & Restoration" },
  { id: "General", label: "General & Preventive" }
];

const DENTISTS = [
  {
    id: "ammar",
    name: "Dr Ammar Kayali",
    role: "Medical Director · General & Cosmetic Dentist",
    dha: "DHA No. 00076079",
    photo: null, // none exists publicly
    photoTodo: true,
    bio: "Medical Director at Empire Dental Clinic since 2014. DDS from the University of Aleppo (1993) with a post-graduate qualification in Oral & Maxillofacial Surgery (1997) and advanced implantology training in the United States (2000). Patients on Doctify describe his bedside manner as “a true gent”, “patient” and “explained everything in detail”.",
    credentials: [
      "DDS, University of Aleppo (1993)",
      "Postgrad, Oral & Maxillofacial Surgery (1997)",
      "US implantology training (2000)",
      "Medical Director at Empire Dental Clinic since 2014"
    ],
    langs: ["English", "العربية"]
  },
  {
    id: "khaled",
    name: "Dr Khaled Rajab",
    role: "Specialist Orthodontist",
    dha: "DHA No. 00181576",
    photo: "media/dr-khaled.webp",
    bio: "GCC-registered specialist orthodontist since 1998. DDS from the University of Aleppo (1993), Damascus University fellowship (1997) and Syrian Board (Orthodontics). Treats clear-aligner, fixed-appliance, functional and surgical/orthognathic cases. Also practises at Dr Rami Hamed Center in DHCC.",
    credentials: [
      "DDS, University of Aleppo (1993)",
      "Damascus University Fellowship (1997)",
      "Syrian Board, Orthodontics",
      "GCC specialist orthodontist since 1998"
    ],
    langs: ["English", "العربية"]
  }
];

const REVIEWS_FEATURED = {
  quote: "After my friend recommended Empire Dental Clinic, I had such a great experience and service there — I never changed my dentist ever since (2019).",
  by: "Verified patient · Doctify · 28 Sep 2023",
  rating: 5
};

const REVIEWS = [
  { q: "He is an amazing Dr — he did my veneers, they look soo natural.", by: "Verified patient · Doctify · 28 Sep 2023", r: 4.5, tag: "Veneers" },
  { q: "One of the best experiences that I ever had. The Dr is so professional and friendly, and the clinic is so cozy and clean.", by: "Verified patient · Doctify · 28 Sep 2023", r: 5, tag: "General" },
  { q: "High-quality care with gorgeous view.", by: "Verified patient · Doctify · 28 Sep 2023", r: 5, tag: "Cosmetic" },
  { q: "Very patient and explained everything in detail and carefully so I understood. Also gave me advice without having to visit him.", by: "Verified patient · Doctify · 28 Sep 2023", r: 5, tag: "General" }
];

const REVIEWS_CAROUSEL = [
  REVIEWS_FEATURED,
  { quote: "He is an amazing Dr — he did my veneers, they look soo natural.", by: "Verified patient · Doctify · 28 Sep 2023", rating: 4.5 },
  { quote: "High-quality care with gorgeous view.", by: "Verified patient · Doctify · 28 Sep 2023", rating: 5 },
  { quote: "Very patient — explained everything in detail and carefully so I understood. Also gave me advice without having to visit him.", by: "Verified patient · Doctify · 28 Sep 2023", rating: 5 }
];

Object.assign(window, {
  CLINIC, TREATMENTS, CATEGORIES, DENTISTS, REVIEWS, REVIEWS_FEATURED, REVIEWS_CAROUSEL
});
