/*
 * Landings de EFT México.
 * Estilos compartidos por las plantillas "Landing · ..." (template-parts/landing-*.php).
 * Todo cuelga de .lp para no chocar con los estilos que inyectan los plugins.
 */

:root {
	--lp-ink: #25313c;
	--lp-text: #3a4651;
	--lp-muted: #4e5a64;
	--lp-soft: #d5dbe0;
	--lp-cream: #f6faf2;
	--lp-line: #dfe4e2;
	--lp-cyan: #01a7b6;
	--lp-cyan-hover: #14bccb;
	--lp-red: #d95f5b;
	--lp-yellow: #f9cc0c;
	--lp-yellow-text: #e0a800;
	--lp-green: #00b35a;
	--lp-green-text: #00a050;
	--lp-purple: #8380ea;
	--lp-radius: 18px;
	--lp-font: 'Red Hat Display', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

body.lp-body {
	margin: 0;
	background: var(--lp-cream);
}

/* Las landings no muestran el botón de WhatsApp ni el sello de reCAPTCHA */
body.lp-body .qlwapp,
body.lp-body .grecaptcha-badge {
	display: none !important;
}

.lp,
.lp * {
	box-sizing: border-box;
}

.lp {
	font-family: var(--lp-font);
	font-size: 16px;
	line-height: 1.55;
	color: var(--lp-text);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

/* Reset con :where() para que no le gane en especificidad a las clases de abajo */
:where(.lp) :where(h1, h2, h3, p, ul, ol, dl, dd, figure) {
	margin: 0;
	padding: 0;
}

:where(.lp) img {
	display: block;
	max-width: 100%;
	height: auto;
}

:where(.lp) a {
	color: inherit;
}

.lp-nowrap {
	white-space: nowrap;
}

.lp a:focus-visible {
	outline: 3px solid var(--lp-yellow);
	outline-offset: 3px;
}

/* Estructura */

.lp-wrap {
	width: 100%;
	max-width: 948px;
	margin: 0 auto;
	padding: 0 24px;
}

.lp-section {
	padding: 88px 0;
}

.lp-bg-ink {
	background: var(--lp-ink);
	color: var(--lp-cream);
}

.lp-bg-cream {
	background: var(--lp-cream);
}

.lp-bg-white {
	background: #fff;
}

.lp-eyebrow {
	margin-bottom: 14px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--lp-muted);
}

.lp-h2 {
	font-size: clamp(30px, 4.6vw, 46px);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -0.02em;
	color: var(--lp-ink);
}

.lp-c-red { color: var(--lp-red); }
.lp-c-yellow { color: var(--lp-yellow-text); }
.lp-c-green { color: var(--lp-green-text); }
.lp-c-cyan { color: var(--lp-cyan); }

/* Botones */

.lp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 14px 32px;
	border-radius: 999px;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	transition: background-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.lp .lp-btn--cyan {
	background: var(--lp-cyan);
	color: var(--lp-ink);
}

.lp .lp-btn--cyan:hover {
	background: var(--lp-cyan-hover);
	box-shadow: 0 10px 24px rgba(1, 167, 182, 0.28);
	transform: translateY(-1px);
}

.lp .lp-btn--ink {
	background: var(--lp-ink);
	color: var(--lp-cream);
}

.lp .lp-btn--ink:hover {
	background: #34434f;
	transform: translateY(-1px);
}

/* Hero */

.lp-hero {
	padding: 36px 0 76px;
	text-align: center;
}

.lp-hero__logo {
	width: 140px;
	margin: 0 auto 30px;
}

.lp-badge {
	display: inline-block;
	padding: 9px 22px;
	border-radius: 999px;
	background: var(--lp-yellow);
	color: var(--lp-ink);
	font-size: 15px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.lp-hero__title {
	margin-top: 34px;
	font-size: clamp(58px, 10.5vw, 108px);
	font-weight: 900;
	line-height: 1;
	letter-spacing: -0.03em;
	color: var(--lp-cream);
}

.lp-hero__title em {
	display: block;
	font-style: italic;
}

.lp-hero__lead {
	max-width: 740px;
	margin: 24px auto 0;
	font-size: clamp(21px, 2.6vw, 30px);
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -0.01em;
	color: var(--lp-cream);
}

.lp-hero__circles {
	width: min(580px, 100%);
	margin: 38px auto 0;
}

.lp-pills {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin-top: 34px;
	list-style: none;
}

.lp-pill {
	padding: 9px 18px;
	border-radius: 999px;
	background: var(--lp-cream);
	color: var(--lp-ink);
	font-size: 15px;
	font-weight: 700;
}

.lp-hero .lp-btn {
	margin-top: 28px;
}

/* Gancho */

.lp-hook {
	padding: 68px 0 76px;
	text-align: center;
}

.lp-hook p {
	max-width: 780px;
	margin: 0 auto;
	font-size: 18px;
	color: var(--lp-text);
}

.lp-hook .lp-h2 {
	margin-top: 42px;
}

.lp-hook .lp-h2 em {
	display: block;
	font-style: italic;
	color: var(--lp-red);
}

/* Tarjetas de la clase */

.lp-grid-3 {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	margin-top: 34px;
}

.lp-card {
	padding: 28px 24px 34px;
	border-radius: var(--lp-radius);
	background: var(--lp-cream);
}

.lp-card__num {
	display: block;
	margin-bottom: 14px;
	font-size: 23px;
	font-weight: 700;
	line-height: 1;
}

.lp-card h3 {
	font-size: 19px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--lp-ink);
}

.lp-card p {
	margin-top: 10px;
	font-size: 15.5px;
	line-height: 1.5;
	color: var(--lp-muted);
}

.lp-forwho {
	margin-top: 34px;
	font-size: 17px;
	font-weight: 500;
	color: var(--lp-muted);
}

.lp-forwho strong {
	font-weight: 700;
	color: var(--lp-ink);
}

/* Por qué EFT */

.lp-why .lp-h2 {
	max-width: 640px;
}

.lp-grid-2 {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
	margin-top: 34px;
}

.lp-stat {
	padding: 30px 28px 36px;
	border: 1px solid var(--lp-line);
	border-radius: var(--lp-radius);
	background: #fff;
}

.lp-stat__num {
	display: block;
	margin-bottom: 12px;
	font-size: clamp(42px, 5vw, 56px);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.02em;
}

.lp-stat h3 {
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--lp-ink);
}

