/* ========== Book a Free Demo — premium popup ========== */
.asmorix-demo {
	--adp-blue: #0c5adb;
	--adp-blue-deep: #0946b0;
	--adp-navy: #041424;
	--adp-yellow: #ffd200;
	--adp-yellow-hot: #ffc400;
	--adp-muted: #5b6b7c;
	--adp-line: #e4ebf3;
	--adp-soft: #f4f7fb;
	--adp-font: "Nunito", "Poppins", sans-serif;
	--adp-display: "Rajdhani", "Nunito", sans-serif;
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.28s ease, visibility 0.28s ease;
}

.asmorix-demo.is-open {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.asmorix-demo__backdrop {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(900px 420px at 50% 0%, rgba(12, 90, 219, 0.28), transparent 55%),
		rgba(4, 20, 36, 0.72);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

.asmorix-demo__dialog {
	position: relative;
	z-index: 1;
	width: min(720px, 100%);
	max-height: min(88vh, 640px);
	overflow: auto;
	overscroll-behavior: contain;
	background:
		linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
	border-radius: 20px;
	box-shadow:
		0 0 0 1px rgba(255, 255, 255, 0.35),
		0 28px 80px rgba(4, 20, 36, 0.38);
	font-family: var(--adp-font);
	color: var(--adp-navy);
	transform: translateY(18px) scale(0.97);
	opacity: 0;
	transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.28s ease;
}

.asmorix-demo.is-open .asmorix-demo__dialog {
	transform: translateY(0) scale(1);
	opacity: 1;
}

.asmorix-demo__dialog::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	border-radius: 22px 22px 0 0;
	background: linear-gradient(90deg, var(--adp-yellow) 0%, #ffe566 45%, var(--adp-blue) 100%);
}

.asmorix-demo__close {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 34px;
	height: 34px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 999px;
	background: var(--adp-soft);
	color: var(--adp-navy);
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
	z-index: 2;
}

.asmorix-demo__close:hover,
.asmorix-demo__close:focus-visible {
	background: #e8eef7;
	color: var(--adp-blue);
	outline: none;
}

.asmorix-demo__close svg {
	width: 16px;
	height: 16px;
	display: block;
}

.asmorix-demo__inner {
	padding: 22px 26px 20px;
}

.asmorix-demo__title {
	margin: 0 0 6px;
	padding-right: 36px;
	font-family: var(--adp-display);
	font-size: clamp(24px, 3.2vw, 30px);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.02em;
	color: var(--adp-navy);
}

.asmorix-demo__title span {
	color: var(--adp-blue);
}

.asmorix-demo__lead {
	margin: 0 0 10px;
	max-width: none;
	font-size: 13.5px;
	line-height: 1.35;
	color: var(--adp-muted);
	white-space: nowrap;
}

.asmorix-demo__trust {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0 0 14px;
	padding: 0;
	list-style: none;
}

.asmorix-demo__trust li {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 5px 10px;
	border-radius: 999px;
	background: var(--adp-soft);
	color: var(--adp-navy);
	font-size: 12px;
	font-weight: 700;
}

.asmorix-demo__trust li svg {
	width: 13px;
	height: 13px;
	flex-shrink: 0;
	color: var(--adp-blue);
}

.asmorix-demo__form {
	display: grid;
	gap: 12px;
}

.asmorix-demo__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.asmorix-demo__schedule {
	display: grid;
	gap: 6px;
	padding: 12px;
	border: 1.5px solid var(--adp-line);
	border-radius: 12px;
	background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.asmorix-demo__schedule .asmorix-demo__label {
	margin-bottom: 2px;
}

.asmorix-demo__sublabel {
	margin: 0;
	font-size: 11.5px;
	font-weight: 600;
	color: var(--adp-muted);
}

.asmorix-demo__input--date {
	min-height: 44px;
	color-scheme: light;
}

.asmorix-demo__input--date::-webkit-calendar-picker-indicator {
	cursor: pointer;
	opacity: 0.7;
}

.asmorix-demo__hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

.asmorix-demo__field {
	display: grid;
	gap: 5px;
}

.asmorix-demo__label {
	margin: 0;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: var(--adp-navy);
}

.asmorix-demo__label em {
	font-style: normal;
	color: #c0392b;
}

.asmorix-demo__input,
.asmorix-demo__select,
.asmorix-demo__textarea {
	width: 100%;
	margin: 0;
	padding: 11px 12px;
	border: 1.5px solid var(--adp-line);
	border-radius: 10px;
	background: #fff;
	color: var(--adp-navy);
	font-family: var(--adp-font);
	font-size: 14.5px;
	line-height: 1.35;
	box-sizing: border-box;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
	appearance: none;
	-webkit-appearance: none;
}

.asmorix-demo__input::placeholder,
.asmorix-demo__textarea::placeholder {
	color: #93a0b0;
}

.asmorix-demo__input:hover,
.asmorix-demo__select:hover,
.asmorix-demo__textarea:hover {
	border-color: #c9d6e8;
}

.asmorix-demo__input:focus,
.asmorix-demo__select:focus,
.asmorix-demo__textarea:focus {
	outline: none;
	border-color: var(--adp-blue);
	box-shadow: 0 0 0 4px rgba(12, 90, 219, 0.12);
	background: #fff;
}

.asmorix-demo__field.is-error .asmorix-demo__input,
.asmorix-demo__field.is-error .asmorix-demo__select,
.asmorix-demo__field.is-error .asmorix-demo__textarea,
.asmorix-demo__field.is-error .asmorix-demo__phone,
.asmorix-demo__phone.is-error {
	border-color: #e74c3c;
	box-shadow: 0 0 0 4px rgba(231, 76, 60, 0.1);
}

.asmorix-demo__field-error {
	margin: 4px 0 0;
	font-size: 11.5px;
	font-weight: 700;
	line-height: 1.3;
	color: #c0392b;
}

.asmorix-demo__locs.is-error .asmorix-demo__loc,
.asmorix-demo__field.is-error .asmorix-demo__locs .asmorix-demo__loc {
	border-color: #e74c3c !important;
}

.asmorix-demo__select-wrap {
	position: relative;
}

.asmorix-demo__select-wrap::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 14px;
	width: 8px;
	height: 8px;
	border-right: 2px solid var(--adp-muted);
	border-bottom: 2px solid var(--adp-muted);
	transform: translateY(-65%) rotate(45deg);
	pointer-events: none;
}

.asmorix-demo__select,
.asmorix-demo__select option,
.asmorix-demo__select optgroup {
	color: #000 !important;
	font-style: normal;
	background: #fff;
}
.asmorix-demo__select optgroup {
	font-family: "Nunito", "Poppins", sans-serif;
	font-weight: 700;
}
.asmorix-demo__select option {
	font-weight: 500;
	color: #000 !important;
}

.asmorix-demo__phone {
	display: grid;
	grid-template-columns: 112px 1fr;
	gap: 0;
	border: 1.5px solid var(--adp-line);
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.asmorix-demo__phone:focus-within {
	border-color: var(--adp-blue);
	box-shadow: 0 0 0 4px rgba(12, 90, 219, 0.12);
}

.asmorix-demo__cc {
	position: relative;
	border-right: 1.5px solid var(--adp-line);
	background: var(--adp-soft);
}

.asmorix-demo__cc select {
	width: 100%;
	height: 100%;
	min-height: 44px;
	margin: 0;
	padding: 0 26px 0 10px;
	border: 0;
	background: transparent;
	color: var(--adp-navy);
	font-family: var(--adp-font);
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
}

.asmorix-demo .screen-reader-text {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.asmorix-demo__cc::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 12px;
	width: 7px;
	height: 7px;
	border-right: 2px solid var(--adp-muted);
	border-bottom: 2px solid var(--adp-muted);
	transform: translateY(-65%) rotate(45deg);
	pointer-events: none;
}

.asmorix-demo__phone .asmorix-demo__input {
	border: 0;
	border-radius: 0;
	box-shadow: none !important;
	min-height: 44px;
}

.asmorix-demo__locs {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
}

.asmorix-demo__loc {
	position: relative;
	cursor: pointer;
}

.asmorix-demo__loc input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.asmorix-demo__loc span {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 8px 6px;
	border: 1.5px solid var(--adp-line);
	border-radius: 10px;
	background: #fff;
	color: var(--adp-navy);
	font-size: 13.5px;
	font-weight: 700;
	text-align: center;
	transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.asmorix-demo__loc:hover span {
	border-color: #c9d6e8;
}

.asmorix-demo__loc input:checked + span {
	border-color: var(--adp-blue);
	background: rgba(12, 90, 219, 0.08);
	color: var(--adp-blue);
	box-shadow: 0 0 0 3px rgba(12, 90, 219, 0.1);
}

.asmorix-demo__loc input:focus-visible + span {
	outline: 2px solid var(--adp-blue);
	outline-offset: 2px;
}

.asmorix-demo__textarea {
	min-height: 56px;
	resize: vertical;
}

.asmorix-demo__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	min-height: 48px;
	margin-top: 2px;
	padding: 12px 16px;
	border: 0;
	border-radius: 12px;
	background: linear-gradient(180deg, var(--adp-yellow) 0%, var(--adp-yellow-hot) 100%);
	color: #111;
	font-family: var(--adp-display);
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	cursor: pointer;
	box-shadow: 0 12px 28px rgba(255, 196, 0, 0.35);
	transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.asmorix-demo__submit:hover,
.asmorix-demo__submit:focus-visible {
	filter: brightness(0.98);
	transform: translateY(-1px);
	box-shadow: 0 16px 32px rgba(255, 196, 0, 0.42);
	outline: none;
}

.asmorix-demo__submit:disabled,
.asmorix-demo__submit.is-loading {
	cursor: wait;
	opacity: 0.85;
	transform: none;
}

.asmorix-demo__submit-arrow {
	display: inline-flex;
	line-height: 0;
}

.asmorix-demo__submit-arrow svg {
	width: 18px;
	height: 18px;
}

.asmorix-demo__note {
	margin: 2px 0 0;
	text-align: center;
	font-size: 12.5px;
	line-height: 1.4;
	color: var(--adp-muted);
}

.asmorix-demo__contact {
	margin: 6px 0 0;
	text-align: center;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.4;
	color: var(--adp-navy);
}

.asmorix-demo__contact a {
	color: var(--adp-blue);
	text-decoration: none;
	font-weight: 800;
	white-space: nowrap;
}

.asmorix-demo__contact a:hover {
	text-decoration: underline;
}

.asmorix-demo__view[hidden],
.asmorix-demo__success[hidden] {
	display: none !important;
}

.asmorix-demo__success {
	display: grid;
	justify-items: center;
	text-align: center;
	gap: 10px;
	padding: 28px 12px 18px;
	animation: asmorix-demo-success-in .35s ease;
}

@keyframes asmorix-demo-success-in {
	from { opacity: 0; transform: translateY(10px); }
	to { opacity: 1; transform: none; }
}

.asmorix-demo__success-icon {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	color: var(--adp-blue);
	background: rgba(12, 90, 219, .12);
	margin-bottom: 4px;
}

.asmorix-demo__success-icon svg {
	width: 40px;
	height: 40px;
}

.asmorix-demo__success-title {
	margin: 0;
	font-family: var(--adp-display);
	font-size: clamp(1.4rem, 2.5vw, 1.75rem);
	font-weight: 700;
	line-height: 1.15;
	color: var(--adp-navy);
	letter-spacing: -.02em;
}

.asmorix-demo__success-text {
	margin: 0;
	max-width: 40ch;
	font-size: 14.5px;
	line-height: 1.5;
	color: var(--adp-muted);
}

.asmorix-demo__success-note {
	margin: 2px 0 0;
	font-size: 12.5px;
	font-weight: 700;
	color: var(--adp-blue);
}

.asmorix-demo__success-phone {
	margin: 4px 0 0;
	font-size: 13px;
	font-weight: 700;
	color: var(--adp-navy);
}

.asmorix-demo__success-phone a {
	color: var(--adp-blue);
	text-decoration: none;
	font-weight: 800;
}

.asmorix-demo__success-phone a:hover {
	text-decoration: underline;
}

.asmorix-demo__success-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
	margin-top: 10px;
}

.asmorix-demo__success-again,
.asmorix-demo__success-close {
	min-height: 42px;
	padding: 0 18px;
	border-radius: 12px;
	font: 700 13.5px/1 "Nunito", "Poppins", sans-serif;
	cursor: pointer;
	transition: .18s ease;
}

.asmorix-demo__success-again {
	border: 0;
	background: var(--adp-blue);
	color: #fff;
}

.asmorix-demo__success-again:hover {
	filter: brightness(1.06);
}

.asmorix-demo__success-close {
	border: 1.5px solid var(--adp-line);
	background: #fff;
	color: var(--adp-navy);
}

.asmorix-demo__success-close:hover {
	border-color: var(--adp-blue);
	color: var(--adp-blue);
}

.asmorix-demo__msg {
	margin: 0;
	padding: 11px 13px;
	border-radius: 12px;
	font-size: 13.5px;
	line-height: 1.4;
	background: rgba(12, 90, 219, 0.08);
	color: var(--adp-blue-deep);
}

.asmorix-demo__msg.is-error {
	background: rgba(231, 76, 60, 0.1);
	color: #b03a2e;
}

.asmorix-demo__msg.is-success {
	background: rgba(39, 174, 96, 0.12);
	color: #1e8449;
}

body.asmorix-demo-lock {
	overflow: hidden;
}

@media (max-width: 560px) {
	.asmorix-demo {
		padding: 10px;
		align-items: flex-end;
	}

	.asmorix-demo__dialog {
		width: 100%;
		max-height: 92vh;
		border-radius: 18px 18px 12px 12px;
		transform: translateY(28px);
	}

	.asmorix-demo.is-open .asmorix-demo__dialog {
		transform: translateY(0);
	}

	.asmorix-demo__inner {
		padding: 18px 16px 16px;
	}

	.asmorix-demo__title {
		font-size: 24px;
		padding-right: 36px;
	}

	.asmorix-demo__lead {
		font-size: 12.5px;
		margin-bottom: 8px;
		white-space: nowrap;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}

	.asmorix-demo__lead::-webkit-scrollbar {
		display: none;
	}

	.asmorix-demo__trust {
		margin-bottom: 12px;
	}

	.asmorix-demo__row {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.asmorix-demo__schedule {
		padding: 10px;
	}

	.asmorix-demo__phone {
		grid-template-columns: 100px 1fr;
	}

	.asmorix-demo__locs {
		grid-template-columns: 1fr;
	}

	.asmorix-demo__loc span {
		justify-content: flex-start;
		padding-left: 14px;
	}

	.asmorix-demo__submit {
		font-size: 16px;
		min-height: 46px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.asmorix-demo,
	.asmorix-demo__dialog {
		transition: none;
		animation: none;
	}
}
