/* ===================== Independent lift consultant page ===================== */
const { Icon, AIMark, PageShell, PageHero, DeepRow, Verdict, CTASection, AuditCTA, HOME } = window;

/* Services keyed to what building owners actually search for:
   contract review, tender, invoice audit, capital works, condition, renewal. */
const SERVICES = [
  { icon: "file", title: "Lift maintenance contract review", desc: "Your agreement read end to end: fees, escalation caps, inclusions, response times and notice periods extracted, and the gaps that quietly cost you flagged clearly." },
  { icon: "swap", title: "Maintenance tender management", desc: "A structured lift maintenance tender from scope to award: every submission normalised to your scope and compared like for like on price, cover and terms." },
  { icon: "receipt", title: "Lift invoice audit", desc: "Every invoice checked against your actual contract. Escalations above the cap, charges for covered work and unmatched visits flagged before you pay, not after." },
  { icon: "trend", title: "Capital works & modernisation planning", desc: "Component-level forecasts of what will need replacing and when, validated against your repair history, so modernisation is planned and budgeted, never a surprise." },
  { icon: "shield", title: "Condition & compliance oversight", desc: "Inspection and audit reports tracked in one place, with obligations and actions visible, so you stay on top of AS 1735, EN 81-20 and Building Code of Australia obligations, and nothing sits unread in a drawer." },
  { icon: "gauge", title: "Renewal & rollover watch", desc: "Multi-year agreements can roll over quietly if nobody is watching the notice window. LPM tracks expiry and notice dates so every renewal is a decision, not a default." },
];

/* Q&A written for search and AI answer engines; each answer stands alone. */
const CONSULT_FAQS = [
  {
    q: "Do I need a lift consultant?",
    a: "If you are responsible for lifts, whether as a building manager, body corporate or strata committee, or facility management company, a lift consultant gives you independent expertise the contractor side has always had. Common triggers are a maintenance contract up for renewal, invoices that keep climbing, a modernisation proposal you can't easily verify, or a tender you want run properly. LPM gives you that continuously and affordably: a digital lift consultant that checks every document, plus direct access to the team whenever you want to talk something through. For specialist new-installation design work, a dedicated engineering consultancy is still the right call; for the contracts, invoices, tenders and upgrades you manage every month, LPM has you covered.",
  },
  {
    q: "How much does a lift consultant cost in Australia?",
    a: "Traditional lift consultancy is typically engaged by the project, and a single condition report or contract review commonly runs from a few thousand dollars up to tens of thousands depending on scope and involvement. That model works well for major projects like a full modernisation. LPM takes a different approach for day-to-day oversight: one flat monthly fee per contract, with the platform and human help included.",
  },
  {
    q: "Is LPM independent?",
    a: "Yes. LPM doesn't sell lift maintenance, parts, repairs or installations, and takes no commissions from contractors. Its only customer is the building owner or manager, so every recommendation, including confirming that a charge or quote is fair, is made in your interest. Independence also means impartial: when your contractor has it right, LPM says so.",
  },
];

const pageSchema = {
  "@context": "https://schema.org",
  "@graph": [
    {
      "@type": "Organization",
      "@id": "https://liftportfoliomanagement.com.au/#organization",
      name: "Lift Portfolio Management",
      url: "https://liftportfoliomanagement.com.au/",
      areaServed: ["AU", "NZ"],
      founder: { "@id": "https://liftportfoliomanagement.com.au/#gareth" },
    },
    {
      "@type": "Person",
      "@id": "https://liftportfoliomanagement.com.au/#gareth",
      name: "Gareth Evans",
      jobTitle: "Founder",
      image: "https://liftportfoliomanagement.com.au/assets/gareth.png",
      worksFor: { "@id": "https://liftportfoliomanagement.com.au/#organization" },
      description:
        "Lift industry professional with 18 years across both service and new equipment, in sales, operations and state-level management, now giving building owners independent oversight of lift service contracts and upgrades through LPM.",
      knowsAbout: [
        "Lift maintenance contracts",
        "Lift maintenance tendering",
        "Lift invoice auditing",
        "Lift modernisation and capital works planning",
        "Elevator portfolio management",
      ],
    },
    {
      "@type": "ProfessionalService",
      "@id": "https://liftportfoliomanagement.com.au/#consulting",
      name: "LPM Digital Lift Consultant & Contract Management",
      url: "https://liftportfoliomanagement.com.au/lift-consultant.html",
      provider: { "@id": "https://liftportfoliomanagement.com.au/#organization" },
      areaServed: ["AU", "NZ"],
      description:
        "A digital lift consultant and lift contract management platform for building managers, strata committees and FM companies: contract reviews, maintenance tenders, invoice audits, capital works and upgrade planning, delivered by a digital consultant (Lola AI) with direct access to founder Gareth Evans, an 18-year lift industry veteran.",
      serviceType: [
        "Lift maintenance contract review",
        "Lift maintenance tender",
        "Lift invoice audit",
        "Lift maintenance oversight",
        "Lift modernisation planning",
      ],
    },
    {
      "@type": "FAQPage",
      mainEntity: CONSULT_FAQS.map((f) => ({
        "@type": "Question",
        name: f.q,
        acceptedAnswer: { "@type": "Answer", text: f.a },
      })),
    },
  ],
};

