/* reCAPTCHA v3: hide the floating badge (the notice under each form covers Google's attribution rule). */
.grecaptcha-badge { visibility: hidden !important; }
.tl-rc-note { margin: 14px 0 0; font-size: 13px; line-height: 19px; color: #6B6B6B; }
.tl-rc-note a { color: inherit; text-decoration: underline; }
.asph .tl-rc-note, .tl-formcard .tl-rc-note { color: #6B6B6B; }
/* The featured case study is shown above the grid, so hide its grid card until a filter is picked. */
.tl-pgrid:not(.tl-filtered) > .tl-pcard[data-feat] { display: none; }
/* Theme additions: menu/state wrappers, Contact Form 7 styling */
tl-if{display:contents}
tl-if[hidden],.tl [hidden]{display:none!important}
.tl-site-header{position:sticky;top:0;z-index:30}
html.tl-menu-open{overflow:hidden}
.tl-qf{background:#fff;color:#262626;border-radius:8px;padding:28px;font:400 17px/26px Roboto,system-ui,sans-serif}
.tl-qf p{margin:0}
.tl-qf a{color:#00775D;font-weight:600}
.tl-qf form{display:flex;flex-direction:column;gap:0}
.tlq-prog{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0 0 24px;padding:0;list-style:none}
.tlq-prog li{padding-top:10px;border-top:4px solid #DEDCD6;font:600 14px/18px Roboto,system-ui,sans-serif;color:#5F5F5F}
.tlq-prog li.on,.tlq-prog li.done{border-color:#F57E20;color:#262626}
.tlq-step{border:0;margin:0;padding:0;min-width:0;display:flex;flex-direction:column;gap:14px}
.tlq-h{font:800 26px/32px Raleway,sans-serif;margin:0 0 4px!important;color:#262626}
.tlq-l{display:flex;flex-direction:column;gap:6px;font:600 16px/22px Roboto,system-ui,sans-serif;margin:0}
.tl-qf .wpcf7-form-control-wrap{display:block}
.tl-qf input[type=text],.tl-qf input[type=tel],.tl-qf input[type=email],.tl-qf textarea{width:100%;box-sizing:border-box;min-height:52px;padding:12px 14px;border:2px solid #DEDCD6;border-radius:6px;background:#fff;color:#262626;font:400 17px/24px Roboto,system-ui,sans-serif}
.tl-qf textarea{min-height:120px;resize:vertical}
.tl-qf input:focus,.tl-qf textarea:focus{outline:none;border-color:#262626}
.tl-qf .wpcf7-radio{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.tl-qf .tlq-three{grid-template-columns:repeat(3,minmax(0,1fr))}
.tl-qf .wpcf7-list-item{margin:0;display:block}
.tl-qf .wpcf7-list-item label{position:relative;display:flex;align-items:center;min-height:56px;height:100%;box-sizing:border-box;padding:12px 16px;border:2px solid #DEDCD6;border-radius:6px;background:#fff;font:600 17px/22px Roboto,system-ui,sans-serif;cursor:pointer}
.tl-qf .wpcf7-list-item input{position:absolute;opacity:0;pointer-events:none}
.tl-qf .wpcf7-list-item label:hover{border-color:#262626}
.tl-qf .wpcf7-list-item label:has(input:checked){border-color:#F57E20;background:#FFF4EA}
.tl-qf .wpcf7-list-item label:has(input:focus-visible){outline:3px solid #F57E20;outline-offset:2px}
.tlq-nav{display:flex;justify-content:flex-end;margin-top:8px}
.tl-qf .tl-btn-p{border:0;cursor:pointer;font-family:Roboto,system-ui,sans-serif}
.tlq-back,.tlq-add{align-self:flex-start;background:none;border:0;padding:0;min-height:44px;font:600 16px/22px Roboto,system-ui,sans-serif;color:#00775D;cursor:pointer;text-decoration:underline;text-underline-offset:4px}
.tlq-files{display:flex;flex-direction:column;gap:8px}
.tl-qf input[type=file]{font:400 16px Roboto,system-ui,sans-serif;max-width:100%}
.tl-qf .wpcf7-not-valid{border-color:#B3261E!important}
.tl-qf .wpcf7-not-valid-tip{display:block;color:#B3261E;font-size:15px;line-height:20px;margin-top:4px}
.tl-qf .wpcf7-response-output{margin:16px 0 0!important;padding:12px 14px!important;border-radius:6px;font-size:16px;line-height:22px}
.tl-qf .wpcf7-spinner{margin:12px}
.tl-pcard[hidden],.tl-pmore[hidden]{display:none!important}
@container page (max-width:599px){
.tl-qf{padding:20px}
.tl-qf .wpcf7-radio,.tl-qf .tlq-three{grid-template-columns:minmax(0,1fr)}
}

/* ---- Desktop/mobile QA fixes (16 Nov 2026) ---- */
/* Mobile menu: keep the last links clear of the sticky Call / Get a quote bar */
html.tl-menu-open .tl-head nav[aria-label="Main"][style*="overflow:auto"]{padding-bottom:calc(96px + env(safe-area-inset-bottom,0px));max-height:calc(100dvh - 72px)!important}
/* Sticky photo/sidebar columns only work side by side; once stacked they rode over the text */
@container page (max-width:899px){
.tl [style*="position:sticky"]:not(.tl-site-header):not(.tl-bottombar),.tl [style*="position: sticky"]:not(.tl-site-header):not(.tl-bottombar),.tl .tl-mapcol{position:static!important;top:auto!important}
}
/* Forms already inside a white card don't need a second layer of padding */
.tl-formcard .tl-qf{padding:0}
/* CF7 spinner only takes up space while sending, so it no longer knocks the submit button off-line */
.tl-qf .wpcf7-spinner{display:none}
.tl-qf form.submitting .wpcf7-spinner{display:inline-block}
/* reCAPTCHA notice: .tl p{margin:0} was flattening its gap above */
.tl .tl-rc-note{margin:14px 0 0}
/* Header between 900px and 1139px (e.g. 1024px laptops/iPad landscape): tighten so "Get a free quote" fits - it was cut off and the page scrolled sideways */
@container page (min-width:900px) and (max-width:1139px){
.tl-head .tl-head-in{gap:16px!important}
.tl-head .tl-head-in .tl-logo{width:176px;height:auto}
.tl-head nav.tl-desk{gap:16px!important}
.tl-head nav.tl-desk .tl-nav,.tl-head nav.tl-desk a{font-size:15px}
.tl-head a.tl-btn-p.tl-desk{padding:11px 16px;font-size:16px;white-space:nowrap}
}
@container page (min-width:900px) and (max-width:979px){
.tl-head .tl-head-in{padding-left:24px;padding-right:24px}
}
