/* =========================================================
   MP Apply Landing — /aplica
   Claro premium. Blanco dominante, negro, acento lima #F2FE54, Inter.
   Mobile-first. Scoped under .mpl.
   ========================================================= */

.mpl {
	--ink: #0B0B0C;
	--ink-2: #3A3A3E;
	--muted: #6B6F76;
	--line: #EAEAEC;
	--bg: #FFFFFF;
	--bg-2: #F6F6F4;
	--accent: #F2FE54;
	--dark: #0B0B0C;
	--radius: 16px;
	--maxw: 1120px;
	--textw: 640px;

	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
	color: var(--ink);
	background: var(--bg);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}
/* Safety: this stylesheet only loads on the landing page, so scoping the
   overflow guard to the body-with-landing is safe and kills any stray scroll. */
body:has(.mpl) { overflow-x: hidden; }
.mpl *, .mpl *::before, .mpl *::after { box-sizing: border-box; }
.mpl img { max-width: 100%; height: auto; display: block; }
.mpl a { color: inherit; }

/* ---------- layout ---------- */
.mpl__section { padding: clamp(64px, 9vw, 120px) 22px; }
.mpl__wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; }
.mpl__center { text-align: center; }
.mpl__narrow { max-width: var(--textw); margin-inline: auto; }

.mpl__section--tight { padding-block: clamp(44px, 6vw, 72px); }
.mpl__section--alt { background: var(--bg-2); }
.mpl__section--dark { background: var(--dark); color: #fff; }
.mpl__section--accent { background: var(--accent); color: var(--ink); }

/* ---------- type ---------- */
.mpl__eyebrow {
	display: inline-block;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--muted);
	margin: 0 0 18px;
}
.mpl__section--dark .mpl__eyebrow { color: #A9ACB2; }
.mpl__section--accent .mpl__eyebrow { color: #2A2A20; }

.mpl h1, .mpl h2, .mpl h3 { margin: 0; letter-spacing: -.02em; font-weight: 800; line-height: 1.08; max-width: 100%; overflow-wrap: break-word; }
.mpl h1 { font-size: clamp(33px, 5.8vw, 66px); line-height: 1.06; }
.mpl h2 { font-size: clamp(29px, 4.4vw, 46px); line-height: 1.1; }
.mpl h3 { font-size: clamp(18px, 2.4vw, 22px); font-weight: 700; line-height: 1.25; letter-spacing: -.01em; }

.mpl__lead {
	font-size: clamp(17px, 2.1vw, 21px);
	line-height: 1.55;
	color: var(--muted);
	margin: 22px auto 0;
	font-weight: 400;
}
.mpl__section--dark .mpl__lead { color: #C4C7CD; }
.mpl p { margin: 0; }
/* `.mpl p{margin:0}` (0,1,1) outranks `.mpl__lead` (0,1,0); restore centering with a
   p-qualified selector (0,1,2) so leads keep their auto side margins. */
.mpl p.mpl__lead { margin: 22px auto 0; }

/* ---------- buttons ---------- */
.mpl__btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: inherit;
	font-size: 17px;
	font-weight: 700;
	letter-spacing: -.01em;
	text-decoration: none;
	padding: 18px 34px;
	border-radius: 999px;
	border: 0;
	cursor: pointer;
	transition: transform .12s ease, box-shadow .2s ease, background .2s ease;
	white-space: nowrap;
	text-decoration: none !important;
}
/* !important defends against the theme's global `a { color: … !important }`. */
.mpl__btn--primary { background: var(--ink); color: #fff !important; }
.mpl__btn--primary:hover { background: var(--accent) !important; color: var(--ink) !important; transform: translateY(-2px); box-shadow: 0 12px 30px rgba(242,254,84,.4); }
.mpl__section--dark .mpl__btn--primary { background: var(--accent); color: var(--ink) !important; }
.mpl__section--dark .mpl__btn--primary:hover { box-shadow: 0 12px 30px rgba(242,254,84,.28); }
.mpl__btn--accent { background: var(--accent); color: var(--ink) !important; }
.mpl__btn--accent:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,0,0,.14); }
.mpl__btn .mpl__arrow { transition: transform .16s ease; }
.mpl__btn:hover .mpl__arrow { transform: translateX(3px); }

/* ---------- top bar ---------- */
.mpl__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	max-width: var(--maxw);
	margin: 0 auto;
	padding: 24px 22px 0;
}
.mpl__chip { white-space: nowrap; }
.mpl__brand { display: flex; align-items: center; gap: 11px; text-decoration: none !important; }
.mpl__rayo { width: 38px; height: 38px; border-radius: 10px; display: block; }
.mpl__brand-name { font-weight: 700; font-size: 22px; letter-spacing: -.03em; color: var(--ink); }
.mpl__chip {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	padding: 8px 14px;
	border-radius: 999px;
	background: var(--accent);
	color: var(--ink);
}

