/*
 * Styling for the components that replaced Growth99.
 *
 * Values come from the Growth99 forms as the live site showed them (5 Nov 2026):
 * white inputs with a light grey border and 7px corners, placeholder text in
 * place of visible labels, black consent text beside 20px checkboxes, and a
 * full-width pill button in #C9AABA with white text. The page's own font is
 * inherited, so nothing here loads a webfont.
 */

.ar-form,
.ar-reviews {
	--ar-pink: #c9aaba;
	--ar-pink-dark: #b48fa3;
	--ar-ink: #111;
	--ar-muted: #6b7280;
	--ar-line: #e5e7eb;
	--ar-star: #fcc415;
	font-family: inherit;
	color: var(--ar-ink);
	box-sizing: border-box;
}

.ar-form *,
.ar-reviews * {
	box-sizing: border-box;
}

/* Screen-reader-only labels: the visible cue is the placeholder, as before. */
.ar-sr {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	margin: -1px !important;
	padding: 0 !important;
	overflow: hidden !important;
	clip: rect(0 0 0 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

/* Kept out of sight without display:none, which some bots skip over. */
.ar-trap {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* ------------------------------------------------------------ lead form */

.ar-form {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 22px 20px;
	width: 100%;
	margin: 0;
	position: relative;
}

.ar-field {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.ar-wide,
.ar-consent,
.ar-form .ar-btn,
.ar-form .sp-form-thanks,
.ar-form .sp-form-error {
	grid-column: 1 / -1;
}

.ar-form input[type="text"],
.ar-form input[type="email"],
.ar-form input[type="tel"],
.ar-form textarea {
	font-family: inherit;
	font-size: 14px;
	line-height: 1.4;
	color: var(--ar-ink);
	background: #fff;
	border: 1px solid var(--ar-line) !important;
	border-radius: 7px !important;
	padding: 8px 12px;
	width: 100%;
	min-height: 36px;
	margin: 0;
	box-shadow: none;
}

.ar-form textarea {
	resize: vertical;
}

.ar-form ::placeholder {
	color: var(--ar-muted);
	opacity: 1;
}

.ar-form input:focus,
.ar-form textarea:focus {
	outline: 2px solid var(--ar-pink);
	outline-offset: 1px;
	border-color: var(--ar-pink) !important;
}

.ar-form input:user-invalid,
.ar-form textarea:user-invalid {
	border-color: #c2414b !important;
}

.ar-consent {
	display: flex;
	align-items: flex-start;
	gap: 24px;
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
	color: #000;
	cursor: pointer;
	text-align: left;
}

.ar-consent input[type="checkbox"] {
	width: 20px;
	height: 20px;
	min-width: 20px;
	margin: 2px 0 0;
	accent-color: #2563eb;
	cursor: pointer;
}

/*
 * The page's own button rules are more specific than one class, so the
 * properties that decide how the button reads are forced.
 */
.ar-form .ar-btn,
.ar-reviews .ar-btn {
	display: block;
	width: 100%;
	font-family: inherit;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: normal;
	text-transform: none;
	color: #fff !important;
	background: var(--ar-pink) !important;
	border: 2px solid #fff !important;
	border-radius: 999px !important;
	padding: 8px 24px;
	cursor: pointer;
}

.ar-form .ar-btn:hover,
.ar-form .ar-btn:focus-visible,
.ar-reviews .ar-btn:hover,
.ar-reviews .ar-btn:focus-visible {
	background: var(--ar-pink-dark) !important;
}

.ar-form .ar-btn:disabled {
	opacity: 0.7;
	cursor: progress;
}

/*
 * The theme's script gives the thank-you note the class of the form's first
 * label, which here is the screen-reader-only one; undo that so it shows.
 */
.ar-form .sp-form-thanks {
	position: static !important;
	width: auto !important;
	height: auto !important;
	margin: 0 !important;
	clip: auto !important;
	overflow: visible !important;
	white-space: normal !important;
	font-size: 15px;
	line-height: 1.5;
}

.ar-form .sp-form-error {
	margin: 0;
	font-size: 14px;
	color: #a3282d;
}

@media (max-width: 767px) {
	.ar-form {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.ar-consent {
		gap: 14px;
	}
}

/* -------------------------------------------------- self-assessment form */

.ar-form-assessment {
	max-width: 760px;
	margin: 0 auto;
	padding: 32px;
	background: #fff;
	border-radius: 16px;
}

.ar-intro p {
	margin: 0 0 6px;
	font-size: 14px;
	line-height: 1.6;
	color: var(--ar-muted);
}

.ar-intro .ar-intro-title {
	font-size: 20px;
	line-height: 1.4;
	color: var(--ar-ink);
}

@media (max-width: 767px) {
	.ar-form-assessment {
		padding: 22px 18px;
	}
}

/* ------------------------------------------------------- footer newsletter */

.ar-form-newsletter {
	grid-template-columns: 1fr;
	gap: 18px;
	max-width: 500px;
}

.ar-form-newsletter .sp-form-thanks {
	color: #fff;
}

.ar-form-newsletter .sp-form-error {
	color: #ffc9c9;
}

/* ---------------------------------------------------- replaced containers */

/*
 * The iframes sat directly inside Elementor's HTML widgets, sized by the iframe's
 * own fixed height. The widgets get their natural height back so nothing below
 * paints over the consent text or the button.
 */
.elementor-widget-html:has(> .ar-form),
.elementor-widget-html:has(> .ar-reviews),
.elementor-widget-container:has(> .ar-form),
.elementor-widget-container:has(> .ar-reviews) {
	margin-bottom: 0 !important;
	height: auto !important;
}

/*
 * The footer credit ("Site developed and maintained by:" and the Growth99 logo):
 * its link, logo and wording are stripped from the response, and the emptied
 * Elementor container is hidden here rather than cut out with a regex.
 */
[data-id="7d9481c"] {
	display: none !important;
}

/* ------------------------------------------------------------ the reviews */

.ar-reviews {
	width: 100%;
}

.ar-reviews-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 24px;
	margin-bottom: 24px;
}

.ar-reviews-score {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	font-size: 15px;
}

.ar-reviews-average {
	font-size: 24px;
	font-weight: 600;
}

.ar-reviews-total {
	color: var(--ar-muted);
}

.ar-reviews-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 14px;
	margin: 0;
	font-size: 14px;
	color: var(--ar-muted);
}

.ar-reviews-links a {
	color: var(--ar-ink);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.ar-stars {
	white-space: nowrap;
	letter-spacing: 1px;
}

.ar-star {
	color: var(--ar-line);
	font-size: 16px;
}

.ar-star.is-on {
	color: var(--ar-star);
}

.ar-reviews-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	/* Each card is as tall as its own review, not the longest in its row. */
	align-items: start;
}

.ar-review {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--ar-line);
	border-radius: 12px;
	padding: 18px 20px;
	margin: 0;
	text-align: left;
}

.ar-review.is-hidden {
	display: none;
}

.ar-review-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.ar-review-name {
	font-size: 15px;
	font-weight: 600;
}

.ar-review-date {
	margin: 2px 0 10px;
	font-size: 12px;
	color: var(--ar-muted);
}

.ar-review-text {
	margin: 0 0 14px;
	font-size: 14px;
	line-height: 1.7;
	color: #333;
}

.ar-review-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin: auto 0 0;
	font-size: 12px;
}

.ar-source {
	color: var(--ar-muted);
}

.ar-source::before {
	content: "";
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	margin-right: 7px;
	vertical-align: middle;
	background: var(--ar-line);
}

.ar-source-google::before {
	background: #4285f4;
}

.ar-source-facebook::before {
	background: #1877f2;
}

.ar-source-yelp::before {
	background: #d32323;
}

.ar-review-link {
	color: var(--ar-ink);
	text-decoration: underline;
}

.ar-reviews-more {
	max-width: 320px;
	margin: 28px auto 0;
}

@media (max-width: 767px) {
	.ar-reviews-list {
		grid-template-columns: 1fr;
	}
}
