/*
 * MOMENTUM-ADAPTIVE-WP-01 — SMQuantum Momentum Adaptive product page.
 * Governed by docs/seo/page-contracts/SEO_PAGE_CONTRACT_MOMENTUM_ADAPTIVE_V1.md (frozen).
 * Reuses the shared, sitewide `.smq-course-*` primitives already established by
 * course-amibroker.css/course-pairs.css (hero shell, section rhythm, evidence frame, price panel,
 * FAQ pattern) -- those are DS-002 page-level components, loaded globally by functions.php, and are
 * NOT redefined here. This file adds only the new, Momentum-specific classes (`.smq-momentum-*`)
 * needed to give this product its own identity around RANKING / ROTATION / EXPOSURE / ADAPTATION,
 * per instruction not to clone the course pages. Same overflow-safe grid discipline
 * (minmax(0, Nfr) + min-width: 0) applied from the outset, since a large evidence image
 * (1545x1960, the same asset already used on Home) is reused directly on this page and a
 * near-identical overflow bug was already found and fixed once on Home
 * (see docs/website-production/WP01D5_IMPLEMENTATION.md).
 */

/* ================= HERO — ranking/rotation motif ================= */
.smq-momentum-motif {
	flex: none;
	width: 32px;
	height: 16px;
}

/* ================= HERO — native product visual (WP01R1) =================
   Replaces the reused backtest chart in the Hero (it now appears exactly once, in "Resultados
   históricos") with a purely conceptual, native HTML/CSS/SVG composition: illustrative ranking
   bars (arbitrary relative lengths -- not real weights or scores) and an abstract exposure gauge.
   No real metric, no proprietary threshold, no fabricated performance. */
.smq-momentum-hero-visual {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: var(--smq-space-5);
	padding: var(--smq-space-6) var(--smq-space-5);
	aspect-ratio: 993 / 747;
	background: var(--smq-navy-900);
	overflow: hidden;
}
.smq-momentum-hero-visual-signature {
	position: absolute;
	bottom: -30px;
	right: -30px;
	width: 160px;
	height: 160px;
	opacity: 0.08;
	pointer-events: none;
}
.smq-momentum-hero-visual-label {
	font-family: var(--smq-font-mono);
	font-size: 0.64rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--smq-gray-400);
	margin: 0 0 var(--smq-space-3);
	position: relative;
	z-index: 1;
}
.smq-momentum-hero-rank {
	position: relative;
	z-index: 1;
}
.smq-momentum-hero-rank-row {
	display: flex;
	align-items: center;
	gap: var(--smq-space-2);
	margin-bottom: var(--smq-space-2);
}
.smq-momentum-hero-rank-index {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.18);
	color: var(--smq-white);
	font-family: var(--smq-font-mono);
	font-size: 0.6rem;
	font-weight: 700;
}
.smq-momentum-hero-rank-track {
	flex: 1;
	min-width: 0;
	height: 8px;
	background: rgba(255, 255, 255, 0.08);
	border-radius: 999px;
	overflow: hidden;
}
.smq-momentum-hero-rank-bar {
	display: block;
	height: 100%;
	background: var(--smq-blue-brand);
	border-radius: 999px;
}
.smq-momentum-hero-divider {
	height: 1px;
	background: rgba(255, 255, 255, 0.12);
	position: relative;
	z-index: 1;
}
.smq-momentum-hero-exposure {
	position: relative;
	z-index: 1;
}
.smq-momentum-hero-exposure-track {
	height: 10px;
	background: rgba(255, 255, 255, 0.08);
	border-radius: 999px;
	overflow: hidden;
}
.smq-momentum-hero-exposure-fill {
	display: block;
	height: 100%;
	width: 60%;
	background: linear-gradient(90deg, var(--smq-blue-brand), var(--smq-blue-interactive));
	border-radius: 999px;
}
.smq-momentum-hero-exposure-caption {
	margin: var(--smq-space-3) 0 0;
	font-family: var(--smq-font-text);
	font-size: 0.78rem;
	color: var(--smq-gray-400);
}

/* ================= QUÉ ES / PROCESO — shared intro rhythm ================= */
.smq-momentum-relation {
	display: flex;
	flex-wrap: wrap;
	gap: var(--smq-space-2);
	margin-top: var(--smq-space-4);
}
.smq-momentum-tag {
	font-family: var(--smq-font-mono);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--smq-navy-950);
	background: var(--smq-gray-50);
	border: 1px solid var(--smq-gray-200);
	border-radius: 999px;
	padding: var(--smq-space-2) var(--smq-space-3);
}

