/* QR Lead Generator modal — matches home-page QRDV palette */

.qrlg-modal[hidden] { display: none !important; }

.qrlg-modal {
	position: fixed;
	inset: 0;
	z-index: 1300;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
}

.qrlg-modal__shade {
	position: absolute;
	inset: 0;
	background: rgba(15, 31, 34, 0.55);
	backdrop-filter: blur(4px);
}

.qrlg-modal__panel {
	position: relative;
	width: 100%;
	max-width: 28rem;
	max-height: calc(100vh - 2rem);
	overflow-y: auto;
	background: #fff;
	color: #0f1f22;
	border-radius: 1.25rem;
	padding: 1.75rem 1.5rem 1.5rem;
	box-shadow: 0 24px 64px rgba(15, 31, 34, 0.12);
	border: 1px solid rgba(15, 31, 34, 0.08);
}

.qrlg-modal__close {
	position: absolute;
	top: 0.5rem;
	right: 0.65rem;
	width: 2.25rem;
	height: 2.25rem;
	border: 0;
	background: transparent;
	border-radius: 999px;
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
	opacity: 0.6;
}

.qrlg-modal__title {
	font-size: 1.35rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	margin-bottom: 0.5rem;
}

.qrlg-modal__intro,
.qrlg-modal__plan {
	font-size: 0.9rem;
	color: #3d5256;
	margin-bottom: 1rem;
}

.qrlg-modal__question {
	font-size: 0.92rem;
	font-weight: 700;
	color: #0f1f22;
	margin-bottom: 0.85rem;
}

.qrlg-more-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 0.85rem;
	justify-content: center;
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px solid rgba(15, 31, 34, 0.08);
}

