/* ==========================================================================
   Live shell: header (Elementor 6024), "Areas We Serve" bar, footer (6045)
   Values read from the posted /heating-services/repair/ page.
   ========================================================================== */
:root{--amber:#f9a607;--bar-cyan:#00a9e0;--legal:#f8f8f8;--navy-live:#002b49}
.tdh{display:contents}

/* ---- Top bar (live: 70px, two badges, 20px apart) ----------------------- */
.tdh-top{background:var(--white)}
.tdh-top__inner{display:flex;align-items:center;justify-content:center;gap:20px;min-height:70px;padding:10px 20px}
.tdh-badge{display:inline-flex;align-items:center;box-sizing:border-box;background:var(--white);color:var(--navy-live);text-decoration:none;white-space:nowrap;font-family:var(--body);font-weight:700}
.tdh-badge:hover{color:var(--navy-live)}
/* Google reviews badge: 271 x 50, 1px amber, 10px radius */
.tdh-badge--g{gap:8px;height:50px;padding:0 20px;border:1px solid var(--amber);border-radius:10px}
.tdh-badge__g{width:28px;height:28px}
.tdh-badge__score{font-size:22px;color:#111;line-height:1}
.tdh-badge__stars{display:flex;gap:0}
.tdh-badge__stars svg{width:22px;height:22px}
.tdh-badge__count{font-size:14px;font-weight:600;color:#333}
/* "Serving the Triangle" pill: 2px amber, 6px radius, 15px side padding */
.tdh-badge--serve{gap:10px;height:42px;padding:6px 15px;border:2px solid var(--amber);border-radius:6px;font-size:16px}
.tdh-badge--serve svg{flex:none;color:var(--navy-live)}
.tdh-mrow{display:none}

/* ---- Main bar (live: 85px, gradient, logo 139x62, nav wraps to 2 rows) ---- */
.tdh-bar{position:sticky;top:0;z-index:var(--z-header);background:linear-gradient(0deg,#00254a 0%,#0088ce 100%);color:#fff}
.tdh-bar{padding-inline:20px}
.tdh-bar__inner{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:65px;padding:12px 0;max-width:1480px;margin-inline:auto;box-sizing:border-box}
.tdh-logo{flex:none;display:flex;align-items:center;height:41px}
.tdh-logo img{width:139px;height:auto;position:relative;top:-13px}
@media (min-width:1700px){.tdh-logo img{width:145px}}
.tdh-nav{display:none;flex:1 1 auto}
@media (min-width:1220px){.tdh-nav{display:block}}
.tdh-nav ul{list-style:none;margin:0;padding:0}
.tdh-nav>ul{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:0 10px}
.tdh-nav li{position:relative}
.tdh-nav a{
  display:flex;align-items:center;gap:6px;padding:0 5px;height:20.5px;
  font-family:var(--label);font-weight:700;font-size:14px;line-height:20.5px;text-transform:uppercase;
  color:#fff;text-decoration:none;white-space:nowrap;
}
.tdh-nav>ul>li>a{padding-block:0}
@media (min-width:1700px){.tdh-nav>ul>li>a{height:40.5px}}
.tdh-nav a:hover{color:var(--yellow)}
.tdh-nav .has-sub>a::after{content:"";width:5px;height:5px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg) translateY(-1px);margin-left:6px;margin-right:3px}
.tdh-nav .sub{position:absolute;left:0;top:100%;min-width:156px;background:var(--navy-live);padding:0;display:none;z-index:5;padding-top:6px}
.tdh-nav li:hover>.sub,.tdh-nav li:focus-within>.sub{display:block}
.tdh-nav .sub a{padding:13px 20px;font-size:12px;line-height:1.3;white-space:normal;min-width:156px}
.tdh-nav .sub a:hover{color:var(--yellow)}
.tdh-nav .sub .sub{left:100%;top:0;padding-top:0}
.tdh-nav .sub .has-sub>a::after{margin-left:auto;transform:rotate(-45deg)}
.tdh-nav>ul>li:nth-last-child(-n+4)>.sub{left:auto;right:0}
.tdh-sched{flex:0 0 auto}
.tdh-nav .tdh-sched a{
  padding:12px 15px 8px;height:auto;align-items:flex-start;border-radius:4px;color:var(--navy-live);line-height:20.5px;
  background-image:var(--cta-grad);
}
.tdh-nav .tdh-sched a:hover{background-image:var(--cta-grad-hover);color:var(--navy-live)}
.tdh-toggle{
  display:inline-flex;align-items:center;gap:8px;background:rgba(0,37,74,.35);color:#fff;border:0;border-radius:6px;
  font-family:var(--label);font-weight:700;font-size:15px;letter-spacing:.04em;text-transform:uppercase;padding:14px 26px;cursor:pointer;
}
@media (min-width:1220px){.tdh-toggle{display:none}}
.tdh-drawer{display:none;background:var(--navy-live);padding:8px 20px 20px}
.tdh-drawer[data-open="true"]{display:block}
@media (min-width:1220px){.tdh-drawer{display:none !important}}
.tdh-drawer ul{list-style:none;margin:0;padding:0}
.tdh-drawer>ul>li{border-bottom:1px solid rgba(255,255,255,.14)}
.tdh-drawer a,.tdh-drawer summary{
  display:block;padding:13px 4px;color:#fff;text-decoration:none;cursor:pointer;
  font-family:var(--label);font-weight:700;font-size:13px;text-transform:uppercase;list-style:none;
}
.tdh-drawer summary::-webkit-details-marker{display:none}
.tdh-drawer summary::after{content:"+";float:right;color:var(--yellow);font-size:18px;line-height:1}
.tdh-drawer details[open]>summary::after{content:"–"}
.tdh-drawer ul ul a{font-family:var(--body);text-transform:none;font-weight:600;font-size:14px;padding:9px 4px 9px 16px;color:#d7e6f2}
.tdh-drawer ul ul ul a{padding-left:32px}

/* ---- Mobile header (live: whole 197px block is fixed/sticky: 60 / 38 / 40 / 59) ---- */
@media (max-width:1219px){
  .tdh{display:block;position:sticky;top:0;z-index:var(--z-header)}
  .tdh .tdh-bar{position:static}
  .tdh-top__inner{gap:8px;padding:10px;min-height:60px;flex-wrap:nowrap;justify-content:center;box-sizing:border-box}
  .tdh-top__inner>*{flex:1 1 0;min-width:0;justify-content:center}
  .tdh-badge{height:40px;padding:0 6px;font-size:11.5px;gap:4px;border-radius:7px;border-width:1px}
  .tdh-badge__g{width:16px;height:16px}
  .tdh-badge__score{font-size:14px}
  .tdh-badge__stars svg{width:11px;height:11px}
  .tdh-badge__count{font-size:10px}
  .tdh-badge--serve{white-space:normal;text-align:center;line-height:1.1;padding:2px 6px}
  .tdh-badge--serve svg{display:none}
  .tdh-mrow{display:grid}
  .tdh-mrow--pay{grid-template-columns:1fr 1fr}
  .tdh-mrow--pay a{height:38px;display:grid;place-items:center;text-align:center;font-family:var(--body);font-weight:700;font-size:14px;text-transform:uppercase;text-decoration:none;color:var(--navy-live);white-space:nowrap}
  .tdh-mrow--pay a:first-child{background:#dcf2f6}
  .tdh-mrow--pay a:last-child{background:var(--yellow)}
  .tdh-mrow--call{background:var(--navy);height:40px;align-items:center}
  .tdh-mrow--call a{display:flex;justify-content:center;align-items:center;gap:10px;color:#fff;font-weight:700;font-size:16px;text-decoration:none}
  .tdh-mrow--call svg{color:var(--yellow)}
  .tdh-bar__inner{min-height:59px;padding:0 10px 0 14px}
  .tdh-logo{height:auto}
  .tdh-logo img{width:104px;margin:0;top:0}
  .tdh-nav{display:none}
}

/* ---- Areas We Serve ---------------------------------------------------- */
.tda{background:var(--bar-cyan);color:#fff;position:relative;z-index:3}
.tda__inner{display:grid;gap:14px;align-items:center;padding:26px 20px;width:min(1260px,100%);margin-inline:auto}
@media (min-width:1000px){.tda__inner{grid-template-columns:auto minmax(0,1fr);gap:28px}}
.tda__tag{
  display:inline-flex;align-items:center;justify-self:start;background:var(--yellow);color:var(--navy);
  font-family:var(--body);font-weight:800;font-size:17px;padding:12px 40px 12px 18px;
  clip-path:polygon(0 0,calc(100% - 22px) 0,100% 50%,calc(100% - 22px) 100%,0 100%);
}
.tda__list{display:flex;flex-wrap:wrap;gap:4px 8px;list-style:none;margin:0;padding:0}
.tda__list>li{position:relative}
.tda__list>li>a{display:block;padding:8px 10px;color:#fff;text-decoration:none;font-weight:700;font-size:16px}
.tda__list>li>a:hover{color:var(--navy)}
.tda__sub{
  position:absolute;left:0;bottom:100%;min-width:250px;background:var(--navy-live);padding:8px 0;list-style:none;margin:0;display:none;z-index:6;
  box-shadow:0 -10px 30px rgba(0,37,74,.25);
}
.tda__list>li:hover>.tda__sub,.tda__list>li:focus-within>.tda__sub{display:block}
.tda__sub a{display:block;padding:8px 18px;color:#fff;text-decoration:none;font-weight:600;font-size:14px}
.tda__sub a:hover{color:var(--yellow)}
@media (max-width:999px){.tda__sub{display:none !important}}

/* ---- Footer -------------------------------------------------------------- */
.tdf{background:#fff;text-align:center}
.tdf__main{padding:56px 20px 40px;display:grid;justify-items:center;gap:14px}
.tdf__logo{width:230px}
.tdf__main a,.tdf__main p{font-size:18px;font-weight:700;color:var(--navy-live);margin:0;line-height:1.35}
.tdf__tel{text-decoration:none}
.tdf__addr{text-decoration:underline;text-underline-offset:4px}
.tdf__main a:hover{color:#0064a0}
.tdf__social{display:flex;gap:20px;list-style:none;margin:10px 0 6px;padding:0}
.tdf__social a{display:grid;place-items:center;width:40px;height:40px;color:var(--navy-live)}
.tdf__social svg{width:26px;height:26px}
.tdf__awards{width:min(760px,100%);margin-top:6px}
.tdf__legal{background:var(--legal);padding:26px 15px;font-size:14px;color:#444}
.tdf__legal p{margin:0 auto;max-width:none;font-size:14px;font-weight:400;color:#444}
.tdf__legal a{color:#0064a0;font-weight:400;font-size:14px;text-decoration:none}
.tdf__legal a:hover{text-decoration:underline}
.tdf__legal span{margin-inline:6px;color:#9aa}

@media (min-width:1220px){
  .tdh{display:block;position:sticky;top:0;z-index:var(--z-header)}
  .tdh .tdh-bar{position:static}
}