/* ================= PROCESO ADAPTATIVO — ciclo nativo (WP01R1: refuerzo visual del ciclo) =================
   The 6 steps stay a single, responsive-proven flex row (unchanged from WP-01). What changes is
   the addition of a decorative connecting arc directly beneath the row -- a single, robust SVG
   element (not per-step positioned connectors) that visually reads as "the flow loops back from
   the last step to the first", reinforcing the cycle without any new interactive/animated
   behaviour. */
.smq-momentum-cycle {
	position: relative;
	margin-top: var(--smq-space-6);
	padding: var(--smq-space-5);
	background: var(--smq-white);
	border: 1px solid var(--smq-gray-200);
	border-radius: 4px;
}
.smq-momentum-cycle-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--smq-space-2);
}
.smq-momentum-cycle-arc {
	display: block;
	width: 100%;
	height: 20px;
	margin: var(--smq-space-2) 0 0;
	opacity: 0.55;
}
.smq-momentum-cycle-step {
	min-width: 0;
	display: flex;
	align-items: center;
	gap: var(--smq-space-2);
	font-family: var(--smq-font-text);
	font-weight: 600;
	font-size: 0.82rem;
	color: var(--smq-navy-950);
	background: var(--smq-gray-50);
	border: 1px solid var(--smq-gray-200);
	border-radius: 999px;
	padding: var(--smq-space-2) var(--smq-space-4);
	white-space: nowrap;
}
.smq-momentum-cycle-index {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--smq-navy-950);
	color: var(--smq-white);
	font-family: var(--smq-font-mono);
	font-size: 0.62rem;
	font-weight: 700;
	flex: none;
}
.smq-momentum-cycle-step:not(:last-child)::after {
	content: "→";
	margin-left: var(--smq-space-2);
	color: var(--smq-blue-brand);
}
.smq-momentum-cycle-loop {
	display: flex;
	align-items: center;
	gap: var(--smq-space-2);
	font-family: var(--smq-font-mono);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--smq-blue-brand);
	white-space: nowrap;
}
.smq-momentum-cycle-loop svg {
	width: 16px;
	height: 16px;
}
.smq-momentum-cycle-note {
	width: 100%;
	margin: var(--smq-space-3) 0 0;
	font-family: var(--smq-font-text);
	font-size: 0.82rem;
	color: var(--smq-gray-600);
}

/* ================= UNIVERSO ================= */
.smq-momentum-universe {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 2.6fr);
	gap: var(--smq-space-4);
	margin-top: var(--smq-space-5);
}
.smq-momentum-universe-primary {
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: var(--smq-space-2);
	padding: var(--smq-space-5);
	background: var(--smq-navy-950);
	border-radius: 4px;
	text-align: center;
}
.smq-momentum-universe-primary-label {
	font-family: var(--smq-font-mono);
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--smq-gray-400);
}
.smq-momentum-universe-primary-value {
	font-family: var(--smq-font-display);
	font-weight: 700;
	font-size: 1.15rem;
	color: var(--smq-white);
}
.smq-momentum-universe-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--smq-space-2);
}
.smq-momentum-universe-item {
	min-width: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: var(--smq-space-3) var(--smq-space-2);
	background: var(--smq-gray-50);
	border: 1px solid var(--smq-gray-200);
	border-radius: 4px;
	font-family: var(--smq-font-text);
	font-weight: 600;
	font-size: 0.82rem;
	color: var(--smq-navy-950);
}
.smq-momentum-universe-notes {
	grid-column: 1 / -1;
	display: flex;
	flex-wrap: wrap;
	gap: var(--smq-space-4);
	margin-top: var(--smq-space-2);
}
.smq-momentum-universe-notes p {
	min-width: 0;
	flex: 1 1 260px;
	font-family: var(--smq-font-text);
	font-size: 0.85rem;
	line-height: 1.55;
	color: var(--smq-gray-600);
	margin: 0;
}