.qrlg-more-links__item {
	padding: 0;
	border: 0;
	background: transparent;
	color: #007a84;
	font: inherit;
	font-size: 0.82rem;
	font-weight: 600;
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.qrlg-more-links__item:hover {
	color: #00a8b5;
}

.qrlg-modal__plan {
	font-size: 0.78rem;
	color: #6b8286;
	padding: 0.65rem 0.85rem;
	background: #f4fafa;
	border-radius: 12px;
	border: 1px solid rgba(0, 168, 181, 0.15);
}

.qrlg-step[hidden] { display: none !important; }

.qrlg-choices {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem;
}

.qrlg-choices--triple {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.qrlg-choices--service {
	grid-template-columns: 1fr;
}

@media (max-width: 720px) {
	.qrlg-choices--triple {
		grid-template-columns: 1fr;
	}
}

.qrlg-choice {
	display: grid;
	gap: 0.25rem;
	text-align: left;
	padding: 0.9rem 0.85rem;
	border: 2px solid rgba(15, 31, 34, 0.08);
	border-radius: 16px;
	background: #fff;
	cursor: pointer;
	transition: border-color 0.15s, box-shadow 0.15s;
	font-family: inherit;
	min-height: 100%;
}

.qrlg-choice:hover,
.qrlg-choice:focus-visible {
	border-color: #00a8b5;
	box-shadow: 0 8px 24px rgba(0, 168, 181, 0.12);
	outline: none;
}

.qrlg-choice__icon { font-size: 1.35rem; }

.qrlg-choice strong { font-size: 0.9rem; line-height: 1.25; }
.qrlg-choice span:last-child { font-size: 0.78rem; color: #6b8286; line-height: 1.35; }

.qrlg-field {
	display: grid;
	gap: 0.35rem;
	margin-bottom: 0.85rem;
}

.qrlg-field--sms-consent {
	margin-top: -0.2rem;
}

.qrlg-sms-consent {
	display: flex;
	align-items: flex-start;
	gap: 0.55rem;
	cursor: pointer;
}

.qrlg-sms-consent input[type="checkbox"] {
	margin-top: 0.2rem;
	flex-shrink: 0;
	width: 1rem;
	height: 1rem;
	accent-color: #00a8b5;
}

.qrlg-sms-consent__text {
	font-size: 0.76rem;
	line-height: 1.45;
	color: #6b8286;
}

.qrlg-field label,
.qrlg-field legend {
	font-size: 0.78rem;
	font-weight: 700;
	color: #3d5256;
}

.qrlg-field input[type="text"],
.qrlg-field input[type="url"],
.qrlg-field input[type="email"],
.qrlg-field input[type="tel"],
.qrlg-field input[type="password"] {
	width: 100%;
	padding: 0.75rem 0.85rem;
	border: 1.5px solid rgba(15, 31, 34, 0.12);
	border-radius: 12px;
	font: inherit;
}

.qrlg-field--radio label {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-weight: 500;
	margin-top: 0.35rem;
}

.qrlg-honeypot {
	position: absolute;
	left: -9999px;
	height: 0;
	overflow: hidden;
}

.qrlg-upload__label {
	display: grid;
	place-items: center;
	min-height: 180px;
	border: 2px dashed rgba(15, 31, 34, 0.15);
	border-radius: 16px;
	background: #f7fbfb;
	cursor: pointer;
	padding: 1rem;
	text-align: center;
	color: #6b8286;
	font-size: 0.88rem;
}

.qrlg-upload__label img {
	max-width: 100%;
	max-height: 220px;
	border-radius: 12px;
	object-fit: cover;
}

.qrlg-actions {
	display: flex;
	gap: 0.65rem;
	margin-top: 1rem;
	flex-wrap: wrap;
}

.qrlg-actions--stack {
	flex-direction: column;
}

.qrlg-actions--landing-footer {
	flex-direction: column;
	align-items: stretch;
	gap: 0.5rem;
}

.qrlg-actions__back {
	align-self: center;
}

.qrlg-actions__pair {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.65rem;
	width: 100%;
}

.qrlg-actions__pair .qrlg-btn {
	flex: none;
	width: 100%;
}

.qrlg-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.8rem 1.2rem;
	border-radius: 999px;
	font-weight: 700;
	font-size: 0.88rem;
	border: none;
	cursor: pointer;
	font-family: inherit;
	text-decoration: none;
}

.qrlg-btn--primary {
	background: linear-gradient(135deg, #ff5c00, #ff7a3d);
	color: #fff;
	flex: 1;
}

.qrlg-btn--secondary {
	background: #fff;
	color: #0f1f22;
	border: 2px solid rgba(15, 31, 34, 0.1);
}

.qrlg-btn--ghost {
	background: transparent;
	color: #6b8286;
}

.qrlg-qr-preview {
	display: grid;
	place-items: center;
	padding: 1rem;
	background: #f7fbfb;
	border-radius: 16px;
	margin: 1rem 0;
}

.qrlg-qr-preview img {
	width: min(220px, 100%);
	height: auto;
}

/* iPhone frame for landing preview */
.qrlg-iphone {
	display: flex;
	justify-content: center;
	margin: 0.75rem 0 1rem;
}

.qrlg-iphone__shell {
	position: relative;
	width: min(260px, 100%);
	padding: 13px 10px 15px;
	border-radius: 38px;
	background: #121214;
	box-shadow: 0 0 0 1px #3a3a3f inset;
	isolation: isolate;
}

.qrlg-iphone__shell::before {
	content: "";
	position: absolute;
	left: -2px;
	top: 96px;
	width: 2px;
	height: 40px;
	border-radius: 2px 0 0 2px;
	background: #3a3a3f;
	box-shadow: 0 54px 0 #3a3a3f;
}

.qrlg-iphone__shell::after {
	content: "";
	position: absolute;
	right: -2px;
	top: 118px;
	width: 2px;
	height: 64px;
	border-radius: 0 2px 2px 0;
	background: #3a3a3f;
}

.qrlg-iphone__island {
	position: absolute;
	top: 18px;
	left: 50%;
	transform: translateX(-50%);
	width: 78px;
	height: 20px;
	background: #000;
	border-radius: 999px;
	z-index: 2;
}

.qrlg-iphone__screen {
	position: relative;
	border-radius: 28px;
	overflow: hidden;
	background: #fff;
	width: 100%;
	height: min(52vh, 440px);
	max-height: 440px;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2) inset;
}

.qrlg-iphone__screen iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
	background: #fff;
}

.qrlg-feedback {
	margin-top: 0.75rem;
	font-size: 0.85rem;
	color: #b42318;
}

.qrlg-feedback.is-success { color: #007a84; }

.qrlg-account-banner {
	margin: -0.25rem 0 0.85rem;
	padding: 0.75rem 0.85rem;
	border-radius: 12px;
	background: rgba(0, 122, 132, 0.08);
	border: 1px solid rgba(0, 168, 181, 0.22);
}

.qrlg-account-banner[hidden],
.qrlg-field[hidden],
.qrlg-field--captcha[hidden] {
	display: none !important;
}

.qrlg-account-banner__text {
	margin: 0;
	font-size: 0.82rem;
	line-height: 1.4;
	color: #0f1f22;
}

.qrlg-open-trigger { margin-right: 0.5rem; }

@media (max-width: 480px) {
	.qrlg-modal__panel { padding: 1.25rem 1rem 1rem; }
	.qrlg-actions:not(.qrlg-actions--landing-footer) .qrlg-btn { width: 100%; }
	.qrlg-actions__pair .qrlg-btn {
		font-size: 0.78rem;
		padding: 0.75rem 0.55rem;
	}
}