function GarethVisual() {
  return (
    <div className="panel" style={{ padding: 28, textAlign: "center" }}>
      <div
        aria-label="Gareth Evans, founder of LPM"
        style={{
          width: 210, height: 210, borderRadius: "50%", margin: "6px auto 18px",
          background: "#10141d url(assets/gareth.png) center / 326px auto no-repeat",
          boxShadow: "0 18px 44px rgba(16,20,29,.22)",
        }}
      />
      <div style={{ fontWeight: 700, fontSize: 18 }}>Gareth Evans</div>
      <div style={{ fontSize: 13, color: "var(--muted)", marginTop: 4 }}>Founder · 18 years in lift service &amp; new equipment</div>
      <div style={{ display: "flex", gap: 8, justifyContent: "center", flexWrap: "wrap", marginTop: 14 }}>
        <span className="pill">Service Agreements</span>
        <span className="pill">New Equipment</span>
        <span className="pill">Operations &amp; Sales</span>
        <span className="pill">Lift Upgrades</span>
      </div>
    </div>
  );
}

function Services() {
  return (
    <section className="section" id="services" style={{ paddingTop: 70 }}>
      <div className="wrap">
        <div className="section__head">
          <span className="eyebrow">What we cover</span>
          <h2 className="section__title">Everything your contracts need,<br />in one place.</h2>
          <p className="section__sub" style={{ maxWidth: 740 }}>
            LPM covers the part of the lift lifecycle you deal with every month: the contract, the service, the invoices,
            the tenders and the upgrades. Independent, and always on your side.
          </p>
        </div>
        <div className="fgrid fgrid--3">
          {SERVICES.map((s) => (
            <div className="fcard" key={s.title}>
              <div className="fcard__ico"><Icon name={s.icon} /></div>
              <h3 className="fcard__title">{s.title}</h3>
              <p className="fcard__desc">{s.desc}</p>
            </div>
          ))}
        </div>
      </div>
    </section>
  );
}

function Pairing() {
  return (
    <section className="section band" id="how" style={{ paddingTop: 90 }}>
      <div className="wrap">
        <div className="section__head">
          <span className="eyebrow">Human + digital</span>
          <h2 className="section__title">Software for the every day.<br />A person when you want one.</h2>
          <p className="section__sub" style={{ maxWidth: 720 }}>
            You never have to choose between a platform and a person. LPM is both, and they share the same view of your portfolio.
          </p>
        </div>
        <div className="fgrid fgrid--2">
          <div className="fcard">
            <div className="fcard__ico"><AIMark size={20} /></div>
            <h3 className="fcard__title">Lola, the digital consultant</h3>
            <p className="fcard__desc">
              Reads every contract, quote, invoice and report the moment it lands. Answers any question about your lifts instantly,
              cites the clause she's drawing from, and never sends an hourly bill. Unlimited use is included with every contract on your plan.
            </p>
          </div>
          <div className="fcard">
            <div className="fcard__ico"><Icon name="award" /></div>
            <h3 className="fcard__title">Gareth, the industry expert</h3>
            <p className="fcard__desc">
              Some things you'd just rather run past a person: awarding a tender, weighing an upgrade, or sense-checking a big charge.
              Any time you want to, you talk to Gareth directly.
            </p>
          </div>
        </div>
        <Verdict tag="The difference" title="Advice that's continuous, not occasional.">
          A traditional consultancy engagement gives you an expert for a project. LPM gives you one for the life of the contract:
          the platform watches every document all year, and a real person is there whenever you want to talk. <strong>Both are included in one flat monthly fee per contract.</strong>
        </Verdict>
      </div>
    </section>
  );
}