/* ================= RESULTADOS HISTÓRICOS — evidencia (imagen alta, 1545x1960) =================
   Same asset, same overflow class of risk, already diagnosed and fixed once on Home
   (WP01D5_IMPLEMENTATION.md: a CSS Grid item's default min-width:auto computed from this image's
   large intrinsic size inflated the whole document's scrollWidth). min-width:0 is applied on every
   ancestor here from the outset, and the frame itself is capped the same way Home's was.
   WP01R1: cap raised 460px -> 560px and given its own grid column (paired with the primary
   metrics) so the evidence reads as the section's visual anchor instead of a small, centered
   image with a lot of surrounding empty space. */
.smq-momentum-results-panel {
	position: relative;
	margin-top: var(--smq-space-5);
	overflow: hidden;
}
.smq-momentum-results-signature {
	position: absolute;
	top: -24px;
	right: -24px;
	width: 150px;
	height: 150px;
	opacity: 0.06;
	pointer-events: none;
	z-index: 0;
}
.smq-momentum-results-grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	gap: var(--smq-space-6);
	align-items: center;
}
.smq-momentum-backtest-frame {
	width: 100%;
	max-width: 560px;
	margin-inline: auto;
	aspect-ratio: 1545 / 1960;
	background: var(--smq-white);
	border: 1px solid var(--smq-gray-200);
}
.smq-momentum-backtest-frame .smq-course-evidence-media {
	object-fit: contain;
}
.smq-momentum-results-side {
	min-width: 0;
}

/* ================= RESULTADOS HISTÓRICOS — jerarquía editorial ================= */
.smq-momentum-metrics-primary {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--smq-space-3);
	margin: 0;
}
.smq-momentum-metric-primary {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: var(--smq-space-4);
	background: var(--smq-white);
	border: 1px solid var(--smq-gray-200);
	border-top: 3px solid var(--smq-blue-brand);
	border-radius: 4px;
	text-align: center;
}
.smq-momentum-metric-primary-value {
	font-family: var(--smq-font-display);
	font-weight: 700;
	font-size: 1.5rem;
	color: var(--smq-navy-950);
}
.smq-momentum-metric-primary-label {
	font-family: var(--smq-font-mono);
	font-size: 0.66rem;
	font-weight: 500;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--smq-gray-600);
}
.smq-momentum-metrics-secondary {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--smq-space-2) var(--smq-space-4);
	margin-top: var(--smq-space-5);
	padding: var(--smq-space-4);
	background: var(--smq-gray-50);
	border: 1px solid var(--smq-gray-200);
	border-radius: 4px;
}
.smq-momentum-metric-secondary {
	min-width: 0;
	display: flex;
	justify-content: space-between;
	gap: var(--smq-space-2);
	font-family: var(--smq-font-text);
	font-size: 0.82rem;
}
.smq-momentum-metric-secondary-label {
	color: var(--smq-gray-600);
}
.smq-momentum-metric-secondary-value {
	font-weight: 700;
	color: var(--smq-navy-950);
}
.smq-momentum-backtest-disclaimer {
	position: relative;
	z-index: 1;
	margin-top: var(--smq-space-4);
	font-family: var(--smq-font-text);
	font-size: 0.82rem;
	line-height: 1.55;
	color: var(--smq-gray-600);
	max-width: 72ch;
}

/* ================= RIESGO Y EXPOSICIÓN ================= */
.smq-momentum-risk-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--smq-space-4);
	margin-top: var(--smq-space-5);
}
.smq-momentum-risk-item {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: var(--smq-space-2);
	padding: var(--smq-space-4);
	background: var(--smq-white);
	border: 1px solid var(--smq-gray-200);
	border-top: 3px solid var(--smq-blue-brand);
	border-radius: 4px;
}
/* WP01R1: the closing statement now reads as a smaller, secondary footnote (same treatment as the
   backtest disclaimer) instead of a full-weight lead paragraph, so the section communicates
   "risk-aware design" rather than a wall of equally-weighted warning text. No information removed. */
.smq-momentum-risk-note {
	margin-top: var(--smq-space-5);
	padding-top: var(--smq-space-4);
	border-top: 1px solid var(--smq-gray-200);
	font-family: var(--smq-font-text);
	font-size: 0.85rem;
	line-height: 1.55;
	color: var(--smq-gray-600);
	max-width: 72ch;
}
.smq-momentum-risk-icon {
	width: 24px;
	height: 24px;
	color: var(--smq-blue-brand);
}
.smq-momentum-risk-title {
	font-family: var(--smq-font-text);
	font-weight: 700;
	font-size: 0.92rem;
	color: var(--smq-navy-950);
	margin: 0;
}
.smq-momentum-risk-desc {
	font-family: var(--smq-font-text);
	font-size: 0.82rem;
	line-height: 1.5;
	color: var(--smq-gray-600);
	margin: 0;
}

