// Vehicle records — sample inventory. In production these come from the live
// GForces / DMS feed. NEVER hardcode price / mileage / fabricated specs.
// Year + Make + Model are factual (taken from filenames); everything else is
// either "POA" or labelled as feed-bound.

const VEHICLES = [
  {
    id: "RMA-0419",
    slug: "morgan-midsummer",
    year: 2025,
    make: "Morgan",
    model: "Midsummer",
    body: "Roadster",
    segment: "Brand new",
    drivetrain: "RWD",
    transmission: "Manual",
    exterior: "Pearl White",
    interior: "Tan",
    region: "GCC",
    price: "POA",
    image: "media/vehicle-morgan-midsummer.webp",
    flags: ["BRAND NEW", "RARE"],
    tag: "Coachbuilt",
  },
  {
    id: "RMA-0387",
    slug: "porsche-911-gt3-rs-weissach",
    year: 2023,
    make: "Porsche",
    model: "911 GT3 RS Weissach",
    body: "Coupé",
    segment: "Sports",
    drivetrain: "RWD",
    transmission: "PDK",
    exterior: "Chalk",
    interior: "Black / Race-Tex",
    region: "GCC",
    price: "POA",
    image: "media/vehicle-porsche-911-gt3-rs-weissach.webp",
    flags: ["LOW MILEAGE"],
    tag: "Motorsport",
  },
  {
    id: "RMA-0402",
    slug: "porsche-911-gt3-rs",
    year: 2019,
    make: "Porsche",
    model: "911 GT3 RS",
    body: "Coupé",
    segment: "Sports",
    drivetrain: "RWD",
    transmission: "PDK",
    exterior: "Chalk",
    interior: "Black",
    region: "GCC",
    price: "POA",
    image: "media/vehicle-porsche-911-gt3-rs.webp",
    flags: [],
    tag: "Motorsport",
  },
  {
    id: "RMA-0291",
    slug: "porsche-911-gt3-clubsport",
    year: 2015,
    make: "Porsche",
    model: "911 GT3 Clubsport",
    body: "Coupé",
    segment: "Sports",
    drivetrain: "RWD",
    transmission: "PDK",
    exterior: "Riviera Blue",
    interior: "Black",
    region: "European",
    price: "POA",
    image: "media/vehicle-porsche-911-gt3-clubsport.webp",
    flags: [],
    tag: "Motorsport",
  },
  {
    id: "RMA-0398",
    slug: "porsche-718-cayman-gt4-rs",
    year: 2023,
    make: "Porsche",
    model: "718 Cayman GT4 RS",
    body: "Coupé",
    segment: "Sports",
    drivetrain: "RWD",
    transmission: "PDK",
    exterior: "Shark Blue",
    interior: "Black / Race-Tex",
    region: "GCC",
    price: "POA",
    image: "media/vehicle-porsche-718-cayman-gt4-rs-weissach.webp",
    flags: [],
    tag: "Sports",
  },
  {
    id: "RMA-0399",
    slug: "porsche-718-cayman-gt4-rs-weissach",
    year: 2023,
    make: "Porsche",
    model: "718 Cayman GT4 RS",
    body: "Coupé",
    segment: "Sports",
    drivetrain: "RWD",
    transmission: "PDK",
    exterior: "Arctic Grey",
    interior: "Black",
    region: "GCC",
    price: "POA",
    image: "media/vehicle-porsche-718-cayman-gt4-rs-weissach-package.webp",
    flags: ["WEISSACH PKG"],
    tag: "Sports",
  },
  {
    id: "RMA-0214",
    slug: "porsche-911-turbo-930",
    year: 1986,
    make: "Porsche",
    model: "911 Turbo (930)",
    body: "Coupé",
    segment: "Classic",
    drivetrain: "RWD",
    transmission: "Manual 4-spd",
    exterior: "Guards Red",
    interior: "Black",
    region: "European",
    price: "POA",
    image: "media/vehicle-porsche-911-turbo-930.webp",
    flags: ["CLASSIC"],
    tag: "Heritage",
  },
  {
    id: "RMA-0421",
    slug: "porsche-911-turbo-s",
    year: 2022,
    make: "Porsche",
    model: "911 Turbo S",
    body: "Coupé",
    segment: "Sports",
    drivetrain: "AWD",
    transmission: "PDK",
    exterior: "Jet Black",
    interior: "Black",
    region: "GCC",
    price: "POA",
    image: "media/vehicle-porsche-911-turbo-s.webp",
    flags: [],
    tag: "Sports",
  },
  {
    id: "RMA-0376",
    slug: "porsche-cayenne-coupe",
    year: 2024,
    make: "Porsche",
    model: "Cayenne Coupé",
    body: "SUV",
    segment: "SUV",
    drivetrain: "AWD",
    transmission: "Auto 8-spd",
    exterior: "Jet Black",
    interior: "Black",
    region: "GCC",
    price: "POA",
    image: "media/vehicle-porsche-cayenne-coupe.webp",
    flags: ["LOW MILEAGE"],
    tag: "SUV",
  },
  {
    id: "RMA-0182",
    slug: "ferrari-599-gtb-fiorano",
    year: 2010,
    make: "Ferrari",
    model: "599 GTB Fiorano",
    body: "Coupé",
    segment: "Prestige",
    drivetrain: "RWD",
    transmission: "F1 Automated",
    exterior: "Bianco Avus",
    interior: "Cuoio",
    region: "European",
    price: "POA",
    image: "media/vehicle-ferrari-599-gtb-fiorano.webp",
    flags: [],
    tag: "Prestige",
  },
  {
    id: "RMA-0410",
    slug: "bentley-flying-spur-azure",
    year: 2024,
    make: "Bentley",
    model: "Flying Spur Azure",
    body: "Saloon",
    segment: "Prestige",
    drivetrain: "AWD",
    transmission: "Auto 8-spd",
    exterior: "Verdant",
    interior: "Linen / Imperial Blue",
    region: "GCC",
    price: "POA",
    image: "media/vehicle-bentley-flying-spur-azure.webp",
    flags: [],
    tag: "Prestige",
  },
  {
    id: "RMA-0388",
    slug: "mercedes-g63-amg",
    year: 2023,
    make: "Mercedes-Benz",
    model: "G63 AMG",
    body: "SUV",
    segment: "SUV",
    drivetrain: "AWD",
    transmission: "Auto 9-spd",
    exterior: "Obsidian Black",
    interior: "Black Nappa",
    region: "GCC",
    price: "POA",
    image: "media/vehicle-mercedes-benz-g-class-g63-amg.webp",
    flags: [],
    tag: "SUV",
  },
  {
    id: "RMA-0156",
    slug: "mercedes-g500-cabrio",
    year: 2014,
    make: "Mercedes-Benz",
    model: "G500 Cabriolet",
    body: "SUV",
    segment: "Classic",
    drivetrain: "AWD",
    transmission: "Auto 7-spd",
    exterior: "Polar White",
    interior: "Black",
    region: "European",
    price: "POA",
    image: "media/vehicle-mercedes-benz-g-class-g500.webp",
    flags: ["RARE"],
    tag: "Heritage",
  },
  {
    id: "RMA-0413",
    slug: "defender-110-octa",
    year: 2025,
    make: "Land Rover",
    model: "Defender 110 OCTA P635",
    body: "SUV",
    segment: "SUV",
    drivetrain: "AWD",
    transmission: "Auto 8-spd",
    exterior: "Carpathian Grey",
    interior: "Ebony",
    region: "GCC",
    price: "POA",
    image: "media/vehicle-land-rover-defender-110-octa-p635-v8.webp",
    flags: ["LOW MILEAGE"],
    tag: "SUV",
  },
  {
    id: "RMA-0405",
    slug: "defender-110-p525",
    year: 2024,
    make: "Land Rover",
    model: "Defender 110 P525 V8",
    body: "SUV",
    segment: "SUV",
    drivetrain: "AWD",
    transmission: "Auto 8-spd",
    exterior: "Santorini Black",
    interior: "Ebony",
    region: "GCC",
    price: "POA",
    image: "media/vehicle-land-rover-defender-110-p525-v8.webp",
    flags: [],
    tag: "SUV",
  },
  {
    id: "RMA-0418",
    slug: "range-rover-vogue-hse",
    year: 2024,
    make: "Land Rover",
    model: "Range Rover Vogue HSE P530",
    body: "SUV",
    segment: "Prestige",
    drivetrain: "AWD",
    transmission: "Auto 8-spd",
    exterior: "Santorini Black",
    interior: "Ebony / Caraway",
    region: "GCC",
    price: "POA",
    image: "media/vehicle-range-rover-vogue-hse-p530.webp",
    flags: [],
    tag: "Prestige",
  },
  {
    id: "RMA-0420",
    slug: "bmw-x7-40i",
    year: 2024,
    make: "BMW",
    model: "X7 xDrive40i M Sport Pro",
    body: "SUV",
    segment: "SUV",
    drivetrain: "AWD",
    transmission: "Auto 8-spd",
    exterior: "Brooklyn Grey",
    interior: "Cognac",
    region: "GCC",
    price: "POA",
    image: "media/vehicle-bmw-x7-40i-x-drive-m-sport-pro.webp",
    flags: ["LOW MILEAGE"],
    tag: "SUV",
  },
  {
    id: "RMA-0322",
    slug: "audi-r8-gt4",
    year: 2021,
    make: "Audi",
    model: "R8 LMS GT4 EVO II",
    body: "Race",
    segment: "Race",
    drivetrain: "RWD",
    transmission: "Sequential",
    exterior: "Britcar Livery",
    interior: "Race",
    region: "European",
    price: "POA",
    image: "media/vehicle-audi-r8-gt4-evo-2.webp",
    flags: ["RACE READY"],
    tag: "Motorsport",
  },
  {
    id: "RMA-0301",
    slug: "caterham-420-cup",
    year: 2022,
    make: "Caterham",
    model: "420 Race Cup",
    body: "Roadster",
    segment: "Race",
    drivetrain: "RWD",
    transmission: "Manual 6-spd",
    exterior: "Polished Aluminium",
    interior: "Race",
    region: "European",
    price: "POA",
    image: "media/vehicle-caterham-420-race-cup-car.webp",
    flags: [],
    tag: "Motorsport",
  },
  {
    id: "RMA-0302",
    slug: "caterham-csr-twenty",
    year: 2023,
    make: "Caterham",
    model: "CSR Twenty (1 of 20)",
    body: "Roadster",
    segment: "Sports",
    drivetrain: "RWD",
    transmission: "Manual 6-spd",
    exterior: "Gloss Black",
    interior: "Black",
    region: "European",
    price: "POA",
    image: "media/vehicle-caterham-csr-twenty-limited-edition-1-of-20.webp",
    flags: ["1 OF 20"],
    tag: "Sports",
  },
];

