import type { Metadata } from "next";
import { PageHero } from "@/components/patterns/PageHero";
import { SectionHeading } from "@/components/patterns/SectionHeading";
import { FaqAccordion } from "@/components/patterns/FaqAccordion";
import { CtaSection } from "@/components/patterns/CtaSection";
import { Card, CardHeader, CardTitle, CardDescription } from "@/components/ui/Card";

export const metadata: Metadata = {
  title: "SME Growth Capital",
  description:
    "Fundraising advisory and introductions to investors and lenders for established SMEs raising growth capital to scale operations, capacity, or new markets. ROPTS advises and introduces only.",
  alternates: { canonical: "/services/sector-funding/sme-growth-capital" },
  openGraph: {
    title: "SME Growth Capital — ROPTS Venture Capital",
    description:
      "Growth-stage capital readiness and introductions for SMEs with an established operating history looking to expand.",
    type: "website",
    url: "/services/sector-funding/sme-growth-capital",
  },
};

const jsonLd = {
  "@context": "https://schema.org",
  "@type": "Service",
  serviceType: "SME Growth Capital Advisory",
  provider: { "@type": "Organization", name: "ROPTS Venture Capital" },
  description:
    "Fundraising readiness advisory and introduction service for established small and medium enterprises raising growth capital, connecting them with investors and lenders whose focus fits expansion-stage businesses.",
  areaServed: "IN",
};

const included = [
  {
    title: "Growth case review",
    description: "A clear read of what the capital funds — new capacity, new geography, a new product line — and whether the financials support the case.",
  },
  {
    title: "Structure guidance",
    description: "Clarity on whether the raise is better suited to debt, equity, or a blended structure given your margins and growth plan.",
  },
  {
    title: "Investor and lender introduction",
    description: "Matched to growth-capital investors and lenders whose ticket size and sector focus fit an established, revenue-generating SME.",
  },
];

const faqs = [
  {
    question: "How is SME growth capital different from MSME funding or startup funding?",
    answer:
      "SME growth capital is for businesses with an established operating history and revenue base looking to scale — different from a working-capital need and different from an early-stage equity narrative. The investors and lenders relevant here typically look for demonstrated unit economics, not just a growth story.",
  },
  {
    question: "Should we raise debt or equity for growth capital?",
    answer:
      "It depends on your margins, cash flow predictability, and how much control dilution you're willing to accept. We review your financials and growth plan and give you a structure recommendation — the final choice and the terms are yours to negotiate with the lender or investor.",
  },
  {
    question: "What documentation should we have ready?",
    answer:
      "Typically two to three years of financial statements, GST filings, existing debt schedules, and a clear articulation of what the growth capital funds. We'll flag specific gaps during the readiness review before any introduction.",
  },
  {
    question: "Does ROPTS guarantee the raise closes?",
    answer:
      "No. We prepare your case and make a curated introduction to investors or lenders whose focus fits. The credit or investment decision, and the resulting terms, are a direct relationship between you and them.",
  },
];

export default function SmeGrowthCapitalPage() {
  return (
    <>
      <script type="application/ld+json" dangerouslySetInnerHTML={{ __html: JSON.stringify(jsonLd) }} />

      <PageHero
        breadcrumb={[
          { label: "Home", href: "/" },
          { label: "Services", href: "/services" },
          { label: "Sector Funding", href: "/services/sector-funding" },
          { label: "SME Growth Capital" },
        ]}
        eyebrow="Sector Funding"
        title="SME Growth Capital"
        description="Readiness advisory and curated introductions for established SMEs raising capital to fund expansion — new capacity, new markets, or new equipment — matched to the investors and lenders who back growth-stage businesses."
        primaryLabel="Apply to Raise Capital"
        primaryHref="/apply/organization"
        secondaryLabel="See How It Works"
        secondaryHref="/how-it-works"
      />

      <div className="container py-16">
        <div className="max-w-2xl">
          <SectionHeading eyebrow="The Situation" title="Growth capital is a different conversation than a startup raise" />
          <p className="mt-6 text-body-md text-ink-soft">
            An SME with several years of operating history and real revenue doesn&apos;t need to pitch a market opportunity
            from scratch — it needs to make a disciplined case for what additional capital will do to its existing,
            proven operation. That case looks different to a lender than it does to a growth-equity investor, and
            most SMEs approach the wrong one first. ROPTS reviews your financials and growth plan, recommends a
            capital structure that fits your margins and risk appetite, and introduces you to investors or lenders
            whose ticket size and sector focus genuinely match.
          </p>
          <p className="mt-4 text-body-md text-ink-soft">
            Our role ends at introduction. The facility structure, valuation, or terms are negotiated directly between
            your business and the lender or investor.
          </p>
        </div>

        <div className="mt-16">
          <SectionHeading eyebrow="What's Included" title="Three parts of the engagement" />
          <div className="mt-8 grid gap-6 sm:grid-cols-3">
            {included.map((item) => (
              <Card key={item.title}>
                <CardHeader>
                  <CardTitle>{item.title}</CardTitle>
                  <CardDescription>{item.description}</CardDescription>
                </CardHeader>
              </Card>
            ))}
          </div>
        </div>

        <div className="mt-20 max-w-2xl">
          <h2 className="mb-6 font-display text-h1 font-normal text-ink">Frequently Asked</h2>
          <FaqAccordion items={faqs} />
        </div>
      </div>

      <CtaSection
        title="Ready to structure your SME's growth capital raise?"
        primaryLabel="Apply to Raise Capital"
        primaryHref="/apply/organization"
        secondaryLabel="See How It Works"
        secondaryHref="/how-it-works"
      />
    </>
  );
}
