/* ===========================================================================
   Chrome: the top bar, the header with its services and towns panels, the
   drawer, the phone call bar, and the footer (the call-to-action card with
   the big 270-729-BRAD number, the night footer, the bottom line).

   The header and footer are ONE design in two renders: the theme prints the
   Elementor-shaped markup generated from src/pages.py (tb_header / tb_footer),
   and with Elementor Pro / Pro Elements the same trees are Theme Builder
   templates the owner edits. Both sit inside `.site-header` / `.site-footer`,
   which the theme always prints, so every rule below serves both.

   Every page opens on a night-blue hero, so the header starts transparent
   with a white logo (body.has-hero, set by main.js) and turns white once the
   page scrolls. No script: white everywhere, which is always readable.
   =========================================================================== */

/* -------------------------------------------------------- the header shell */

.bem .site-header{
  position:fixed;left:0;right:0;top:var(--wp-admin--admin-bar--height, 0px);z-index:200;color:var(--text);
}
@media (max-width:600px){ .bem.admin-bar .site-header{top:0} }

/* ---------------------------------------------------------------- top bar */

body .elementor .bem-el-topbar{
  height:var(--topbar-h);overflow:hidden;background:var(--navy);
  border-bottom:1px solid var(--line-dark);
  transition:margin .3s var(--ease),opacity .25s var(--ease);
}
body .elementor .bem-el-topbar > .elementor-container{max-width:min(1440px,100%);padding-inline:var(--gutter);height:100%}
body .elementor .bem-el-topbar .elementor-widget-wrap{height:100%;align-content:center}
.bem .site-header.is-scrolled .bem-el-topbar{margin-top:calc(-1 * var(--topbar-h));opacity:0}
@media (max-width:767px){ body .elementor .bem-el-topbar{display:none} }

.bem .topbar{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;min-width:0;
  font-size:.84rem;color:var(--on-dark-2);white-space:nowrap}
.bem .topbar a{color:var(--on-dark);text-decoration:none}
.bem .topbar a:hover{color:var(--flame)}
.bem .topbar-l,.bem .topbar-r{display:flex;align-items:center;gap:1.3rem;min-width:0}
.bem .topbar-l{overflow:hidden}
.bem .topbar-region,.bem .topbar-announce{display:inline-flex;align-items:center;overflow:hidden;text-overflow:ellipsis}
.bem .topbar-announce{color:var(--white);font-weight:600}
.bem .topbar a.topbar-alink{color:var(--flame);font-weight:700}
.bem .topbar .ico{width:14px;height:14px;color:var(--ember);margin-right:.45rem}
.bem .topbar-mail{display:inline-flex;align-items:center}
.bem .topbar-social{display:inline-flex;gap:.75rem}
.bem .topbar-social a{display:inline-grid;place-items:center}
.bem .topbar-social .ico{margin:0;width:15px;height:15px;color:var(--on-dark-2)}
.bem .topbar-social a:hover .ico{color:var(--flame)}
.bem .topbar .status{color:var(--on-dark-2)}
.bem .topbar .status-label{color:var(--white)}
@media (max-width:1280px){ .bem .topbar-mail{display:none} }
@media (max-width:1024px){ .bem .topbar-region{display:none} .bem .topbar{justify-content:flex-end} }

/* the open/closed light (top bar, drawer, footer, contact cards, forms) */
.bem .status{display:inline-flex;align-items:center;gap:.5rem;font-size:.86rem;color:var(--text-2);white-space:nowrap}
.bem .status-led{width:9px;height:9px;flex:none;border-radius:50%;background:var(--off);box-shadow:0 0 0 3px rgba(224,84,79,.18)}
.bem .status.is-open .status-led{background:var(--ok-hi);box-shadow:0 0 0 3px rgba(59,227,122,.22),0 0 10px rgba(59,227,122,.7);animation:bem-led 2.4s ease-in-out infinite}
.bem .status-label{font-weight:700;color:var(--text)}
.bem .status-detail{opacity:.9}
@keyframes bem-led{50%{box-shadow:0 0 0 5px rgba(59,227,122,.06),0 0 4px rgba(59,227,122,.4)}}

/* ------------------------------------------------------------- main header */

body .elementor .bem-el-header{
  background-color:rgba(255,255,255,.97);box-shadow:0 1px 0 var(--line),0 14px 34px -26px rgba(4,18,46,.45);
  -webkit-backdrop-filter:saturate(160%) blur(14px);backdrop-filter:saturate(160%) blur(14px);
  transition:background-color .3s var(--ease),box-shadow .3s var(--ease);
}
body .elementor .bem-el-header > .elementor-container{
  max-width:min(1440px,100%);padding-inline:var(--gutter);min-height:var(--header-h);
  align-items:center;flex-wrap:nowrap;
}
/* over a hero, until the page scrolls */
.bem.has-hero .site-header:not(.is-scrolled) .bem-el-header{background-color:transparent;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}
.bem .site-header.is-scrolled .bem-el-header::after{
  content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:var(--ember);opacity:.9;pointer-events:none;
}
body .elementor .bem-el-header .elementor-widget-wrap{align-items:center;align-content:center;flex-wrap:nowrap;gap:1rem}
body .elementor .bem-el-header .elementor-widget:not(:last-child){margin-bottom:0}
body .elementor .bem-el-header .elementor-widget{width:auto}
/* The three columns: the logo and the actions size to their content, the
   menu takes the rest. Deliberate here: the header must never stack the way
   Elementor stacks columns on phones. */
