/* Oscar Malo — Lead Popup */
.omlp[hidden] { display: none !important; }
html.omlp-lock, html.omlp-lock body { overflow: hidden !important; }

.omlp {
	--omlp-ink: #2B2B28;
	--omlp-muted: #6B665F;
	--omlp-soft: #9A948B;
	--omlp-terra: #BC5A34;
	--omlp-terra-dark: #A24A27;
	--omlp-blush: #EBCDBC;
	--omlp-line: #D9D1C6;
	--omlp-serif: "Playfair Display", Georgia, "Times New Roman", serif;
	--omlp-sans: Jost, "Helvetica Neue", Arial, sans-serif;
	position: fixed;
	inset: 0;
	z-index: 2147483000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	-webkit-font-smoothing: antialiased;
}

.omlp__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(30, 28, 25, .58);
	opacity: 0;
	transition: opacity .35s ease;
}

.omlp__dialog {
	position: relative;
	display: grid;
	grid-template-columns: 45% 55%;
	width: min(880px, 100%);
	max-height: calc(100vh - 48px);
	background: #fff;
	box-shadow: 0 30px 90px rgba(0, 0, 0, .28);
	opacity: 0;
	transform: translateY(16px) scale(.985);
	transition: opacity .4s ease, transform .45s cubic-bezier(.2, .7, .2, 1);
	outline: none;
	overflow: hidden;
}
.omlp--noimg .omlp__dialog { grid-template-columns: 1fr; width: min(560px, 100%); }

.omlp.is-open .omlp__backdrop { opacity: 1; }
.omlp.is-open .omlp__dialog { opacity: 1; transform: none; }

/* image */
.omlp__media {
	position: relative;
	min-height: 540px;
	background: var(--omlp-blush);
}
.omlp__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	display: block;
	margin: 0;
	border: 0;
	border-radius: 0;
}

/* content */
.omlp__body {
	padding: 56px 56px 44px;
	text-align: center;
	display: flex;
	flex-direction: column;
	justify-content: center;
	overflow-y: auto;
	color: var(--omlp-ink);
	font-family: var(--omlp-sans);
}
.omlp__logo { margin: 0 0 26px; }
.omlp__logo img { width: 150px; max-width: 60%; height: auto; display: inline-block; }

.omlp__step { display: none; }
.omlp[data-step="ask"] .omlp__step--ask,
.omlp[data-step="form"] .omlp__step--form,
.omlp[data-step="done"] .omlp__step--done { display: block; animation: omlp-in .35s ease both; }
@keyframes omlp-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.omlp .omlp__eyebrow {
	margin: 0 0 14px;
	font: 500 12px/1.4 var(--omlp-sans);
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--omlp-terra);
}
.omlp .omlp__title {
	margin: 0 0 14px;
	padding: 0;
	font-family: var(--omlp-serif);
	font-weight: 500;
	font-size: 33px;
	line-height: 1.16;
	letter-spacing: 0;
	text-transform: none;
	color: var(--omlp-ink);
	outline: none;
}
.omlp .omlp__title em { font-style: italic; font-weight: 400; color: var(--omlp-terra); }
.omlp .omlp__title--sm { font-size: 27px; margin-bottom: 22px; }
.omlp .omlp__text {
	margin: 0 auto 28px;
	max-width: 360px;
	font-family: var(--omlp-serif);
	font-size: 16px;
	line-height: 1.6;
	color: var(--omlp-muted);
}
.omlp .omlp__fine {
	margin: 18px 0 0;
	font-family: var(--omlp-serif);
	font-style: italic;
	font-size: 13px;
	line-height: 1.5;
	color: var(--omlp-soft);
}