.lp-stat p {
	margin-top: 10px;
	font-size: 15.5px;
	line-height: 1.55;
	color: var(--lp-muted);
}

.lp-sources {
	margin-top: 26px;
	font-size: 12.5px;
	color: var(--lp-muted);
}

/* Imparten */

.lp-team {
	padding: 76px 0 84px;
	text-align: center;
}

.lp-team .lp-eyebrow {
	color: var(--lp-cyan);
}

.lp-team__grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 40px 56px;
	margin-top: 30px;
}

.lp-person {
	width: 320px;
	max-width: 100%;
}

.lp-person img {
	width: 190px;
	height: 190px;
	margin: 0 auto;
	border-radius: 50%;
	object-fit: cover;
}

.lp-person h3 {
	margin-top: 22px;
	font-size: 26px;
	font-weight: 700;
	line-height: 1.2;
	color: var(--lp-cream);
}

.lp-person p {
	margin-top: 10px;
	font-size: 16px;
	line-height: 1.5;
	color: var(--lp-soft);
}

/* Lo que necesitas saber */

.lp-info {
	margin-top: 30px;
	border: 1px solid var(--lp-line);
	border-radius: var(--lp-radius);
	background: #fff;
	overflow: hidden;
}

.lp-info__row {
	display: grid;
	grid-template-columns: 200px 1fr;
	gap: 8px 16px;
	padding: 20px 26px;
	border-top: 1px solid var(--lp-line);
}

.lp-info__row:first-child {
	border-top: 0;
}