body .elementor .bem-el-header .elementor-column{width:auto}
body .elementor .elementor-section.bem-el-header > .elementor-container > .elementor-column + .elementor-column{margin-top:0}
body .elementor .bem-el-header .bem-el-brand{flex:0 0 auto}
body .elementor .bem-el-header .bem-el-nav{flex:1 1 auto;position:static}
body .elementor .bem-el-header .bem-el-act{flex:0 0 auto}
body .elementor .bem-el-nav > .elementor-widget-wrap{justify-content:center;position:static}
body .elementor .bem-el-nav .elementor-widget{position:static}
body .elementor .bem-el-act > .elementor-widget-wrap{justify-content:flex-end}

/* the logo: the blue one on white, turned white over a hero */
/* (0,3,2): Elementor 4's widget-image.min.css loads after the theme and sets
   `.elementor-widget-image a img[src$=".svg"]{width:48px}` at (0,2,2), so a
   linked SVG logo needs the widget class to keep its size */
body .elementor .bem-el-logo.elementor-widget-image img{display:block;width:clamp(168px, 8vw + 92px, 222px);max-width:none;height:auto;transition:filter .3s var(--ease)}
body .elementor .bem-el-logo a{display:block}
.bem.has-hero .site-header:not(.is-scrolled) .bem-el-logo img{filter:brightness(0) invert(1)}

/* the phone: "Call 7 days a week" over the number */
.bem .hdr-call{display:inline-flex;align-items:center;gap:.65rem;color:var(--text);text-decoration:none;line-height:1.1}
.bem .hdr-call-ico{display:inline-grid;place-items:center;width:42px;height:42px;border-radius:50%;
  background:var(--frost);color:var(--blue);transition:background-color .2s var(--ease),color .2s var(--ease)}
