/* Site Builder — GoHighLevel form / booking embed band.
 *
 * The form itself is rendered inside a cross-origin iframe by LeadConnector,
 * so nothing in here can style the fields. What this file is responsible for
 * is the frame around it: the band, the heading above, and a card that makes
 * the embed sit on the page as deliberately as the site's own forms do.
 *
 * The iframe's height is owned by LeadConnector's form_embed.js, which posts
 * a resize message once the form has laid out. Anything here that set a fixed
 * height would fight that script, so the rules below only ever set a *minimum*
 * and let the script grow it.
 */

.sb-lf-ghl {
	position: relative;
	background-color: #f6f5f1;
	font-family: var(--sb-font-sans);
}

/* Full-bleed out of the theme's container, matching the other bands. */
.sb-lf-ghl.sb-lf-stretch {
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

.sb-lf-ghl-inner {
	max-width: 1180px;
	margin: 0 auto;
	padding: 96px 24px;
}

/* ---------------------------------------------------------------- Heading */

.sb-lf-ghl-header {
	max-width: 720px;
	margin: 0 auto 40px;
	text-align: center;
}

.sb-lf-ghl-eyebrow {
	font-size: 12px;
	font-weight: var(--sb-weight-semibold);
	letter-spacing: var(--sb-tracking-caps);
	text-transform: uppercase;
	color: var(--sb-gold);
	margin-bottom: 14px;
}

.sb-lf-ghl-heading {
	font-family: var(--sb-font-serif);
	font-size: clamp(26px, 3.2vw, 40px);
	font-weight: var(--sb-weight-semibold);
	line-height: 1.18;
	letter-spacing: var(--sb-tracking-tight);
	color: #151312;
	margin: 0;
}

.sb-lf-ghl-description {
	margin-top: 18px;
	font-size: 16px;
	line-height: 1.7;
	color: #5f5c57;
}

.sb-lf-ghl-description p {
	margin: 0 0 12px;
}

.sb-lf-ghl-description p:last-child {
	margin-bottom: 0;
}

/* ------------------------------------------------------------------ Frame */

.sb-lf-ghl-frame {
	max-width: 760px;
	margin: 0 auto;
	background: #fff;
	border-radius: 14px;
	padding: 8px;
	box-shadow: 0 24px 60px rgba(10, 10, 12, 0.09), 0 2px 6px rgba(10, 10, 12, 0.05);
}

.sb-lf-ghl-frame iframe {
	display: block;
	width: 100%;
	min-height: 420px;
	border: 0;
	border-radius: 8px;
}

/* Editor-only hint when no form ID has been entered yet. */
.sb-lf-ghl-placeholder {
	padding: 48px 24px;
	text-align: center;
	font-family: var(--sb-font-sans);
	font-size: 14px;
	color: #5f5c57;
	background: #f6f5f1;
	border: 1px dashed #c9c4ba;
	border-radius: 10px;
}

/* ------------------------------------------------------------------ Small */

@media (max-width: 767px) {
	.sb-lf-ghl-inner {
		padding: 64px 16px;
	}

	.sb-lf-ghl-frame {
		padding: 6px;
		border-radius: 10px;
		/* The lifted card reads as an inset panel on a phone, where it spans
		   nearly the full width anyway — the heavy shadow just muddies the
		   edge, so it is dialled back rather than dropped. */
		box-shadow: 0 10px 26px rgba(10, 10, 12, 0.08);
	}
}
