/* =============================================================================
   PBS FUNNEL HEADER — logo + orange "Call us" button
   Scoped to body.pbs-funnel-call (added only on /get-your-quote/ and
   /boiler-recommendations/). Presentation only; no content/engine/hook changes.
   Specificity is deliberately 3-class + id so it wins over the quote skin
   (#pbs-quote-v2 …) and the reco premium skin (body.pbs-reco-premium …).
   ============================================================================= */

body.pbs-funnel-call .pbs-callbtn,
body.pbs-funnel-call #pbs-quote-v2 .pbs-quote-contact__phone.pbs-callbtn,
body.pbs-funnel-call .pbs-reco-header .pbs-reco-contact__phone.pbs-callbtn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #F7941D !important;
  border: 1px solid #F7941D !important;
  color: #FFFFFF !important;
  font-weight: 800 !important;
  font-size: 15px !important;
  line-height: 1 !important;
  letter-spacing: .01em !important;
  padding: 0 20px !important;
  min-height: 46px !important;
  min-width: 0 !important;
  border-radius: 999px !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  box-shadow: 0 8px 18px rgba(247, 148, 29, .30) !important;
  margin: 0 !important;
  width: auto !important;
  text-transform: none !important;
}
/* phone glyph on the Call us button — identical on every funnel page (matches
   /get-your-quote/, 17px, 8px gap, navy tint as on the reference page). */
body.pbs-funnel-call .pbs-callbtn::before,
body.pbs-funnel-call .pbs-quote-contact__phone::before,
body.pbs-funnel-call #pbs-quote-v2 .pbs-quote-contact__phone::before {
  content: "" !important; display: inline-block !important;
  width: 17px !important; height: 17px !important; min-width: 17px !important; min-height: 17px !important;
  margin: 0 8px 0 0 !important; padding: 0 !important; border: 0 !important;
  background: #073B78 !important;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path d='M164 24c-9 0-18 4-24 11L104 71c-9 10-12 23-8 35 7 22 18 43 32 63 30 43 70 83 113 113 20 14 41 25 63 32 12 4 25 1 35-8l36-36c13-13 13-34 0-47l-52-52c-13-13-34-13-47 0l-14 14c-25-15-48-38-63-63l14-14c13-13 13-34 0-47L176 35c-3-7-7-11-12-11z'/></svg>") center/contain no-repeat !important;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path d='M164 24c-9 0-18 4-24 11L104 71c-9 10-12 23-8 35 7 22 18 43 32 63 30 43 70 83 113 113 20 14 41 25 63 32 12 4 25 1 35-8l36-36c13-13 13-34 0-47l-52-52c-13-13-34-13-47 0l-14 14c-25-15-48-38-63-63l14-14c13-13 13-34 0-47L176 35c-3-7-7-11-12-11z'/></svg>") center/contain no-repeat !important;
}
body.pbs-funnel-call .pbs-callbtn::after { content: none !important; display: none !important; }

