// PoliciesPage - summaries of Kid Link's policies and procedures, brought across
// from kidlink.net.au/policies. Full copies of any policy are available on request.

function PoliciesPage() {
  const policies = [
    {
      h: "Cancellation Policy",
      meta: "Effective 20/08/24",
      paras: ["We aim to give families consistent, regular appointment times each term, which only works if cancellations are managed carefully."],
      bullets: [
        "Cancel before 10:00am the day before your session: no fee.",
        "Cancel after 10:00am the day prior, or no-show: 90% of the session fee is charged.",
        "We accept cancellations by email or voicemail outside business hours, including Sundays for Monday sessions, as long as they reach us before the 10:00am cut-off.",
      ],
    },
    {
      h: "Feedback and Complaints Management",
      paras: [
        "We always want to know if something isn't right, and most issues can be resolved quickly once we hear about them. Feedback can be shared directly with your therapist, or by phone, email, or through our website.",
        "Complaints are managed in line with the NDIS (Complaints Management and Resolution) Rules 2018. If you would like to escalate a concern, you can contact:",
      ],
      bullets: [
        "Practice Manager (Chelsea): chelsea@kidlink.net.au",
        "Director (Jackie Sikic): (03) 9879 7019 or jackie@kidlink.net.au",
        "NDIS Quality and Safeguards Commission: 1800 035 544",
      ],
    },
    {
      h: "Privacy and Information Management",
      paras: [
        "We comply with the Privacy Act 1988 and Privacy Amendment Act 2012, the Victorian Privacy and Data Protection Act 2014, and the Health Records Act 2001 (Vic).",
        "Participant records are kept in the Cliniko cloud-based system, protected by firewalls, passwords, and multi-factor authentication, with any paper records held in locked cabinets. Payments are processed securely via IntegraPay. Records are retained for 7 years post-discharge (or, for minors, until they are at least 25). Five consents are confirmed in our Service Agreement.",
        "You can access your records by contacting the Director. Privacy concerns can be escalated to the Australian Privacy Commissioner or the NDIS Commission.",
      ],
    },
    {
      h: "Safe Practice and Environment",
      paras: ["We are committed to providing a safe setting for participants, visitors, and staff, while recognising that meaningful therapy sometimes involves supported, appropriate risk-taking. Full procedures are available on request."],
    },
    {
      h: "Risk Management",
      paras: ["We manage risk across governance and clinical practice, compliance (including AHPRA registration and worker checks), business operations, and the safety of staff and visitors. Strategies include insurance, feedback mechanisms, staff training, and regular audits via our Risk Management Register."],
    },
    {
      h: "Incident Management",
      paras: ["Incidents are identified, recorded, assessed, and investigated in line with the requirements of the NDIS Quality and Safeguards Commission. Full procedures are available on request."],
    },
    {
      h: "Code of Conduct",
      paras: ["To keep our clinic safe and welcoming for everyone, we ask families to:"],
      bullets: [
        "Communicate respectfully and with a considerate tone.",
        "Arrive 5 to 15 minutes before sessions.",
        "Help keep the facility clean and supervise all children in waiting areas.",
        "Avoid food without OT approval, and no animals without prior permission.",
        "Attend and actively engage in sessions unless an alternative has been arranged.",
      ],
      foot: "We may refuse or discontinue service where a child or family is unwell or has been exposed to bodily fluids, where behaviour is violent, threatening, sexually inappropriate, or harassing, or in cases of unethical goals, excessive cancellations, or repeated code-of-conduct breaches. The Director has final discretion.",
    },
  ];

  return (
    <>
      {/* Hero */}
      <Hero
        eyebrow="Policies and Procedures"
        title={<>Our policies and <span style={{ color: "var(--kl-sun)" }}>procedures</span></>}
        body="A summary of the policies that guide how we work and keep families, participants, and staff safe. Full copies of any policy are available on request."
        image="../../assets/images/team-hero-generated.jpg"
        imageFocus="50% 35%"
        primaryLabel="Enquire Now"
      />

      <Section scheme="scheme-2">
        <div style={{ maxWidth: 820, marginInline: "auto", display: "flex", flexDirection: "column", gap: 24 }}>
          {policies.map((p) => (
            <Card key={p.h} style={{ padding: 32 }}>
              <div style={{ display: "flex", alignItems: "baseline", justifyContent: "space-between", gap: 16, flexWrap: "wrap", marginBottom: 14 }}>
                <h2 style={{ fontSize: "var(--kl-text-h4)", lineHeight: 1.2 }}>{p.h}</h2>
                {p.meta && <span style={{ fontSize: "var(--kl-text-tiny)", fontWeight: 700, letterSpacing: "0.08em", textTransform: "uppercase", color: "var(--kl-fg-2)" }}>{p.meta}</span>}
              </div>
              {p.paras.map((t, i) => (
                <p key={i} style={{ fontSize: "var(--kl-text-regular)", lineHeight: 1.6, color: "var(--kl-fg-2)", marginBottom: 14 }}>{t}</p>
              ))}
              {p.bullets && (
                <ul style={{ listStyle: "none", padding: 0, margin: "4px 0 0", display: "flex", flexDirection: "column", gap: 10 }}>
                  {p.bullets.map((b) => (
                    <li key={b} style={{ display: "flex", gap: 12, alignItems: "flex-start", fontSize: "var(--kl-text-regular)", lineHeight: 1.5 }}>
                      <span style={{ flexShrink: 0, width: 22, height: 22, borderRadius: 7, background: "var(--kl-plum-lightest)", display: "grid", placeItems: "center", marginTop: 1 }}>
                        <MIcon name="check" size={14} color="var(--kl-plum)" />
                      </span>
                      <span>{b}</span>
                    </li>
                  ))}
                </ul>
              )}
              {p.foot && (
                <p style={{ fontSize: "var(--kl-text-small)", lineHeight: 1.6, color: "var(--kl-fg-2)", marginTop: 16, paddingTop: 16, borderTop: "1px solid var(--kl-border)" }}>{p.foot}</p>
              )}
            </Card>
          ))}

          <p style={{ fontSize: "var(--kl-text-small)", color: "var(--kl-fg-3)", lineHeight: 1.6, textAlign: "center", marginTop: 8 }}>
            To request the full version of any policy, contact our admin team on (03) 9879 7019 or admin@kidlink.net.au.
          </p>
        </div>
      </Section>

      <Contact
        showBooking={false}
        intro="Have a question about our policies or procedures? Send us a message and our team will respond within 1-2 business days."
      />
    </>
  );
}

window.PoliciesPage = PoliciesPage;