.bem .hdr-call-ico .ico{width:18px;height:18px}
.bem .hdr-call-txt{display:flex;flex-direction:column}
.bem .hdr-call-txt small{font-family:var(--font-mono);font-size:.62rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
.bem .hdr-call-txt b{font-family:var(--font-display);font-stretch:var(--wide);font-size:1.08rem;font-weight:800;letter-spacing:.01em}
.bem .hdr-call:hover{color:var(--blue)}
.bem .hdr-call:hover .hdr-call-ico{background:var(--blue);color:var(--white)}
.bem.has-hero .site-header:not(.is-scrolled) .hdr-call{color:var(--white)}
.bem.has-hero .site-header:not(.is-scrolled) .hdr-call-txt small{color:var(--on-dark-2)}
.bem.has-hero .site-header:not(.is-scrolled) .hdr-call-ico{background:rgba(255,255,255,.14);color:var(--flame)}

@media (max-width:1280px){ .bem .hdr-call-txt{display:none} }
@media (max-width:1024px){
  body .elementor .bem-el-nav{display:none}
  body .elementor .bem-el-header .bem-el-brand{flex:1 1 auto}
}
@media (max-width:600px){
  body .elementor .bem-el-logo.elementor-widget-image img{width:150px}
  body .elementor .bem-el-header .bem-el-cta{display:none}
  .bem .hdr-call-ico{width:44px;height:44px}
}

/* ------------------------------------------------------------------- nav */

.bem .mainnav{display:flex;justify-content:center}
.bem .mainnav-list{display:flex;align-items:center;gap:.1rem;list-style:none;margin:0;padding:0}
.bem .mainnav li{position:relative;list-style:none}
.bem .mainnav li.has-mega{position:static}
.bem .mainnav-link{
  display:inline-flex;align-items:center;gap:.35rem;padding:.8rem .78rem;
  font-family:var(--font-text);font-size:1rem;font-weight:700;letter-spacing:.005em;
  color:var(--text);text-decoration:none;white-space:nowrap;position:relative;
}
.bem .mainnav-link::after{
  content:"";position:absolute;left:.78rem;right:.78rem;bottom:.42rem;height:3px;border-radius:3px;background:var(--ember);
  transform:scaleX(0);transform-origin:left;transition:transform .3s var(--ease);
}
.bem .mainnav-link:hover,.bem .mainnav li:focus-within > .mainnav-link{color:var(--blue)}
.bem .mainnav-link:hover::after,.bem .mainnav .is-current > .mainnav-link::after{transform:scaleX(1)}
.bem .mainnav .is-current > .mainnav-link{color:var(--blue)}
.bem.has-hero .site-header:not(.is-scrolled) .mainnav-link{color:var(--white)}
.bem.has-hero .site-header:not(.is-scrolled) .mainnav-link:hover{color:var(--flame)}
.bem.has-hero .site-header:not(.is-scrolled) .mainnav .is-current > .mainnav-link{color:var(--white)}
.bem .mainnav-link .ico{width:12px;height:12px;opacity:.75;transition:transform .25s var(--ease)}
.bem .mainnav .has-sub:hover > .mainnav-link .ico,.bem .mainnav .has-sub.is-open > .mainnav-link .ico{transform:rotate(180deg)}
@media (max-width:1280px){ .bem .mainnav-link{font-size:.95rem;padding-inline:.55rem} .bem .mainnav-link::after{left:.55rem;right:.55rem} }

/* the small dropdowns and the towns panel */
.bem .mainnav-sub,.bem .mainnav-areas{
  position:absolute;left:50%;top:calc(100% + 6px);z-index:5;
  background:var(--white);border:1px solid var(--line);border-radius:var(--r);
  box-shadow:0 40px 80px -36px rgba(4,18,46,.5);
  opacity:0;visibility:hidden;transform:translate(-50%,8px);
  transition:opacity .22s var(--ease),transform .22s var(--ease),visibility 0s linear .22s;
}
.bem .mainnav-sub{min-width:240px;margin:0;padding:.6rem;list-style:none}
.bem .mainnav-sub::after,.bem .mainnav-areas::after{content:"";position:absolute;left:0;right:0;top:-18px;height:18px}   /* hover bridge */
.bem .mainnav-sub::before,.bem .mainnav-areas::before{content:"";position:absolute;left:18px;right:18px;top:-1px;height:3px;border-radius:0 0 3px 3px;background:var(--ember)}
.bem .mainnav .has-sub.is-open > :is(.mainnav-sub,.mainnav-areas),
.bem .mainnav .has-sub:focus-within > :is(.mainnav-sub,.mainnav-areas){opacity:1;visibility:visible;transform:translate(-50%,0);transition-delay:0s}
@media (hover:hover){
  .bem .mainnav .has-sub:hover > :is(.mainnav-sub,.mainnav-areas){opacity:1;visibility:visible;transform:translate(-50%,0);transition-delay:0s}
}
.bem .mainnav-sub a{display:block;padding:.6rem .85rem;border-radius:10px;font-size:.98rem;font-weight:500;color:var(--text);text-decoration:none}
.bem .mainnav-sub a:hover,.bem .mainnav-sub .is-current a{background:var(--frost);color:var(--blue)}

.bem .mainnav-areas{width:470px;padding:.9rem}
.bem .mainnav-towns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.15rem .4rem;margin:0;padding:0;list-style:none}
.bem .mainnav-towns a{display:flex;flex-direction:column;gap:.05rem;padding:.55rem .75rem;border-radius:10px;text-decoration:none;transition:background-color .2s var(--ease)}
.bem .mainnav-towns b{font-size:.98rem;font-weight:700;color:var(--text)}
.bem .mainnav-towns small{font-family:var(--font-mono);font-size:.64rem;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.bem .mainnav-towns a:hover{background:var(--frost)}
.bem .mainnav-towns a:hover b{color:var(--blue)}
.bem .mainnav a.mainnav-all{display:flex;align-items:center;gap:.55rem;margin-top:.6rem;padding:.85rem 1rem;border-radius:12px;
  background:var(--blue);color:var(--white);font-size:.95rem;font-weight:700;text-decoration:none}
.bem .mainnav a.mainnav-all .ico{width:18px;height:18px}
.bem .mainnav a.mainnav-all .ico:last-child{margin-left:auto;transition:transform .2s var(--ease)}
.bem .mainnav a.mainnav-all:hover .ico:last-child{transform:translateX(3px)}

/* the services panel: every service with its icon, and the call card */
.bem .mega{
  position:absolute;left:0;right:0;top:100%;z-index:5;padding:0 var(--gutter);
  opacity:0;visibility:hidden;transform:translateY(8px);
  transition:opacity .25s var(--ease),transform .25s var(--ease),visibility 0s linear .25s;
}
.bem .mainnav .has-mega.is-open > .mega,.bem .mainnav .has-mega:focus-within > .mega{opacity:1;visibility:visible;transform:none;transition-delay:0s}
@media (hover:hover){ .bem .mainnav .has-mega:hover > .mega{opacity:1;visibility:visible;transform:none;transition-delay:0s} }
.bem .mega::before{content:"";position:absolute;left:0;right:0;top:-18px;height:18px}
.bem .mega-in{
  position:relative;max-width:1180px;margin:0 auto;display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:1.2rem;padding:1.2rem;
  background:var(--white);border:1px solid var(--line);border-radius:var(--r-lg);box-shadow:0 40px 90px -36px rgba(4,18,46,.55);
}
.bem .mega-in::before{content:"";position:absolute;left:28px;right:28px;top:-1px;height:3px;border-radius:0 0 3px 3px;background:var(--ember)}
.bem .mega-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.35rem;margin:0;padding:0;list-style:none}
.bem .mega-link{display:flex;gap:.9rem;padding:.85rem;border-radius:var(--r);text-decoration:none;color:var(--text);
  transition:background-color .2s var(--ease)}
