/* 11/17 big-brand layout (Anthony: "find more hvac sites that are big brands and copy their layout/design styles").
   Structure taken from the large residential HVAC companies Scout swept (handoffs/2026-11-17-rtp-hvac-bigbrand-redesign):
   navy utility bar, white header with one bold button, big-type hero, trust strip, icon service tiles with Explore
   buttons, schedule band, check-list cards, guides row, office card, navy closing band, 3-button phone bar.
   Loaded last; overrides site.css / parent.css / redesign.css. Colours stay RTP HVAC's: navy, blues, thermostat red. */

:root{--bb-blue:#2e74b0;--bb-pale:#f3f6f9;--bb-line:#dfe5ec;--bb-radius:8px}

/* Utility bar */
.utilbar{background:var(--color-navy);color:#fff;font-size:.875rem;line-height:1.3}
.utilbar__row{display:flex;align-items:center;gap:28px;min-height:40px;padding-block:8px}
.utilbar a,.utilbar span{display:inline-flex;align-items:center;gap:8px;color:#fff;text-decoration:none;font-weight:500}
.utilbar svg{width:16px;height:16px;flex:none;color:#8fc1ea}
.utilbar__msg{margin-right:auto}
.utilbar a:hover{text-decoration:underline}
.utilbar__tel{font-weight:700!important;font-variant-numeric:tabular-nums}
@media(max-width:700px){.utilbar__row{justify-content:center}.utilbar__msg{margin:0}.utilbar__town,.utilbar__tel{display:none!important}.utilbar{font-size:.8125rem}}

/* Header: white, one bold button */
.header{border-bottom:1px solid var(--bb-line);box-shadow:none}
.header__tel{font-size:1.0625rem!important;font-weight:700!important;color:var(--color-navy)!important;gap:8px}
.header__cta .btn-cta,.nav .btn-cta{min-height:50px;padding-inline:24px;border-radius:var(--bb-radius);font-size:1rem;font-weight:700;letter-spacing:0;text-transform:none;box-shadow:none}
.btn-cta,.btn-cta:hover{transform:none;box-shadow:none}
.btn{text-transform:none;letter-spacing:0}
/* 1061-1240: nav + Rebates + phone + button share one row; tighten so the header never scrolls sideways */
@media(min-width:1061px) and (max-width:1240px){.header__row{gap:12px}.nav{gap:14px}.header__tel{font-size:.9375rem!important}.header__cta .btn-cta{padding-inline:18px}}
/* Blog back in the header (11-19): Services + 6 links beside the text phone fit with 12px link gaps up to 1160px, and 10px gaps plus a 14px CTA inset up to 1100px (measured at 1061: the row had 2.5px of slack with 10px gaps alone; the e2e wants 19px between the mark and the nav) */
@media(min-width:1061px) and (max-width:1160px){.nav{gap:12px}}
@media(min-width:1061px) and (max-width:1100px){.nav{gap:10px}.header__cta .btn-cta{padding-inline:14px}}

/* Buttons used in the new sections */
.btn{border-radius:var(--bb-radius)}
.btn-line{border:2px solid var(--color-navy);color:var(--color-navy);background:#fff;text-transform:none;letter-spacing:0}
.btn-line:hover{background:var(--color-navy);color:#fff}
.bb-hero .btn-line:not(:hover){background:transparent}

/* Interior page heroes keep their photo; buttons match the header */
.hero-actions .btn{min-height:52px;padding-inline:26px;font-size:1rem;text-transform:none;letter-spacing:0}
.btn-line--light{background:transparent}
.btn-line--light:hover{background:#fff;color:var(--color-navy)!important}
.phero .btn-line--light:hover{background:#fff;color:var(--color-navy)!important}

/* Trust strip */
.bb-trust{background:var(--bb-pale);border-bottom:1px solid var(--bb-line)}
.bb-trust__row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;padding-block:22px}
.bb-trust span{display:flex;align-items:center;gap:12px;color:var(--color-navy);font-weight:700;font-size:1.0625rem;line-height:1.25}
.bb-trust svg{width:30px;height:30px;flex:none;color:var(--bb-blue)}
@media(max-width:900px){.bb-trust__row{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 18px;padding-block:18px}.bb-trust span{font-size:.9375rem}.bb-trust svg{width:26px;height:26px}}
@media(max-width:360px){.bb-trust span{font-size:.875rem;gap:8px}}
@media(max-width:560px){.bb-trust--page{display:none}}

/* Home hero: big type left, photo card right */
.bb-hero{background:#fff;padding-block:clamp(40px,6vw,88px) clamp(36px,5vw,72px)}
.bb-hero__grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:clamp(28px,5vw,72px);align-items:center}
.bb-hero h1{color:var(--color-navy);font-size:clamp(2.6rem,1.1rem + 3.9vw,4.75rem);line-height:.98;letter-spacing:-.015em;font-weight:900;margin:0;max-width:13ch}
.bb-hero .lead{color:var(--color-ink-2);font-size:clamp(1.0625rem,1rem + .35vw,1.25rem);line-height:1.55;max-width:46ch;margin:22px 0 0}
.bb-hero .hero-actions{margin-top:30px}
.bb-hero .hero-actions .btn-cta:not(:focus-visible){outline:0}
/* the white hero and the white phone bar: the site ring (2px RTP Blue) instead of the white ring made for photo heroes and the old navy bar */
.bb-hero .hero-actions .btn:focus-visible{outline:2px solid var(--color-primary);outline-offset:3px}
.callbar a:focus-visible{outline:2px solid var(--color-primary);outline-offset:2px}
.bb-hero__photo{position:relative;border-radius:12px;overflow:hidden;aspect-ratio:4/3.1;background:var(--bb-pale)}
.bb-hero__photo .hero__bg{position:absolute;inset:0;z-index:0}
.bb-hero__photo .hero__img{width:100%;height:100%;object-fit:cover;object-position:50% 60%;display:block}
@media(max-width:900px){.bb-hero__grid{grid-template-columns:1fr}.bb-hero__photo{aspect-ratio:16/10}.bb-hero h1{max-width:none}}
@media(max-width:480px){.bb-hero .hero-actions{display:grid}}

/* Town bar under the home hero */
.bb-townbar{background:var(--bb-blue);color:#fff}
.bb-townbar__row{display:flex;align-items:center;justify-content:space-between;gap:24px;padding-block:22px}
.bb-townbar h2{color:#fff;font-size:clamp(1.375rem,1rem + 1vw,1.875rem);font-weight:900;margin:0}
.bb-townbar__form{display:flex;gap:10px;flex:0 1 520px}
.bb-townbar input{flex:1;min-width:0;min-height:52px;border:0;border-radius:var(--bb-radius);padding:0 16px;font:inherit;font-size:1rem;color:var(--color-ink)}
.bb-townbar input:focus-visible{outline:3px solid #fff;outline-offset:2px}
.bb-townbar .btn-cta{min-height:52px;padding-inline:28px;outline:2px solid #fff;outline-offset:0}
@media(max-width:700px){.bb-townbar__row{flex-direction:column;align-items:stretch;gap:12px;padding-block:20px}.bb-townbar__form{flex:auto}}

/* Section heads */
.bb-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:clamp(28px,4vw,44px)}
.bb-head h2{color:var(--color-navy);font-size:clamp(1.875rem,1.1rem + 2vw,3rem);line-height:1.05;margin:0;max-width:22ch}
.bb-head p{color:var(--color-ink-2);margin:0;max-width:44ch}
@media(max-width:820px){.bb-head{flex-direction:column;align-items:flex-start;gap:12px}}

/* Service tiles: icon, name, one line, outline button */
.bb-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:44px 32px}
.bb-tile{display:flex;flex-direction:column;align-items:flex-start}
.bb-tile__ic{display:grid;place-items:center;width:64px;height:64px;border-radius:50%;background:var(--bb-pale);color:var(--bb-blue);margin-bottom:16px}
.bb-tile__ic svg{width:34px;height:34px}
.bb-tile .tile__b{padding:0}
.bb-tile h3{color:var(--color-navy);font-size:1.25rem;margin:0 0 8px}
.bb-tile p{color:var(--color-ink-2);font-size:.98rem;line-height:1.5;margin:0 0 18px}
.bb-tile__go{margin-top:auto;min-height:42px;padding:0 16px;font-size:.9rem;font-weight:700}
.bb-more{margin-top:40px;color:var(--color-ink-2)}
@media(max-width:1060px){.bb-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Phones (11/17 photo-spacing pass): a 2-column icon grid, icon + name, the whole tile is the link (Gold Medal mobile) */
@media(max-width:560px){
  .bb-tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .bb-tile{position:relative;align-items:center;text-align:center;padding:18px 10px 16px;border:1px solid var(--bb-line);border-radius:12px;background:#fff}
  .bb-tile__ic{width:52px;height:52px;margin-bottom:10px}
  .bb-tile__ic svg{width:28px;height:28px}
  .bb-tile h3{font-size:1rem;line-height:1.25;margin:0}
  .bb-tile p{display:none}
  .bb-tile__go,.bb-tile__go:hover{position:absolute;inset:0;min-height:0;padding:0;border:0;border-radius:12px;background:transparent!important;font-size:0;color:transparent!important}
  .bb-tile:hover{border-color:var(--bb-blue)}
}

/* Difference cards */
.bb-diff{background:var(--bb-pale)}
.bb-diff__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.bb-card{background:#fff;border:1px solid var(--bb-line);border-radius:12px;padding:28px}
.bb-card h3{color:var(--color-navy);font-size:1.25rem;margin:0 0 14px}
.bb-card .checks{margin:0;padding:0;list-style:none;display:grid;gap:10px}
.bb-card .checks li{display:flex;gap:10px;align-items:flex-start;color:var(--color-ink-2)}
.bb-card .checks svg{width:18px;height:18px;flex:none;margin-top:3px;color:var(--bb-blue)}
@media(max-width:900px){.bb-diff__grid{grid-template-columns:1fr}}

/* Guides row */
.bb-guides__row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.bb-guide{display:flex;flex-direction:column;justify-content:space-between;gap:18px;min-height:170px;padding:24px;border:1px solid var(--bb-line);border-top:4px solid var(--bb-blue);border-radius:10px;background:#fff;text-decoration:none}
.bb-guide h3{color:var(--color-navy);font-size:1.125rem;line-height:1.3;margin:0}
.bb-guide span{color:var(--bb-blue);font-weight:700;text-decoration:underline;text-underline-offset:3px}
.bb-guide:hover{border-color:var(--bb-blue)}
@media(max-width:1060px){.bb-guides__row{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.bb-guides__row{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;margin-inline:calc(-1 * var(--gutter));padding:2px var(--gutter) 10px;scroll-padding-inline:var(--gutter)}.bb-guide{flex:0 0 78%;min-height:150px;scroll-snap-align:start}}

/* Office card */
.bb-office{background:#fff;border-top:1px solid var(--bb-line)}
.bb-office__row{display:flex;align-items:center;justify-content:space-between;gap:24px;padding-block:32px}
.bb-office h2{color:var(--color-navy);font-size:1.375rem;margin:0 0 6px}
.bb-office address{font-style:normal;color:var(--color-ink-2)}
.bb-office__tel{display:inline-flex;align-items:center;gap:10px;color:var(--color-navy);font-weight:900;font-size:clamp(1.5rem,1rem + 1.6vw,2.25rem);text-decoration:none;font-variant-numeric:tabular-nums;white-space:nowrap}
.bb-office__tel svg{width:28px;height:28px;color:var(--accent)}
@media(max-width:700px){.bb-office__row{flex-direction:column;align-items:flex-start}}

/* Phone bar: Free Estimate | round call button | Find Your Town */
@media(max-width:1060px){
  .callbar{gap:0;padding:6px 8px calc(6px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid var(--bb-line);box-shadow:0 -6px 20px rgba(16,26,43,.12);align-items:flex-end}
  .callbar a{flex:1 1 0;flex-direction:column;gap:3px;padding:6px 4px;border-radius:0;background:none!important;color:var(--color-navy)!important;font-size:.8125rem;font-weight:700;letter-spacing:0;text-transform:none;line-height:1.2}
  .callbar a svg{width:24px;height:24px}
  .callbar .callbar__call{flex:0 0 68px;width:68px;height:68px;margin-top:-30px;border-radius:50%;justify-content:center;background:var(--accent)!important;color:#fff!important;border:4px solid #fff;box-shadow:0 6px 16px rgba(16,26,43,.25)}
  .callbar .callbar__call svg{width:28px;height:28px}
  body{padding-bottom:72px}
}
@media(max-width:359px){.callbar a{font-size:.75rem}}
@media(max-width:320px){.callbar a{font-size:.6875rem;padding-inline:2px}.callbar .callbar__call{flex-basis:62px;width:62px;height:62px}}

/* Desktop page heroes stop above the fold so the trust strip shows on first view (Gold Medal / Service Experts) */
@media(min-width:821px){.phero--photo{min-height:clamp(460px,calc(100svh - 300px),620px);padding-block:64px 56px}}

/* 11/17 adversarial review fixes */
/* F1: the Go button rests with a white edge, so focus needs a ring of its own: white, 3px, set off by the blue bar */
.bb-townbar .btn-cta:focus-visible{outline:3px solid #fff;outline-offset:4px}
/* F2: under 341px the header phone number shows as its icon only, so the menu button keeps its gutter */
@media(max-width:340px){.header__tel{font-size:0!important;gap:0}}
/* F4: keyboard focus never lands under the fixed phone bar (bar 68px + the round button rising 30px) */
@media(max-width:1060px){html{scroll-padding-bottom:110px}}
/* F5: on Service Areas the sticky filter bar ends about 142px down; focus lands below it */
html:has(.town-finder){scroll-padding-top:160px}
/* F6: the page behind the open phone menu does not scroll, so the panel stays joined to the header */
@media(max-width:1060px){html:has(.nav.open){overflow:hidden}}
/* F8: room above the guide cards for their 3px focus ring at a 3px offset inside the swipe row */
@media(max-width:560px){.bb-guides__row{padding-top:8px;margin-top:-6px}}