function CostSection() {
  return (
    <section className="section" id="cost">
      <div className="wrap">
        <div className="section__head">
          <span className="eyebrow">What it costs</span>
          <h2 className="section__title">Consulting priced like software,<br />not like a project.</h2>
          <p className="section__sub" style={{ maxWidth: 760 }}>
            Traditional lift consultancies do excellent work, and for a one-off major project a dedicated engagement can be exactly
            right. But a single condition report or contract review typically costs a few thousand dollars, so most owners only get
            independent advice at a moment of crisis. LPM turns that on its head: one flat monthly fee per lift maintenance contract,
            with the digital consultant, unlimited questions and human backup all included. Independent oversight for the other 364
            days of the year.
          </p>
        </div>
        <div className="section__head" style={{ marginTop: 8 }}>
          <a className="btn btn--accent" href="contracts.html">See plans &amp; pricing <span className="arr"><Icon name="arrow" /></span></a>
        </div>
      </div>
    </section>
  );
}

function ConsultFaq() {
  return (
    <section className="section band" id="faq" style={{ paddingTop: 90 }}>
      <div className="wrap">
        <div className="section__head">
          <h2 className="section__title">Common questions.</h2>
        </div>
        <div style={{ maxWidth: 820, margin: "0 auto" }}>
          {CONSULT_FAQS.map((f, i) => (
            <div key={i} style={{ padding: "22px 0", borderBottom: i < CONSULT_FAQS.length - 1 ? "1px solid var(--border)" : "none" }}>
              <h3 style={{ fontSize: 17, fontWeight: 650, margin: 0 }}>{f.q}</h3>
              <p style={{ fontSize: 14.5, lineHeight: 1.65, color: "var(--muted)", marginTop: 12, marginBottom: 0 }}>{f.a}</p>
            </div>
          ))}
        </div>
        <p className="section__sub" style={{ textAlign: "center", marginTop: 26 }}>
          More questions? See the full <a href="faq.html" style={{ color: "inherit", textDecoration: "underline" }}>lift maintenance FAQ</a>.
        </p>
      </div>
    </section>
  );
}

function Page() {
  return (
    <PageShell current="lift-consultant.html">
      <script
        type="application/ld+json"
        dangerouslySetInnerHTML={{ __html: JSON.stringify(pageSchema) }}
      />
      <PageHero
        icon="award"
        kicker="Digital lift consultant"
        crumb="Lift Consultant"
        title={<>A digital lift consultant for your contracts. <span className="soft">And a real expert whenever you want one.</span></>}
        sub="LPM reads and manages every contract, quote and invoice, the way a good lift consultant would. And whenever you want to talk to a person, you have direct access to Gareth, LPM's founder, who knows the service and upgrade side inside out."
        pills={["Independent", "Contracts & upgrades", "AU & NZ"]}
        actions={<a className="btn btn--ghost" href="contact.html">Talk to Gareth</a>}
      />

      <section className="section" style={{ paddingTop: 70 }} id="gareth">
        <div className="wrap">
          <DeepRow
            kicker="The expert behind it"
            title="A real person, with real industry miles."
            desc="LPM was founded by Gareth Evans after 18 years in the lift industry, across both service and new equipment. He has sat on the other side of the table, and built LPM so building owners get the same visibility their contractors have always had. Whenever you want to talk it through with a person, you talk to him, and he can advise you directly on service contracts and minor upgrades."
            points={[
              <><b>He's written the contracts</b><span>: understanding how agreements are structured, how fees escalate, and where the detail matters.</span></>,
              <><b>He's worked both sides</b><span>: working across lift service and new equipment, so he knows how the industry really prices and delivers.</span></>,
              <><b>He's scoped the upgrades</b><span>: from minor works to full modernisations, with a real sense of what they involve and cost.</span></>,
            ]}
            visual={<GarethVisual />}
          />
        </div>
      </section>

      <Services />
      <Pairing />
      <CostSection />
      <ConsultFaq />

      <CTASection
        title="Put an independent expert on your lifts."
        sub="Start with a free audit of your own contract and invoices, request access to the platform, or talk it through with Gareth directly."
      />
    </PageShell>
  );
}

ReactDOM.createRoot(document.getElementById("root")).render(<Page />);