.bem .mega-link:hover{background:var(--frost)}
.bem .mega-ic{display:inline-grid;place-items:center;width:46px;height:46px;flex:none;border-radius:14px;color:var(--white);
  background:var(--blue);transition:transform .25s var(--ease),box-shadow .25s var(--ease)}
.bem .mega-link.mode-heat .mega-ic{background:var(--ember-btn)}
.bem .mega-link.mode-both .mega-ic{background:var(--navy-3)}
.bem .mega-ic .ico{width:22px;height:22px}
.bem .mega-link:hover .mega-ic{transform:scale(1.06);box-shadow:var(--shadow-blue)}
.bem .mega-txt{display:flex;flex-direction:column;gap:.15rem;min-width:0;white-space:normal}
.bem .mega-t{font-family:var(--font-display);font-stretch:var(--wide);font-size:1.02rem;font-weight:800;color:var(--text)}
.bem .mega-d{font-size:.88rem;line-height:1.45;color:var(--muted)}
.bem .mega-side{position:relative;overflow:hidden;isolation:isolate;display:flex;flex-direction:column;gap:.55rem;padding:1.4rem;border-radius:var(--r);
  background:var(--navy);background-color:var(--navy);color:var(--white);white-space:normal}
.bem .mega-side::before{content:"";position:absolute;inset:0;z-index:-1;opacity:.7;background:url("../img/pat-isotherm.svg") 70% 30% / 900px auto no-repeat}
.bem .mega-k{margin:0;font-family:var(--font-mono);font-size:.68rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--flame)}
.bem .mega-h{margin:0;font-family:var(--font-display);font-stretch:var(--wide);font-size:1.42rem;font-weight:800;line-height:1.08;color:var(--white)}
.bem .mega-p{margin:0;font-size:.9rem;line-height:1.5;color:var(--on-dark-2)}
.bem .mainnav a.mega-cta{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;margin-top:.5rem;padding:.8rem 1rem;border-radius:var(--pill);
  background:var(--ember-btn);color:var(--white);font-size:1.05rem;font-weight:800;text-decoration:none;box-shadow:var(--shadow-ember)}
.bem .mainnav a.mega-cta:hover{background:var(--ember-lo)}
.bem .mainnav a.mega-all{display:inline-flex;align-items:center;gap:.45rem;color:var(--white);font-weight:600;text-decoration:none;font-size:.95rem}
.bem .mainnav a.mega-all:hover{color:var(--flame)}
.bem .mainnav a.mega-cta::after,.bem .mainnav a.mega-all::after,.bem .mainnav a.mega-link::after{content:none}

/* ---------------------------------------------------------------- burger */

.bem .burger{display:none;width:46px;height:46px;border-radius:14px;border:1px solid var(--line-strong);background:var(--white);position:relative;cursor:pointer}
.bem .burger span,.bem .burger::before,.bem .burger::after{content:"";position:absolute;left:12px;right:12px;height:2px;border-radius:2px;background:var(--text);
  transition:transform .3s var(--ease),opacity .2s var(--ease),top .3s var(--ease)}
.bem .burger::before{top:15px}
.bem .burger span{top:22px}
.bem .burger::after{top:29px;right:18px;background:var(--ember)}
.bem .burger:hover{border-color:var(--blue)}
.bem.has-hero .site-header:not(.is-scrolled) .burger{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.42)}
.bem.has-hero .site-header:not(.is-scrolled) .burger span,.bem.has-hero .site-header:not(.is-scrolled) .burger::before{background:var(--white)}
.bem.has-hero .site-header:not(.is-scrolled) .burger::after{background:var(--flame)}
@media (max-width:1024px){ .bem .burger{display:inline-block} }
.bem.drawer-open .burger::before{top:22px;transform:rotate(45deg)}
.bem.drawer-open .burger span{opacity:0}
.bem.drawer-open .burger::after{top:22px;right:12px;transform:rotate(-45deg)}

/* ---------------------------------------------------------------- drawer */