const MAKES = Array.from(new Set(VEHICLES.map((v) => v.make))).sort();
const SEGMENTS = ["Prestige", "Sports", "Classic", "SUV", "Race", "Brand new"];

// Copy blocks — all factually traceable to the brief.
const COPY = {
  motto: "The enthusiasts empowering everyone to achieve their motoring dreams.",
  motto_short: "Enthusiasts. Engineers. Custodians.",
  about_pull:
    "Three generations of vehicle technicians. Two decades senior at BMW & Rolls-Royce in the UK. One showroom in Dubai built around the cars we'd buy ourselves.",
  about_long: [
    "RMA Motors began with a workshop floor — not a sales floor. Our founding technicians spent two decades inside BMW and Rolls-Royce in the UK, working on the cars that ended up on enthusiasts' bedroom walls.",
    "We brought that engineering culture to Dubai Investment Park. Every car that enters Speedex Center is inspected, prepared and presented by the same hands that would sign off a factory delivery.",
    "Prestige, sports, muscle, classic — we keep a tight, considered roster. We sell, we trade in, we finance, and we hand each car back with the same paperwork we'd want if we were buying it ourselves.",
  ],
  services: [
    {
      key: "buy",
      title: "Buy a car",
      body: "Hand-picked prestige, sports, muscle and classic stock. Every car prepared to the standard our technicians would sign off themselves.",
      cta: "Browse inventory",
    },
    {
      key: "sell",
      title: "Sell or trade-in",
      body: "Accurate valuations from the team that will resell the car. No middlemen, no auction-house haircut. Consignment available.",
      cta: "Request valuation",
    },
    {
      key: "finance",
      title: "Finance",
      body: "Flexible UAE finance options arranged through our banking partners. Rates and terms tailored to the car and the customer.",
      cta: "Enquire about finance",
    },
    {
      key: "care",
      title: "RMA Car Care & PPF",
      body: "In-house multi-stage polish, paint correction, ceramic coating, paint-protection film and window tints — at the same address.",
      cta: "Book a service",
    },
  ],
  trust: [
    "Prestige · Sports · Muscle · Classic",
    "Three generations of vehicle technicians",
    "Ex-BMW & Rolls-Royce UK senior technicians",
    "Sell, trade-in and consignment",
    "UAE finance through banking partners",
    "In-house car care + paint protection film",
  ],
  locations: [
    {
      name: "RMA Motors — Sales",
      addr: "Showroom No. 3, Speedex Center",
      sub: "Dubai Investment Park 1, Dubai, UAE",
      phone: "+971 4 821 9702",
      kind: "Showroom",
    },
    {
      name: "RMA Car Care & PPF",
      addr: "Showroom No. 2, Speedex Center",
      sub: "Dubai Investment Park 1, Dubai, UAE",
      phone: "+971 4 821 9774",
      kind: "Workshop",
    },
  ],
  contact: {
    main: "+971 4 597 3077",
    mainHref: "tel:+97145973077",
    whatsapp: "+971 — TBC",
    email: "TBC",
  },
};

window.VEHICLES = VEHICLES;
window.MAKES = MAKES;
window.SEGMENTS = SEGMENTS;
window.COPY = COPY;
