/*
 * Site-wide lead-form popup (.yvbds-popup-overlay / .yvbds-popup-box).
 * New UI not present in the original /html mockup, kept in its own file so
 * assets/css/main.css stays an untouched copy of the source design.
 */
.yvbds-popup-overlay {
	position: fixed;
	inset: 0;
	background: #000000b3;
	z-index: 300;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.yvbds-popup-overlay p.form-footer {
    color: #000;
}

.yvbds-popup-overlay.is-open {
	display: flex;
}

.yvbds-popup-box {
	position: relative;
	background: #fff;
	border-radius: 12px;
	max-width: 460px;
	width: 100%;
	max-height: 90vh;
	overflow-y: auto;
	padding: 32px 28px;
}

.yvbds-popup-close {
	position: absolute;
	top: 14px;
	right: 14px;
	background: none;
	border: 0;
	color: var(--color-primary);
	cursor: pointer;
	padding: 6px;
	line-height: 0;
}

.yvbds-popup-copy {
	margin-bottom: 20px;
}

.yvbds-popup-copy .eyebrow {
	color: var(--color-gold-dark);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.04em;
	margin: 0 0 8px;
}

.yvbds-popup-copy h3 {
	color: var(--color-primary);
	margin: 0 0 8px;
}

.yvbds-popup-copy p {
	color: var(--color-text-muted);
	font-size: 14px;
	margin: 0;
}

.yvbds-popup-box .lead-form {
	max-width: none;
}

body.yvbds-popup-open {
	overflow: hidden;
}