.bem .drawer{position:fixed;inset:0;z-index:300;visibility:hidden;pointer-events:none}
.bem .drawer.is-open{visibility:visible;pointer-events:auto}
.bem .drawer-shade{position:absolute;inset:0;border:0;padding:0;background:rgba(4,18,46,.55);opacity:0;transition:opacity .3s var(--ease);cursor:pointer}
.bem .drawer.is-open .drawer-shade{opacity:1}
.bem .drawer-panel{
  position:absolute;top:0;right:0;bottom:0;width:min(430px,100%);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none;
  display:flex;flex-direction:column;gap:1.2rem;padding:1.3rem 1.4rem calc(1.4rem + env(safe-area-inset-bottom));
  background:var(--white);color:var(--text);transform:translateX(100%);transition:transform .38s var(--ease);
  box-shadow:-30px 0 60px -20px rgba(4,18,46,.4);
}
.bem .drawer-panel::-webkit-scrollbar{display:none}
.bem .drawer.is-open .drawer-panel{transform:none}
.bem .drawer-thermal{position:absolute;left:0;top:0;bottom:0;width:4px;background:var(--ember)}
.bem .drawer-top{display:flex;align-items:center;justify-content:space-between;gap:1rem}
.bem .drawer-brand img{display:block;width:176px;height:auto}
.bem .drawer-close{display:inline-grid;place-items:center;width:44px;height:44px;border-radius:14px;border:1px solid var(--line-strong);color:var(--text)}
.bem .drawer-close .ico{width:20px;height:20px}
.bem .drawer-note{margin:0;padding:.8rem 1rem;border-radius:var(--r-sm);background:var(--warm);border:1px solid #F7C9B2;color:var(--text);font-size:.95rem}
.bem .drawer-note a{color:var(--ember-btn);font-weight:700}
.bem .drawer-nav ul{list-style:none;margin:0;padding:0}
.bem .drawer-nav > ul > li{border-bottom:1px solid var(--line)}
.bem .drawer-nav > ul > li > a{display:flex;align-items:center;justify-content:space-between;padding:.9rem 0;
  font-family:var(--font-display);font-stretch:var(--wide);font-size:1.28rem;font-weight:800;color:var(--text);text-decoration:none}
.bem .drawer-nav > ul > li > a::after{content:"";width:9px;height:9px;border-radius:50%;background:var(--line-strong);transition:background-color .2s var(--ease),box-shadow .2s var(--ease)}
.bem .drawer-nav > ul > li.is-current > a{color:var(--blue)}
.bem .drawer-nav > ul > li.is-current > a::after,.bem .drawer-nav > ul > li > a:hover::after{background:var(--ember);box-shadow:0 0 10px rgba(255,106,43,.8)}
.bem .drawer-nav li ul{padding:0 0 .9rem .1rem}
.bem .drawer-nav li ul a{display:block;padding:.42rem 0 .42rem 1rem;border-left:2px solid var(--line);color:var(--text-2);text-decoration:none;font-size:1rem}
.bem .drawer-nav li ul a:hover,.bem .drawer-nav li ul .is-current a{color:var(--blue);border-left-color:var(--ember)}
.bem .drawer-nav ul.drawer-2col{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:.6rem}
/* the drawer's items arrive one after another */
.bem .drawer-nav > ul > li{opacity:0;transform:translateX(16px);transition:opacity .3s var(--ease),transform .35s var(--ease)}
.bem .drawer.is-open .drawer-nav > ul > li{opacity:1;transform:none}
.bem .drawer.is-open .drawer-nav > ul > li:nth-child(2){transition-delay:.05s}
.bem .drawer.is-open .drawer-nav > ul > li:nth-child(3){transition-delay:.1s}
.bem .drawer.is-open .drawer-nav > ul > li:nth-child(4){transition-delay:.15s}
.bem .drawer.is-open .drawer-nav > ul > li:nth-child(5){transition-delay:.2s}
.bem .drawer.is-open .drawer-nav > ul > li:nth-child(n+6){transition-delay:.25s}
.bem .drawer-cta{display:grid;gap:.6rem}
.bem .drawer-cta .btn{width:100%}
.bem .drawer-foot{display:grid;gap:.55rem;margin-top:auto;padding-top:1rem;border-top:1px solid var(--line);font-size:.95rem;color:var(--text-2)}
.bem .drawer-foot p{display:flex;align-items:center;gap:.6rem;margin:0}
.bem .drawer-foot .ico{width:16px;height:16px;color:var(--blue)}
.bem .drawer-foot a{color:var(--text);text-decoration:none}
.bem .drawer-foot a:hover{color:var(--blue)}

/* --------------------------------------------------------------- callbar */

.bem .callbar{
  position:fixed;left:.6rem;right:.6rem;bottom:calc(.6rem + env(safe-area-inset-bottom));z-index:150;
  display:none;grid-template-columns:1fr 1.35fr;gap:.4rem;padding:.4rem;border-radius:20px;
  background:rgba(255,255,255,.97);border:1px solid var(--line);
  -webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);box-shadow:0 18px 40px -16px rgba(4,18,46,.5);
  transform:translateY(130%);transition:transform .35s var(--ease);
}
.bem .callbar.is-on{transform:none}
.bem .callbar-btn{display:flex;align-items:center;justify-content:center;gap:.5rem;min-height:52px;border-radius:16px;
  color:var(--blue);text-decoration:none;font-size:1rem;font-weight:800;background:var(--frost)}
