/* =========================================================================
   Formaciones TFE - estilos de landings, ficha de producto y bloques.
   Se carga sólo en las landings TFE, en los productos vinculados y donde se
   usen los shortcodes. Mobile first. Tokens tomados de la paleta global de
   Árbol de Ser (Astra/Elementor): verdes #205b4f / #00635b / #53a292,
   menta #d9e8e5, arena #cba590, piedra #f6f5f4.
   ========================================================================= */

.tfe-landing {
	--tfe-green-900: #1a4a40;
	--tfe-green-800: #205b4f;
	--tfe-green-700: #00635b;
	--tfe-green-500: #53a292;
	--tfe-green-100: #d9e8e5;
	--tfe-green-50: #eef5f3;
	--tfe-sand: #cba590;
	--tfe-stone: #f6f5f4;
	--tfe-line: #e2e1df;
	--tfe-ink: #0f172a;
	--tfe-ink-soft: #374151;
	--tfe-muted: #6b7280;
	--tfe-white: #ffffff;
	--tfe-cta: #047857;
	--tfe-cta-hover: #036649;
	--tfe-whatsapp: #1f9d55;
	--tfe-radius: 16px;
	--tfe-radius-sm: 10px;
	--tfe-shadow: 0 10px 30px rgba(32, 91, 79, 0.10);
	--tfe-font-head: var(--e-global-typography-primary-font-family, "Poppins"), "Poppins", system-ui, sans-serif;
	--tfe-max: 1140px;
	--tfe-gutter: 16px;
	color: var(--tfe-ink-soft);
	line-height: 1.6;
	overflow-x: clip;
}

.tfe-landing *,
.tfe-landing *::before,
.tfe-landing *::after { box-sizing: border-box; }

.tfe-landing h1,
.tfe-landing h2,
.tfe-landing h3,
.tfe-landing h4 {
	font-family: var(--tfe-font-head);
	color: var(--tfe-green-800);
	line-height: 1.2;
	margin: 0 0 0.5em;
	overflow-wrap: anywhere;
}

.tfe-landing p { margin: 0 0 1em; }
.tfe-landing ul,
.tfe-landing ol { margin: 0; padding: 0; }
.tfe-landing img { max-width: 100%; height: auto; display: block; }
.tfe-landing a { color: var(--tfe-green-700); }
.tfe-landing a:hover { color: var(--tfe-green-900); }

.tfe-container {
	width: 100%;
	max-width: var(--tfe-max);
	margin: 0 auto;
	padding-left: var(--tfe-gutter);
	padding-right: var(--tfe-gutter);
}
.tfe-narrow { max-width: 820px; }

.tfe-section { padding: 56px 0; }
.tfe-section--tint { background: var(--tfe-stone); }
.tfe-section--dark { background: var(--tfe-green-800); color: #e6f0ee; }
.tfe-section--dark h2,
.tfe-section--dark h3 { color: var(--tfe-white); }

.tfe-eyebrow {
	font-family: var(--tfe-font-head);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--tfe-green-500);
	margin: 0 0 10px;
}
.tfe-eyebrow--light { color: var(--tfe-green-100); }

.tfe-section__title { font-size: clamp(26px, 4.5vw, 36px); font-weight: 600; }
.tfe-section__subtitle { font-size: 17px; max-width: 760px; margin-bottom: 28px; color: var(--tfe-ink-soft); }

.tfe-prose p { font-size: 17px; }
.tfe-prose--light p { color: #e6f0ee; }
.tfe-prose ul { padding-left: 20px; margin: 0 0 1em; }
.tfe-prose li { margin-bottom: 6px; }

/* ---------- Botones ---------- */
.tfe-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	padding: 12px 24px;
	border-radius: 999px;
	font-family: var(--tfe-font-head);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none !important;
	text-align: center;
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s, transform 0.15s, box-shadow 0.2s;
	border: 2px solid transparent;
}
.tfe-btn:active { transform: translateY(1px); }
.tfe-btn--primary { background: var(--tfe-cta); color: var(--tfe-white) !important; box-shadow: 0 8px 20px rgba(4, 120, 87, 0.25); }
.tfe-btn--primary:hover { background: var(--tfe-cta-hover); color: var(--tfe-white) !important; }
.tfe-btn--secondary { background: var(--tfe-white); color: var(--tfe-green-800) !important; border-color: var(--tfe-green-800); }
.tfe-btn--secondary:hover { background: var(--tfe-green-800); color: var(--tfe-white) !important; }
.tfe-btn--whatsapp { background: var(--tfe-white); color: var(--tfe-whatsapp) !important; border-color: rgba(31, 157, 85, 0.35); }
.tfe-btn--whatsapp:hover { background: var(--tfe-whatsapp); color: var(--tfe-white) !important; border-color: var(--tfe-whatsapp); }
.tfe-btn--onDark { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25); }
.tfe-btn--lg { min-height: 54px; padding: 14px 28px; font-size: 17px; }
.tfe-btn--sm { min-height: 44px; padding: 10px 18px; font-size: 15px; }
.tfe-btn--block { width: 100%; }
.tfe-btn__icon { flex: 0 0 auto; }

