/* ==========================================================
   Procter Motor Group – Cassiopeia child (cassiopeia_procter)
   Recreates the old Manufacturer / Helix Ultimate look.
   22 Nov 2026
   ========================================================== */
@import url("https://fonts.googleapis.com/css2?family=Heebo:wght@400;500;700;800&family=Open+Sans:ital,wght@0,400;0,600;0,700;1,400&display=swap");
@import url("legacy-sppb.css");
@import url("legacy-custom.css");

:root {
  --pmg-red: #d63229;
  --pmg-red-dark: #b0271f;
  --pmg-ink: #2d3945;
  --pmg-text: #252525;
  --pmg-dark: #171717;
  --cassiopeia-color-primary: #d63229;
  --cassiopeia-color-hover: #b0271f;
  --cassiopeia-color-link: #d63229;
  --cassiopeia-font-family-body: "Open Sans", sans-serif;
  --cassiopeia-font-family-headings: "Heebo", sans-serif;
  --cassiopeia-font-weight-headings: 700;
}

html, body { overflow-x: clip; }
body {
  background-color: #f9f9f9;
  color: var(--pmg-text);
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { font-family: "Heebo", sans-serif; }

/* ---------- Header ---------- */
.container-header {
  background: rgba(255, 255, 255, .92);
  background-image: none;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .06);
  z-index: 1030;
}
.container-header .grid-child { padding-top: 0; padding-bottom: 0; }
.container-header .navbar-brand { padding: 0; margin: 0; }
.container-header .brand-logo img,
.container-header .navbar-brand img { height: 74px; width: auto; max-height: 74px; }

@media (min-width: 992px) {
  .container-header {
    display: flex;
    align-items: center;
    min-height: 77px;
    padding: 0 20px;
  }
  .container-header > .grid-child {
    max-width: none;
    width: auto;
    margin: 0;
    padding: 0;
  }
  .container-header > .grid-child.container-nav {
    flex: 1 1 auto;
    justify-content: flex-start;
    padding-left: 5%;
  }
}

