/* RMB Paid Lead Conversion 1.3.0 - Roofing quick form + shared contact bar */
#rmb-roof-quick-form-holder[hidden],
.rmb-rqf[hidden]{display:none!important}

body.page-id-9568 .rmb-rqf{
	--rqf-ink:#171918;--rqf-muted:#565b58;--rqf-accent:#c9662b;--rqf-accent-dark:#a94f1e;--rqf-line:#aeb5b1;
	box-sizing:border-box;flex:0 0 100%;width:100%;max-width:560px;margin:26px 0 20px;padding:22px 22px 18px;
	background:#fff;color:var(--rqf-ink);border-top:4px solid var(--rqf-accent);
	box-shadow:0 18px 44px rgba(0,0,0,.30);text-align:left;font-family:"Be Vietnam Pro",Arial,sans-serif
}
body.page-id-9568 .rmb-rqf *{box-sizing:border-box}
body.page-id-9568 .rmb-rqf p{margin:0}
body.page-id-9568 .rmb-rqf__eyebrow{font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--rqf-accent-dark)}
body.page-id-9568 .rmb-rqf__title{margin-top:6px!important;font-size:22px;line-height:1.2;font-weight:700;color:var(--rqf-ink)}
body.page-id-9568 .rmb-rqf__lede{margin-top:6px!important;font-size:14px;line-height:1.5;color:var(--rqf-muted)}
body.page-id-9568 .rmb-rqf .wpcf7{margin-top:14px}
body.page-id-9568 .rmb-rqf form>p:empty,
body.page-id-9568 .rmb-rqf br{display:none}
body.page-id-9568 .rmb-rqf__grid{display:grid;grid-template-columns:1fr 1fr;gap:12px 14px}
body.page-id-9568 .rmb-rqf__field--wide{grid-column:1 / -1}
body.page-id-9568 .rmb-rqf__field label{display:block;margin:0 0 5px;font-size:13px;font-weight:700;line-height:1.3;color:var(--rqf-ink)}
body.page-id-9568 .rmb-rqf .wpcf7-form-control-wrap{display:block}
body.page-id-9568 .rmb-rqf input[type="text"],
body.page-id-9568 .rmb-rqf input[type="tel"],
body.page-id-9568 .rmb-rqf input[type="email"],
body.page-id-9568 .rmb-rqf select{
	display:block;width:100%!important;height:48px;min-height:48px;margin:0!important;padding:10px 12px!important;
	border:1px solid var(--rqf-line)!important;border-radius:4px!important;background:#fff!important;color:var(--rqf-ink)!important;
	font-size:16px!important;line-height:1.3!important;box-shadow:none!important
}
body.page-id-9568 .rmb-rqf select{appearance:auto;-webkit-appearance:menulist}
body.page-id-9568 .rmb-rqf input:focus,
body.page-id-9568 .rmb-rqf select:focus,
body.page-id-9568 .rmb-rqf a:focus-visible{outline:3px solid #6f93e8!important;outline-offset:2px}
body.page-id-9568 .rmb-rqf .ui-selectmenu-button{width:100%!important;min-height:48px;border:1px solid var(--rqf-line)!important;border-radius:4px!important;background:#fff!important;color:var(--rqf-ink)!important}
body.page-id-9568 .rmb-rqf__submit{margin-top:16px!important;position:relative}
body.page-id-9568 .rmb-rqf input[type="submit"]{
	display:block;width:100%;min-height:52px;margin:0;padding:14px 18px;border:0!important;border-radius:0!important;
	background:var(--rqf-accent)!important;color:var(--rqf-ink)!important;font-size:13px!important;font-weight:700!important;
	letter-spacing:.08em;text-transform:uppercase;cursor:pointer;transition:background-color .15s ease,color .15s ease
}
body.page-id-9568 .rmb-rqf input[type="submit"]:hover,
body.page-id-9568 .rmb-rqf input[type="submit"]:focus-visible{background:var(--rqf-accent-dark)!important;color:#fff!important}
body.page-id-9568 .rmb-rqf input[type="submit"]:disabled{opacity:.6;cursor:wait}
body.page-id-9568 .rmb-rqf .wpcf7-spinner{position:absolute;right:10px;top:50%;margin:-12px 0 0}
body.page-id-9568 .rmb-rqf__legal{margin-top:10px!important;font-size:12px;line-height:1.5;color:var(--rqf-muted)}
body.page-id-9568 .rmb-rqf__legal a,
body.page-id-9568 .rmb-rqf__call a{color:var(--rqf-accent-dark);text-decoration:underline;text-underline-offset:2px}
body.page-id-9568 .rmb-rqf__call{margin-top:12px!important;padding-top:12px;border-top:1px solid rgba(23,25,24,.12);font-size:14px;color:var(--rqf-muted)}
body.page-id-9568 .rmb-rqf__call a{font-weight:700;white-space:nowrap}
body.page-id-9568 .rmb-rqf__hidden{display:none!important}
body.page-id-9568 .rmb-rqf .wpcf7-not-valid-tip{margin-top:4px;font-size:12px;color:#b3261e}
body.page-id-9568 .rmb-rqf .wpcf7-not-valid{border-color:#b3261e!important}
body.page-id-9568 .rmb-rqf .wpcf7-response-output{margin:12px 0 0!important;padding:10px 12px!important;border:1px solid var(--rqf-line)!important;font-size:14px;line-height:1.45;color:var(--rqf-ink)}
body.page-id-9568 .rmb-rqf .sent .wpcf7-response-output{border-color:#2e7d4f!important;background:#eef7f1}

/* The form replaces the hero button and the repair/replacement links; the hero phone line stays,
   so the card's own call line is only needed when the hero actions are missing. */
body.rmb-rqf-on .rmb-roof-hero-actions>.elementor-element-9b4c907,
body.rmb-rqf-on .rmb-roof-hero-choices{display:none!important}
body.rmb-rqf-on .rmb-roof-hero-actions ~ .rmb-rqf .rmb-rqf__call,
body.rmb-rqf-on .rmb-rqf:has(~ .rmb-roof-hero-actions) .rmb-rqf__call{display:none}

/* Wide screens: the hero copy column keeps ~34% empty on the right; put the card there so the
   whole form, including the submit button, sits in the first screen next to the headline. */
@media (min-width:1280px){
	body.rmb-rqf-on .elementor-element-53794fe>.elementor-widget-wrap{position:relative}
	body.rmb-rqf-on.page-id-9568 .rmb-rqf{
		position:absolute;top:92px;right:24px;width:calc(34% - 48px);min-width:340px;max-width:440px;
		margin:0;padding:20px 20px 16px
	}
	body.rmb-rqf-on.page-id-9568 .rmb-rqf__title{font-size:20px}
	body.rmb-rqf-on.page-id-9568 .rmb-rqf__grid{grid-template-columns:1fr;gap:10px}
	body.rmb-rqf-on.page-id-9568 .rmb-rqf input[type="text"],
	body.rmb-rqf-on.page-id-9568 .rmb-rqf input[type="tel"],
	body.rmb-rqf-on.page-id-9568 .rmb-rqf input[type="email"],
	body.rmb-rqf-on.page-id-9568 .rmb-rqf select{height:44px;min-height:44px}
	body.rmb-rqf-on.page-id-9568 .rmb-rqf__submit{margin-top:14px!important}
}

/* Shared black/white contact bar. Form styling above stays roofing-scoped. */
.rmb-rqf-bar[hidden]{display:none!important}
.rmb-rqf-bar{
	box-sizing:border-box;position:fixed;left:0;right:0;bottom:0;z-index:9990;display:flex;justify-content:center;gap:12px;
	padding:10px 24px calc(10px + env(safe-area-inset-bottom,0px));background:#090b0a;color:#fff;border-top:1px solid #555;
}
.rmb-rqf-bar a{
	box-sizing:border-box;flex:1 1 50%;max-width:320px;display:flex;align-items:center;justify-content:center;min-height:48px;padding:10px 16px;
	font-family:"Be Vietnam Pro",Arial,sans-serif;font-size:13px;font-weight:700;line-height:1.35;letter-spacing:.03em;
	text-transform:uppercase;text-decoration:none!important;text-align:center;border-radius:999px;
}
.rmb-rqf-bar__call{background:#fff;color:#090b0a!important;border:1px solid #fff}
.rmb-rqf-bar__est{background:#090b0a;color:#fff!important;border:1px solid #fff}
.rmb-rqf-bar a:hover{background:#dedede;color:#090b0a!important}
.rmb-rqf-bar a:focus-visible{outline:3px solid #8eb6ff;outline-offset:3px}
.rmb-rqf-bar-space{height:0;flex-shrink:0}
body.rmb-rqf-bar-on .grecaptcha-badge{bottom:var(--rmb-contact-bar-offset,84px)!important}
@media (max-width:767px){
	body.page-id-9568 .rmb-rqf{max-width:none;margin:20px 0 16px;padding:18px 16px 16px}
	body.page-id-9568 .rmb-rqf__title{font-size:20px}
	body.page-id-9568 .rmb-rqf__grid{grid-template-columns:1fr}
	.rmb-rqf-bar{gap:8px;padding:8px 10px calc(8px + env(safe-area-inset-bottom,0px))}
	.rmb-rqf-bar a{max-width:none;padding:8px;font-size:12px;letter-spacing:.01em}
}