.bem .callbar-btn .ico{width:19px;height:19px}
.bem .callbar-main{background:var(--ember-btn);color:var(--white)}
.bem .callbar-main:hover{color:var(--white);background:var(--ember-lo)}
@media (max-width:767px){
  .bem .callbar{display:grid}
  .bem .site-footer{padding-bottom:calc(76px + env(safe-area-inset-bottom))}
}

/* ================================================================ footer */

.bem .site-footer{position:relative;background:var(--navy);color:var(--on-dark-2)}

/* the call to action: a blue card straddling the page and the night footer,
   with the big number card on its right */
body .elementor .bem-el-ctaband{padding:clamp(3rem, 2rem + 3vw, 5rem) 0 0;background:linear-gradient(180deg,var(--paper) 50%,var(--navy) 50%)}
.bem main:has(.elementor-section:last-of-type.sec-frost) + .site-footer .bem-el-ctaband{background:linear-gradient(180deg,var(--frost) 50%,var(--navy) 50%)}
body .elementor .bem-el-ctaband > .elementor-container{
  position:relative;isolation:isolate;overflow:hidden;
  padding:clamp(2.2rem, 1.6rem + 2.6vw, 4rem) clamp(1.5rem, 1rem + 3vw, 4rem);border-radius:34px;
  background:var(--blue);
  background-color:var(--blue);box-shadow:0 44px 90px -40px rgba(0,37,122,.9);
  width:calc(100% - 2 * var(--gutter));
}
body .elementor .bem-el-ctaband > .elementor-container::before{content:"";position:absolute;inset:0;z-index:-1;opacity:.55;pointer-events:none;
  background:url("../img/pat-isotherm.svg") center / cover no-repeat}
body .elementor .bem-el-ctaband > .elementor-container::after{content:"";position:absolute;left:0;right:0;bottom:0;height:5px;background:var(--ember)}
body .elementor .bem-el-ctaband .title .elementor-heading-title{max-width:16ch}
body .elementor .bem-el-ctaband .elementor-widget.lede{margin-bottom:1.6rem}
body .elementor .bem-el-ctaband .lede p{color:var(--on-dark)}
@media (max-width:767px){ body .elementor .bem-el-ctaband > .elementor-container{border-radius:26px} }

/* the big number */
.bem .callcard{position:relative;container-type:inline-size;padding:clamp(1.4rem, 1rem + 1.4vw, 2rem);border-radius:var(--r-lg);background:var(--white);color:var(--text);
  box-shadow:0 30px 60px -30px rgba(4,18,46,.7);transform:rotate(-1.2deg)}
.bem .callcard::before{content:"";position:absolute;left:22px;right:22px;top:-1px;height:4px;border-radius:0 0 4px 4px;background:var(--ember)}
.bem .callcard-k{display:flex;align-items:center;gap:.5rem;margin:0 0 .5rem;font-family:var(--font-mono);font-size:.7rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
.bem .callcard-k .ico{width:15px;height:15px;color:var(--ember-btn)}
.bem a.callcard-num{display:block;font-family:var(--font-display);font-stretch:125%;font-size:clamp(1.75rem, 1.2rem + 1.9vw, 2.75rem);font-size:min(2.75rem, 10.2cqi);font-weight:900;line-height:1;letter-spacing:-.01em;color:var(--blue);text-decoration:none;white-space:nowrap}
.bem a.callcard-num em{font-style:normal;color:var(--ember-btn)}
.bem a.callcard-num:hover{color:var(--blue-hi)}
.bem .callcard-real{margin:.45rem 0 0;font-family:var(--font-mono);font-size:.92rem;font-weight:600;color:var(--text-2)}
.bem .callcard-foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.6rem 1rem;margin-top:1.1rem;padding-top:1rem;border-top:1px dashed var(--line-strong)}
.bem .callcard-foot .hours-rows{margin:0}
@media (max-width:1024px){ .bem .callcard{transform:none;max-width:520px} }

/* the footer proper, in two bands on one night ground: the brand beside the
   three ways to reach us, a hairline, then four even columns of links */
body .elementor .bem-el-footer{position:relative;isolation:isolate;background:var(--navy);overflow:hidden}
body .elementor .bem-el-footer > .elementor-container{max-width:min(1440px,100%);padding-inline:var(--gutter);gap:clamp(1.5rem, 3vw, 3rem)}
body .elementor .bem-el-footer .elementor-column{min-width:0}
body .elementor .bem-el-ftop{padding-block:clamp(3rem, 2.2rem + 2.6vw, 4.5rem) clamp(2.2rem, 1.8rem + 1.4vw, 3rem)}
body .elementor .bem-el-ftop::before{content:"";position:absolute;inset:0;z-index:-1;opacity:.22;pointer-events:none;
  background:url("../img/pat-isotherm.svg") 30% 60% / 1700px auto no-repeat}