/* Main menu */
.container-header .metismenu,
.container-header .mod-menu { justify-content: flex-start; gap: 0; }
.container-header .metismenu > li,
.container-header .mod-menu > li { padding: 0; margin: 0; }
.container-header .metismenu.mod-menu .metismenu-item.level-1 { padding: 0; }
.container-header .navbar { margin: 0; }
.container-header .mod-menu > li > a,
.container-header .mod-menu > li > span,
.container-header .mod-menu > li > button,
.container-header .metismenu > li > a,
.container-header .metismenu > li > button {
  color: var(--pmg-ink);
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0 15px;
  line-height: 77px;
}
.container-header .mod-menu > li > a:hover,
.container-header .mod-menu > li > a:focus,
.container-header .mod-menu > li.active > a,
.container-header .mod-menu > li.current > a,
.container-header .metismenu > li.active > a,
.container-header .metismenu > li > a:hover {
  color: var(--pmg-red);
}
.container-header .metismenu > li.active > a::after,
.container-header .metismenu > li > a:hover::after { display: none; }
.container-header .metismenu > li { margin: 0; }
.container-header .metismenu .mm-collapse,
.container-header .metismenu ul { background: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.container-header .metismenu ul a { color: var(--pmg-ink); }
.container-header .metismenu ul a:hover { color: var(--pmg-red); }

/* Mobile toggle */
.container-header .navbar-toggler {
  color: var(--pmg-ink);
  border: 1px solid var(--pmg-ink);
  margin: 0 0 0 auto;
}
@media (max-width: 991.98px) {
  .container-header { padding: 8px 15px; }
  .container-header .brand-logo img,
  .container-header .navbar-brand img { height: 56px; }
  .container-header .metismenu > li > a { line-height: 1.4; padding: .75rem 0; display: block; }
  .container-header .navbar { position: static; }
  .container-header .navbar-toggler { position: absolute; top: 18px; right: 15px; margin: 0; }
  .container-header > .grid-child.container-nav { padding: 0; }
  .container-header .container-nav > *,
  .container-header .container-search { width: 100%; margin: 0; }
  .container-header .metismenu { flex-direction: column; align-items: flex-start; width: 100%; }
  .container-header .metismenu > li { width: 100%; border-top: 1px solid rgba(0,0,0,.06); }
}

/* ---------- Full-width SP Page Builder pages ---------- */
@media (min-width: 1200px) { html .container, html .sppb-row-container { max-width: 1350px; } }
@media (min-width: 1400px) { html .sppb-row-container { max-width: 1320px; } }
.com_sppagebuilder .site-grid:not(:has(.container-sidebar-left, .container-sidebar-right)) {
  display: block;
  max-width: none;
  padding: 0;
}
.com_sppagebuilder .site-grid:not(:has(.container-sidebar-left, .container-sidebar-right)) > .container-component {
  max-width: none;
  padding: 0;
  margin: 0;
}
.com_sppagebuilder .container-component main { margin: 0; }
.com_sppagebuilder .container-component > #system-message-container:empty { display: none; }
.com_sppagebuilder .site-grid > .container-breadcrumbs,
.com_sppagebuilder .site-grid > .main-top {
  max-width: 1350px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 15px;
}

/* Helix never underlined page builder links/buttons */
html .sp-page-builder a,
html .sppb-btn { text-decoration: none; }

/* ---------- Breadcrumbs ---------- */
.mod-breadcrumbs { background: transparent; padding: .75rem 0; margin: 0; font-size: 14px; }
.mod-breadcrumbs a { color: var(--pmg-red); }
/* Breadcrumbs placed inside SP Page Builder (About, Contact) – match old Helix look */
html .sppb-addon-module .mod-breadcrumbs,
html .sppb-addon-module .breadcrumb {
  background: transparent; padding: 0; margin: 0;
  text-transform: uppercase; letter-spacing: 2.7px;
  font-size: 18px; font-weight: 600; color: #252525;
}
html .sppb-addon-module .breadcrumb a,
html .sppb-addon-module .breadcrumb .breadcrumb-item.active { color: #252525; text-decoration: none; }
html .sppb-addon-module .breadcrumb .breadcrumb-item + .breadcrumb-item::before { color: #252525; }

/* ---------- Footer (old bottom1-4 + bottom5 + footer) ---------- */
.container-footer {
  background: var(--pmg-dark);
  background-image: none;
  color: #fff;
  margin-top: 0;
}
.container-footer .grid-child {
  display: grid;
  grid-template-columns: 3fr 4fr 3fr 2fr;
  gap: 30px;
  align-items: start;
  max-width: 1350px;
  margin: 0 auto;
  padding: 110px 15px 0;
}
.container-footer .grid-child > .pmg-footer-bottom,
.container-footer .grid-child > :has(> .pmg-footer-bottom) { grid-column: 1 / -1; order: 99; }
.container-footer .grid-child > :has(> .pmg-footer-info) { order: -1; }
.pmg-footer-logo { margin: 0 0 30px -10px; }
.pmg-footer-logo img { width: 260px; max-width: 100%; height: auto; }
.pmg-footer-address { font-style: normal; font-weight: 700; font-size: 16px; line-height: 1.75; color: #fff; margin: 0; }
.container-footer a { color: #a2a2a2; font-size: 18px; text-decoration: none; }
.container-footer a:hover,
.container-footer a:focus,
.container-footer .current > a { color: #fff; }
html .container-footer a,
html .container-footer a:hover,
html .container-footer .mod-menu a { text-decoration: none; }
.container-footer .mod-menu,
.container-footer ul.nav { display: block; list-style: none; padding: 0; margin: 0; }
.container-footer .mod-menu > li { margin: 0 0 18px; padding: 0; }
.container-footer .mod-menu > li > a { padding: 0; }

.pmg-footer-bottom { margin-top: 80px; }
.pmg-social {
  display: flex;
  gap: 18px;
  padding: 30px 0;
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.pmg-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: #a2a2a2;
  font-size: 18px;
}
.pmg-social a:hover,
.pmg-social a:focus { background: var(--pmg-red); color: #fff; }
.pmg-copyright {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 20px 0 25px;
  color: rgba(255, 255, 255, .7);
  font-size: 14px;
}
@media (max-width: 991.98px) {
  .container-footer .grid-child { grid-template-columns: 1fr 1fr; padding-top: 60px; }
}
@media (max-width: 575.98px) {
  .container-footer .grid-child { grid-template-columns: 1fr; }
}

/* ---------- Back to top ---------- */
.back-to-top-link {
  background-color: #333;
  border-radius: 3px;
}
.back-to-top-link:hover, .back-to-top-link:focus { background-color: var(--pmg-red); }

/* ---------- Carried over from Helix Custom CSS ---------- */
body .sppb-btn-default.sppb-btn-outline,
body .sppb-btn.sppb-btn-outline,
body .sppb-btn-primary.sppb-btn-outline,
body .btn.sppb-btn-outline,
body .btn.sppb-btn-default.sppb-btn-outline,
body .btn.sppb-btn-primary.sppb-btn-outline {
  background-color: rgba(0,0,0,0);
  border-color: #d63229;
  color: #d63229;
}


/* ==========================================================
   Calls to action (22 Nov 2026)
   ========================================================== */
.pmg-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: 12px 26px; border-radius: 4px; border: 2px solid transparent;
  font-family: "Open Sans", sans-serif; font-size: 15px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .5px; line-height: 1.2;
  text-decoration: none; white-space: nowrap; transition: background-color .2s, color .2s, border-color .2s;
}
.pmg-btn-red { background: var(--pmg-red); border-color: var(--pmg-red); color: #fff; }
.pmg-btn-red:hover, .pmg-btn-red:focus { background: var(--pmg-red-dark); border-color: var(--pmg-red-dark); color: #fff; }
.pmg-btn-white { background: #fff; border-color: #fff; color: var(--pmg-red); }
.pmg-btn-white:hover, .pmg-btn-white:focus { background: var(--pmg-dark); border-color: var(--pmg-dark); color: #fff; }
.pmg-btn-outline-white { background: transparent; border-color: #fff; color: #fff; }
.pmg-btn-outline-white:hover, .pmg-btn-outline-white:focus { background: #fff; color: var(--pmg-red); }

/* Header phone + quote (desktop) */
.container-header > .grid-child.container-nav { align-items: center; }
.container-header .container-search { margin: 0 0 0 auto; padding: 0; align-self: center; }
.container-header .container-search .mod-custom { margin: 0; }
.pmg-header-cta { display: flex; align-items: center; gap: 22px; }
.pmg-header-phone {
  color: var(--pmg-ink); font-weight: 700; font-size: 16px; text-decoration: none; white-space: nowrap;
}
.pmg-header-phone .fa-solid { color: var(--pmg-red); margin-right: 4px; }
.pmg-header-phone:hover, .pmg-header-phone:focus { color: var(--pmg-red); }
.pmg-header-cta .pmg-btn { padding: 10px 20px; font-size: 14px; }
@media (max-width: 1199.98px) {
  .pmg-header-phone { font-size: 0; }
  .pmg-header-phone .fa-solid { font-size: 18px; margin: 0; }
  .pmg-header-cta { gap: 14px; }
}
@media (max-width: 991.98px) {
  .container-header .container-search { display: none; }
}

/* Mobile sticky bar */
.pmg-mobile-bar { display: none; }
@media (max-width: 991.98px) {
  .pmg-mobile-bar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1040;
    box-shadow: 0 -2px 12px rgba(0,0,0,.18);
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--pmg-dark);
  }
  .pmg-mobile-bar a {
    flex: 1 1 50%; display: flex; align-items: center; justify-content: center; gap: .5em;
    min-height: 54px; font-weight: 700; font-size: 16px; text-transform: uppercase;
    text-decoration: none; color: #fff;
  }
  .pmg-mobile-bar .pmg-mb-call { background: var(--pmg-red); }
  .pmg-mobile-bar .pmg-mb-quote { background: var(--pmg-dark); }
  body { padding-bottom: 54px; }
  .back-to-top-link { bottom: 70px; }
}

/* Pre-footer band */
.site-grid > .container-bottom-a {
  grid-column: full-start / full-end; max-width: none; padding: 0; margin: 0;
}
.container-bottom-a > .mod-custom { margin: 0; }
.pmg-cta-band { background: var(--pmg-red); color: #fff; }
.pmg-cta-inner {
  max-width: 1350px; margin: 0 auto; padding: 56px 15px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
}
.pmg-cta-text { flex: 1 1 520px; }
.pmg-cta-band h2 { color: #fff; font-family: "Heebo", sans-serif; font-weight: 700; font-size: 34px; line-height: 1.2; margin: 0 0 10px; }
.pmg-cta-band p { color: rgba(255,255,255,.92); font-size: 17px; margin: 0; max-width: 640px; }
.pmg-cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 767.98px) {
  .pmg-cta-inner { padding: 40px 15px; }
  .pmg-cta-band h2 { font-size: 26px; }
  .pmg-cta-actions, .pmg-cta-actions .pmg-btn { width: 100%; }
}

/* Footer phone + email */
.pmg-footer-contact { list-style: none; padding: 0; margin: 18px 0 0; }
.pmg-footer-contact li { margin: 0 0 8px; }
html .container-footer .pmg-footer-contact a { color: #fff; font-size: 16px; font-weight: 700; }
html .container-footer .pmg-footer-contact a:hover { color: var(--pmg-red); }
.pmg-footer-contact .fa-solid { color: var(--pmg-red); width: 1.2em; }


/* Lock CTA colours so page-specific CSS (e.g. Phoca) can't override them */
html body .pmg-mobile-bar a,
html body .pmg-mobile-bar a:hover,
html body .pmg-mobile-bar a:focus { color: #fff !important; text-decoration: none !important; }
html body .pmg-btn { text-decoration: none !important; }
html body .pmg-btn-red, html body .pmg-btn-red:hover, html body .pmg-btn-red:focus,
html body .pmg-btn-outline-white { color: #fff !important; }
html body .pmg-btn-white { color: var(--pmg-red) !important; }
html body .pmg-btn-white:hover, html body .pmg-btn-white:focus { color: #fff !important; }
html body .pmg-btn-outline-white:hover, html body .pmg-btn-outline-white:focus { color: var(--pmg-red) !important; }
html body .pmg-header-phone { color: var(--pmg-ink) !important; text-decoration: none !important; }
html body .pmg-header-phone:hover, html body .pmg-header-phone:focus { color: var(--pmg-red) !important; }
html body .pmg-cta-band h2 { color: #fff !important; }
html body .pmg-cta-band p { color: rgba(255,255,255,.92) !important; }
html body .pmg-mobile-bar .fa-solid { color: #fff !important; }

/* In-page jumps (#contact-form, quote form) clear the sticky header */
html { scroll-padding-top: 95px; scroll-behavior: smooth; }
@media (max-width: 991.98px) { html { scroll-padding-top: 80px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Home: "Keeping your HGVs on the road" section (section-id-1609316726564)
   Photo stretched to the full height of the text column so there's no blank area,
   and the location block's "Contact Us" styled as a button. */
@media (min-width: 768px) {
  #column-id-1609316726563,
  #column-id-1609316726563 > .sppb-column-addons,
  #sppb-addon-wrapper-1609481388264,
  #sppb-addon-1609481388264,
  #sppb-addon-1609481388264 .sppb-addon,
  #sppb-addon-1609481388264 .sppb-addon-content,
  #sppb-addon-1609481388264 .sppb-addon-single-image-container { height: 100%; }
  #sppb-addon-1609481388264 .sppb-addon-single-image-container { display: block; }
  #sppb-addon-1609481388264 img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: center; }
}
html body #sppb-addon-1609481389175 a[href="/contact-page"] {
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 6px; padding: 12px 26px; border-radius: 4px;
  background: var(--pmg-red); border: 2px solid var(--pmg-red); color: #fff !important;
  font-family: "Open Sans", sans-serif; font-size: 15px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .5px; text-decoration: none !important;
}
html body #sppb-addon-1609481389175 a[href="/contact-page"]:hover,
html body #sppb-addon-1609481389175 a[href="/contact-page"]:focus { background: var(--pmg-red-dark); border-color: var(--pmg-red-dark); }
