/* THMGT-222 - Homepage redesign (scoped under main.thh)
   Palette: #0071b9 blue, #00365c navy, #c6a03c gold, #1d2433 ink, #4b5567 muted,
            #f3f5f8 wash, #e3e7ee hairline. Fonts: Montserrat (headings), Source Sans 3 (body). */

main.thh{display:block;margin:0;padding:0;background:#fff;color:#1d2433;font-family:'Source Sans 3',Inter,system-ui,sans-serif;-webkit-font-smoothing:antialiased;overflow-x:hidden}
.thh *{box-sizing:border-box}
.thh a{color:#0071b9;text-decoration:none}
/* The theme's global `.thh a{color:#0071b9}` out-specifies plain button/badge color rules,
   turning white-on-color text blue-on-color (invisible). Restore with higher specificity. */
.thh a.thh-btn--solid,.thh a.thh-btn--gold,.thh a.thh-btn--solid:hover,.thh a.thh-btn--gold:hover{color:#fff}
.thh a.thh-btn--white,.thh a.thh-btn--white:hover,.thh a.thh-card__cta{color:#0071b9}
.thh a.thh-card__alt{color:#c6a03c}
.thh a.thh-about__badge,.thh a.thh-about__badge b{color:#fff}
.thh h1,.thh h2,.thh h3,.thh h4,.thh h5{font-family:Montserrat,'Source Sans 3',sans-serif;margin:0}
.thh p{margin:0}
.thh-wrap{max-width:1280px;margin:0 auto;padding-left:24px;padding-right:24px}
.thh-eyebrow{font-family:Montserrat;font-weight:700;font-size:13px;letter-spacing:.24em;text-transform:uppercase;color:#0071b9}
.thh-h2{font-family:Montserrat;font-weight:800;font-size:clamp(28px,3vw,40px);line-height:1.15;text-transform:uppercase;color:#0071b9;text-wrap:balance}

/* ---- Hero ---- */
.thh-hero{position:relative;overflow:hidden;background:#00365c;color:#fff;min-height:max(600px,86vh);display:flex;flex-direction:column;justify-content:flex-end}
.thh-hero__video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}
.thh-hero__scrim{position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,rgba(0,54,92,.5) 0%,rgba(0,54,92,.15) 35%,rgba(0,54,92,.4) 72%,rgba(0,54,92,.78) 100%)}
.thh-hero__copy{position:relative;z-index:2;text-align:center;padding:0 24px 110px;display:flex;flex-direction:column;align-items:center;gap:6px;text-shadow:0 2px 14px rgba(0,0,0,.35)}
.thh-hero__kicker{font-weight:400;font-size:clamp(20px,2.3vw,38px);letter-spacing:.08em;text-transform:uppercase}
.thh-hero__copy h1{font-family:'Source Sans 3',sans-serif;font-weight:600;font-size:clamp(40px,5.6vw,92px);line-height:1.05;letter-spacing:.02em;text-transform:uppercase;text-wrap:balance;color:#fff}
.thh-hero__copy .thh-hero__kicker,.thh-hero__copy .thh-hero__sub{color:#fff}
.thh-hero__sub{font-weight:500;font-size:clamp(17px,2.2vw,36px);letter-spacing:.06em;text-transform:uppercase;text-wrap:balance;margin-top:10px}

/* ---- Credentials bar (design chip style; corrected content) ---- */
.thh-metrics{background:#0071b9;color:#fff}
.thh-metrics__inner{max-width:1440px;margin:0 auto;padding:16px 16px;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px 22px}
.thh-metric{display:flex;align-items:center;gap:12px;padding:6px 24px;color:#fff}
.thh-metric__big{font-family:Montserrat;font-weight:800;font-size:17px;line-height:1;white-space:nowrap;color:#fff}
.thh-metric__label{font-weight:600;font-size:12px;letter-spacing:.16em;text-transform:uppercase;color:#d6ebf8;white-space:nowrap}
a.thh-metric:hover .thh-metric__label{color:#fff}
.thh-stars{color:#f5c542;letter-spacing:1px;font-size:15px}
.thh-metric__div{width:1px;height:24px;background:rgba(255,255,255,.3)}
@media(max-width:760px){.thh-metric__div{display:none}.thh-metric__label{white-space:normal}.thh-metric{padding:6px 14px}}

/* ---- Proud Member Of ---- */
.thh-affil{background:#fff;border-bottom:1px solid #e3e7ee}
.thh-affil .thh-wrap{padding-top:32px;padding-bottom:28px;display:flex;flex-direction:column;align-items:center;gap:20px}
.thh-affil__head{display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center}
.thh-affil__h2{font-family:Montserrat;font-weight:800;font-size:clamp(20px,1.8vw,24px);line-height:1.15;text-transform:uppercase;color:#0071b9}
.thh-affil__grid{width:100%;max-width:1100px;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,150px),1fr));gap:12px}
.thh-affil__item{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:8px;padding:16px 12px;border:1px solid #e3e7ee;border-radius:4px;background:#fff;transition:box-shadow .25s,border-color .25s}
.thh-affil__item:hover{box-shadow:0 12px 28px rgba(0,54,92,.12);border-color:#0071b9}
.thh-affil__logo{height:44px;display:flex;align-items:center}
.thh-affil__logo img{max-height:44px;max-width:120px;width:auto;object-fit:contain;display:block}
.thh-affil__name{font-weight:600;font-size:12px;line-height:1.3;text-align:center;color:#4b5567;text-wrap:balance}

/* ---- About ---- */
.thh-about .thh-wrap{padding-top:56px;padding-bottom:72px;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,440px),1fr));gap:56px;align-items:center}
.thh-about__media{position:relative}
.thh-about__media img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:4px;display:block}
.thh-about__badge{position:absolute;right:-12px;bottom:-24px;background:#0071b9;color:#fff;padding:20px 26px;border-radius:4px;box-shadow:0 20px 40px rgba(0,54,92,.25);text-align:left}
.thh-about__badge b{font-family:Montserrat;font-weight:800;font-size:40px;line-height:1;display:block}
.thh-about__badge span{font-family:Montserrat;font-weight:700;font-size:12px;letter-spacing:.14em;text-transform:uppercase;margin-top:6px;display:block;color:#c9d3e3}
.thh-about__body{display:flex;flex-direction:column;gap:18px}
.thh-about__body p{font-size:16px;line-height:1.75;color:#4b5567;text-wrap:pretty}
.thh-pillars{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:16px;padding:20px 0;border-top:1px solid #e3e7ee;border-bottom:1px solid #e3e7ee}
.thh-pillars dt{font-family:Montserrat;font-weight:800;font-size:15px;color:#0071b9;text-transform:uppercase}
.thh-pillars dd{font-size:14px;color:#5a6577;margin:4px 0 0}
.thh-exp{display:flex;flex-wrap:wrap;gap:16px 28px;padding:2px 0}
.thh-exp__i{display:flex;flex-direction:column;gap:3px;color:inherit}
.thh-exp__i b{font-family:Montserrat;font-weight:800;font-size:22px;color:#0071b9;line-height:1;white-space:nowrap}
.thh-exp__i span{font-size:12.5px;line-height:1.35;color:#5a6577;max-width:170px;text-wrap:balance}
.thh-exp__i:hover b{color:#005a94}
.thh-ctarow{display:flex;flex-wrap:wrap;gap:12px}
.thh-btn{display:inline-block;font-family:Montserrat;font-weight:800;font-size:13px;letter-spacing:.1em;text-transform:uppercase;padding:16px 24px;border-radius:2px;transition:background .2s,color .2s,box-shadow .2s}
.thh-btn--solid{background:#0071b9;color:#fff}
.thh-btn--solid:hover{background:#005a94;color:#fff}
.thh-btn--ghost{border:2px solid #0071b9;color:#0071b9;padding:14px 22px}
.thh-btn--ghost:hover{background:#0071b9;color:#fff}
.thh-btn--gold{background:#c6a03c;color:#fff;box-shadow:0 8px 20px rgba(198,160,60,.3);font-family:'Source Sans 3',sans-serif;font-weight:700;letter-spacing:.12em}
.thh-btn--gold:hover{background:#b08a2c;color:#fff}

/* ---- Services / capabilities ---- */
.thh-services{background:#f3f5f8}
.thh-services .thh-wrap{padding-top:72px;padding-bottom:72px}
.thh-sechead{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:36px}
.thh-sechead__t{max-width:820px;display:flex;flex-direction:column;gap:12px}
.thh-sechead__t .thh-h2{text-wrap:normal}
.thh-link{font-family:Montserrat;font-weight:700;font-size:13px;letter-spacing:.12em;text-transform:uppercase;color:#0071b9;border-bottom:2px solid #0071b9;padding-bottom:4px}
.thh-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:24px}
.thh-card{display:flex;flex-direction:column;background:#fff;border-radius:4px;overflow:hidden;color:#1d2433;box-shadow:0 1px 2px rgba(0,54,92,.06);transition:box-shadow .25s,transform .25s}
.thh-card:hover{box-shadow:0 18px 40px rgba(0,54,92,.16);transform:translateY(-4px);color:#1d2433}
.thh-card__media{position:relative;aspect-ratio:16/10;overflow:hidden;background:#0071b9}
.thh-card__media picture{display:block;position:absolute;inset:0}
.thh-card__media img{position:absolute;inset:0;width:100%!important;height:100%!important;object-fit:cover;display:block}
.thh-card__num{position:absolute;left:16px;top:16px;z-index:2;background:#fff;color:#0071b9;font-family:Montserrat;font-weight:800;font-size:12px;letter-spacing:.1em;padding:6px 10px;border-radius:2px}
.thh-card__body{padding:26px;display:flex;flex-direction:column;gap:14px;flex:1}
.thh-card__body h3{font-weight:800;font-size:19px;line-height:1.25;text-transform:uppercase;letter-spacing:.03em;color:#0071b9}
.thh-card__body p{font-size:15px;line-height:1.6;color:#4b5567;text-wrap:pretty}
.thh-card__pts{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:8px;font-size:14px;color:#1d2433}
.thh-card__pts li{display:flex;gap:10px;align-items:flex-start}
.thh-card__pts li::before{content:"\2713";color:#0071b9;font-weight:700}
.thh-card__foot{margin-top:auto;padding-top:14px;border-top:1px solid #e3e7ee;display:flex;flex-wrap:wrap;gap:6px 18px;align-items:center}
.thh-card__cta{font-family:Montserrat;font-weight:700;font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:#0071b9}
.thh-card__alt{font-family:Montserrat;font-weight:700;font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:#c6a03c}
.thh-svcbanner{margin-top:40px;background:#0071b9;color:#fff;border-radius:4px;padding:26px 32px;display:flex;flex-wrap:wrap;gap:20px;justify-content:space-between;align-items:center}
.thh-svcbanner b{font-family:Montserrat;font-weight:800;font-size:18px;text-transform:uppercase;letter-spacing:.04em;display:block}
.thh-svcbanner span{font-size:15px;color:#c9d3e3}
.thh-btn--white{background:#fff;color:#0071b9}
.thh-btn--white:hover{background:#e8edf5;color:#0071b9}

/* ---- Process ---- */
.thh-process{background:#00365c;color:#fff}
.thh-process .thh-wrap{padding-top:72px;padding-bottom:72px}
.thh-process .thh-eyebrow{color:#9fd0f0}
.thh-process__head{max-width:680px;display:flex;flex-direction:column;gap:12px;margin-bottom:40px}
.thh-process__head h2{font-family:Montserrat;font-weight:800;font-size:clamp(28px,3vw,40px);line-height:1.15;text-transform:uppercase;color:#fff;text-wrap:balance}
.thh-steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:2px;background:rgba(255,255,255,.12)}
.thh-step{background:#00365c;padding:30px 28px 30px 0;display:flex;flex-direction:column;gap:12px}
.thh-step__n{font-family:Montserrat;font-weight:800;font-size:40px;color:#0071b9;line-height:1}
.thh-step h3{font-weight:800;font-size:17px;text-transform:uppercase;letter-spacing:.04em}
.thh-step p{font-size:15px;line-height:1.6;color:#c9d3e3;text-wrap:pretty}

/* ---- Gallery ---- */
.thh-gallery .thh-wrap{padding-top:48px;padding-bottom:48px;display:flex;flex-direction:column;gap:18px}
.thh-gallery__head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px}
.thh-gallery__head h2{padding-left:14px;border-left:4px solid #c6a03c;font-family:Montserrat;font-weight:800;font-size:clamp(20px,1.8vw,24px);line-height:1.15;text-transform:uppercase;color:#0071b9}
.thh-grid4{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:12px}
.thh-grid4 a{display:block;position:relative;overflow:hidden;border-radius:4px;aspect-ratio:4/3;background:#e3e7ee}
.thh-grid4 picture{display:block;position:absolute;inset:0}
.thh-grid4 img{position:absolute;inset:0;width:100%!important;height:100%!important;object-fit:cover;display:block;transition:transform .5s}
.thh-grid4 a:hover img{transform:scale(1.04)}
.thh-gallery__cta{display:flex;justify-content:center;padding-top:4px}

/* ---- Reviews (live GBP widget) ---- */
.thh-reviews{background:#f3f5f8}
.thh-reviews .thh-wrap{padding-top:72px;padding-bottom:72px}
.thh-reviews__head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:32px}
.thh-reviews__t{display:flex;flex-direction:column;gap:12px}
.thh-reviews__badge{display:flex;align-items:center;gap:12px;background:#fff;padding:12px 18px;border-radius:4px}
.thh-reviews__badge .stars{color:#f5a623;letter-spacing:2px;font-size:16px;line-height:1}
.thh-reviews__badge span{font-size:13px;color:#5a6577}
.thh-reviews__widget{min-height:40px}

/* ---- Buildertrend ---- */
.thh-bt .thh-wrap{padding-top:60px;padding-bottom:60px;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr));gap:48px;align-items:center}
.thh-bt__copy{display:flex;flex-direction:column;gap:16px}
.thh-bt__copy p{font-size:16px;line-height:1.75;color:#4b5567;text-wrap:pretty}
.thh-bt__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.thh-bt__feat{border:1px solid #e3e7ee;border-radius:4px;padding:22px;display:flex;flex-direction:column;gap:6px}
.thh-bt__feat b{font-family:Montserrat;font-weight:800;font-size:15px;text-transform:uppercase;color:#0071b9;letter-spacing:.03em}
.thh-bt__feat span{font-size:14px;line-height:1.55;color:#5a6577}

/* ---- Areas ---- */
.thh-areas{background:#0071b9;color:#fff}
.thh-areas .thh-wrap{padding-top:60px;padding-bottom:60px;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:48px}
.thh-areas .thh-eyebrow{color:#9fd0f0}
.thh-areas__intro{display:flex;flex-direction:column;gap:14px}
.thh-areas__intro h2{font-family:Montserrat;font-weight:800;font-size:clamp(26px,2.6vw,36px);line-height:1.15;text-transform:uppercase;color:#fff;text-wrap:balance}
.thh-areas__intro p{font-size:16px;line-height:1.7;color:#c9d3e3}
.thh-areas__intro a{color:#fff;font-family:Montserrat;font-weight:700;font-size:13px;letter-spacing:.12em;text-transform:uppercase;border-bottom:2px solid #fff;padding-bottom:4px;align-self:flex-start}
.thh-areas__cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:30px}
.thh-areas__col{display:flex;flex-direction:column;gap:11px}
.thh-areas__col>a:first-child{font-family:Montserrat;font-weight:800;font-size:16px;text-transform:uppercase;letter-spacing:.06em;color:#fff;padding-bottom:10px;border-bottom:1px solid rgba(255,255,255,.25)}
.thh-areas__col a{color:#c9d3e3;font-size:15px}
.thh-areas__col a:hover{color:#fff}

/* ---- FAQ ---- */
.thh-faq .thh-wrap{max-width:900px;padding-top:68px;padding-bottom:68px}
.thh-faq__head{text-align:center;display:flex;flex-direction:column;gap:12px;margin-bottom:36px;align-items:center}
.thh-faq__head h2{font-family:Montserrat;font-weight:800;font-size:clamp(26px,2.6vw,36px);line-height:1.15;text-transform:uppercase;color:#0071b9}
.thh-faq__list{border-top:1px solid #e3e7ee}
.thh-faq__item{border-bottom:1px solid #e3e7ee}
.thh-faq__q{width:100%;background:none;border:0;padding:22px 0;display:flex;justify-content:space-between;align-items:center;gap:16px;cursor:pointer;text-align:left;font-family:Montserrat;font-weight:700;font-size:17px;color:#0071b9}
.thh-faq__q .thh-faq__ico{font-size:22px;font-weight:500;flex-shrink:0;transition:transform .2s}
.thh-faq__item[open] .thh-faq__ico{transform:rotate(45deg)}
.thh-faq__a{margin:0 0 22px;font-size:16px;line-height:1.7;color:#4b5567;max-width:760px}
.thh-faq__q::-webkit-details-marker{display:none}

/* ---- Quote ---- */
.thh-quote{background:#f3f5f8}
.thh-quote .thh-wrap{padding-top:68px;padding-bottom:68px;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr));gap:48px}
.thh-quote__copy{display:flex;flex-direction:column;gap:18px}
.thh-quote__copy p{font-size:16px;line-height:1.7;color:#4b5567}
.thh-quote__card{display:flex;flex-direction:column;gap:12px;padding:22px;background:#fff;border-radius:4px}
.thh-quote__phone{font-family:Montserrat;font-weight:800;font-size:26px;color:#0071b9}
.thh-quote__card .addr{font-size:15px;color:#4b5567;line-height:1.6}
.thh-quote__card .lic{font-size:13px;color:#7a8496}
.thh-quote__map{width:100%;height:240px;border:0;border-radius:4px;display:block}
.thh-quote__form{background:#fff;border-radius:4px;padding:34px;box-shadow:0 1px 2px rgba(0,54,92,.06)}
.thh-quote__form h3{font-weight:800;font-size:20px;text-transform:uppercase;color:#0071b9;letter-spacing:.03em;margin-bottom:16px}
/* --- Gravity Form (id=2) styled to the design --- */
.thh-quote__form .gform_wrapper{margin:0}
.thh-quote__form .gform_fields{display:grid!important;grid-template-columns:1fr 1fr!important;gap:16px!important}
.thh-quote__form .gfield{grid-column:1 / -1!important;margin:0!important}
.thh-quote__form #field_2_1{grid-column:1 / 2!important}
.thh-quote__form #field_2_2{grid-column:2 / 3!important}
.thh-quote__form .gfield_label{font-family:'Source Sans 3',sans-serif;font-size:14px;font-weight:600;color:#1d2433;margin:0 0 8px}
.thh-quote__form .gfield_required{color:#0071b9}
.thh-quote__form #field_2_1 .gfield_label,.thh-quote__form #field_2_2 .gfield_label,
.thh-quote__form #field_2_3 .gfield_label,.thh-quote__form #field_2_6 .gfield_label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.thh-quote__form input[type=text],.thh-quote__form input[type=email],.thh-quote__form input[type=tel],
.thh-quote__form textarea,.thh-quote__form select{width:100%!important;padding:15px!important;border:1px solid #cfd6e1!important;border-radius:2px!important;font-size:15px!important;font-family:'Source Sans 3',sans-serif;background:#fff;color:#1d2433;box-shadow:none!important}
.thh-quote__form textarea{resize:vertical;min-height:110px}
.thh-quote__form .gfield_radio{display:flex!important;flex-wrap:wrap;gap:8px}
.thh-quote__form .gfield_radio .gchoice{position:relative;margin:0!important;padding:0!important;display:inline-flex;flex:0 0 auto;overflow:hidden}
.thh-quote__form .gfield_radio input[type=radio]{position:absolute;top:0;left:0;opacity:0;width:1px;height:1px;margin:0;pointer-events:none}
.thh-quote__form .gfield_radio label{display:inline-block!important;margin:0!important;padding:10px 14px!important;border:1px solid #cfd6e1;border-radius:2px;font-size:14px;line-height:1.2;white-space:nowrap;cursor:pointer;background:#fff;color:#1d2433;transition:background .15s,color .15s,border-color .15s;max-width:none!important;width:auto!important}
.thh-quote__form .gfield_radio input[type=radio]:checked + label{background:#0071b9;color:#fff;border-color:#0071b9}
.thh-quote__form .gfield_radio input[type=radio]:focus-visible + label{outline:2px solid #0071b9;outline-offset:2px}
.thh-quote__form .gform_footer{margin:18px 0 0!important;padding:0!important}
.thh-quote__form .gform_button{width:100%;background:#0071b9;color:#fff;border:0;padding:18px;font-family:Montserrat;font-weight:800;font-size:14px;letter-spacing:.1em;text-transform:uppercase;border-radius:2px;cursor:pointer}
.thh-quote__form .gform_button:hover{background:#005a94}
.thh-quote__form .gform_validation_errors{border-radius:4px}
.thh-quote__note{margin:12px 0 0;font-size:12px;color:#7a8496;text-align:center}
@media(max-width:520px){.thh-quote__form .gform_fields{grid-template-columns:1fr!important}.thh-quote__form #field_2_1,.thh-quote__form #field_2_2{grid-column:1 / -1!important}}

/* ---- Sticky mobile CTA bar ---- */
.thh-sticky{position:fixed;left:0;right:0;bottom:0;z-index:60;display:none;justify-content:center;pointer-events:none;padding:12px}
.thh-sticky__inner{pointer-events:auto;display:flex;gap:8px;background:#fff;padding:8px;border-radius:4px;box-shadow:0 12px 32px rgba(11,26,51,.25)}
.thh-sticky a{padding:13px 18px;font-family:Montserrat;font-weight:700;font-size:13px;letter-spacing:.08em;text-transform:uppercase;border-radius:2px;white-space:nowrap}
.thh-sticky a.call{color:#0071b9;border:1px solid #cfd6e1}
.thh-sticky a.quote{background:#0071b9;color:#fff;font-weight:800}
body.scrolled .thh-sticky{display:flex}

@media(max-width:900px){
  .thh-bt__grid{grid-template-columns:1fr}
  .thh-about__badge{right:12px;bottom:12px;padding:16px 18px}
  .thh-about__badge b{font-size:30px}
}
@media(max-width:600px){
  .thh-hero{min-height:560px}
  .thh-hero__copy{padding-bottom:80px}
  .thh-sticky{display:none!important}
  body.scrolled .thh-sticky{display:flex}
}