/* ---- pixel-identical funnel header on every page (matches /get-your-quote/) ---- */
body.pbs-funnel-call .pbs-quote-header,
body.pbs-funnel-call .pbs-reco-header,
body.pbs-funnel-call .pbs-quote-header__inner{
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}
body.pbs-funnel-call .pbs-quote-header,
body.pbs-funnel-call .pbs-reco-header{ color: #18253D !important; }
body.pbs-funnel-call #pbs-quote-v2 .pbs-quote-header__inner,
body.pbs-funnel-call .pbs-quote-header__inner{
  padding: 16px 22px !important;
  justify-content: space-between !important;
}
body.pbs-funnel-call #pbs-quote-v2 .pbs-quote-contact__phone.pbs-callbtn,
body.pbs-funnel-call .pbs-quote-contact__phone,
body.pbs-funnel-call .pbs-callbtn{
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}
body.pbs-funnel-call .pbs-quote-footer__links{ align-items: center !important; }
body.pbs-funnel-call .pbs-callbtn:hover { background: #E8860F !important; border-color: #E8860F !important; }
body.pbs-funnel-call .pbs-callbtn:active { background: #D97A08 !important; border-color: #D97A08 !important; }
body.pbs-funnel-call .pbs-callbtn:focus-visible { outline: 3px solid #073B78 !important; outline-offset: 2px !important; }

/* logo keeps its aspect ratio at the size the skins set */
body.pbs-funnel-call .pbs-quote-brand__logo img,
body.pbs-funnel-call .pbs-reco-brand__logo img {
  width: auto !important;
  max-width: 100% !important;
  object-fit: contain !important;
}

@media (max-width: 991px) {
  body.pbs-funnel-call .pbs-callbtn,
  body.pbs-funnel-call #pbs-quote-v2 .pbs-quote-contact__phone.pbs-callbtn,
  body.pbs-funnel-call .pbs-reco-header .pbs-reco-contact__phone.pbs-callbtn {
    min-height: 42px !important;
    font-size: 14px !important;
    padding: 0 16px !important;
  }
}

/* ---- unified funnel header: depth + width-based logo lockup (all four pages) ----
   Header is ~96px deep on desktop and ~88px on mobile; the logo is sized by
   WIDTH only (height:auto) so it fills the bar and stays sharp (748px source). */
body.pbs-funnel-call #pbs-quote-v2 .pbs-quote-header__inner,
body.pbs-funnel-call .pbs-quote-header__inner,
body.pbs-funnel-call .pbs-reco-header__inner{
  padding: 18px 26px !important;
  min-height: 96px !important;
  justify-content: space-between !important;
}
body.pbs-funnel-call #pbs-quote-v2 .pbs-quote-brand__logo img,
body.pbs-funnel-call .pbs-quote-brand__logo img,
body.pbs-funnel-call .pbs-reco-brand__logo img{
  width: 168px !important;
  height: auto !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: left center !important;
  margin: 0 !important;
}
@media (max-width: 991px) {
  body.pbs-funnel-call #pbs-quote-v2 .pbs-quote-header__inner,
  body.pbs-funnel-call .pbs-quote-header__inner,
  body.pbs-funnel-call .pbs-reco-header__inner{ min-height: 88px !important; }
  body.pbs-funnel-call #pbs-quote-v2 .pbs-quote-brand__logo img,
  body.pbs-funnel-call .pbs-quote-brand__logo img,
  body.pbs-funnel-call .pbs-reco-brand__logo img{ width: 142px !important; }
}
@media (max-width: 560px) {
  body.pbs-funnel-call #pbs-quote-v2 .pbs-quote-header__inner,
  body.pbs-funnel-call .pbs-quote-header__inner,
  body.pbs-funnel-call .pbs-reco-header__inner{ padding: 14px 18px !important; min-height: 88px !important; }
  body.pbs-funnel-call #pbs-quote-v2 .pbs-quote-brand__logo img,
  body.pbs-funnel-call .pbs-quote-brand__logo img,
  body.pbs-funnel-call .pbs-reco-brand__logo img{ width: 134px !important; }
}
@media (max-width: 360px) {
  body.pbs-funnel-call #pbs-quote-v2 .pbs-quote-brand__logo img,
  body.pbs-funnel-call .pbs-quote-brand__logo img,
  body.pbs-funnel-call .pbs-reco-brand__logo img{ width: 124px !important; }
}

/* =============================================================================
   TRUST BADGES — distinct, crisp inline-SVG icons (was one repeated tick)
   Inline SVG data-URIs: font-independent, sharp at any DPR. Same styling on
   GYQ, 308, basket and checkout (this layer is scoped body.pbs-funnel-call).
   ============================================================================= */
body.pbs-funnel-call #pbs-quote-v2 .pbs-quote-trustbar__inner span::before,
body.pbs-funnel-call .pbs-reco-trustbar__inner span::before,
body.pbs-funnel-call .pbs-funnel-trustbar__inner span::before{
  content:"" !important;
  width:17px !important; height:17px !important;
  min-width:17px !important; min-height:17px !important; flex:0 0 17px !important;
  margin:0 8px 0 0 !important; padding:0 !important; border:0 !important; border-radius:0 !important;
  background-color:transparent !important;
  background-repeat:no-repeat !important; background-position:center !important; background-size:contain !important;
  box-shadow:none !important;
}
body.pbs-funnel-call #pbs-quote-v2 .pbs-quote-trustbar__inner span:nth-child(1)::before{ background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23073B78'><path d='M12 2.6l2.7 5.9 6.4.7-4.7 4.3 1.3 6.3L12 16.6 6.3 19.8l1.3-6.3L2.9 9.2l6.4-.7z'/></svg>") !important; }
body.pbs-funnel-call .pbs-reco-trustbar__inner span:nth-child(1)::before{ background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23073B78'><path d='M12 2.6l2.7 5.9 6.4.7-4.7 4.3 1.3 6.3L12 16.6 6.3 19.8l1.3-6.3L2.9 9.2l6.4-.7z'/></svg>") !important; }
body.pbs-funnel-call #pbs-quote-v2 .pbs-quote-trustbar__inner span:nth-child(2)::before{ background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23073B78' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'><path d='M12 2.8l7.2 3v5.1c0 4.6-3.1 7.9-7.2 9.3-4.1-1.4-7.2-4.7-7.2-9.3V5.8z'/><path d='M8.7 12.1l2.3 2.3 4.3-4.3'/></svg>") !important; }
body.pbs-funnel-call .pbs-reco-trustbar__inner span:nth-child(2)::before{ background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23073B78' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'><path d='M12 2.8l7.2 3v5.1c0 4.6-3.1 7.9-7.2 9.3-4.1-1.4-7.2-4.7-7.2-9.3V5.8z'/><path d='M8.7 12.1l2.3 2.3 4.3-4.3'/></svg>") !important; }
body.pbs-funnel-call #pbs-quote-v2 .pbs-quote-trustbar__inner span:nth-child(3)::before{ background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23073B78' stroke-width='2.4' stroke-linecap='round'><path d='M19 5L5 19'/><circle cx='7.6' cy='7.6' r='2.5'/><circle cx='16.4' cy='16.4' r='2.5'/></svg>") !important; }
body.pbs-funnel-call .pbs-reco-trustbar__inner span:nth-child(3)::before{ background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23073B78' stroke-width='2.4' stroke-linecap='round'><path d='M19 5L5 19'/><circle cx='7.6' cy='7.6' r='2.5'/><circle cx='16.4' cy='16.4' r='2.5'/></svg>") !important; }
body.pbs-funnel-call #pbs-quote-v2 .pbs-quote-trustbar__inner span:nth-child(4)::before{ background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23073B78' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'><path d='M12 21.2s7-5.8 7-11.2a7 7 0 1 0-14 0c0 5.4 7 11.2 7 11.2z'/><circle cx='12' cy='9.8' r='2.6'/></svg>") !important; }
body.pbs-funnel-call .pbs-reco-trustbar__inner span:nth-child(4)::before{ background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23073B78' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'><path d='M20.6 13.4l-7.2 7.2a2 2 0 0 1-2.8 0L3.4 13.4A2 2 0 0 1 2.8 12V5a2 2 0 0 1 2-2h7a2 2 0 0 1 1.4.6l7.4 7.4a2 2 0 0 1 0 2.4z'/><circle cx='8.4' cy='8.4' r='1.5' fill='%23073B78' stroke='none'/></svg>") !important; }
body.pbs-funnel-call .pbs-funnel-trustbar__inner span:nth-child(1)::before{ background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23073B78' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'><path d='M20.6 13.4l-7.2 7.2a2 2 0 0 1-2.8 0L3.4 13.4A2 2 0 0 1 2.8 12V5a2 2 0 0 1 2-2h7a2 2 0 0 1 1.4.6l7.4 7.4a2 2 0 0 1 0 2.4z'/><circle cx='8.4' cy='8.4' r='1.5' fill='%23073B78' stroke='none'/></svg>") !important; }
body.pbs-funnel-call .pbs-funnel-trustbar__inner span:nth-child(2)::before{ background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23073B78' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='8.6'/><path d='M12 7.2v5l3.2 1.9'/></svg>") !important; }
body.pbs-funnel-call .pbs-funnel-trustbar__inner span:nth-child(3)::before{ background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23073B78' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'><path d='M12 2.8l7.2 3v5.1c0 4.6-3.1 7.9-7.2 9.3-4.1-1.4-7.2-4.7-7.2-9.3V5.8z'/><path d='M8.7 12.1l2.3 2.3 4.3-4.3'/></svg>") !important; }

/* =============================================================================
   FUNNEL NAVIGATION + EXPANDED FOOTER  (real page links, all resolve 200)
   Header: logo row (unchanged) + a navigation row (desktop) / compact menu
   button (below 1200px). Footer: full site link set + policy row.
   Scope: body.pbs-funnel-call — GYQ, 308, basket, checkout.
   ============================================================================= */
body.pbs-funnel-call .pbs-quote-header{ position:relative !important; z-index:1000 !important; }

/* ---- navigation row -------------------------------------------------------- */
body.pbs-funnel-call .pbs-funnel-nav{
  background:#fff !important; border-top:1px solid #EEF2F7 !important;
}
body.pbs-funnel-call .pbs-funnel-nav__inner{
  max-width:1280px !important; margin:0 auto !important; padding:4px 22px 6px !important;
  display:flex !important; align-items:center !important; justify-content:center !important;
  box-sizing:border-box !important;
}
body.pbs-funnel-call .pbs-funnel-nav__list{
  display:flex !important; flex-wrap:wrap !important; align-items:center !important;
  justify-content:center !important; gap:2px !important; list-style:none !important;
  margin:0 !important; padding:0 !important;
}
body.pbs-funnel-call .pbs-funnel-nav__list>li{ margin:0 !important; }
body.pbs-funnel-call .pbs-funnel-nav__list>li>a,
body.pbs-funnel-call .pbs-funnel-nav__more>details>summary{
  display:inline-flex !important; align-items:center !important; gap:6px !important;
  padding:9px 10px !important; border-radius:8px !important; border:0 !important; background:none !important;
  color:#18253D !important; font:600 13px/1.2 Inter,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif !important;
  text-decoration:none !important; white-space:nowrap !important; cursor:pointer !important; list-style:none !important;
}
body.pbs-funnel-call .pbs-funnel-nav__list>li>a:hover,
body.pbs-funnel-call .pbs-funnel-nav__more>details>summary:hover,
body.pbs-funnel-call .pbs-funnel-nav__more>details[open]>summary{
  background:#F5F8FC !important; color:#073B78 !important;
}
body.pbs-funnel-call .pbs-funnel-nav__more{ position:relative !important; }
body.pbs-funnel-call .pbs-funnel-nav__more>details>summary::-webkit-details-marker{ display:none !important; }
body.pbs-funnel-call .pbs-funnel-nav__more>details>summary::after{
  content:"" !important; width:12px !important; height:12px !important;
  background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2318253D' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>") center/contain no-repeat !important;
}
body.pbs-funnel-call .pbs-funnel-nav__more>details>ul{
  position:absolute !important; right:0 !important; top:calc(100% + 8px) !important; z-index:1200 !important;
  min-width:250px !important; margin:0 !important; padding:8px !important; list-style:none !important;
  background:#fff !important; border:1px solid #DCE4EE !important; border-radius:14px !important;
  box-shadow:0 20px 52px rgba(10,31,68,.16) !important;
}
body.pbs-funnel-call .pbs-funnel-nav__more>details>ul a{
  display:block !important; padding:10px 12px !important; border-radius:10px !important;
  color:#18253D !important; font:600 13.5px/1.2 Inter,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif !important;
  text-decoration:none !important;
}
body.pbs-funnel-call .pbs-funnel-nav__more>details>ul a:hover{ background:#F5F8FC !important; color:#073B78 !important; }

/* ---- compact menu button (below 1200px) ------------------------------------ */
body.pbs-funnel-call .pbs-funnel-nav__burger{ display:none !important; }
body.pbs-funnel-call .pbs-funnel-nav__burger>summary::-webkit-details-marker{ display:none !important; }

@media (max-width:1199px){
  body.pbs-funnel-call .pbs-funnel-nav{ display:none !important; }        /* desktop link row */
  body.pbs-funnel-call .pbs-funnel-nav__burger{ display:block !important; position:relative !important; }
  body.pbs-funnel-call .pbs-funnel-nav__burger>summary{
    display:inline-flex !important; align-items:center !important; justify-content:center !important; gap:7px !important;
    min-height:44px !important; padding:0 12px !important; margin:0 !important;
    background:#F5F8FC !important; border:1px solid #DCE4EE !important; border-radius:999px !important;
    color:#18253D !important; font:700 13px/1 Inter,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif !important;
    cursor:pointer !important; list-style:none !important; box-sizing:border-box !important;
  }
  body.pbs-funnel-call .pbs-funnel-nav__burger[open]>summary{
    background:#EEF3FA !important; border-color:#073B78 !important; color:#073B78 !important;
  }
  body.pbs-funnel-call .pbs-funnel-nav__bars{
    width:15px !important; height:2px !important; display:block !important; background:currentColor !important;
    box-shadow:0 -5px 0 currentColor, 0 5px 0 currentColor !important;
  }
  body.pbs-funnel-call .pbs-funnel-nav__drawer{
    position:absolute !important; right:0 !important; top:calc(100% + 10px) !important; z-index:1200 !important;
    min-width:262px !important; max-width:min(86vw,344px) !important;
    background:#fff !important; border:1px solid #DCE4EE !important; border-radius:14px !important;
    box-shadow:0 20px 52px rgba(10,31,68,.16) !important; padding:8px !important; margin:0 !important; list-style:none !important;
  }
  body.pbs-funnel-call .pbs-funnel-nav__drawer ul{ list-style:none !important; margin:0 !important; padding:0 !important; }
  body.pbs-funnel-call .pbs-funnel-nav__drawer li a{
    display:block !important; padding:11px 12px !important; border-radius:10px !important;
    color:#18253D !important; font:600 14px/1.2 Inter,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif !important;
    text-decoration:none !important;
  }
  body.pbs-funnel-call .pbs-funnel-nav__drawer li a:hover{ background:#F5F8FC !important; color:#073B78 !important; }
}
@media (min-width:1200px){
  body.pbs-funnel-call .pbs-funnel-nav__burger{ display:none !important; }
}

/* ---- expanded footer ------------------------------------------------------- */
body.pbs-funnel-call #pbs-quote-v2 .pbs-quote-footer__links,
body.pbs-funnel-call.pbs-funnel-chrome .pbs-quote-footer__links{ flex:1 1 auto !important; }
body.pbs-funnel-call #pbs-quote-v2 .pbs-quote-footer__policies,
body.pbs-funnel-call.pbs-funnel-chrome .pbs-quote-footer__policies,
body.pbs-funnel-call .pbs-quote-footer__policies{
  flex:1 1 100% !important; display:flex !important; flex-wrap:wrap !important;
  gap:8px 16px !important; justify-content:flex-end !important;
  margin:12px 0 0 !important; padding-top:12px !important;
  border-top:1px solid rgba(255,255,255,.16) !important;
}
body.pbs-funnel-call .pbs-quote-footer__policies a{
  color:rgba(255,255,255,.86) !important; text-decoration:none !important;
  font:600 12px/1.5 Inter,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif !important;
}
body.pbs-funnel-call .pbs-quote-footer__policies a:hover{ color:#fff !important; text-decoration:underline !important; }

/* ---- small screens: keep the header row on one line ------------------------ */
@media (max-width:560px){
  body.pbs-funnel-call .pbs-quote-contact{ gap:10px !important; }
  body.pbs-funnel-call .pbs-funnel-nav__mlabel{ display:none !important; }
  body.pbs-funnel-call .pbs-funnel-nav__burger>summary{ padding:0 11px !important; }
  body.pbs-funnel-call .pbs-quote-footer__policies{ justify-content:center !important; }
}
@media (max-width:360px){
  body.pbs-funnel-call .pbs-quote-contact{ gap:8px !important; }
  body.pbs-funnel-call .pbs-quote-contact__phone.pbs-callbtn,
  body.pbs-funnel-call .pbs-quote-contact__phone{ padding:0 12px !important; }
}

@media (max-width: 340px) {
  body.pbs-funnel-call #pbs-quote-v2 .pbs-quote-brand__logo img,
  body.pbs-funnel-call .pbs-quote-brand__logo img,
  body.pbs-funnel-call .pbs-reco-brand__logo img{ width: 114px !important; }
  body.pbs-funnel-call #pbs-quote-v2 .pbs-quote-header__inner,
  body.pbs-funnel-call .pbs-quote-header__inner,
  body.pbs-funnel-call .pbs-reco-header__inner{ padding: 12px 14px !important; }
}
