/* ARKAVIA lead popup. Self-contained: the plugin must look right under any
   theme, so nothing here depends on the ARKAVIA theme's custom properties. */

.ark-pop[hidden] { display: none; }

.ark-pop {
	position: fixed;
	inset: 0;
	z-index: 100000; /* above the site header and the WhatsApp button */
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.ark-pop__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(5, 15, 36, .62);
	animation: ark-pop-fade .22s ease both;
}

.ark-pop__panel {
	position: relative;
	width: 100%;
	max-width: 420px;
	max-height: calc(100vh - 40px);
	overflow-y: auto;
	box-sizing: border-box;
	padding: 30px 28px 26px;
	border-radius: 16px;
	background: #fbf9f5;
	box-shadow: 0 30px 70px rgba(5, 15, 36, .4);
	font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
	color: #14161c;
	animation: ark-pop-rise .26s cubic-bezier(.2, .8, .3, 1) both;
}

.ark-pop__x {
	position: absolute;
	top: 10px;
	right: 12px;
	width: 34px;
	height: 34px;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: #626a7c;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
}
.ark-pop__x:hover { background: #eef2f9; color: #0b2044; }
.ark-pop__x:focus-visible { outline: 3px solid #c6a052; outline-offset: 2px; }

.ark-pop__eyebrow {
	margin: 0 0 6px;
	color: #a9843a;
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.ark-pop__title {
	margin: 0 0 8px;
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 1.6rem;
	line-height: 1.2;
	color: #0b2044;
}

.ark-pop__text {
	margin: 0 0 18px;
	font-size: .94rem;
	line-height: 1.55;
	color: #626a7c;
}

.ark-pop__label {
	display: block;
	margin: 0 0 5px;
	font-size: .82rem;
	font-weight: 600;
	color: #0b2044;
}
.ark-pop__opt { font-weight: 400; color: #626a7c; }

.ark-pop__input {
	box-sizing: border-box;
	width: 100%;
	margin: 0 0 13px;
	padding: 11px 13px;
	border: 1px solid #e4e7ee;
	border-radius: 10px;
	background: #fff;
	font: inherit;
	font-size: .95rem;
	color: #14161c;
}
.ark-pop__input:focus {
	outline: 0;
	border-color: #c6a052;
	box-shadow: 0 0 0 3px rgba(198, 160, 82, .22);
}

.ark-pop__submit {
	width: 100%;
	margin-top: 4px;
	padding: 13px 18px;
	border: 0;
	border-radius: 10px;
	background: #0b2044;
	color: #fff;
	font: inherit;
	font-size: .98rem;
	font-weight: 600;
	cursor: pointer;
	transition: background-color .18s ease;
}
.ark-pop__submit:hover { background: #081837; }
.ark-pop__submit:focus-visible { outline: 3px solid #c6a052; outline-offset: 2px; }

.ark-pop__fine {
	margin: 12px 0 0;
	font-size: .78rem;
	color: #626a7c;
	text-align: center;
}

/* Honeypot - off-screen rather than display:none, which some bots skip. */
.ark-pop__hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

@keyframes ark-pop-fade { from { opacity: 0 } to { opacity: 1 } }
@keyframes ark-pop-rise {
	from { opacity: 0; transform: translateY(16px) scale(.98) }
	to   { opacity: 1; transform: none }
}

@media (max-width: 480px) {
	.ark-pop { padding: 14px; align-items: flex-end; }
	.ark-pop__panel {
		padding: 26px 20px 22px;
		border-radius: 18px;
		max-height: calc(100vh - 28px);
	}
	.ark-pop__title { font-size: 1.4rem; }
}

@media (prefers-reduced-motion: reduce) {
	.ark-pop__backdrop,
	.ark-pop__panel { animation: none; }
	.ark-pop__submit { transition: none; }
}