.tfe-link { font-weight: 600; text-decoration: none; }
.tfe-link--light { color: var(--tfe-green-100) !important; }
.tfe-link--light:hover { color: var(--tfe-white) !important; }

/* ---------- Aviso de fase ---------- */
.tfe-aviso {
	display: inline-block;
	font-size: 14px;
	font-weight: 600;
	color: var(--tfe-green-700);
}
.tfe-aviso--ultimas_plazas { color: #b45309; }
.tfe-aviso--cerrado { color: var(--tfe-muted); }
.tfe-section--dark .tfe-aviso { color: var(--tfe-green-100); }

/* ---------- Hero ---------- */
.tfe-hero { padding: 36px 0 44px; background: linear-gradient(180deg, var(--tfe-green-50) 0%, var(--tfe-white) 100%); }
.tfe-hero__grid { display: grid; gap: 28px; }
.tfe-hero__title { font-size: clamp(28px, 5.5vw, 44px); font-weight: 700; color: var(--tfe-green-800); }
.tfe-hero__claim { font-family: var(--tfe-font-head); font-size: clamp(19px, 3vw, 24px); font-weight: 500; color: var(--tfe-ink); margin-bottom: 18px; }
.tfe-hero__meta { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 20px; }
.tfe-hero__chip {
	font-family: var(--tfe-font-head);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
	padding: 7px 12px;
	border-radius: 999px;
	background: var(--tfe-white);
	border: 1px solid var(--tfe-line);
	color: var(--tfe-green-800);
}
.tfe-hero__chip--date { background: var(--tfe-green-800); color: var(--tfe-white); border-color: var(--tfe-green-800); }
.tfe-hero__chip--soft { background: var(--tfe-green-100); border-color: var(--tfe-green-100); }
.tfe-hero__intro { font-size: 17px; }
.tfe-hero__list { list-style: none; margin: 0 0 16px; display: grid; gap: 10px; }
.tfe-hero__list li { position: relative; padding-left: 26px; font-size: 16px; }
.tfe-hero__list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 7px;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: var(--tfe-green-500);
	box-shadow: inset 0 0 0 4px var(--tfe-green-100);
}
.tfe-hero__closing { font-size: 16px; color: var(--tfe-ink); }
.tfe-hero__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: 18px 0 14px; }
.tfe-hero__price-main { font-family: var(--tfe-font-head); font-size: 34px; font-weight: 700; color: var(--tfe-green-800); line-height: 1; }
.tfe-hero__price-label { font-size: 14px; font-weight: 600; color: var(--tfe-green-700); }
.tfe-hero__price-general { font-size: 14px; color: var(--tfe-muted); flex-basis: 100%; }
.tfe-hero__cta { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
.tfe-hero__note { font-size: 14px; color: var(--tfe-muted); margin-bottom: 4px; }
.tfe-hero__fase { margin: 0; }

.tfe-hero__media { align-self: start; }
.tfe-hero__media--photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--tfe-radius); box-shadow: var(--tfe-shadow); }
.tfe-hero__media-caption { font-size: 13px; color: var(--tfe-muted); margin: 10px 0 0; text-align: center; }