/* ================= QUÉ RECIBE EL SUSCRIPTOR ================= */
.smq-momentum-delivery {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: var(--smq-space-5);
	margin-top: var(--smq-space-5);
}
/* WP01R1: restyled as a compact "monthly update" product card (navy, dot-indicator rows) instead
   of a plain checklist, so the Telegram channel reads as a tangible part of the product -- without
   copying Telegram's own UI (no bubbles, no app chrome, no invented screenshots/messages). */
.smq-momentum-delivery-card {
	padding: var(--smq-space-4) var(--smq-space-5);
	background: var(--smq-navy-950);
	border-radius: 4px;
}
.smq-momentum-delivery-card-label {
	font-family: var(--smq-font-mono);
	font-size: 0.64rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--smq-blue-brand);
	margin: 0 0 var(--smq-space-2);
}
.smq-momentum-delivery-list {
	margin: 0;
	padding: 0;
	list-style: none;
}
.smq-momentum-delivery-list li {
	display: flex;
	align-items: center;
	gap: var(--smq-space-3);
	font-family: var(--smq-font-text);
	font-size: 0.88rem;
	line-height: 1.5;
	color: var(--smq-white);
	padding: var(--smq-space-2) 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.smq-momentum-delivery-list li:last-child {
	border-bottom: none;
	padding-bottom: 0;
}
.smq-momentum-delivery-dot {
	flex: none;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--smq-blue-brand);
}
.smq-momentum-not-required {
	padding: var(--smq-space-4);
	background: var(--smq-gray-50);
	border: 1px solid var(--smq-gray-200);
	border-radius: 4px;
}
.smq-momentum-not-required-label {
	font-family: var(--smq-font-mono);
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--smq-gray-400);
	margin: 0 0 var(--smq-space-2);
}
.smq-momentum-not-required-items {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: var(--smq-space-2);
}
.smq-momentum-not-required-items li {
	font-family: var(--smq-font-text);
	font-size: 0.8rem;
	color: var(--smq-gray-600);
	background: var(--smq-white);
	border: 1px solid var(--smq-gray-200);
	border-radius: 999px;
	padding: 4px var(--smq-space-3);
}

/* ================= ALTA — proceso de 4 pasos ================= */
.smq-momentum-onboarding {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--smq-space-3);
	margin-top: var(--smq-space-5);
}
.smq-momentum-onboarding-step {
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: var(--smq-space-2);
	position: relative;
}
.smq-momentum-onboarding-index {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--smq-navy-950);
	color: var(--smq-white);
	font-family: var(--smq-font-mono);
	font-size: 0.78rem;
	font-weight: 600;
	flex: none;
}
.smq-momentum-onboarding-label {
	font-family: var(--smq-font-text);
	font-weight: 600;
	font-size: 0.8rem;
	color: var(--smq-navy-950);
	margin: 0;
}
.smq-momentum-onboarding-connector {
	position: absolute;
	top: 15px;
	left: calc(50% + 16px);
	width: calc(100% - 32px);
	height: 2px;
	background: repeating-linear-gradient(90deg, var(--smq-blue-brand) 0 4px, transparent 4px 8px);
}
/* Closed state (WEB-SEO-02-03-01): availability of a product that cannot be bought yet. The theme drops these
   lines when the plans open (inc/commerce.php, smq_theme_commerce_momentum_notes). */
.smq-momentum-availability {
	font-family: var(--smq-font-text);
	font-size: 0.95rem;
	line-height: 1.55;
	color: var(--smq-gray-200);
	margin: var(--smq-space-3) 0 0;
	max-width: 62ch;
}
.smq-momentum-availability strong {
	color: var(--smq-white);
	font-weight: 600;
}
.smq-momentum-plan-label {
	font-family: var(--smq-font-mono);
	font-size: 0.62rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--smq-gray-600);
	margin: 0;
}
.smq-momentum-onboarding-note {
	margin-top: var(--smq-space-4);
	font-family: var(--smq-font-text);
	font-size: 0.85rem;
	color: var(--smq-gray-600);
}

