.eml-landing,
.eml-landing *,
.eml-landing *::before,
.eml-landing *::after,
.eml-modal-overlay,
.eml-modal-overlay * {
	box-sizing: border-box;
}

.eml-landing {
	--eml-cyan: #5acae4;
	--eml-black: #000000;
	--eml-white: #fefeff;
	--eml-gold: #ffd15a;
	--eml-gray: #6b7280;

	font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	color: var(--eml-black);
	background: var(--eml-white);
	overflow-x: hidden;
	line-height: 1.6;
}
:root {
	--eml-cyan: #5acae4;
	--eml-black: #000000;
	--eml-white: #fefeff;
	--eml-gold: #ffd15a;
	--eml-gray: #6b7280;
}

.eml-landing h1, .eml-landing h2, .eml-landing h3 { font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.eml-landing h2 { font-size: 30px; text-align: center; margin: 0 0 40px; }
.eml-landing h3 { font-size: 19px; margin: 0 0 8px; }

.eml-brand { display: flex; align-items: center; gap: 10px; }
.eml-brand img { height: 34px; width: 34px; object-fit: contain; }
.eml-brand span { font-weight: 800; font-size: 16px; letter-spacing: 0.02em; }

.eml-cta-btn {
	display: inline-block;
	background: var(--eml-gold);
	color: var(--eml-black);
	border: none;
	border-radius: 30px;
	padding: 16px 36px;
	font-weight: 800;
	font-size: 16px;
	cursor: pointer;
	text-decoration: none;
	transition: transform 0.15s, box-shadow 0.15s;
	box-shadow: 0 6px 20px rgba(255,209,90,0.4);
}
.eml-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(255,209,90,0.55); color: var(--eml-black); }

