/* MP Apply Form — brand: negro / lima #F2FE54 / blanco, Inter. Mobile-first. */

#mp-apply {
	--mp-primary: #000000;
	--mp-accent: #F2FE54;
	--mp-ink: #0A0A0A;
	--mp-muted: #6B6B6B;
	--mp-line: #E6E6E6;
	--mp-surface: #FFFFFF;
	--mp-radius: 14px;

	max-width: 640px;
	margin: 0 auto;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	color: var(--mp-ink);
	text-align: left;
	box-sizing: border-box;
}
#mp-apply *, #mp-apply *::before, #mp-apply *::after { box-sizing: inherit; }

/* [hidden] must beat display:flex/grid on overlays, steps and success. */
#mp-apply [hidden] { display: none !important; }

/* reCAPTCHA: hide the floating badge (we show the required notice instead). */
.grecaptcha-badge { visibility: hidden !important; }
.mp-apply__rc-note {
	margin: 18px 0 0;
	font-size: 11.5px;
	line-height: 1.5;
	color: #9A9A9A;
	text-align: center;
}
.mp-apply__rc-note a { color: #6B6B6B; text-decoration: underline; text-underline-offset: 2px; }

/* Honeypot: off-screen, not display:none (bots skip display:none). */
.mpa-hp {
	position: absolute !important;
	left: -9999px !important;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* Progress */
.mp-apply__progress {
	height: 6px;
	background: var(--mp-line);
	border-radius: 999px;
	overflow: hidden;
}
.mp-apply__progress-bar {
	height: 100%;
	width: 0;
	background: var(--mp-accent);
	border-radius: 999px;
	transition: width .35s cubic-bezier(.4, 0, .2, 1);
}
.mp-apply__count {
	margin: 10px 0 22px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .04em;
	color: var(--mp-muted);
}

/* Steps */
.mp-apply__form { position: relative; }
.mp-apply__step {
	border: 0;
	padding: 0;
	margin: 0;
	min-width: 0;
	animation: mpFade .35s ease both;
}
.mp-apply__step[hidden] { display: none; }
@keyframes mpFade {
	from { opacity: 0; transform: translateY(8px); }
	to   { opacity: 1; transform: none; }
}

.mp-apply__q {
	font-size: clamp(21px, 5.2vw, 27px);
	line-height: 1.25;
	font-weight: 700;
	letter-spacing: -.01em;
	margin: 0 0 6px;
	padding: 0;
	color: var(--mp-ink);
}
.mp-apply__hint {
	margin: 0 0 22px;
	font-size: 15px;
	line-height: 1.5;
	color: var(--mp-muted);
}
.mp-apply__q + .mp-apply__hint { margin-top: 8px; }

/* Inputs */
.mp-apply__input {
	width: 100%;
	font-family: inherit;
	font-size: 17px;
	color: var(--mp-ink);
	background: var(--mp-surface);
	border: 1.5px solid var(--mp-line);
	border-radius: var(--mp-radius);
	padding: 16px 18px;
	transition: border-color .18s ease, box-shadow .18s ease;
	-webkit-appearance: none;
	appearance: none;
}
.mp-apply__input::placeholder { color: #B0B0B0; }
.mp-apply__input:focus {
	outline: none;
	border-color: var(--mp-primary);
	box-shadow: 0 0 0 4px rgba(0, 0, 0, .06);
}
.mp-apply__textarea { resize: vertical; min-height: 130px; line-height: 1.5; }

/* Contact group */
.mp-apply__contact { display: flex; flex-direction: column; gap: 16px; }
.mp-apply__consent {
	display: flex;
	gap: 11px;
	align-items: flex-start;
	font-size: 13.5px;
	line-height: 1.45;
	color: #5B5B5B;
	cursor: pointer;
	margin-top: 2px;
}
.mp-apply__consent-box {
	flex: 0 0 auto;
	width: 19px;
	height: 19px;
	margin-top: 2px;
	accent-color: var(--mp-ink, #0A0A0A);
	cursor: pointer;
}
.mp-apply__consent-text a { color: var(--mp-ink, #0A0A0A); text-decoration: underline; text-underline-offset: 2px; }
.mp-apply__field { display: flex; flex-direction: column; gap: 7px; }
.mp-apply__field-label {
	font-size: 13px;
	font-weight: 600;
	color: var(--mp-ink);
}

/* Choice cards */
.mp-apply__choices { display: flex; flex-direction: column; gap: 12px; }
.mp-apply__choice {
	display: flex;
	align-items: center;
	gap: 14px;
	width: 100%;
	text-align: left;
	font-family: inherit;
	font-size: 16.5px;
	font-weight: 500;
	color: var(--mp-ink);
	background: var(--mp-surface);
	border: 1.5px solid var(--mp-line);
	border-radius: var(--mp-radius);
	padding: 18px 20px;
	cursor: pointer;
	transition: border-color .16s ease, background .16s ease, transform .08s ease;
}
.mp-apply__choice:hover { border-color: #C9C9C9; }
.mp-apply__choice:active { transform: scale(.99); }
.mp-apply__choice:focus-visible {
	outline: none;
	border-color: var(--mp-primary);
	box-shadow: 0 0 0 4px rgba(0, 0, 0, .06);
}
.mp-apply__choice-dot {
	flex: 0 0 auto;
	width: 22px;
	height: 22px;
	border: 2px solid var(--mp-line);
	border-radius: 50%;
	position: relative;
	transition: border-color .16s ease;
}
.mp-apply__choice.is-selected {
	border-color: var(--mp-primary);
	background: #FAFAF0;
}
.mp-apply__choice.is-selected .mp-apply__choice-dot { border-color: var(--mp-primary); }
.mp-apply__choice.is-selected .mp-apply__choice-dot::after {
	content: "";
	position: absolute;
	inset: 3px;
	border-radius: 50%;
	background: var(--mp-accent);
	box-shadow: inset 0 0 0 1px var(--mp-primary);
}

/* Error */
.mp-apply__error {
	margin: 12px 0 0;
	font-size: 14px;
	font-weight: 500;
	color: #C0392B;
}
.mp-apply__step.has-error .mp-apply__input,
.mp-apply__step.has-error .mp-apply__textarea { border-color: #C0392B; }

/* Nav */
.mp-apply__nav {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: 26px;
}
.mp-apply__next,
.mp-apply__submit {
	flex: 1 1 auto;
	font-family: inherit;
	font-size: 17px;
	font-weight: 700;
	color: #fff;
	background: var(--mp-primary);
	border: 0;
	border-radius: var(--mp-radius);
	padding: 18px 26px;
	cursor: pointer;
	transition: transform .08s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}
.mp-apply__next:hover,
.mp-apply__submit:hover { background: var(--mp-accent) !important; color: #0A0A0A !important; box-shadow: 0 10px 26px rgba(242,254,84,.42); }
.mp-apply__next:active,
.mp-apply__submit:active { transform: scale(.99); }
.mp-apply__next:focus-visible,
.mp-apply__submit:focus-visible,
.mp-apply__back:focus-visible {
	outline: 3px solid var(--mp-accent);
	outline-offset: 2px;
}
.mp-apply__submit {
	background: var(--mp-primary);
	box-shadow: inset 0 0 0 2px var(--mp-primary);
}
.mp-apply__back {
	flex: 0 0 auto;
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	color: var(--mp-muted);
	background: transparent;
	border: 0;
	padding: 14px 6px;
	cursor: pointer;
	order: -1;
}
.mp-apply__back:hover { color: var(--mp-ink); }

/* Success */
.mp-apply__success { text-align: center; padding: 20px 0; animation: mpFade .4s ease both; }
.mp-apply__success-mark {
	width: 64px;
	height: 64px;
	margin: 0 auto 22px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--mp-accent);
	color: var(--mp-primary);
}
.mp-apply__success-eyebrow {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .14em;
	color: var(--mp-muted);
	margin: 0 0 10px;
}
.mp-apply__success-title {
	font-size: clamp(24px, 6vw, 32px);
	font-weight: 700;
	letter-spacing: -.01em;
	margin: 0 0 14px;
	color: var(--mp-ink);
}
.mp-apply__success-body {
	font-size: 16.5px;
	line-height: 1.6;
	color: var(--mp-muted);
	max-width: 460px;
	margin: 0 auto;
}

/* Loading */
.mp-apply__loading {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 16px;
	background: rgba(255, 255, 255, .92);
	border-radius: var(--mp-radius);
	font-size: 15px;
	font-weight: 600;
	color: var(--mp-muted);
	z-index: 5;
}
.mp-apply__spinner {
	width: 38px;
	height: 38px;
	border: 3px solid var(--mp-line);
	border-top-color: var(--mp-primary);
	border-radius: 50%;
	animation: mpSpin .8s linear infinite;
}
@keyframes mpSpin { to { transform: rotate(360deg); } }

/* Desktop niceties */
@media (min-width: 700px) {
	.mp-apply__q { margin-bottom: 8px; }
	.mp-apply__nav { margin-top: 30px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
	.mp-apply__step,
	.mp-apply__progress-bar,
	.mp-apply__success { animation: none; transition: none; }
}
