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: "CSR Partnership",
  description:
    "Structured, Schedule VII-aligned CSR partnership matching between corporates and vetted NGOs, trusts, and social enterprises. ROPTS advises and introduces — it does not disburse CSR funds.",
  alternates: { canonical: "/services/csr-and-grants/csr-partnership" },
  openGraph: {
    title: "CSR Partnership — ROPTS Venture Capital",
    description:
      "Helping corporate CSR teams find and vet organizations whose programs fit their mandated focus areas and reporting requirements.",
    type: "website",
    url: "/services/csr-and-grants/csr-partnership",
  },
};

const jsonLd = {
  "@context": "https://schema.org",
  "@type": "Service",
  serviceType: "CSR Partnership Advisory",
  provider: { "@type": "Organization", name: "ROPTS Venture Capital" },
  description:
    "Structured CSR partnership matching service connecting corporate CSR programs with vetted NGOs, trusts, and social enterprises whose work aligns with Schedule VII focus areas.",
  areaServed: "IN",
};

const included = [
  {
    title: "Focus-area mapping",
    description: "Matching your CSR mandate's stated focus areas to organizations whose programs genuinely deliver against them, not just describe them.",
  },
  {
    title: "Vetting and compliance check",
    description: "Confirming registration, 12A/80G status, and governance standing of any organization before an introduction is made.",
  },
  {
    title: "Structured introduction",
    description: "A curated, documented introduction so your team can evaluate fit quickly. The partnership terms and reporting arrangement are agreed directly between you and the organization.",
  },
];

const faqs = [
  {
    question: "How does ROPTS identify organizations for a CSR match?",
    answer:
      "We maintain relationships with NGOs, trusts, and social enterprises across common CSR focus areas — education, health, livelihoods, environment, and others — and vet their registration and governance standing before considering them for an introduction.",
  },
  {
    question: "Does ROPTS handle CSR fund disbursement or compliance reporting?",
    answer:
      "No. ROPTS is an advisory and connectivity firm. We structure the match and make the introduction; the funding agreement, disbursement, and Schedule VII compliance reporting are handled directly between your company and the organization you partner with.",
  },
  {
    question: "Can we specify very narrow focus-area or geographic criteria?",
    answer:
      "Yes. The more specific your CSR mandate's criteria, the more precisely we can match — narrow criteria typically produce a smaller but higher-fit shortlist rather than a broad list of loosely related organizations.",
  },
  {
    question: "Is this different from Corporate CSR Matchmaking?",
    answer:
      "This page describes the overall CSR partnership service. Corporate CSR Matchmaking is the same matching process framed specifically for corporate CSR teams running a structured search — see that page if you're a company evaluating multiple organizations at once.",
  },
];

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

      <PageHero
        breadcrumb={[
          { label: "Home", href: "/" },
          { label: "Services", href: "/services" },
          { label: "CSR & Grants", href: "/services/csr-and-grants" },
          { label: "CSR Partnership" },
        ]}
        eyebrow="CSR & Grants"
        title="CSR Partnership"
        description="Structured, Schedule VII-aligned matching between corporate CSR programs and vetted NGOs, trusts, and social enterprises — so your CSR spend goes to organizations that genuinely fit your mandate."
        primaryLabel="Register as a CSR Partner"
        primaryHref="/apply/investor-or-partner"
        secondaryLabel="See How It Works"
        secondaryHref="/how-it-works"
      />

      <div className="container py-16">
        <div className="max-w-2xl">
          <SectionHeading eyebrow="The Situation" title="CSR spend under-delivers when the match is loose" />
          <p className="mt-6 text-body-md text-ink-soft">
            India&apos;s CSR mandate requires companies to direct spend toward defined focus areas under Schedule VII, but
            finding organizations whose programs genuinely deliver against those areas — with the governance and
            compliance standing to be a credible partner — takes real diligence. ROPTS maintains relationships with
            vetted NGOs, trusts, and social enterprises across common focus areas, and matches them to your CSR
            mandate&apos;s specific criteria before making an introduction.
          </p>
          <p className="mt-4 text-body-md text-ink-soft">
            Our role ends at introduction. The partnership agreement, fund disbursement, and Schedule VII reporting
            are handled directly between your company and the organization you choose to partner with.
          </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="Looking for CSR partners whose work fits your mandate?"
        primaryLabel="Register as a CSR Partner"
        primaryHref="/apply/investor-or-partner"
        secondaryLabel="See How It Works"
        secondaryHref="/how-it-works"
      />
    </>
  );
}
