/* JPRO footer — match live jpronumbingcream.co.uk (navy + 5 columns) */

/* Builder/Grapes often sets display:flex on the footer root — that
   puts the Instagram CTA beside the columns and creates a tall empty
   navy strip. Force a stacked block layout. */
.t1-footer--jpro,
.t1-footer--jpro.site-footer,
.t1-footer--jpro.footer {
  display: block !important;
  flex-direction: column !important;
  background: #ffffff;
  color: var(--theme-footer-text, #ffffff);
  padding: 0;
  font-family: 'Open Sans', var(--theme-font-family, sans-serif);
  width: 100%;
}

.t1-footer--jpro > * {
  width: 100% !important;
  max-width: 100%;
  flex: none !important;
  float: none !important;
}

/* —— Instagram CTA (white band, live parity) —— */
.t1-footer--jpro .t1-footer-ig-cta {
  display: block !important;
  box-sizing: border-box;
  width: 100% !important;
  margin: 0;
  padding:60px 24px 60px;
  background: #ffffff !important;
  color: #0a2540 !important;
  text-align: center;
  border: 0;
  min-height: 0 !important;
  height: auto !important;
}

.t1-footer--jpro .t1-footer-ig-cta-link {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-decoration: none;
  color: #0a2540 !important;
  width: auto !important;
  max-width: 100%;
}

.t1-footer--jpro .t1-footer-ig-cta-link:hover {
  color: #0846c1 !important;
}

.t1-footer--jpro .t1-footer-ig-cta-text {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: #0a2540 !important;
  border-bottom: 3px solid #0846c1;
  padding-bottom: 4px;
}

.t1-footer--jpro .t1-footer-ig-cta-icon {
  display: inline-flex;
  flex-shrink: 0;
  line-height: 0;
}

.t1-footer--jpro .t1-footer-ig-cta-icon svg {
  display: block;
  width: 36px;
  height: 36px;
}

/* —— Navy main columns —— */
.t1-footer--jpro .footer-inner,
.t1-footer--jpro .container.footer-inner,
.t1-footer--jpro > .footer-inner.container {
  display: block !important;
  box-sizing: border-box;
  width: 100% !important;
  max-width: none !important;
  margin: 0;
  padding: 48px 24px 36px;
  background: var(--theme-footer-bg, #03318f) !important;
  color: #ffffff !important;
}

.t1-footer--jpro .footer-inner > .footer-grid,
.t1-footer--jpro .footer-grid,
.t1-footer--jpro .t1-footer-columns {
  display: grid !important;
  grid-template-columns: 1.35fr 1fr 1fr 1.15fr 1.1fr;
  gap: 28px 32px;
  padding-bottom: 8px;
  align-items: start;
  max-width: 1280px;
  margin: 0 auto;
}

.t1-footer--jpro .footer-logo-img,
.t1-footer--jpro .t1-footer-logo {
  display: block;
  height: 85px;
  width: auto;
  max-width: 100%;
  margin-bottom: 18px;
  object-fit: contain;
}

.t1-footer--jpro .footer-email {
  margin: 0 0 6px;
  font-size: 14px;
  line-height: 1.5;
  color: #ffffff !important;
}

.t1-footer--jpro .footer-email a {
  color: #ffffff !important;
  text-decoration: none;
}

.t1-footer--jpro .footer-email a:hover {
  text-decoration: underline;
}

.t1-footer--jpro .footer-location {
  margin: 0;
  font-size: 14px;
  color: #ffffff !important;
  opacity: 0.92;
}

.t1-footer--jpro .t1-footer-col-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #ffffff !important;
  margin: 0 0 16px;
}

.t1-footer--jpro .t1-footer-link,
.t1-footer--jpro .t1-footer-col a.t1-footer-link {
  display: block;
  font-size: 14px;
  color: #ffffff !important;
  opacity: 0.92;
  text-decoration: none;
  margin-bottom: 10px;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.t1-footer--jpro .t1-footer-link:hover,
.t1-footer--jpro .t1-footer-col a.t1-footer-link:hover {
  opacity: 1;
  text-decoration: underline;
  color: #e14b5a !important;
}

.t1-footer--jpro .footer-hours-table {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.t1-footer--jpro .footer-hours-row {
  display: grid;
  grid-template-columns: minmax(71px, 0.7fr) auto;
  gap: 10px;
  font-size: 13px;
  color: #ffffff !important;
  line-height: 1.45;
  border: none;
  padding: 0;
}
.t1-footer--jpro .footer-dispatch-note {
  margin: 14px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: #f5e26b !important;
}

/* Social — circular frosted icons (live Stay Connected) */
.t1-footer--jpro .t1-footer-social,
.t1-footer--jpro .footer-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}

.t1-footer--jpro .t1-footer-social > li,
.t1-footer--jpro .footer-social > li {
  display: block;
  margin: 0;
  padding: 0;
  list-style: none;
}

.t1-footer--jpro [data-footer-social] a.t-footer-social-link,
.t1-footer--jpro a.t-footer-social-link {
  appearance: none !important;
  -webkit-appearance: none !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
  max-width: 36px !important;
  max-height: 36px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.22) !important;
  background-color: rgba(255, 255, 255, 0.22) !important;
  background-image: none !important;
  box-shadow: none !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  text-decoration: none !important;
  line-height: 1 !important;
  transition: background 0.2s ease, opacity 0.2s ease;
}

.t1-footer--jpro [data-footer-social] a.t-footer-social-link:hover,
.t1-footer--jpro [data-footer-social] a.t-footer-social-link:focus,
.t1-footer--jpro a.t-footer-social-link:hover,
.t1-footer--jpro a.t-footer-social-link:focus {
  background: rgba(255, 255, 255, 0.34) !important;
  background-color: rgba(255, 255, 255, 0.34) !important;
  background-image: none !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  opacity: 1 !important;
  box-shadow: none !important;
}

.t1-footer--jpro a.t-footer-social-link svg {
  display: block;
  width: 16px;
  height: 16px;
  fill: currentColor;
  pointer-events: none;
}

/* Hide FA pseudo icons when SVG is present */
.t1-footer--jpro a.t-footer-social-link:has(svg)::before {
  content: none !important;
  display: none !important;
}

.t1-footer--jpro [data-footer-social] .t-footer-social-link::before {
  font-family: "Font Awesome 6 Brands", "FontAwesome", sans-serif;
  font-weight: 400;
  font-style: normal;
  line-height: 1;
  display: block;
  font-size: 15px;
  color: #ffffff;
}

.t1-footer--jpro .t-footer-social-facebook::before { content: "\f39e"; }
.t1-footer--jpro .t-footer-social-instagram::before { content: "\f16d"; }
.t1-footer--jpro .t-footer-social-tiktok::before { content: "\e07b"; }
.t1-footer--jpro .t-footer-social-x::before,
.t1-footer--jpro .t-footer-social-twitter::before { content: "\e61b"; }
.t1-footer--jpro .t-footer-social-youtube::before { content: "\f167"; }
.t1-footer--jpro .t-footer-social-linkedin::before { content: "\f08c"; }
.t1-footer--jpro .t-footer-social-whatsapp::before { content: "\f232"; }
.t1-footer--jpro .t-footer-social-pinterest::before { content: "\f0d2"; }

/* Trustpilot block under socials */
.t1-footer--jpro .footer-trustpilot {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.t1-footer--jpro .footer-trustpilot-brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #ffffff !important;
}

.t1-footer--jpro .footer-trustpilot-stars {
  display: flex;
  align-items: center;
  gap: 2px;
}

.t1-footer--jpro .footer-trustpilot-meta {
  margin: 0;
  font-size: 13px;
  color: #ffffff !important;
  opacity: 0.95;
}

.t1-footer--jpro .footer-trustpilot-meta strong {
  font-weight: 700;
}

.t1-footer--jpro .t1-footer-bottom,
.t1-footer--jpro .footer-bottom {
  display: block !important;
  width: 100% !important;
  background: black;
  border-top: none;
  padding: 14px 24px;
  color: #ffffff !important;
}

.t1-footer--jpro .footer-bottom-inner {
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
}

.t1-footer--jpro .footer-copy-line {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #ffffff !important;
}

.t1-footer--jpro .footer-copy-line [data-footer-copy] {
  color: #ffffff !important;
}

.t1-footer--jpro .footer-powered,
.t1-footer--jpro .footer-powered a {
  color: #ff4040 !important;
  text-decoration: none;
}

.t1-footer--jpro .footer-powered a:hover {
  text-decoration: underline;
}

.t1-footer--jpro .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1100px) {
  .t1-footer--jpro .footer-grid,
  .t1-footer--jpro .t1-footer-columns {
    grid-template-columns: 1fr 1fr 1fr !important;
  }
}