/* ---------- HERO ---------- */
.eml-hero {
	background: linear-gradient(160deg, rgba(90,202,228,0.9), rgba(90,202,228,0.55) 60%, #fff);
	padding-bottom: 70px;
}
.eml-hero-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20px 24px;
	flex-wrap: wrap;
	gap: 12px;
}
.eml-login-link { color: rgba(0,0,0,0.65); text-decoration: none; font-size: 13px; font-weight: 600; }
.eml-login-link:hover { color: var(--eml-black); }
.eml-hero-content { max-width: 720px; margin: 40px auto 0; text-align: center; padding: 0 24px; }
.eml-hero-content h1 { font-size: 40px; margin-bottom: 18px; }
.eml-hero-sub { font-size: 18px; color: #1a1a1a; margin-bottom: 30px; }
.eml-hero-microcopy { margin-top: 12px; font-size: 13px; color: rgba(0,0,0,0.6); }

@media (max-width: 640px) {
	.eml-hero-content h1 { font-size: 28px; }
	.eml-hero-sub { font-size: 16px; }
}

/* ---------- Secciones generales ---------- */
.eml-section { max-width: 1080px; margin: 0 auto; padding: 70px 24px; }
.eml-section:nth-of-type(even) { background: #fafbfc; }

/* ---------- Dolor ---------- */
.eml-pain-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 640px) { .eml-pain-grid { grid-template-columns: 1fr; } }
.eml-pain-item { display: flex; align-items: flex-start; gap: 14px; background: #fff; border: 1px solid #eee; border-radius: 14px; padding: 20px; }
.eml-pain-icon { font-size: 26px; flex: 0 0 auto; }
.eml-pain-item p { margin: 0; font-size: 15px; }

/* ---------- Beneficios ---------- */
.eml-benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .eml-benefits-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .eml-benefits-grid { grid-template-columns: 1fr; } }
.eml-benefit-card { background: #fff; border: 1px solid #eee; border-radius: 16px; padding: 26px 22px; text-align: center; }
.eml-benefit-icon { font-size: 34px; display: block; margin-bottom: 12px; }
.eml-benefit-card p { font-size: 14px; color: #444; margin: 0; }

/* ---------- Pasos ---------- */
.eml-steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
@media (max-width: 720px) { .eml-steps-grid { grid-template-columns: 1fr; } }
.eml-step { text-align: center; }
.eml-step-number {
	display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; border-radius: 50%;
	background: var(--eml-black); color: var(--eml-gold);
	font-weight: 800; font-size: 18px; margin-bottom: 14px;
}
.eml-step p { font-size: 14px; color: #444; }

/* ---------- Testimonios ---------- */
.eml-testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .eml-testimonials-grid { grid-template-columns: 1fr; } }
.eml-testimonial-card { background: #fff; border: 1px solid #eee; border-radius: 16px; padding: 22px; }
.eml-testimonial-card p { font-style: italic; font-size: 14px; margin: 0 0 10px; }
.eml-testimonial-card strong { font-size: 13px; color: var(--eml-gray); }
.eml-testimonials-note { text-align: center; color: var(--eml-gray); font-size: 12px; margin-top: 20px; }

/* ---------- Precios ---------- */
.eml-pricing-sub { text-align: center; color: var(--eml-gray); margin-top: -24px; margin-bottom: 40px; }
.eml-pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; max-width: 900px; margin: 0 auto; }
.eml-plan-card {
	background: #fff; border: 2px solid #eee; border-radius: 18px; padding: 30px 26px;
	text-align: center; position: relative; display: flex; flex-direction: column;
}
.eml-plan-featured { border-color: var(--eml-cyan); box-shadow: 0 10px 30px rgba(90,202,228,0.25); }
.eml-plan-reto { border-color: var(--eml-gold); box-shadow: 0 10px 30px rgba(255,209,90,0.35); background: #fffdf5; }
.eml-plan-badge {
	position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
	background: var(--eml-cyan); color: var(--eml-black); font-size: 12px; font-weight: 700;
	padding: 4px 14px; border-radius: 12px;
	white-space: nowrap;
}
.eml-plan-badge-reto { background: var(--eml-gold); }
.eml-plan-price { margin: 14px 0 18px; }
.eml-plan-amount { font-size: 40px; font-weight: 800; }
.eml-plan-currency { font-size: 16px; font-weight: 700; margin-left: 4px; }
.eml-plan-interval { font-size: 14px; color: var(--eml-gray); }
.eml-plan-features { list-style: none; padding: 0; margin: 0 0 26px; text-align: left; flex: 1; }
.eml-plan-features li { font-size: 14px; padding: 6px 0 6px 26px; position: relative; }
.eml-plan-features li::before { content: '✓'; position: absolute; left: 0; color: var(--eml-cyan); font-weight: 800; }
.eml-plan-btn { width: 100%; }
.eml-no-plans { text-align: center; }

/* ---------- FAQ ---------- */
.eml-faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.eml-faq-item { background: #fff; border: 1px solid #eee; border-radius: 12px; padding: 16px 20px; }
.eml-faq-item summary { font-weight: 700; cursor: pointer; font-size: 15px; }
.eml-faq-item p { margin: 12px 0 0; font-size: 14px; color: #444; }

/* ---------- CTA final ---------- */
.eml-final-cta { text-align: center; background: var(--eml-black); border-radius: 24px; margin: 40px auto 0; padding: 60px 24px; max-width: 1032px; }
.eml-final-cta h2 { color: #fff; }
.eml-final-cta p { color: rgba(255,255,255,0.75); margin-bottom: 28px; }

/* ---------- Footer ---------- */
.eml-footer { text-align: center; padding: 40px 24px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.eml-footer p { font-size: 12px; color: var(--eml-gray); margin: 0; }
.eml-quick-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; }
.eml-quick-nav a { font-size: 13px; font-weight: 600; color: var(--eml-black); text-decoration: none; opacity: 0.75; }
.eml-quick-nav a:hover { opacity: 1; text-decoration: underline; }

/* ---------- WhatsApp flotante ---------- */
.eml-whatsapp-float {
	position: fixed; bottom: 22px; right: 22px; z-index: 9999;
	width: 58px; height: 58px; border-radius: 50%;
	background: #25D366; display: flex; align-items: center; justify-content: center;
	box-shadow: 0 6px 18px rgba(0,0,0,0.3);
	animation: eml-pulse 2.2s infinite;
}
@keyframes eml-pulse {
	0% { box-shadow: 0 6px 18px rgba(37,211,102,0.5); }
	70% { box-shadow: 0 6px 18px rgba(37,211,102,0), 0 0 0 14px rgba(37,211,102,0); }
	100% { box-shadow: 0 6px 18px rgba(37,211,102,0.5); }
}

/* ---------- Modal de alta ---------- */
.eml-modal-overlay {
	position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 100000;
	display: flex; align-items: center; justify-content: center; padding: 20px;
	font-family: 'Poppins', sans-serif;
}
.eml-modal-box { background: #fff; border-radius: 16px; padding: 30px 26px; max-width: 400px; width: 100%; position: relative; }
.eml-modal-close { position: absolute; top: 12px; right: 14px; background: none; border: none; font-size: 24px; cursor: pointer; color: #888; }
.eml-modal-plan-name { color: var(--eml-gray); font-size: 13px; margin-top: -8px; margin-bottom: 16px; }
.eml-form-row { margin-bottom: 14px; }
.eml-form-row label { display: block; font-weight: 600; font-size: 13px; margin-bottom: 5px; }
.eml-form-row input {
	width: 100%; padding: 10px 12px; border: 1.5px solid #e2e2e6; border-radius: 8px;
	font-family: inherit; font-size: 14px;
}
.eml-form-row input:focus { outline: none; border-color: var(--eml-cyan); }
#eml-signup-submit { width: 100%; margin-top: 6px; }
.eml-modal-msg { text-align: center; font-size: 13px; margin-top: 10px; min-height: 18px; }

/* ---------- Móvil ---------- */
@media (max-width: 640px) {
	.eml-section { padding: 50px 18px; }
	.eml-landing h2 { font-size: 24px; margin-bottom: 28px; }
	.eml-final-cta { margin: 30px auto 0; padding: 44px 20px; }
}