/* Vídeo (fachada ligera, iframe sólo al hacer clic) */
.tfe-video {
	position: relative;
	aspect-ratio: 16 / 9;
	border-radius: var(--tfe-radius);
	overflow: hidden;
	background: var(--tfe-green-900);
	box-shadow: var(--tfe-shadow);
	cursor: pointer;
}
.tfe-video__poster { width: 100%; height: 100%; object-fit: cover; }
.tfe-video__play {
	position: absolute;
	inset: 0;
	margin: auto;
	width: 72px;
	height: 72px;
	border-radius: 50%;
	border: 0;
	background: rgba(255, 255, 255, 0.92);
	color: var(--tfe-green-800);
	display: grid;
	place-items: center;
	cursor: pointer;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
	transition: transform 0.15s;
}
.tfe-video:hover .tfe-video__play { transform: scale(1.06); }
.tfe-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Datos rápidos ---------- */
.tfe-datos { padding: 0 0 8px; }
.tfe-datos__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 10px;
	margin: 0;
	background: var(--tfe-white);
	border: 1px solid var(--tfe-line);
	border-radius: var(--tfe-radius);
	padding: 14px;
	box-shadow: var(--tfe-shadow);
}
.tfe-datos__item { padding: 8px 6px; }
.tfe-datos__item dt { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--tfe-muted); font-weight: 700; margin-bottom: 4px; }
.tfe-datos__item dd { margin: 0; font-family: var(--tfe-font-head); font-weight: 600; color: var(--tfe-green-800); font-size: 15px; }

/* ---------- Tarjetas ---------- */
.tfe-cards { display: grid; gap: 16px; }
.tfe-card {
	background: var(--tfe-white);
	border: 1px solid var(--tfe-line);
	border-radius: var(--tfe-radius);
	padding: 22px 20px;
	box-shadow: 0 4px 14px rgba(32, 91, 79, 0.06);
}
.tfe-card__num { font-family: var(--tfe-font-head); font-size: 13px; font-weight: 700; color: var(--tfe-green-500); letter-spacing: 0.1em; }
.tfe-card__title { font-size: 18px; margin: 6px 0 8px; }
.tfe-card__text { margin: 0; font-size: 15px; }

/* ---------- Programa ---------- */
.tfe-programa__grupos { display: grid; gap: 28px; }
.tfe-programa__grupo-title {
	font-size: 15px;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--tfe-green-500);
	padding-bottom: 8px;
	border-bottom: 2px solid var(--tfe-green-100);
	margin-bottom: 14px;
}
.tfe-programa__list { list-style: none; display: grid; gap: 12px; }
.tfe-programa__item {
	display: grid;
	grid-template-columns: 40px 1fr;
	gap: 14px;
	align-items: start;
	background: var(--tfe-white);
	border: 1px solid var(--tfe-line);
	border-radius: var(--tfe-radius-sm);
	padding: 16px;
}
.tfe-programa__num {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--tfe-green-800);
	color: var(--tfe-white);
	font-family: var(--tfe-font-head);
	font-weight: 700;
	display: grid;
	place-items: center;
}
.tfe-programa__item-title { font-size: 17px; margin-bottom: 4px; }
.tfe-programa__item-text { margin: 0; font-size: 15px; }
.tfe-programa__daily { margin-top: 32px; background: var(--tfe-green-50); border-radius: var(--tfe-radius); padding: 22px 20px; }
.tfe-programa__daily-title { font-size: 18px; }

.tfe-checklist { list-style: none; display: grid; gap: 10px; }
.tfe-checklist li { position: relative; padding-left: 30px; font-size: 16px; }
.tfe-checklist li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 3px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--tfe-green-500);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23000'/%3E%3Cpath d='M7 12.5l3 3 7-7' stroke='%23fff' stroke-width='2.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23000'/%3E%3Cpath d='M7 12.5l3 3 7-7' stroke='%23fff' stroke-width='2.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.tfe-checklist--lg li { font-size: 17px; padding-left: 34px; }

/* ---------- Metodología ---------- */
.tfe-metodologia__grid { list-style: none; display: grid; gap: 14px; }
.tfe-metodologia__item { background: var(--tfe-white); border-radius: var(--tfe-radius-sm); padding: 18px; border-left: 4px solid var(--tfe-green-500); }
.tfe-metodologia__item h3 { font-size: 17px; margin-bottom: 4px; }
.tfe-metodologia__item p { margin: 0; font-size: 15px; }

