import { createFileRoute } from "@tanstack/react-router";
import LegalLayout, { type LegalSection } from "@/components/LegalLayout";

const TITLE = "Terms & Conditions — Belarsen Quality Paints";
const DESC =
  "The terms governing Belarsen Quality Paints products, texture application and coating services, including estimates, payment, cancellations and liability.";

const SECTIONS: LegalSection[] = [
  {
    heading: "Acceptance of Terms",
    body: 'By engaging Belarsen Quality Paints ("Company", "we", "us", or "our") for paint products, texture application, or related coating services, you agree to be bound by these Terms and Conditions.',
  },
  {
    heading: "Services and Products",
    body: "Belarsen Quality Paints provides high-quality decorative, protective, and textured painting solutions, including but not limited to Acrylic Primer, Stoneio, Ambrosia, Rustik, Super-Fine, and Fenofine products. The scope, timelines, and specifications of each service contract will be outlined in individual project quotes or estimates.",
  },
  {
    heading: "Site Preparation and Access",
    body: "The client must ensure that the application site is accessible, safe, and adequately prepared (e.g., proper structural integrity, dry surfaces, and clearance of obstructions) prior to the commencement of work. The Company is not responsible for surface layer failures resulting from pre-existing structural defects, underlying moisture issues, or uncured masonry.",
  },
  {
    heading: "Estimates, Pricing, and Payment",
    body: "All quotes are based on surface area evaluations, labor requirements, and selected material grades. Payment terms, including deposit requirements and final billing milestones, will be specified in the service contract. Late payments may result in the temporary suspension of ongoing services.",
  },
  {
    heading: "Communication Consent",
    body: "To Communicate with You: We may use your information to respond to your inquiries, provide customer service support, send you important information about the services, and send you marketing communications (with your consent) via different channels, including but not limited to SMS, RCS, Email, WhatsApp, and Voice.",
  },
  {
    heading: "Cancellations and Delays",
    body: "Project schedules are estimates and may be adjusted due to force majeure events, adverse weather conditions affecting exterior paint drying times, or supply chain interruptions. Cancellations by the client must be submitted in writing prior to material procurement or project commencement.",
  },
  {
    heading: "Limitation of Liability",
    body: "To the maximum extent permitted by applicable law, Belarsen Quality Paints shall not be liable for any indirect, incidental, or consequential damages arising from service execution. Our total liability under any claim shall not exceed the total amount paid by the client for the specific service provided.",
  },
  {
    heading: "Governing Law",
    body: "These Terms shall be governed by and construed in accordance with the applicable local laws, without regard to its conflict of law principles.",
  },
  {
    heading: "Contact Information",
    body: "For questions or support regarding these Terms, contact:",
    bullets: [
      <>
        Phone:{" "}
        <a href="tel:+919828898283" className="text-brand hover:underline">
          +91 9828898283
        </a>
      </>,
      <>
        Email:{" "}
        <a href="mailto:info@belarsen.com" className="text-brand hover:underline">
          info@belarsen.com
        </a>
      </>,
      <>
        Website:{" "}
        <a href="https://www.belarsen.com" className="text-brand hover:underline">
          www.belarsen.com
        </a>
      </>,
    ],
  },
];

export const Route = createFileRoute("/terms")({
  head: () => ({
    meta: [
      { title: TITLE },
      { name: "description", content: DESC },
      { property: "og:title", content: TITLE },
      { property: "og:description", content: DESC },
      { property: "og:type", content: "website" },
      { name: "twitter:card", content: "summary_large_image" },
    ],
  }),
  component: TermsPage,
});

function TermsPage() {
  return (
    <LegalLayout
      eyebrow="Legal"
      title="Terms & Conditions"
      intro="The terms that apply when you engage Belarsen Quality Paints for products, texture application or coating services."
      sections={SECTIONS}
    />
  );
}