/* ---------- hero ---------- */
/* No vertical padding: the top bar sits inside so the soft background covers it,
   and the logo band ends flush with the next section (no white seam). */
.mpl__hero { padding-top: 0; padding-bottom: 0; }
.mpl__hero .mpl__wrap { margin-top: clamp(26px, 5vw, 54px); }
.mpl__hero h1 { max-width: 16ch; }
.mpl__pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .04em;
	padding: 9px 16px;
	border: 1px solid var(--line);
	border-radius: 999px;
	color: var(--ink-2);
	margin-bottom: 26px;
	background: #fff;
}
.mpl__pill::before {
	content: "";
	width: 8px; height: 8px; border-radius: 50%;
	background: #17c964;
	box-shadow: 0 0 0 4px rgba(23,201,100,.16);
}
.mpl__hero h1 { margin-inline: auto; }
.mpl__hero .mpl__lead { max-width: 600px; }
.mpl__cta-row {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	justify-content: center;
	align-items: center;
	margin-top: 34px;
}
.mpl__cta-note { font-size: 14px; color: var(--muted); }

/* trust logos strip — true full-bleed band, edge to edge */
.mpl__trust {
	margin-top: clamp(48px, 7vw, 84px);
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding-inline: 0;
}
.mpl__trust-label {
	font-size: 14px;
	font-weight: 800;
	letter-spacing: .13em;
	text-transform: uppercase;
	color: #383D45;
	margin-bottom: 26px;
	padding-inline: 20px;
	line-height: 1.5;
}
.mpl img.mpl__logos {
	display: block;
	width: 100%;
	max-width: none;
	margin: 0;
	filter: grayscale(1);
	opacity: .82;
}