/* buttons */
.omlp__actions { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.omlp .omlp__btn {
	-webkit-appearance: none;
	appearance: none;
	display: block;
	box-sizing: border-box;
	width: 100%;
	max-width: 330px;
	height: auto;
	min-height: 52px;
	margin: 0 auto;
	padding: 17px 22px;
	font: 500 12.5px/1.2 var(--omlp-sans);
	letter-spacing: .22em;
	text-transform: uppercase;
	text-align: center;
	text-decoration: none;
	text-shadow: none;
	box-shadow: none;
	border-radius: 2px;
	cursor: pointer;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.omlp .omlp__btn--primary { background: var(--omlp-terra); color: #fff; border: 1px solid var(--omlp-terra); }
.omlp .omlp__btn--primary:hover,
.omlp .omlp__btn--primary:focus-visible { background: var(--omlp-terra-dark); border-color: var(--omlp-terra-dark); color: #fff; }
.omlp .omlp__btn--ghost { background: transparent; color: var(--omlp-ink); border: 1px solid var(--omlp-ink); }
.omlp .omlp__btn--ghost:hover,
.omlp .omlp__btn--ghost:focus-visible { background: var(--omlp-ink); color: #fff; }
.omlp .omlp__btn[disabled] { opacity: .7; cursor: progress; }
.omlp .omlp__btn:focus-visible,
.omlp .omlp__input:focus-visible,
.omlp .omlp__close:focus-visible { outline: 2px solid var(--omlp-terra); outline-offset: 3px; }
.omlp a.omlp__btn[hidden] { display: none; }

/* form */
.omlp__form { margin: 0 auto; max-width: 330px; }
.omlp .omlp__input {
	-webkit-appearance: none;
	appearance: none;
	display: block;
	box-sizing: border-box;
	width: 100%;
	height: auto;
	margin: 0 0 12px;
	padding: 15px 16px;
	font: 400 16px/1.3 var(--omlp-sans);
	color: var(--omlp-ink);
	background: #fff;
	border: 1px solid var(--omlp-line);
	border-radius: 2px;
	box-shadow: none;
	transition: border-color .2s ease;
}
.omlp .omlp__input::placeholder { color: var(--omlp-soft); opacity: 1; }
.omlp .omlp__input:focus { border-color: var(--omlp-ink); outline: none; }
.omlp .omlp__input[aria-invalid="true"] { border-color: #B3261E; }
.omlp .omlp__form .omlp__btn { margin-top: 4px; }
.omlp .omlp__error { min-height: 0; margin: 10px 0 0; font: 400 13.5px/1.4 var(--omlp-sans); color: #B3261E; }
.omlp .omlp__error:empty { display: none; }

.omlp__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.omlp__sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* close */
.omlp .omlp__close {
	-webkit-appearance: none;
	appearance: none;
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 3;
	width: 44px;
	height: 44px;
	min-height: 0;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, .9);
	color: var(--omlp-ink);
	border: 0;
	border-radius: 50%;
	box-shadow: none;
	cursor: pointer;
	transition: background-color .2s ease;
}
.omlp .omlp__close:hover { background: #F3EEE8; }

/* tablet / phone */
@media (max-width: 760px) {
	.omlp { padding: 14px; }
	.omlp__dialog {
		grid-template-columns: 1fr;
		max-height: calc(100vh - 28px);
		max-height: calc(100dvh - 28px);
		overflow-y: auto;
	}
	.omlp__media { min-height: 0; height: 30vh; max-height: 220px; }
	.omlp__body { padding: 30px 24px 28px; overflow: visible; }
	.omlp__logo { margin-bottom: 18px; }
	.omlp__logo img { width: 120px; }
	.omlp .omlp__title { font-size: 26px; }
	.omlp .omlp__title--sm { font-size: 23px; margin-bottom: 18px; }
	.omlp .omlp__text { font-size: 15px; margin-bottom: 22px; }
}
@media (max-height: 620px) and (max-width: 760px) {
	.omlp__media { display: none; }
}
@media (max-height: 640px) and (min-width: 761px) {
	.omlp__media { min-height: 0; }
	.omlp__body { padding-top: 36px; padding-bottom: 30px; }
	.omlp__logo { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	.omlp__backdrop, .omlp__dialog { transition: none; }
	.omlp[data-step] .omlp__step { animation: none; }
}