body .elementor .bem-el-flinks{padding-block:0 clamp(2.5rem, 2rem + 2vw, 3.5rem)}
body .elementor .bem-el-flinks > .elementor-container::before{content:"";position:absolute;left:var(--gutter);right:var(--gutter);top:0;height:1px;background:var(--line-dark)}
body .elementor .bem-el-flinks > .elementor-container{position:relative;padding-top:clamp(2.2rem, 1.8rem + 1.4vw, 3rem)}
body .elementor .bem-el-flogo.elementor-widget-image{text-align:left}
body .elementor .bem-el-flogo.elementor-widget-image img{display:block;width:220px;max-width:100%;height:auto;margin:0}
/* (0,4,1): over the text-editor base colour in 30-elementor.css */
body .elementor .bem-el-footer .elementor-widget.foot-blurb{margin-top:1rem;font-size:.95rem;line-height:1.6;color:var(--on-dark-2)}
body .elementor .bem-el-footer .foot-blurb p{max-width:40ch;margin:0}
body .elementor .bem-el-footer .foot-h .elementor-heading-title,.bem p.foot-h{
  display:flex;align-items:center;gap:.6rem;margin:0 0 .9rem;
  font-family:var(--font-mono);font-size:.74rem;font-weight:700;letter-spacing:.18em;line-height:1.2;text-transform:uppercase;color:var(--white);
}
body .elementor .bem-el-footer .foot-h .elementor-heading-title::before,.bem p.foot-h::before{content:"";width:18px;height:3px;flex:none;border-radius:3px;background:var(--ember)}
body .elementor .bem-el-footer .elementor-widget.foot-h{margin-bottom:.4rem}
body .elementor .bem-el-links .elementor-icon-list-items{list-style:none;margin:0;padding:0;display:grid;gap:.05rem}
body .elementor .bem-el-links-2 .elementor-icon-list-items{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:1rem}
body .elementor .bem-el-links .elementor-icon-list-item a{display:flex;align-items:center;gap:.55rem;padding:.34rem 0;color:var(--on-dark-2);text-decoration:none;
  font-size:.95rem;font-weight:500;transition:color .2s var(--ease)}
body .elementor .bem-el-links .elementor-icon-list-icon{width:12px;height:12px;flex:none;background:var(--on-dark-3);
  -webkit-mask:url("../img/ic/chev.svg") center / contain no-repeat;mask:url("../img/ic/chev.svg") center / contain no-repeat;transform:rotate(-90deg);transition:background-color .2s var(--ease)}
body .elementor .bem-el-links .elementor-icon-list-icon i,body .elementor .bem-el-links .elementor-icon-list-icon svg{display:none}
body .elementor .bem-el-links .elementor-icon-list-text{color:inherit}
body .elementor .bem-el-links .elementor-icon-list-item a:hover{color:var(--white)}
body .elementor .bem-el-links .elementor-icon-list-item a:hover .elementor-icon-list-icon{background:var(--ember)}
@media (max-width:1024px){
  body .elementor .bem-el-footer > .elementor-container{flex-wrap:wrap;row-gap:2.2rem}
  body .elementor .bem-el-ftop .elementor-column.bem-el-fbrand,body .elementor .bem-el-ftop .elementor-column.bem-el-freach{width:100%}
  body .elementor .bem-el-flinks .elementor-column.bem-el-fcol{width:calc(50% - clamp(1.5rem, 3vw, 3rem) / 2)}
}
@media (max-width:767px){
  body .elementor .elementor-section.bem-el-footer > .elementor-container > .elementor-column + .elementor-column{margin-top:0}
  body .elementor .bem-el-footer > .elementor-container{gap:2rem 1.5rem}
  body .elementor .bem-el-flinks .elementor-column.bem-el-fcol{width:calc(50% - .75rem)}
  body .elementor .bem-el-flinks .elementor-column.bem-el-farea,body .elementor .bem-el-flinks .elementor-column.bem-el-fhours{width:100%;order:3}
  body .elementor .bem-el-flinks .elementor-column.bem-el-fhours{order:4}
}

/* the three ways to reach us, side by side: the number big, the rest quiet */
.bem .contact-footer{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,auto);justify-content:end;align-items:center;gap:1.25rem clamp(1.5rem, 3.5vw, 3.5rem)}
.bem .contact-footer .contact-item{display:flex;gap:.8rem;align-items:center;min-width:0}
.bem .contact-footer .contact-body{min-width:0}
.bem .contact-footer .contact-ico{display:inline-grid;place-items:center;width:44px;height:44px;flex:none;border-radius:12px;background:rgba(255,255,255,.07);border:1px solid var(--line-dark-strong);color:var(--ice)}
.bem .contact-footer .contact-ico .ico{width:18px;height:18px}
.bem .contact-footer .contact-k{margin:0 0 .15rem;font-family:var(--font-mono);font-size:.64rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--on-dark-3)}
.bem .contact-footer .contact-v{margin:0;color:var(--white);font-size:1rem;font-weight:600;line-height:1.35}
.bem .contact-footer .contact-v a{color:var(--white);text-decoration:none}
.bem .contact-footer .contact-v a:hover{color:var(--flame)}
.bem .contact-footer .contact-phone .contact-ico{width:52px;height:52px;border-radius:14px;background:var(--ember-btn);border-color:var(--ember-btn);color:var(--white)}
.bem .contact-footer .contact-phone .contact-ico .ico{width:22px;height:22px}
.bem .contact-footer .contact-phone .contact-v{font-family:var(--font-display);font-stretch:var(--wide);font-size:1.55rem;font-weight:800;line-height:1.05;overflow-wrap:normal;white-space:nowrap}
.bem .contact-footer .contact-pin .contact-v{max-width:16em}
@media (max-width:1280px){ .bem .contact-footer{justify-content:start;grid-template-columns:repeat(2,auto)} .bem .contact-footer .contact-phone{grid-column:1 / -1} }
@media (max-width:767px){ .bem .contact-footer{grid-template-columns:minmax(0,1fr)} .bem .contact-footer .contact-v{overflow-wrap:anywhere} .bem .contact-footer .contact-phone .contact-v{overflow-wrap:normal} }
.bem .contact-license{margin:.4rem 0 0;font-family:var(--font-mono);font-size:.72rem;letter-spacing:.1em;text-transform:uppercase;color:var(--on-dark-3)}

