/*
 * Styling for the components that replaced Growth99.
 *
 * Values come from the live site's own computed styles: Poppins throughout,
 * teal #007377 buttons with a 30px pill radius, taupe #707061 headings at 300,
 * #f9f9f9 page background, #333 body text. Fonts are already loaded by the
 * page, so nothing here pulls a webfont.
 */

.sc-form,
.sc-reviews {
	--sc-teal: #007377;
	--sc-taupe: #707061;
	--sc-ink: #333;
	--sc-line: #e2e2de;
	--sc-star: #fcc415;
	font-family: Poppins, sans-serif;
	color: var(--sc-ink);
}

/* ---------------------------------------------------------------- the form */

.sc-form {
	display: grid;
	gap: 14px;
	grid-template-columns: 1fr 1fr;
	margin: 0;
}

.sc-field {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.sc-field-wide {
	grid-column: 1 / -1;
}

.sc-field label {
	font-size: 13px;
	color: var(--sc-taupe);
}

.sc-field input,
.sc-field textarea {
	font-family: inherit;
	font-size: 14px;
	color: var(--sc-ink);
	background: #fff;
	border: 1px solid var(--sc-line);
	border-radius: 6px;
	padding: 11px 13px;
	width: 100%;
	box-sizing: border-box;
}

.sc-field input:focus,
.sc-field textarea:focus {
	outline: 2px solid var(--sc-teal);
	outline-offset: 1px;
	border-color: var(--sc-teal);
}

.sc-field textarea {
	min-height: 96px;
	resize: vertical;
}

.sc-consent {
	grid-column: 1 / -1;
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-size: 11px;
	line-height: 1.5;
	color: var(--sc-taupe);
}

.sc-consent input {
	margin: 2px 0 0;
	flex: 0 0 auto;
	accent-color: var(--sc-teal);
}

.sc-consent a {
	color: var(--sc-teal);
	text-decoration: underline;
}

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

/*
 * The page's own button rules are more specific than a single class, so the
 * ones that decide how the button reads are forced. Colour and radius match the
 * site's .elementor-button: teal #007377, white text, 30px pill.
 */
.sc-form .sc-btn,
.sc-reviews .sc-btn {
	font-family: inherit;
	font-size: 12px;
	font-weight: 400;
	color: #fff !important;
	background: var(--sc-teal) !important;
	border: 0;
	border-radius: 30px !important;
	padding: 12px 34px;
	cursor: pointer;
	line-height: 1.4;
	text-transform: none;
	width: auto;
}

.sc-form .sc-btn:hover,
.sc-form .sc-btn:focus,
.sc-reviews .sc-btn:hover,
.sc-reviews .sc-btn:focus {
	background: #005b5e !important;
}

.sc-form .sc-btn {
	grid-column: 1 / -1;
	justify-self: start;
}

.sc-form-thanks,
.sp-form-thanks {
	grid-column: 1 / -1;
	font-size: 15px;
	color: var(--sc-teal);
}

.sc-form-error,
.sp-form-error {
	grid-column: 1 / -1;
	font-size: 13px;
	color: #a3282d;
}

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

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

.sc-reviews-head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 22px;
}

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

.sc-reviews-average {
	font-size: 22px;
	font-weight: 500;
	color: var(--sc-taupe);
}

.sc-reviews-total {
	color: var(--sc-taupe);
}

.sc-reviews-links {
	margin: 0;
	font-size: 13px;
}

.sc-reviews-links a {
	color: var(--sc-teal);
	margin-left: 14px;
	text-decoration: underline;
}

.sc-reviews-links a:first-child {
	margin-left: 0;
}

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

.sc-star {
	color: var(--sc-line);
	font-size: 15px;
}

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

.sc-reviews-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
}

.sc-review {
	background: #fff;
	border: 1px solid var(--sc-line);
	border-radius: 10px;
	padding: 18px 20px;
}

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

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

.sc-review-name {
	font-size: 15px;
	font-weight: 500;
	color: var(--sc-taupe);
}

.sc-review-date {
	margin: 2px 0 10px;
	font-size: 12px;
	color: #9a9a90;
}

.sc-review-text {
	margin: 0 0 14px;
	font-size: 14px;
	line-height: 1.7;
	color: var(--sc-ink);
}

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

.sc-source {
	color: var(--sc-taupe);
}

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

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

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

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

.sc-review-link {
	color: var(--sc-teal);
	text-decoration: underline;
}

.sc-reviews-more {
	margin: 26px 0 0;
	text-align: center;
}

/* --------------------------------------------- the emptied Growth99 shells */

/*
 * The credit's links, logo and wording are stripped from the response, which
 * leaves Elementor wrappers with nothing inside them. Cutting balanced wrappers
 * out with a regex is how a footer gets broken, so the empty shells are hidden
 * here instead. Ids come from the footer's three credit blocks.
 */
[data-id="29fceda"],
[data-id="eccaea5"],
[data-id="6600ec9"],
[data-id="80b51f9"],
[data-id="f265b22"],
[data-id="bf08399"] {
	display: none !important;
}

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

/*
 * Several pages' Elementor CSS gives the HTML widget that held the Growth99 iframe
 * a negative bottom margin (-150px desktop, -50px narrower) to crop the iframe's
 * empty tail. The form is taller than that tail, so the next section painted over
 * the SMS consent text. The containers holding the site's own components get
 * their natural height back.
 */
.elementor-widget-container:has(> .sc-form),
.elementor-widget-container:has(> .sc-reviews) {
	margin-bottom: 0 !important;
	height: auto !important;
}

/* The map embeds lost Seraphinite's placeholder; keep them full width. */
.elementor-custom-embed iframe[src*="google.com/maps/embed"] {
	width: 100%;
}
