/* Theme-level adjustments on top of the original page styles */
.footerLogo{filter:none!important;width:230px!important;height:auto!important}
.brand img{width:auto!important;max-width:230px;height:68px!important;object-fit:contain;object-position:left center}@media(max-width:600px){.brand img{height:56px!important;max-width:180px}}
.phd-sent{padding:26px 6px;text-align:center}
.phd-sent .ok{width:58px;height:58px;margin:0 auto 14px;border-radius:50%;display:grid;place-items:center;background:#e9f8ef;color:#159a4a;font-size:28px;font-weight:800}
.phd-sent h3{margin-bottom:6px}
.phd-err{color:#c0392b;font-size:13px;margin-top:10px}
.phd-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
button[disabled]{opacity:.6;cursor:wait}
.phd-generic{padding:70px 0 90px;min-height:50vh}
.phd-generic h1{font-size:clamp(32px,4vw,48px);margin-bottom:20px}
.phd-generic .phd-content{max-width:820px}.phd-generic .phd-content img{height:auto;border-radius:14px}
.phd-post-card{padding:22px 0;border-bottom:1px solid #e5e9f0}.phd-post-card h2{font-size:24px}
.phd-meta{color:#8a93a1;font-size:13px;margin-top:6px}
body.admin-bar .nav{top:32px}@media(max-width:782px){body.admin-bar .nav{top:46px}}

/* ---------- Contact Form 7 inside the original form designs ---------- */
.wpcf7{margin:0}.wpcf7 form{margin:0}
.wpcf7-form-control-wrap{display:block;position:relative;min-width:0}
.qField .wpcf7-form-control-wrap{display:block}
.wpcf7 .wpcf7-not-valid-tip{display:block;font:600 11px "DM Sans",sans-serif;color:#c0392b;margin-top:5px}
.wpcf7 .wpcf7-not-valid,.phd-bad{border-color:#d9534f!important}
.wpcf7 .wpcf7-radio.phd-bad{outline:1px solid #d9534f;outline-offset:3px;border-radius:10px}
.phd-hp,.wpcf7 .phd-hp{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important;opacity:0}
.wpcf7 .wpcf7-spinner{display:none!important}
.wpcf7 form.submitting button[type=submit]{opacity:.65;pointer-events:none}
/* radios (transport type) */
.transportChoice .wpcf7-form-control-wrap,.transportChoice .wpcf7-radio{display:contents}
.transportChoice .wpcf7-list-item{display:block;margin:0}
.transportChoice .wpcf7-list-item label{height:100%}
.transportChoice .wpcf7-list-item input{flex:0 0 auto;width:auto;margin-top:2px}
.transportChoice .wpcf7-list-item label:has(input:checked){border-color:var(--blue);background:#f2f6ff;box-shadow:0 0 0 3px rgba(71,113,237,.1)}
/* consent checkboxes */
.consent .wpcf7-form-control-wrap,.consent .wpcf7-form-control,.consent .wpcf7-list-item,
.quoteConsent .wpcf7-form-control-wrap,.quoteConsent .wpcf7-form-control,.quoteConsent .wpcf7-list-item{display:contents;margin:0}
.consent label,.quoteConsent label{display:flex;gap:9px;align-items:flex-start;cursor:pointer}
.quoteConsent input{width:auto;margin-top:2px;flex:0 0 auto}
.consent .wpcf7-not-valid-tip,.quoteConsent .wpcf7-not-valid-tip{flex-basis:100%}
.consent,.quoteConsent{flex-wrap:wrap}
/* response message */
.wpcf7 form .wpcf7-response-output{margin:14px 0 0;padding:12px 14px;border:1px solid #dce1e8;border-radius:10px;font:600 13px/1.5 "DM Sans",sans-serif;color:#414854;background:#f7f9fc}
.wpcf7 form.sent .wpcf7-response-output{border-color:#9bd9b4;background:#effaf3;color:#157a43}
.wpcf7 form.invalid .wpcf7-response-output,.wpcf7 form.unaccepted .wpcf7-response-output,.wpcf7 form.failed .wpcf7-response-output,.wpcf7 form.aborted .wpcf7-response-output,.wpcf7 form.spam .wpcf7-response-output{border-color:#f0b4b1;background:#fdf1f0;color:#b03a35}
.contactForm .btn[type=submit]{margin-top:6px}
/* after a successful send: hide the fields, keep the thank-you message */
.phd-done form.wpcf7-form>*:not(.wpcf7-response-output):not(.screen-reader-response){display:none!important}
.phd-done .progress,.phd-done .qProgress{display:none!important}
.phd-done .wpcf7 form.sent .wpcf7-response-output{margin:6px 0 0;padding:28px 18px;text-align:center;font-size:15px}
.phd-done .wpcf7 form.sent .wpcf7-response-output:before{content:"✓";display:grid;place-items:center;width:52px;height:52px;margin:0 auto 12px;border-radius:50%;background:#dff5e8;color:#159a4a;font-size:26px;font-weight:800}
.contactForm .field textarea{height:150px;min-height:145px}
/* quote page: same quick-quote card as the home page */
.quoteHeroPage .quote{width:100%;max-width:520px;justify-self:end}
@media(max-width:900px){.quoteHeroPage .quote{justify-self:stretch;max-width:none}}