/* ---------- benefits ---------- */
.mpl__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(10px, 2vw, 20px);
	margin-top: clamp(38px, 5vw, 60px);
	text-align: left;
}
.mpl__benefit {
	padding: 30px 28px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
	transition: border-color .2s ease, transform .2s ease;
}
.mpl__benefit:hover { border-color: #D3D3D6; transform: translateY(-3px); }
.mpl__benefit-ic {
	width: 46px; height: 46px;
	display: grid; place-items: center;
	border-radius: 12px;
	background: var(--ink);
	color: var(--accent);
	margin-bottom: 18px;
}
.mpl__benefit-ic svg { width: 24px; height: 24px; }
.mpl__benefit h3 { margin-bottom: 8px; }
.mpl__benefit p { color: var(--muted); font-size: 15.5px; line-height: 1.55; }

/* ---------- requisitos ---------- */
.mpl__split {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(28px, 4vw, 56px);
	align-items: center;
	text-align: left;
	margin-top: 8px;
}
.mpl__checks { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; }
.mpl__checks li {
	display: flex; align-items: flex-start; gap: 14px;
	font-size: 17.5px; font-weight: 600; color: var(--ink);
	padding: 16px 20px;
	background: #fff; border: 1px solid var(--line); border-radius: 12px;
}
.mpl__checks .mpl__tick {
	flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%;
	background: var(--accent); color: var(--ink);
	display: grid; place-items: center; margin-top: 1px;
}
.mpl__checks .mpl__tick svg { width: 14px; height: 14px; }
.mpl__note {
	margin-top: 22px; font-size: 14.5px; color: var(--muted);
	padding-left: 2px; max-width: 560px;
}

/* ---------- garantía band ---------- */
.mpl__guarantee { text-align: center; }
.mpl__guarantee h2 { max-width: 20ch; margin-inline: auto; }
.mpl__guarantee .mpl__lead { color: #1E1E14; max-width: 620px; }
.mpl__guarantee-badge {
	display: inline-block; font-size: 12.5px; font-weight: 800;
	letter-spacing: .18em; text-transform: uppercase; margin-bottom: 16px;
}

/* ---------- proceso ---------- */
.mpl__steps {
	display: grid; grid-template-columns: 1fr; gap: 18px;
	margin-top: clamp(38px, 5vw, 58px); text-align: left;
}
.mpl__step {
	padding: 30px 28px; border-radius: var(--radius);
	background: #131316; border: 1px solid #232327;
}
.mpl__step-n {
	font-size: 15px; font-weight: 800; letter-spacing: .1em;
	color: var(--accent); margin-bottom: 16px;
}
.mpl__step h3 { color: #fff; margin-bottom: 8px; }
.mpl__step p { color: #A9ACB2; font-size: 15.5px; line-height: 1.55; }
.mpl__steps-tag {
	margin-top: 30px; font-size: 17px; font-weight: 700; color: var(--accent);
}

/* ---------- form section ---------- */
.mpl__form-head { text-align: center; margin-bottom: clamp(28px, 4vw, 44px); }
.mpl__form-badge {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
	color: var(--ink); background: var(--accent);
	padding: 8px 16px; border-radius: 999px; margin-bottom: 20px;
}
.mpl__form-card {
	max-width: 720px; margin: 0 auto;
	background: #fff; border: 1px solid var(--line); border-radius: 22px;
	padding: clamp(26px, 4vw, 46px);
	box-shadow: 0 30px 70px -40px rgba(0,0,0,.28);
}

/* ---------- close ---------- */
.mpl__close { text-align: center; }
.mpl__rayo--close { width: 56px; height: 56px; border-radius: 14px; margin: 0 auto 26px; }
.mpl__close h2 { max-width: 18ch; margin: 0 auto 30px; color: #fff; }
.mpl img.mpl__footer-logo { height: 26px !important; width: auto !important; max-width: 160px; }

/* ---------- gracias (/aplica/gracias/) ---------- */
.mpl__gracias { min-height: 78vh; display: flex; align-items: center; justify-content: center; }
.mpl__gracias .mpl__wrap { max-width: 640px; }
.mpl__gracias-mark {
	width: 84px; height: 84px; margin: 0 auto 28px;
	display: grid; place-items: center;
	border-radius: 50%; background: var(--accent); color: var(--ink);
	box-shadow: 0 16px 40px -18px rgba(242, 254, 84, .8);
}
.mpl__gracias-mark svg { width: 42px; height: 42px; }
.mpl__gracias h1 { font-size: clamp(31px, 5vw, 54px); margin-inline: auto; }
.mpl__gracias-mark--b { background: #EFEFEC; color: #0A0A0A; box-shadow: none; }
.mpl p.mpl__gracias-body2 { margin-top: 16px; }
.mpl p.mpl__gracias-note { margin: 22px auto 0; font-size: 15px; color: var(--muted); max-width: 460px; }
.mpl__gracias .mpl__btn { margin-top: 20px; }
.mpl__gracias-foot { padding-block: clamp(30px, 4vw, 46px); }
.mpl__gracias-foot .mpl__close { display: flex; flex-direction: column; gap: 16px; align-items: center; }
.mpl__gracias-copy { font-size: 13.5px; color: #8C9097; }
.mpl__gracias-copy a { color: #C4C7CD !important; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- exit-intent popup ---------- */
.mpl-exit {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: grid;
	place-items: center;
	padding: 20px;
}
.mpl-exit[hidden] { display: none; }
.mpl-exit__overlay {
	position: absolute;
	inset: 0;
	background: rgba(11, 11, 12, .62);
	-webkit-backdrop-filter: blur(3px);
	backdrop-filter: blur(3px);
	opacity: 0;
	transition: opacity .25s ease;
}
.mpl-exit.is-open .mpl-exit__overlay { opacity: 1; }
.mpl-exit__card {
	position: relative;
	width: 100%;
	max-width: 470px;
	background: #fff;
	border-radius: 22px;
	padding: clamp(28px, 5vw, 42px);
	text-align: center;
	box-shadow: 0 44px 90px -30px rgba(0, 0, 0, .55);
	transform: translateY(14px) scale(.97);
	opacity: 0;
	transition: transform .3s cubic-bezier(.2, .7, .3, 1), opacity .3s ease;
}
.mpl-exit.is-open .mpl-exit__card { transform: none; opacity: 1; }
.mpl-exit__close {
	position: absolute;
	top: 14px; right: 16px;
	width: 34px; height: 34px;
	border: 0; background: transparent;
	font-size: 26px; line-height: 1;
	color: var(--muted); cursor: pointer;
	border-radius: 8px;
}
.mpl-exit__close:hover { color: var(--ink); background: #f2f2f0; }
.mpl-exit__mark {
	width: 56px; height: 56px;
	margin: 0 auto 18px;
	display: grid; place-items: center;
}
.mpl-exit__mark img { width: 52px; height: 52px; border-radius: 13px; }
.mpl-exit__title {
	font-size: clamp(22px, 4vw, 27px);
	font-weight: 800;
	letter-spacing: -.02em;
	line-height: 1.2;
	margin: 0 0 12px;
	color: var(--ink);
}
.mpl-exit__text {
	font-size: 16px;
	line-height: 1.55;
	color: var(--muted);
	margin: 0 auto 24px;
	max-width: 34ch;
}
.mpl-exit__text strong { color: var(--ink); font-weight: 700; }
.mpl-exit .mpl-exit__cta { width: 100%; justify-content: center; }
.mpl-exit__dismiss {
	display: inline-block;
	margin-top: 14px;
	font-family: inherit;
	font-size: 14px;
	font-weight: 500;
	color: var(--muted);
	background: transparent;
	border: 0;
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.mpl-exit__dismiss:hover { color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
	.mpl-exit__overlay, .mpl-exit__card { transition: none; }
}

/* ---------- footer ---------- */
.mpl__footer {
	border-top: 1px solid #1E1E22;
	margin-top: clamp(48px, 7vw, 80px);
	padding-top: 30px;
	display: flex; flex-wrap: wrap; gap: 12px;
	align-items: center; justify-content: space-between;
	max-width: var(--maxw); margin-inline: auto;
	font-size: 13.5px; color: #8C9097;
}
.mpl__footer a { color: #C4C7CD !important; text-decoration: underline; text-underline-offset: 3px; }
.mpl__footer-brand { font-weight: 800; letter-spacing: -.02em; color: #fff; font-size: 16px; }

/* =========================================================
   Responsive up
   ========================================================= */
@media (min-width: 720px) {
	.mpl__grid { grid-template-columns: 1fr 1fr; }
	.mpl__split { grid-template-columns: 1.05fr 1fr; }
	.mpl__steps { grid-template-columns: repeat(3, 1fr); }
	.mpl__checks { gap: 12px; }
}
@media (min-width: 1024px) {
	.mpl__benefit { padding: 34px 32px; }
}

@media (max-width: 600px) {
	.mpl__bar { padding-top: 20px; }
	.mpl__chip { display: none; }
	.mpl__cta-row { flex-direction: column; }
	.mpl__cta-row .mpl__btn { width: 100%; justify-content: center; }
}

/* =========================================================
   Motion — subtle, always-on, non-intrusive
   ========================================================= */

/* Keep the landing isolated: hide the site's floating WhatsApp (an exit). */
.joinchat, #joinchat { display: none !important; }

/* Live indicator dot pulses gently */
.mpl__pill::before { animation: mplPulse 2.4s ease-in-out infinite; }
@keyframes mplPulse {
	0%, 100% { box-shadow: 0 0 0 0 rgba(23, 201, 100, .5); }
	55%      { box-shadow: 0 0 0 7px rgba(23, 201, 100, 0); }
}

/* Softly drifting background glow — hero (light).
   No overflow:hidden here so the full-bleed logo band keeps working;
   body{overflow-x:hidden} clips any horizontal spill. */
.mpl__hero { position: relative; }
.mpl__hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background:
		radial-gradient(42% 44% at 16% 20%, rgba(242, 254, 84, .40), transparent 68%),
		radial-gradient(38% 40% at 88% 14%, rgba(11, 11, 12, .06), transparent 70%);
	animation: mplDrift 22s ease-in-out infinite alternate;
}
.mpl__hero > * { position: relative; z-index: 1; }
@keyframes mplDrift {
	0%   { transform: translate3d(0, 0, 0) scale(1); }
	100% { transform: translate3d(2.5%, 2%, 0) scale(1.09); }
}

/* Softly drifting glow — dark sections */
.mpl__section--dark { position: relative; overflow: hidden; }
.mpl__section--dark::before {
	content: "";
	position: absolute;
	inset: -30%;
	z-index: 0;
	pointer-events: none;
	background:
		radial-gradient(30% 38% at 22% 26%, rgba(242, 254, 84, .18), transparent 70%),
		radial-gradient(32% 40% at 84% 80%, rgba(242, 254, 84, .11), transparent 70%);
	animation: mplDrift2 26s ease-in-out infinite alternate;
}
.mpl__section--dark > * { position: relative; z-index: 1; }
@keyframes mplDrift2 {
	0%   { transform: translate3d(-2%, 0, 0); }
	100% { transform: translate3d(3%, -3%, 0); }
}

/* Close-section rayo floats gently */
.mpl__rayo--close { animation: mplFloat 4.5s ease-in-out infinite; }
@keyframes mplFloat {
	0%, 100% { transform: translateY(0); }
	50%      { transform: translateY(-9px); }
}

/* Scroll reveal — only active once JS marks the root ready (no-JS = visible) */
.mpl.reveal-ready [data-reveal] {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity .7s cubic-bezier(.2, .6, .2, 1), transform .7s cubic-bezier(.2, .6, .2, 1);
	will-change: opacity, transform;
}
.mpl.reveal-ready [data-reveal].is-in { opacity: 1; transform: none; }

/* Hover micro-interactions */
.mpl__benefit-ic { transition: transform .28s cubic-bezier(.2, .6, .2, 1); }
.mpl__benefit:hover .mpl__benefit-ic { transform: translateY(-3px) scale(1.07); }
.mpl__step { transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease; }
.mpl__step:hover { transform: translateY(-4px); border-color: #3A3A28; box-shadow: 0 18px 46px -26px rgba(242, 254, 84, .45); }

@media (prefers-reduced-motion: reduce) {
	.mpl__hero::before, .mpl__section--dark::before, .mpl__pill::before, .mpl__rayo--close { animation: none; }
	.mpl__benefit:hover, .mpl__step:hover { transform: none; }
	/* Keep a gentle opacity-only fade-in (no movement) — accessibility-safe. */
	.mpl.reveal-ready [data-reveal] { transform: none !important; transition: opacity .6s ease !important; }
	.mpl.reveal-ready [data-reveal].is-in { opacity: 1; }
}