.lp-info dt {
	padding-top: 3px;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--lp-muted);
}

.lp-info dd {
	font-size: 18px;
	font-weight: 700;
	line-height: 1.35;
	color: var(--lp-ink);
}

.lp-info dd small {
	display: block;
	margin-top: 4px;
	font-size: 14px;
	font-weight: 400;
	color: var(--lp-muted);
}

.lp-cta-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 22px;
	margin-top: 28px;
}

.lp-cta-row p {
	font-size: 15px;
	color: var(--lp-muted);
}

/* Externship */

.lp-next {
	padding: 72px 0;
}

.lp-next__card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	padding: 40px 36px;
	border-radius: 24px;
	background: var(--lp-cream);
}

.lp-next__card .lp-eyebrow {
	margin-bottom: 10px;
}

.lp-next__card h2 {
	font-size: clamp(23px, 2.8vw, 30px);
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -0.01em;
	color: var(--lp-ink);
}

.lp-next__card p {
	max-width: 640px;
	margin-top: 10px;
	font-size: 15.5px;
	color: var(--lp-muted);
}

.lp-next__card .lp-btn {
	flex-shrink: 0;
}

/* Pie */

.lp-footer__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding-top: 46px;
	padding-bottom: 42px;
}

.lp-footer__logo {
	width: 118px;
}

.lp-footer__tag {
	margin-top: 12px;
	font-size: 18px;
	font-weight: 700;
}

.lp-footer__contact {
	font-size: 15px;
	text-align: right;
}

.lp-footer__contact a {
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.lp-footer__contact p + p {
	margin-top: 4px;
	color: var(--lp-soft);
}

.lp-footer__contact p + p a {
	font-weight: 400;
	text-decoration: none;
}

.lp-stripes {
	display: flex;
	height: 9px;
}

.lp-stripes span {
	flex: 1;
}

/* ---------- Piezas añadidas con la landing del Externship ---------- */

.lp-block {
	display: block;
}

.lp-c-purple { color: var(--lp-purple); }

/* Botón dentro de un formulario (compra directa) */
.lp-buy {
	display: inline-block;
	margin: 0;
}

button.lp-btn {
	border: 0;
	cursor: pointer;
	font-family: inherit;
}

/* Hero claro */
.lp-hero--light {
	padding-top: 28px;
	background: var(--lp-cream);
	color: var(--lp-ink);
}

.lp-brandbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 34px;
}

.lp-brandbar__eft {
	width: 128px;
}

.lp-brandbar__iceeft {
	width: 112px;
}

.lp-badge--box {
	padding: 10px 24px;
	border-radius: 8px;
	background: var(--lp-cyan);
	font-size: 14px;
	line-height: 1.4;
}

.lp-hero__title--light {
	margin-top: 30px;
	font-size: clamp(38px, 6.6vw, 76px);
	font-weight: 800;
	line-height: 1.06;
	letter-spacing: -0.025em;
	color: var(--lp-ink);
}

.lp-hero__title--light em {
	display: inline;
}

.lp-hero__sub {
	max-width: 600px;
	margin: 22px auto 0;
	font-size: 18px;
	color: var(--lp-muted);
}

.lp-cycle {
	width: min(660px, 100%);
	margin: 34px auto 0;
}

.lp-cycle figcaption {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	margin-top: 10px;
	font-size: 14px;
	color: var(--lp-muted);
}

.lp-pills--outline .lp-pill {
	border: 1px solid var(--lp-line);
	background: #fff;
}

.lp-price {
	display: inline-flex;
	align-items: center;
	gap: 16px;
	margin-top: 26px;
	padding: 14px 24px;
	border-radius: 12px;
	background: var(--lp-yellow);
	color: var(--lp-ink);
	text-align: left;
}

.lp-price__amount {
	font-size: clamp(30px, 4vw, 42px);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.02em;
	white-space: nowrap;
}

.lp-price__note {
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
}

.lp-price__msi {
	margin-top: 12px;
	font-size: 15px;
	font-weight: 700;
	color: var(--lp-ink);
}

