import Reveal from "../Reveal";
import SectionHeading from "../SectionHeading";
import type { HomeCopy } from "@/lib/home";

/** Three slots ready for real client testimonials; nothing here is invented. */
export default function Testimonials({ copy }: { copy: HomeCopy["testimonials"] }) {
  return (
    <section className="bg-cream py-24 md:py-32">
      <div className="mx-auto max-w-7xl px-5 md:px-8">
        <SectionHeading eyebrow={copy.eyebrow} title={copy.title} />
        <div className="mt-14 grid gap-8 md:grid-cols-3">
          {[0, 1, 2].map((i) => (
            <Reveal key={i} delay={i * 0.1}>
              <figure className="flex h-full flex-col border border-dashed border-stone/40 p-8">
                <span className="font-serif text-6xl leading-none text-gold-ink" aria-hidden>
                  &ldquo;
                </span>
                <blockquote className="mt-2 flex-1 font-serif text-2xl text-ink/60">{copy.placeholder}</blockquote>
                <figcaption className="eyebrow mt-8 text-[0.62rem] text-stone">{copy.author}</figcaption>
              </figure>
            </Reveal>
          ))}
        </div>
      </div>
    </section>
  );
}
