/* Google Ads landings. Chrome + quote form already live in chrome.css. */

body.rvp-ad {
	background: #fff;
	color: var(--rvp-body, #4B5563);
	font-size: 16px;
	line-height: 1.7;
}

body.rvp-ad img {
	max-width: 100%;
	height: auto;
	display: block;
}

body.rvp-ad a {
	color: var(--rvp-primary, #1B7A45);
	text-decoration: none;
}

html:has(body.rvp-ad) {
	scroll-padding-top: calc(var(--wp-admin--admin-bar--height, 0px) + 84px);
}

.rvp-ad-form {
	scroll-margin-top: calc(var(--wp-admin--admin-bar--height, 0px) + 96px);
}

.rvp-chrome--ad .rvp-header__inner {
	justify-content: space-between;
	gap: 16px;
}

.rvp-chrome--ad .rvp-header__actions {
	display: flex;
	align-items: center;
	gap: 18px;
	margin-left: auto;
}

.rvp-chrome--ad .rvp-header__phone {
	display: inline-flex !important;
}

.rvp-ad-call {
	display: none;
}

.rvp-chrome--ad .rvp-header__logo {
	pointer-events: none;
}

.rvp-chrome--ad .rvp-header__cta {
	flex: 0 0 auto;
	width: auto;
	white-space: nowrap;
}

.rvp-ad-main {
	max-width: 1240px;
	margin: 0 auto;
	padding: 12px 20px 56px;
}

.rvp-ad-title {
	margin: 8px auto 20px;
	max-width: 1200px;
	font-family: var(--rvp-font-heading, Poppins), sans-serif;
	font-size: 22px;
	font-weight: 500;
	line-height: 1.3;
	color: var(--rvp-heading, #0F1A14);
	text-align: center;
	text-wrap: balance;
}

.rvp-ad-hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
	gap: 40px;
	align-items: start;
}

.rvp-ad-hero__sub {
	margin: 8px 0 12px;
	font-family: var(--rvp-font-heading, Poppins), sans-serif;
	font-size: 24px;
	font-weight: 500;
	line-height: 1.25;
	color: var(--rvp-heading, #0F1A14);
}

.rvp-ad-bullets {
	list-style: none;
	margin: 8px 0 18px;
	padding: 0;
	font-size: 18px;
}

.rvp-ad-bullets li {
	position: relative;
	padding-left: 28px;
	margin: 0 0 8px;
	line-height: 1.4;
	color: var(--rvp-heading, #0F1A14);
}

.rvp-ad-bullets li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.45em;
	width: 8px;
	height: 14px;
	border-right: 2.5px solid var(--rvp-primary, #1B7A45);
	border-bottom: 2.5px solid var(--rvp-primary, #1B7A45);
	transform: rotate(40deg);
}

.rvp-ad-form .rvp-quote-card {
	max-width: 520px;
	box-shadow: 0 16px 40px rgba(15, 26, 20, .1);
}

.rvp-ad-badge {
	width: 280px;
	max-width: 100%;
	height: auto;
	margin: 16px auto 0;
}

.rvp-ad-hero__media {
	min-width: 0;
}

.rvp-ad-hero__video,
.rvp-ad-hero__img {
	width: 100%;
	height: 720px;
	object-fit: cover;
	object-position: center 15%;
	border-radius: 10px;
	background: #10241A;
}

.rvp-ad-hero__video--mob {
	display: none;
}

.rvp-ad-intent {
	margin: 24px 0 8px;
	padding: 16px 20px;
	background: #E8F5EC;
	border-left: 5px solid var(--rvp-primary, #1B7A45);
	border-radius: 0 10px 10px 0;
	color: var(--rvp-heading, #0F1A14);
}

.rvp-ad-intent p {
	margin: 0;
	font-size: 16px;
}

.rvp-ad-intent strong {
	display: block;
	font-size: 17px;
	margin-bottom: 4px;
}

.rvp-ad-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	margin: 32px 0;
}

.rvp-ad-block + .rvp-ad-block {
	margin-top: 36px;
}

.rvp-ad-block h2,
.rvp-ad-place h2,
.rvp-ad-rates h2 {
	margin: 0 0 12px;
	font-family: var(--rvp-font-heading, Poppins), sans-serif;
	font-size: 26px;
	font-weight: 500;
	line-height: 1.25;
	color: var(--rvp-heading, #0F1A14);
}

.rvp-ad-block__img {
	width: 100%;
	height: 300px;
	object-fit: cover;
	object-position: center;
	border-radius: 8px;
	margin-top: 8px;
}

.rvp-ad-place p,
.rvp-ad-rates p {
	margin: 0 0 16px;
	max-width: 70ch;
}

.rvp-ad-map {
	margin: 20px -20px 8px;
}

.rvp-ad-map iframe {
	display: block;
	width: 100%;
	height: 420px;
	border: 0;
}

.rvp-ad-rates {
	margin-top: 28px;
}

.rvp-footer--ad {
	padding-top: 8px;
}

.rvp-ad-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 36px 0 28px;
	border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.rvp-ad-foot__copy p {
	margin: 0 0 8px;
	max-width: 42ch;
	font-size: 16px;
	color: #D5DDD8;
}

.rvp-ad-foot__phone {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #fff !important;
	font-size: 20px;
	font-weight: 700;
	text-decoration: none;
}

.rvp-ad-foot__phone .rvp-icon {
	width: 18px;
	height: 18px;
	color: #fff;
}

.rvp-ad-foot__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.rvp-ad-foot__legal {
	justify-content: center;
	padding: 18px 0 28px;
}

.rvp-ad-foot__legal p {
	margin: 0;
	text-align: center;
}

@media (max-width: 1100px) {
	body.rvp-ad .rvp-header {
		position: sticky;
	}

	.rvp-chrome--ad .rvp-header__cta {
		width: auto;
		padding: 11px 16px;
		font-size: 14.5px;
	}

	.rvp-chrome--ad .rvp-header__phone-text small {
		display: none;
	}
}

@media (max-width: 860px) {
	html:has(body.rvp-ad) {
		scroll-padding-top: calc(var(--wp-admin--admin-bar--height, 0px) + 72px);
	}

	.rvp-ad-form {
		scroll-margin-top: calc(var(--wp-admin--admin-bar--height, 0px) + 88px);
	}

	body.rvp-ad .rvp-header {
		position: static;
		border-bottom: 0;
		box-shadow: none;
	}

	.rvp-chrome--ad .rvp-header__inner {
		flex-direction: column;
		align-items: center;
		justify-content: center;
		min-height: 0;
		padding: 10px 12px 0;
		gap: 2px;
	}

	.rvp-chrome--ad .rvp-header__logo .rvp-logo {
		width: 108px !important;
		max-height: none;
		height: auto;
		margin: 0 auto;
	}

	.rvp-chrome--ad .rvp-header__actions,
	body.rvp-ad .rvp-mobile-bar {
		display: none !important;
	}

	body.rvp-ad .rvp-footer {
		padding-bottom: 0;
	}

	.rvp-ad-call {
		display: block;
		margin: 4px 0 2px;
		color: #333 !important;
		font-size: 15px;
		font-weight: 500;
		line-height: 1.2;
		text-align: center;
		text-decoration: none;
	}

	.rvp-ad-call strong {
		display: inline;
		margin-left: 6px;
		color: #01a33e;
		font-size: 22px;
		font-weight: 700;
		letter-spacing: 0;
	}

	.rvp-ad-main {
		padding: 6px 12px 28px;
	}

	.rvp-ad-title {
		font-size: 20px;
		font-weight: 700;
		line-height: 1.25;
		margin: 8px auto 12px;
		padding: 0 8px;
	}

	.rvp-ad-hero {
		display: flex;
		flex-direction: column;
		gap: 12px;
	}

	.rvp-ad-hero__media {
		order: 1;
		width: 100%;
	}

	.rvp-ad-hero__copy {
		order: 2;
	}

	.rvp-ad-hero__sub {
		display: none;
	}

	.rvp-ad-hero__video,
	.rvp-ad-hero__img {
		display: block;
		width: 100%;
		height: 210px;
		max-height: none;
		object-fit: cover;
		object-position: center 18%;
		border-radius: 8px;
	}

	.rvp-ad-hero__video--desk {
		display: none;
	}

	.rvp-ad-hero__video--mob {
		display: block;
	}

	.rvp-ad-bullets {
		font-size: 16px;
		margin: 4px 0 8px;
	}

	.rvp-ad-bullets li {
		margin-bottom: 6px;
	}

	.rvp-ad-bullets li::before {
		content: "✓";
		top: 0;
		width: auto;
		height: auto;
		border: 0;
		transform: none;
		color: #01a33e;
		font-size: 18px;
		font-weight: 700;
		line-height: 1.2;
	}

	.rvp-ad-form .rvp-quote-card {
		max-width: none;
		background: #f3f4f5;
		border: 1px solid #dcdcdc;
		border-radius: 6px;
		box-shadow: 0 6px 20px rgba(0, 0, 0, .08);
		padding: 14px 14px 12px;
	}

	.rvp-ad-form .rvp-quote-card__title {
		font-size: 18px;
		font-weight: 700;
		margin-bottom: 6px;
	}

	.rvp-ad-form .rvp-quote-card__text {
		font-size: 14px;
		line-height: 1.4;
		margin-bottom: 10px;
	}

	.rvp-ad-grid {
		display: block;
	}

	.rvp-ad-grid__col + .rvp-ad-grid__col {
		margin-top: 28px;
	}

	.rvp-ad-block + .rvp-ad-block {
		margin-top: 28px;
	}

	.rvp-ad-block__img {
		height: 220px;
	}

	.rvp-ad-map {
		margin: 16px 0;
	}

	.rvp-ad-foot {
		flex-direction: column;
		align-items: stretch;
		padding: 28px 0 20px;
	}

	.rvp-ad-foot__actions .rvp-btn {
		flex: 1 1 auto;
	}
}