@media (max-width: 900px) {
  .t1-footer--jpro,
  .t1-footer--jpro.site-footer,
  .t1-footer--jpro.footer {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  .t1-footer--jpro .t1-footer-ig-cta {
    width: 100% !important;
    padding: 40px 20px !important;
  }

  .t1-footer--jpro .t1-footer-ig-cta-link {
    flex-wrap: wrap;
    gap: 10px;
  }

  .t1-footer--jpro .t1-footer-ig-cta-text {
    font-size: 20px !important;
    border-bottom-width: 2px;
  }

  .t1-footer--jpro .footer-inner,
  .t1-footer--jpro .container.footer-inner,
  .t1-footer--jpro > .footer-inner.container {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 36px 20px 28px !important;
    background: #03318f !important;
    box-sizing: border-box !important;
  }

  .t1-footer--jpro .footer-inner > .footer-grid,
  .t1-footer--jpro .footer-grid,
  .t1-footer--jpro .t1-footer-columns {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 28px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .t1-footer--jpro .footer-grid > *,
  .t1-footer--jpro .t1-footer-columns > *,
  .t1-footer--jpro .t1-footer-col {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    float: none !important;
  }

  .t1-footer--jpro .t1-footer-col-heading,
  .t1-footer--jpro .footer-email,
  .t1-footer--jpro .footer-email a,
  .t1-footer--jpro .footer-location,
  .t1-footer--jpro .t1-footer-link,
  .t1-footer--jpro .t1-footer-col a.t1-footer-link,
  .t1-footer--jpro .footer-hours-row,
  .t1-footer--jpro .footer-trustpilot-meta,
  .t1-footer--jpro .footer-logo-text,
  .t1-footer--jpro [data-footer-logo-text] {
    color: #ffffff !important;
  }

  .t1-footer--jpro .footer-dispatch-note {
    color: #fde68a !important;
  }

  .t1-footer--jpro .t1-footer-bottom,
  .t1-footer--jpro .footer-bottom {
    width: 100% !important;
    max-width: 100% !important;
    padding: 14px 16px !important;
    box-sizing: border-box !important;
  }

  .t1-footer--jpro .footer-copy-line {
    font-size: 12px;
    word-break: break-word;
  }
}

@media (max-width: 480px) {
  .t1-footer--jpro .t1-footer-ig-cta {
    padding: 32px 16px !important;
  }

  .t1-footer--jpro .footer-inner,
  .t1-footer--jpro .container.footer-inner {
    padding: 28px 16px 24px !important;
  }

  .t1-footer--jpro .t1-footer-ig-cta-text {
    font-size: 18px !important;
  }
}

.t1-footer--jpro .footer-logo-text,
.t1-footer--jpro [data-footer-logo-text] {
  display: inline-block;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.t1-footer--jpro .footer-logo-text[hidden],
.t1-footer--jpro [data-footer-logo-text][hidden],
.t1-footer--jpro .footer-logo-img[hidden],
.t1-footer--jpro [data-footer-logo][hidden] {
  display: none !important;
}