.lp-price__coupon {
	margin-top: 14px;
	font-size: 15px;
	font-weight: 700;
	color: var(--lp-ink);
}

.lp-price__coupon + .lp-price__msi {
	margin-top: 8px;
	font-weight: 500;
	color: var(--lp-muted);
}

/* Cupón: chip que se copia con un toque */
.lp-coupon {
	display: inline-flex;
	align-items: baseline;
	gap: 6px;
	margin: 0 2px;
	padding: 1px 9px;
	border: 1.5px dashed currentColor;
	border-radius: 6px;
	background: transparent;
	color: var(--lp-ink);
	font: inherit;
	font-weight: 800;
	letter-spacing: 0.06em;
	cursor: pointer;
}

.lp-coupon::after {
	content: "Copiar";
	font-size: 0.75em;
	font-weight: 600;
	letter-spacing: 0;
	color: var(--lp-muted);
}

.lp-coupon.is-copied::after {
	content: "¡Copiado!";
	color: var(--lp-green-text);
}

.lp-coupon:focus-visible {
	outline: 3px solid var(--lp-yellow);
	outline-offset: 2px;
}

.lp-hero .lp-buy {
	margin-top: 22px;
}

.lp-hero .lp-buy .lp-btn {
	margin-top: 0;
}

.lp-hero__love {
	margin-top: 30px;
	font-size: clamp(24px, 3vw, 34px);
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -0.015em;
	color: var(--lp-ink);
}

/* Qué vas a aprender */
.lp-h2--narrow {
	max-width: 600px;
}

.lp-intro {
	max-width: 640px;
	margin-top: 14px;
	font-size: 17px;
	color: var(--lp-muted);
}

.lp-grid-5 {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 14px;
	margin-top: 32px;
	list-style: none;
}

.lp-grid-5 > li {
	grid-column: span 2;
}

.lp-grid-5 > li:nth-child(n+4) {
	grid-column: span 3;
}

.lp-card--compact {
	padding: 24px 22px 26px;
}

.lp-card .lp-card__text {
	margin-top: 0;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.4;
	color: var(--lp-ink);
}

.lp-note {
	margin-top: 28px;
	font-size: 15.5px;
	color: var(--lp-muted);
}

.lp-note strong {
	font-weight: 700;
	color: var(--lp-ink);
}

/* Por qué EFT: fuentes dentro de la tarjeta y frase final */
.lp-stat .lp-stat__src {
	margin-top: 14px;
	font-size: 12.5px;
}

.lp-stat__src a {
	text-decoration: underline;
	text-underline-offset: 2px;
}

.lp-quote {
	max-width: 680px;
	margin-top: 36px;
	font-size: clamp(20px, 2.4vw, 25px);
	font-weight: 700;
	line-height: 1.4;
	color: var(--lp-ink);
}

/* Instructor (una persona, en horizontal) */
.lp-instructor {
	padding: 60px 0;
}

.lp-instructor__inner {
	display: flex;
	align-items: center;
	gap: 40px;
}

.lp-instructor__inner img {
	flex-shrink: 0;
	width: 200px;
	height: 200px;
	border-radius: 50%;
	object-fit: cover;
}

.lp-instructor .lp-eyebrow {
	margin-bottom: 8px;
	color: var(--lp-cyan);
}

.lp-instructor h2 {
	font-size: clamp(32px, 4.4vw, 48px);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.02em;
	color: var(--lp-cream);
}

.lp-instructor__bio {
	max-width: 560px;
	margin-top: 12px;
	font-size: 16.5px;
	color: var(--lp-soft);
}

/* Lo que necesitas saber: fila resaltada y enlaces */
.lp-info__row--hi {
	background: #fcf3cc;
}

