    :root {
      --blue: #1d5a9d;
      --orange: #f2880f;
      --light: #f5f7fa;
      --dark: #333;
      /* core colour tokens */
      --chat--color-white: #ffffff;
      /* keep */
      --chat--color-white-rgb: 255, 255, 255;
      /* NEW — stops NaN issue */
      --chat--color-light: #f5f7fa;

      /* branding */
      --chat--color-primary: #f2880f;
      --chat--toggle--background: #f2880f;
      --chat--toggle--hover--background: #f2880f;
      --chat--toggle--active--background: #f2880f;

      /* typography */
      --chat--message--font-size: 0.85rem;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0
    }

    body {
      font-family: "Segoe UI", Helvetica, Arial, sans-serif;
      line-height: 1.6;
      background: var(--light);
      color: var(--dark);
    }

    a {
      color: inherit;
      text-decoration: none
    }

    h1,
    h2,
    h3 {
      font-weight: 600;
      color: var(--blue)
    }

    img {
      max-width: 100%;
      height: auto;
      display: block
    }

    /* ---------- Sticky header ---------- */
    nav {
      position: sticky;
      top: 0;
      z-index: 1000;
      background: #fff;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: .75rem 2rem;
      box-shadow: 0 2px 6px #0001;
    }

    nav .logo {
      display: flex;
      align-items: center;
      gap: .65rem
    }

    nav .logo img {
      height: 100px
    }

    .btn-primary {
      background: var(--orange);
      color: #fff;
      padding: .6rem 1.25rem;
      border-radius: 4px;
      font-weight: 600;
      white-space: nowrap;
    }

    .btn-primary:hover {
      opacity: .88
    }



    /* ---------- Two-column layout ---------- */
    mainn {
      display: grid;
      grid-template-columns: 2fr 360px;
      gap: 3rem;
      max-width: 1200px;
      margin: 3rem auto;
      padding: 0 1.5rem;
    }

    /* ---------- Services grid ---------- */
    #services ul {
      list-style: none;
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2rem;
    }

    #services li {
      background: #fff;
      border-radius: 8px;
      padding: 2rem;
      text-align: center;
      box-shadow: 0 2px 6px #0002;
      height: 220px;
    }

    #services li img {
      width: 56px;
      margin: 0 auto 1rem
    }

    #services li h3 {
      margin: .6rem 0 .3rem;
      font-size: 1.1rem
    }

    #services li p {
      font-size: .9rem;
      color: #555
    }

    /* ---------- Testimonials slider ---------- */
    #testimonials {
      margin: 4rem 0;
      background: #fff;
      border-radius: 8px;
      box-shadow: 0 2px 6px #0002;
      overflow: hidden;
      position: relative;
    }

    .slides {
      display: flex;
      width: 400%;
      animation: scroll 20s infinite;
    }

    .slide {
      flex: 0 0 25%;
      padding: 2rem;
      text-align: center;
    }

    .slide blockquote {
      font-style: italic;
      margin-bottom: 1rem
    }

    @keyframes scroll {

      0%,
      20% {
        transform: translateX(0)
      }

      25%,
      45% {
        transform: translateX(-25%)
      }

      50%,
      70% {
        transform: translateX(-50%)
      }

      75%,
      95% {
        transform: translateX(-75%)
      }

      100% {
        transform: translateX(0)
      }
    }

    /* ---------- Quote form ---------- */
    aside {
      position: sticky;
      top: 6rem;
      align-self: start;
      background: #fff;
      padding: 2rem;
      border-radius: 8px;
      box-shadow: 0 2px 8px #0002;
    }

    form .field {
      margin-bottom: 1rem
    }

    form label {
      display: block;
      font-size: .9rem;
      margin-bottom: .25rem
    }

    form input,
    form textarea {
      width: 100%;
      padding: .6rem .75rem;
      border: 1px solid #ccd3db;
      border-radius: 4px;
      font-size: .9rem;
    }

    form textarea {
      resize: vertical;
      min-height: 120px
    }

    form button {
      width: 100%;
      margin-top: .5rem;
      background: var(--blue);
      color: #fff;
      font-size: 1rem;
      padding: .75rem;
      border: none;
      border-radius: 4px;
      cursor: pointer;
    }

    form button:hover {
      opacity: .9
    }

    /* ---------- Footer ---------- */
    footer {
      background: var(--blue);
      color: #fff;
      padding: 2rem;
      margin-top: 4rem;
    }

    footer .inner {
      max-width: 1200px;
      margin: 0 auto;
      display: flex;
      justify-content: space-between;
      gap: 2rem;
      flex-wrap: wrap;
      font-size: .9rem;
    }

    footer h4 {
      margin-bottom: .5rem;
      color: #fff
    }

    footer a {
      color: #fff;
      text-decoration: underline
    }

    /* ---------- Guard clause for small screens ---------- */
    @media (max-width:1023px) {
      body {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100vh;
        text-align: center;
        padding: 2rem
      }

      body>* {
        display: none
      }

      body::before {
        content: "Please view the desktop version on a larger screen. Mobile users, visit our digital business card.";
        font-size: 1.15rem;
        color: var(--dark);
      }
    }

    .chat-layout {
      text-align: left;
      padding: 0;

    }

    .chat-layout .chat-header h1 {
      color: black !important;
    }

    .chat-layout .chat-header p {
      color: black !important;
    }

    .chat-layout .chat-header {
      background: #e2e4e8 !important;
      width: 100% !important;
    }

    .chat-footer {
      width: 100% !important;
      padding: 5px;
    }

    #n8n-chat .n8n-chat__window,
    #n8n-chat .n8n-chat__window::before,
    /* removes translucent overlay */
    #n8n-chat .chat-layout,
    #n8n-chat .history,
    #n8n-chat .chat-footer {
      background: var(--chat--color-white) !important;
      backdrop-filter: none !important;
    }

    /* === Slideshow base === */
    .slideshow-container {
      position: relative;
      margin: 3rem auto;
      max-width: 1000px;
    }

    .mySlide {
      display: none;
    }

    .mySlide img {
      width: 100%;
      height: auto;
      border-radius: 6px;
      box-shadow: 0 4px 12px #0003;
    }

    /* === Fade animation === */
    .fade {
      animation: fadeSlide 1.5s ease-in-out;
    }

    @keyframes fadeSlide {
      from {
        opacity: .4
      }

      to {
        opacity: 1
      }
    }

    /* MDN pattern :contentReference[oaicite:3]{index=3} */

    /* === Dots === */
    .dots {
      text-align: center;
      margin-top: 1rem;
    }

    .dot {
      height: 15px;
      width: 15px;
      margin: 0 3px;
      display: inline-block;
      border-radius: 50%;
      background: #bbb;
      transition: background-color .6s;
    }

    /* StackOverflow tweak :contentReference[oaicite:4]{index=4} */
    .active,
    .dot:hover {
      background: var(--orange);
      cursor: pointer;
    }

    /* menu list sits between logo and CTA buttons */
    .nav-menu {
      list-style: none;
      display: flex;
      gap: 5rem;
      margin: 1rem 2rem 0 8rem;
      /*   ↑ left margin pushes it just right of logo   */
      padding: 0;
      font-size: 20px;
    }

    .nav-menu a {
      color: var(--dark);
      font-weight: 600;
      transition: color .25s;
    }

    .nav-menu a:hover {
      color: var(--orange);
      /* simple hover effect */
    }

    .nav-menu li {
      position: relative;
    }

    /* anchors the submenu */

    .submenu {
      list-style: none;
      position: absolute;
      top: 100%;
      left: 0;
      min-width: 220px;
      background: #fff;
      /* white card */
      border-radius: 4px;
      box-shadow: 0 4px 10px #0002;
      display: none;
      /* hidden by default */
      padding: .5rem 0;
      z-index: 999;
      /* sits above header */
    }

    .submenu li a {
      display: block;
      padding: .5rem 1rem;
      white-space: nowrap;
    }

    .submenu li a:hover {
      background: var(--light);
      color: var(--orange);
    }

    /* show submenu on hover OR keyboard focus */
    .has-sub:hover>.submenu,
    .has-sub:focus-within>.submenu {
      display: block;
    }

    #hero::before {
      content: "";
      position: absolute;
      inset: 0;
      background: rgba(0, 0, 0, .45);
      z-index: 0;
    }

    #hero .inner {
      position: relative;
      z-index: 1;
      max-width: 800px;
      padding: 0 1rem;
    }

    #hero h1 {
      font-size: 3rem;
      margin-bottom: 1rem
    }

    #hero p {
      font-size: 1.25rem;
      margin-bottom: 2rem
    }