/* ---------- Itinerario ---------- */
.tfe-itinerario__steps { list-style: none; display: grid; gap: 0; counter-reset: none; }
.tfe-itinerario__step { display: grid; grid-template-columns: 44px 1fr; gap: 16px; position: relative; padding-bottom: 28px; }
.tfe-itinerario__step:not(:last-child)::before {
	content: "";
	position: absolute;
	left: 21px;
	top: 44px;
	bottom: 0;
	width: 2px;
	background: var(--tfe-green-100);
}
.tfe-itinerario__step:not(:last-child)::after {
	content: "";
	position: absolute;
	left: 15px;
	bottom: 6px;
	width: 10px;
	height: 10px;
	border-right: 2px solid var(--tfe-green-500);
	border-bottom: 2px solid var(--tfe-green-500);
	transform: rotate(45deg);
}
.tfe-itinerario__badge {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	font-family: var(--tfe-font-head);
	font-weight: 700;
	background: var(--tfe-green-100);
	color: var(--tfe-green-800);
}
.tfe-itinerario__step.is-current .tfe-itinerario__badge { background: var(--tfe-green-800); color: var(--tfe-white); }
.tfe-itinerario__body { background: var(--tfe-white); border: 1px solid var(--tfe-line); border-radius: var(--tfe-radius-sm); padding: 16px 18px; }
.tfe-itinerario__step.is-current .tfe-itinerario__body { border-color: var(--tfe-green-500); box-shadow: var(--tfe-shadow); }
.tfe-itinerario__title { font-size: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.tfe-itinerario__title a { text-decoration: none; }
.tfe-itinerario__current { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; background: var(--tfe-sand); color: var(--tfe-white); padding: 3px 8px; border-radius: 999px; }
.tfe-itinerario__body p { margin: 0; font-size: 15px; }
.tfe-itinerario__meta { margin-top: 6px !important; font-size: 13px !important; color: var(--tfe-muted); }
.tfe-itinerario__nota { font-size: 14px; color: var(--tfe-muted); margin: 8px 0 0; }

/* ---------- Formador ---------- */
.tfe-formador__grid { display: grid; gap: 28px; }
.tfe-formador__photo { width: 100%; max-width: 360px; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--tfe-radius); border: 6px solid rgba(255, 255, 255, 0.08); }
.tfe-formador__role { font-family: var(--tfe-font-head); font-size: 15px; font-weight: 600; color: var(--tfe-green-100); margin-bottom: 18px; }

.tfe-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.tfe-tags li { font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--tfe-green-100); color: var(--tfe-green-800); }
.tfe-tags--center { justify-content: center; }
.tfe-tags--light li,
.tfe-section--dark .tfe-tags li { background: rgba(255, 255, 255, 0.12); color: var(--tfe-white); }

/* ---------- Precio ---------- */
.tfe-precio__wrap { display: grid; gap: 20px; }
.tfe-precio__card {
	background: var(--tfe-white);
	border-radius: var(--tfe-radius);
	border: 1px solid var(--tfe-line);
	box-shadow: var(--tfe-shadow);
	padding: 26px 22px;
}
.tfe-precio__tag { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--tfe-green-500); margin-bottom: 12px; }
.tfe-precio__main { display: grid; gap: 4px; margin-bottom: 20px; }
.tfe-precio__amount { font-family: var(--tfe-font-head); font-size: 48px; font-weight: 700; color: var(--tfe-green-800); line-height: 1; }
.tfe-precio__label { font-weight: 600; color: var(--tfe-green-700); }
.tfe-precio__general { font-size: 14px; color: var(--tfe-muted); }
.tfe-precio__promos { border-top: 1px solid var(--tfe-line); padding-top: 18px; margin-bottom: 18px; }
.tfe-precio__promos-title { font-size: 15px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--tfe-muted); }
.tfe-precio__promo-list { list-style: none; display: grid; gap: 10px; margin-bottom: 14px; }
.tfe-precio__promo-list li { display: grid; gap: 2px; padding-left: 26px; position: relative; font-size: 15px; }
.tfe-precio__promo-list li::before { content: ""; position: absolute; left: 0; top: 5px; width: 14px; height: 14px; border-radius: 50%; background: var(--tfe-green-500); }
.tfe-precio__promo-list li.is-over { color: var(--tfe-muted); }
.tfe-precio__promo-list li.is-over::before { background: var(--tfe-line); }
.tfe-precio__stack { background: var(--tfe-green-50); border-radius: var(--tfe-radius-sm); padding: 12px 14px; font-size: 15px; margin-bottom: 8px; }
.tfe-precio__small { font-size: 13px; color: var(--tfe-muted); margin: 8px 0 0; }
.tfe-precio__cta .tfe-aviso { display: block; text-align: center; margin: 10px 0 0; }
.tfe-precio__details-title { font-size: 18px; }
.tfe-precio__list { list-style: none; display: grid; gap: 10px; }
.tfe-precio__list li { position: relative; padding-left: 20px; font-size: 15px; }
.tfe-precio__list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--tfe-sand); }
.tfe-precio__cop { margin-top: 20px; padding: 16px; border: 1px dashed var(--tfe-line); border-radius: var(--tfe-radius-sm); background: var(--tfe-white); }
.tfe-precio__cop h4 { font-size: 15px; margin-bottom: 6px; }
.tfe-precio__cop p { margin: 0; font-size: 14px; color: var(--tfe-muted); }