/* ================= PARA QUIÉN ES / NO ES ================= */
.smq-momentum-audience {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: var(--smq-space-5);
	margin-top: var(--smq-space-5);
}
.smq-momentum-audience-col {
	min-width: 0;
	padding: var(--smq-space-5);
	background: var(--smq-white);
	border: 1px solid var(--smq-gray-200);
	border-top: 3px solid var(--smq-gray-400);
	border-radius: 4px;
}
.smq-momentum-audience-col--positive {
	border-top-color: var(--smq-blue-brand);
}
.smq-momentum-audience-label {
	font-family: var(--smq-font-display);
	font-weight: 700;
	font-size: 1rem;
	color: var(--smq-navy-950);
	margin: 0 0 var(--smq-space-3);
}
.smq-momentum-audience-list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: var(--smq-space-2);
}
.smq-momentum-audience-list li {
	font-family: var(--smq-font-text);
	font-size: 0.9rem;
	line-height: 1.55;
	color: var(--smq-gray-600);
}

/* ================= PLANES ================= */
.smq-momentum-plans {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: var(--smq-space-5);
	margin-top: var(--smq-space-5);
}
.smq-momentum-plan {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: var(--smq-space-3);
	padding: var(--smq-space-5);
	background: var(--smq-white);
	border: 1px solid var(--smq-gray-200);
	border-top: 3px solid var(--smq-gray-200);
	border-radius: 4px;
}
/* Factual distinction only -- an accent color on the annual card's own top border, never a
   "BEST/POPULAR/RECOMMENDED" badge or label (explicitly prohibited). */
.smq-momentum-plan--annual {
	border-top-color: var(--smq-blue-brand);
}
.smq-momentum-plan-name {
	font-family: var(--smq-font-mono);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--smq-blue-brand);
	margin: 0;
}
.smq-momentum-plan-price {
	font-family: var(--smq-font-display);
	font-weight: 700;
	font-size: 2.1rem;
	color: var(--smq-navy-950);
	margin: 0;
}
.smq-momentum-plan-price-period {
	font-family: var(--smq-font-text);
	font-weight: 400;
	font-size: 0.9rem;
	color: var(--smq-gray-600);
}
/* Factual highlight (the annual plan's real monthly-equivalent + saving figures) -- a tinted
   callout, not a promotional badge; no "SALE"/"LIMITED"/discount language. */
.smq-momentum-plan-highlight {
	display: inline-block;
	font-family: var(--smq-font-mono);
	font-size: 0.76rem;
	font-weight: 600;
	line-height: 1.5;
	color: var(--smq-blue-brand);
	background: rgba(12, 126, 177, 0.08);
	border: 1px solid rgba(12, 126, 177, 0.2);
	border-radius: 4px;
	padding: var(--smq-space-2) var(--smq-space-3);
}
.smq-momentum-plan-features {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: var(--smq-space-2);
	flex: 1;
}
.smq-momentum-plan-features li {
	display: flex;
	align-items: flex-start;
	gap: var(--smq-space-2);
	font-family: var(--smq-font-text);
	font-size: 0.86rem;
	line-height: 1.5;
	color: var(--smq-gray-600);
}
.smq-momentum-plan-features svg {
	flex: none;
	width: 15px;
	height: 15px;
	color: var(--smq-blue-brand);
	margin-top: 3px;
}
/* Deliberately muted/outlined, not the vivid interactive-blue primary CTA style -- this button is
   NOT a working checkout. It must visually read as pending, never as a functional "Subscribe"
   action, per instruction ("nunca crear un checkout falso que parezca funcional"). */
.smq-momentum-plan-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	font-family: var(--smq-font-text);
	font-weight: 600;
	font-size: 0.9rem;
	color: var(--smq-gray-600);
	background: var(--smq-white);
	border: 1px dashed var(--smq-gray-400);
	border-radius: 4px;
	padding: var(--smq-space-3) var(--smq-space-4);
	text-decoration: none;
	cursor: default;
}
.smq-momentum-plan-cta-tag {
	font-family: var(--smq-font-mono);
	font-size: 0.62rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--smq-gray-600);
	margin-top: var(--smq-space-2);
}
/* WEB-V1-UX-CONTENT-FIX-01: information path under the plans, valid whether the sale is closed or open. */
.smq-momentum-plans-contact {
	font-family: var(--smq-font-text);
	font-size: 0.9rem;
	line-height: 1.5;
	color: var(--smq-gray-600);
	margin: var(--smq-space-4) 0 0;
}