.lp-info dd a,
.lp-cta-row p a,
.lp-faq__item a {
	font-weight: 700;
	color: var(--lp-ink);
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Requisitos y políticas (desplegable bajo el botón de compra) */
.lp-terms {
	margin-top: 22px;
	font-size: 14.5px;
	color: var(--lp-muted);
}

.lp-terms summary {
	width: fit-content;
	font-weight: 700;
	color: var(--lp-ink);
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

.lp-terms__body {
	max-width: 760px;
	margin-top: 12px;
}

.lp-terms__body p + p {
	margin-top: 8px;
}

/* Preguntas frecuentes */
.lp-faq {
	max-width: 760px;
	margin: 0 auto;
}

.lp-faq .lp-h2 {
	margin-bottom: 18px;
}

.lp-faq__item {
	padding: 20px 0;
}

.lp-faq__item + .lp-faq__item {
	border-top: 1px solid var(--lp-line);
}

.lp-faq__item h3 {
	font-size: 18.5px;
	font-weight: 700;
	line-height: 1.35;
	color: var(--lp-ink);
}

.lp-faq__item p {
	margin-top: 6px;
	font-size: 16px;
	color: var(--lp-muted);
}

/* Escritorio ancho: la tarjeta del Externship sobresale un poco, como en el diseño */

@media (min-width: 1040px) {
	.lp-next__card {
		margin: 0 -36px;
	}
}

/* Tableta y móvil */

@media (max-width: 820px) {
	.lp-section {
		padding: 64px 0;
	}

	.lp-grid-3,
	.lp-grid-2 {
		grid-template-columns: 1fr;
	}

	.lp-next__card {
		flex-direction: column;
		align-items: flex-start;
		padding: 32px 26px;
	}

	.lp-grid-5 {
		grid-template-columns: 1fr;
	}

	.lp-grid-5 > li,
	.lp-grid-5 > li:nth-child(n+4) {
		grid-column: auto;
	}
}

@media (max-width: 560px) {
	.lp-brandbar {
		margin-bottom: 26px;
	}

	.lp-brandbar__eft {
		width: 104px;
	}

	.lp-brandbar__iceeft {
		width: 90px;
	}

	.lp-badge--box {
		font-size: 12.5px;
		padding: 9px 16px;
	}

	.lp-hero__sub {
		font-size: 17px;
	}

	.lp-cycle figcaption {
		font-size: 12.5px;
	}

	.lp-price {
		flex-direction: column;
		gap: 8px;
		padding: 16px 22px;
		text-align: center;
	}

	.lp-instructor__inner {
		flex-direction: column;
		gap: 24px;
		text-align: center;
	}

	.lp-instructor__inner img {
		width: 170px;
		height: 170px;
	}

	.lp-instructor__bio {
		margin-left: auto;
		margin-right: auto;
	}

	.lp-cta-row .lp-buy {
		width: 100%;
	}
}

@media (max-width: 560px) {
	/* Solo los lados: un "padding: 0 20px" pisaría el espaciado vertical del footer */
	.lp-wrap {
		padding-left: 20px;
		padding-right: 20px;
	}

	.lp-hero {
		padding-bottom: 60px;
	}

	.lp-hero__logo {
		width: 116px;
		margin-bottom: 24px;
	}

	.lp-badge {
		font-size: 13px;
		padding: 8px 18px;
	}

	.lp-pill {
		font-size: 14px;
	}

	.lp-hook {
		padding: 56px 0 60px;
	}

	.lp-hook p {
		font-size: 17px;
	}

	.lp-info__row {
		grid-template-columns: 1fr;
		padding: 18px 20px;
	}

	.lp-cta-row .lp-btn,
	.lp-next__card .lp-btn {
		width: 100%;
	}

	.lp-footer__inner {
		flex-direction: column;
		align-items: flex-start;
		gap: 22px;
		padding-top: 44px;
		padding-bottom: 40px;
	}

	.lp-footer__contact {
		text-align: left;
	}
}

@media (prefers-reduced-motion: reduce) {
	.lp-btn {
		transition: none;
	}

	.lp .lp-btn--cyan:hover,
	.lp .lp-btn--ink:hover {
		transform: none;
	}
}
