import { tenextButton as TenextButton } from "@/components/shared/AieroButton";
import { PageContainer } from "@/components/shared/PageContainer";

/**
 * PreFooterCTA — "Elevate your business with our innovative solutions" banner.
 *
 * Shared across: Home, About, Services, Contacts.
 *
 * Structure (from reference):
 *   - Plain white section
 *   - Large dark heading, left aligned
 *   - "Get in touch" text link, right aligned
 */
export function PreFooterCTA() {
  return (
    <section className="bg-white px-5 py-[60px] md:py-[80px]">
      <PageContainer className="flex flex-col items-center gap-8 text-center md:flex-row md:justify-between md:text-left">
        {/* Heading */}
        <h2
          className="max-w-[700px] text-tenext-dark"
          style={{
            fontFamily: "var(--font-sora)",
            fontSize: "clamp(28px, 3.5vw, 48px)",
            fontWeight: 700,
            lineHeight: 1.15,
          }}
        >
          Elevate your business with our innovative solutions
        </h2>

        {/* CTA */}
        <TenextButton
          href="/contacts"
          variant="simple"
          className="shrink-0 text-[15px] font-semibold text-tenext-teal"
        >
          Get in touch
        </TenextButton>
      </PageContainer>
    </section>
  );
}