/* ---------- Continuidad (Nivel 1 -> Nivel 2) ---------- */
.tfe-continuidad { padding-top: 24px; }
.tfe-continuidad__box {
	background: var(--tfe-white);
	border: 1px solid var(--tfe-green-100);
	border-left: 6px solid var(--tfe-green-500);
	border-radius: var(--tfe-radius);
	padding: 24px 22px;
}
.tfe-continuidad__title { font-size: clamp(20px, 3.5vw, 26px); }
.tfe-continuidad__text { font-size: 16px; }
.tfe-continuidad__meta { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 15px; margin-bottom: 18px; color: var(--tfe-ink); }
.tfe-continuidad__meta li:not(:first-child)::before { content: "· "; color: var(--tfe-green-500); }
.tfe-continuidad__meta li:first-child { flex-basis: 100%; }

/* ---------- Testimonios ---------- */
.tfe-quote { margin: 0; background: var(--tfe-stone); border-radius: var(--tfe-radius); padding: 26px 22px; position: relative; }
.tfe-quote::before { content: "\201C"; position: absolute; top: 4px; left: 16px; font-family: Georgia, serif; font-size: 72px; line-height: 1; color: var(--tfe-green-100); }
.tfe-quote blockquote { margin: 0; border: 0; padding: 0; }
.tfe-quote blockquote p { font-size: 16px; font-style: italic; position: relative; }
.tfe-quote figcaption { display: grid; font-size: 14px; }
.tfe-quote figcaption strong { color: var(--tfe-green-800); }
.tfe-quote figcaption span { color: var(--tfe-muted); }

/* ---------- FAQ ---------- */
.tfe-faq__list { display: grid; gap: 0; border-top: 1px solid var(--tfe-line); }
.tfe-faq__item { border-bottom: 1px solid var(--tfe-line); }
.tfe-faq__q {
	list-style: none;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	padding: 16px 0;
	font-family: var(--tfe-font-head);
	font-size: 16px;
	font-weight: 600;
	color: var(--tfe-ink);
}
.tfe-faq__q::-webkit-details-marker { display: none; }
.tfe-faq__icon { flex: 0 0 24px; width: 24px; height: 24px; position: relative; }
.tfe-faq__icon::before,
.tfe-faq__icon::after { content: ""; position: absolute; background: var(--tfe-green-700); left: 50%; top: 50%; transform: translate(-50%, -50%); transition: transform 0.2s; }
.tfe-faq__icon::before { width: 14px; height: 2px; }
.tfe-faq__icon::after { width: 2px; height: 14px; }
.tfe-faq__item[open] .tfe-faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.tfe-faq__a { padding: 0 0 18px; font-size: 15px; }
.tfe-faq__a p:last-child { margin-bottom: 0; }

/* ---------- Micro CTA ---------- */
.tfe-microcta { padding-top: 0; }
.tfe-microcta__box {
	display: grid;
	gap: 16px;
	background: var(--tfe-green-50);
	border: 1px solid var(--tfe-green-100);
	border-radius: var(--tfe-radius);
	padding: 24px 22px;
	align-items: center;
}
.tfe-microcta__title { font-size: 20px; margin-bottom: 4px; }
.tfe-microcta__text { margin: 0; font-size: 15px; }