/* the hours column: the light, the week, then the ratings */
.bem .hours-footer .status{font-size:.86rem;color:var(--on-dark-2)}
.bem .hours-footer .status-label{color:var(--white)}
.bem .hours-footer .hours-rows{margin:.6rem 0 0}
.bem .hours-footer .hours-row{justify-content:flex-start;gap:.75rem}
.bem .hours-footer .hours-row dt{color:var(--white);font-weight:600}
.bem .hours-footer .hours-row dd{color:var(--on-dark-2)}
.bem .hours-footer .hours-row.is-off dd{color:var(--on-dark-3)}
body .elementor .bem-el-fhours .badges{margin-top:1.6rem}

.bem .footer-social{display:flex;gap:.5rem;flex-wrap:wrap;margin-top:1.4rem}
.bem .footer-social .soc{display:inline-grid;place-items:center;width:42px;height:42px;border-radius:12px;border:1px solid var(--line-dark-strong);background:rgba(255,255,255,.05);color:var(--on-dark);
  transition:background-color .2s var(--ease),color .2s var(--ease),border-color .2s var(--ease)}
.bem .footer-social .ico{width:18px;height:18px}
.bem .footer-social .soc:hover{background:var(--white);border-color:var(--white);color:var(--blue)}

/* the badges: BBB seal and the Google rating */
.bem .badges{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem}
.bem .badge{display:inline-flex;align-items:center;gap:.45rem;min-height:54px;padding:.4rem .75rem;border-radius:14px;text-decoration:none;
  transition:transform .2s var(--ease),box-shadow .2s var(--ease)}
.bem .badge:hover{transform:translateY(-2px)}
.bem .badge-bbb{background:var(--white);padding:.35rem .5rem}
.bem .badge-bbb img{display:block;width:132px;height:auto}
.bem .badge-google{background:rgba(255,255,255,.06);border:1px solid var(--line-dark-strong);color:var(--white)}
.bem .badge-google .ico{width:18px;height:18px}
.bem .badge-google .ico:last-of-type{color:var(--flame);width:15px;height:15px}
.bem .badge-google b{font-family:var(--font-display);font-stretch:var(--wide);font-size:1.25rem;font-weight:800}
.bem .badge-google small{max-width:7.5em;font-size:.72rem;line-height:1.2;color:var(--on-dark-2)}

/* the bottom line */
body .elementor .bem-el-footer-bottom{padding-block:1.2rem;background:#020B1E;border-top:1px solid var(--line-dark)}
body .elementor .bem-el-footer-bottom > .elementor-container{max-width:min(1440px,100%);padding-inline:var(--gutter);align-items:center}
body .elementor .bem-el-footer-bottom .elementor-widget.elementor-widget-text-editor{color:var(--on-dark-3);font-size:.86rem}
body .elementor .bem-el-footer-bottom .elementor-widget-text-editor p{margin:0}
body .elementor .bem-el-credit > .elementor-widget-wrap{justify-content:flex-end}
.bem .foot-legal{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:.4rem 1.2rem;font-size:.86rem}
.bem .foot-legal a{color:var(--on-dark-2);text-decoration:none}
.bem .foot-legal a:hover{color:var(--white)}
.bem .ssq-credit{color:var(--on-dark-3)}
.bem .foot-legal a.ssq-credit:hover{color:var(--flame)}
@media (max-width:767px){
  body .elementor .bem-el-credit > .elementor-widget-wrap{justify-content:flex-start}
  .bem .foot-legal{justify-content:flex-start}
  body .elementor .elementor-section.bem-el-footer-bottom > .elementor-container > .elementor-column + .elementor-column{margin-top:.6rem}
}

/* -------------------------------------- the editor: the header is not fixed */

body.elementor-editor-active .site-header{position:relative}
body.elementor-editor-active .elementor-location-header{position:relative}