/* ================= DOCUMENTO TÉCNICO ================= */
.smq-momentum-doc-card {
	display: flex;
	align-items: center;
	gap: var(--smq-space-4);
	margin-top: var(--smq-space-5);
	padding: var(--smq-space-4) var(--smq-space-5);
	background: var(--smq-gray-50);
	border: 1px solid var(--smq-gray-200);
	border-radius: 4px;
}
.smq-momentum-doc-icon {
	flex: none;
	width: 40px;
	height: 40px;
	color: var(--smq-blue-brand);
}
.smq-momentum-doc-text {
	min-width: 0;
}
.smq-momentum-doc-title {
	font-family: var(--smq-font-text);
	font-weight: 700;
	font-size: 0.95rem;
	color: var(--smq-navy-950);
	margin: 0 0 4px;
}
.smq-momentum-doc-desc {
	font-family: var(--smq-font-text);
	font-size: 0.84rem;
	color: var(--smq-gray-600);
	margin: 0;
}
/* DS-A11Y-01: the navy-band link primitive sits here on the gray-50 card (gray-200 text measured
   1.16:1). Light-surface treatment, same as .smq-hub-ecosystem: navy-950 text (17.9:1 on gray-50),
   blue-interactive-strong on hover/focus (4.74:1). Size, weight, spacing unchanged. */
.smq-momentum-doc-card .smq-course-cta-secondary {
	color: var(--smq-navy-950);
	border-bottom-color: var(--smq-gray-200);
}
.smq-momentum-doc-card .smq-course-cta-secondary:hover,
.smq-momentum-doc-card .smq-course-cta-secondary:focus-visible {
	color: var(--smq-blue-interactive-strong);
	border-color: var(--smq-blue-interactive-strong);
}

/* ================= Baseline responsive (WEB-014): 320 / 375 / 768 / 1024 / 1280 / 1440 ================= */
@media (max-width: 1024px) {
	.smq-momentum-metrics-secondary {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.smq-momentum-risk-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.smq-momentum-onboarding {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		row-gap: var(--smq-space-5);
	}
	.smq-momentum-onboarding-connector {
		display: none;
	}
	/* A single flat arc assumes the 6 steps still read as one row; once they wrap (tablet and
	   below) the arc no longer lines up with anything, so it is hidden -- the "Mensual" tag + note
	   text still communicate the monthly cycle without it. */
	.smq-momentum-cycle-arc {
		display: none;
	}
}
@media (max-width: 900px) {
	.smq-momentum-universe {
		grid-template-columns: 1fr;
	}
	.smq-momentum-delivery {
		grid-template-columns: 1fr;
	}
	.smq-momentum-results-grid {
		grid-template-columns: 1fr;
	}
	.smq-momentum-backtest-frame {
		max-width: 420px;
	}
}
@media (max-width: 768px) {
	.smq-momentum-universe-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.smq-momentum-audience {
		grid-template-columns: 1fr;
	}
	.smq-momentum-plans {
		grid-template-columns: 1fr;
	}
	.smq-momentum-onboarding {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.smq-momentum-onboarding-connector {
		display: none;
	}
}
@media (max-width: 480px) {
	.smq-momentum-metrics-primary,
	.smq-momentum-metrics-secondary,
	.smq-momentum-risk-grid {
		grid-template-columns: 1fr;
	}
	.smq-momentum-onboarding {
		grid-template-columns: 1fr;
	}
	.smq-momentum-cycle-step:not(:last-child)::after {
		display: none;
	}
	.smq-momentum-hero-visual {
		aspect-ratio: auto;
		padding: var(--smq-space-5) var(--smq-space-4);
	}
}
@media (max-width: 375px) {
	/* The shared `.smq-course-eyebrow` is `white-space: nowrap` by design (short labels like
	   "Formación · AmiBroker" fit at 320px). This page's own eyebrow ("Estrategias · Momentum
	   Adaptive") is a few characters longer and clips at the narrowest breakpoint -- scoped to
	   `.smq-momentum` only, so AmiBroker/Pairs keep their exact existing behavior. */
	.smq-momentum .smq-course-eyebrow {
		white-space: normal;
	}
}

/* ================= Reduced motion ================= */
@media (prefers-reduced-motion: reduce) {
	.smq-momentum-plan-cta,
	.smq-course-cta-primary,
	.smq-course-cta-secondary,
	.smq-course-faq-arrow,
	.smq-course-phase-summary-arrow {
		transition: none !important;
	}
}