/* ---------- CTA final ---------- */
.tfe-bigcta__wrap { text-align: center; }
.tfe-bigcta__title { font-size: clamp(26px, 4.5vw, 38px); }
.tfe-bigcta__text { font-size: 17px; max-width: 720px; margin: 0 auto 22px; color: #e6f0ee; }
.tfe-bigcta .tfe-tags { justify-content: center; }
.tfe-bigcta__price { display: grid; gap: 4px; margin: 10px 0 22px; }
.tfe-bigcta__amount { font-family: var(--tfe-font-head); font-size: 40px; font-weight: 700; color: var(--tfe-white); line-height: 1; }
.tfe-bigcta__price-note { font-size: 14px; color: var(--tfe-green-100); }
.tfe-bigcta__cta { display: flex; flex-direction: column; gap: 10px; align-items: stretch; max-width: 420px; margin: 0 auto 12px; }
.tfe-bigcta__cta .tfe-btn--whatsapp { background: transparent; color: var(--tfe-white) !important; border-color: rgba(255, 255, 255, 0.5); }
.tfe-bigcta__cta .tfe-btn--whatsapp:hover { background: var(--tfe-whatsapp); border-color: var(--tfe-whatsapp); }
.tfe-bigcta__note { font-size: 14px; color: var(--tfe-green-100); margin: 0; }

/* ---------- Sticky CTA (móvil) ---------- */
.tfe-sticky {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 998;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px var(--tfe-gutter) calc(10px + env(safe-area-inset-bottom));
	background: rgba(255, 255, 255, 0.96);
	backdrop-filter: blur(8px);
	border-top: 1px solid var(--tfe-line);
	box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.08);
	transform: translateY(100%);
	transition: transform 0.25s ease;
}
.tfe-sticky[hidden] { display: none; }
.tfe-sticky.is-visible { transform: translateY(0); }
.tfe-sticky__info { display: grid; line-height: 1.2; min-width: 0; }
.tfe-sticky__name { font-size: 12px; color: var(--tfe-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tfe-sticky__price { font-family: var(--tfe-font-head); font-weight: 700; color: var(--tfe-green-800); font-size: 17px; }
.tfe-sticky__price small { font-size: 12px; font-weight: 500; color: var(--tfe-muted); }
.tfe-sticky .tfe-btn { flex: 0 0 auto; }
body.tfe-sticky-visible { padding-bottom: 76px; }

/* ---------- Fase cerrada ---------- */
.tfe-fase--cerrado .tfe-hero__price-main,
.tfe-fase--cerrado .tfe-precio__amount { opacity: 0.55; }

/* ---------- Ficha de producto WooCommerce ---------- */
.tfe-wc-early-note { display: block; font-size: 14px; color: #047857; font-weight: 600; margin-top: 6px; }
.tfe-wc-convocatoria { background: #f6f5f4; border-radius: 12px; padding: 16px 18px; margin: 0 0 18px; }
.tfe-wc-convocatoria__list { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 6px; font-size: 15px; }
.tfe-wc-convocatoria__link { margin: 0; font-size: 14px; }
.tfe-wc-convocatoria__link a { font-weight: 600; }

/* ---------- Tablet / escritorio ---------- */
@media (min-width: 640px) {
	.tfe-hero__cta { flex-direction: row; flex-wrap: wrap; }
	.tfe-datos__grid { grid-template-columns: repeat(5, 1fr); }
	.tfe-cards--3,
	.tfe-cards--4 { grid-template-columns: repeat(2, 1fr); }
	.tfe-metodologia__grid { grid-template-columns: repeat(2, 1fr); }
	.tfe-bigcta__cta { flex-direction: row; justify-content: center; max-width: none; }
	.tfe-microcta__box { grid-template-columns: 1fr auto; }
}

@media (min-width: 900px) {
	.tfe-landing { --tfe-gutter: 24px; }
	.tfe-section { padding: 80px 0; }
	.tfe-hero { padding: 56px 0 64px; }
	.tfe-hero__grid--media { grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 48px; }
	.tfe-cards--3 { grid-template-columns: repeat(3, 1fr); }
	.tfe-cards--4 { grid-template-columns: repeat(4, 1fr); }
	.tfe-metodologia__grid { grid-template-columns: repeat(3, 1fr); }
	.tfe-programa__list { grid-template-columns: repeat(2, 1fr); }
	.tfe-precio__wrap { grid-template-columns: 1.1fr 0.9fr; align-items: start; gap: 32px; }
	.tfe-formador__grid { grid-template-columns: 360px 1fr; align-items: center; gap: 48px; }
	.tfe-itinerario__steps { grid-template-columns: repeat(3, 1fr); gap: 24px; }
	.tfe-itinerario__step { grid-template-columns: 1fr; padding-bottom: 0; }
	.tfe-itinerario__step:not(:last-child)::before { left: auto; right: -24px; top: 22px; bottom: auto; width: 24px; height: 2px; }
	.tfe-itinerario__step:not(:last-child)::after { left: auto; right: -14px; top: 17px; bottom: auto; transform: rotate(-45deg); }
	.tfe-itinerario__badge { margin-bottom: 12px; }
	.tfe-sticky { display: none !important; }
	body.tfe-sticky-visible { padding-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
	.tfe-landing *,
	.tfe-sticky { transition: none !important; }
}
