/*
 * Plantilla "Página Runa Pro" (template-runapro.php).
 *
 * Namespace propio (.runa-runapro), no importado de template-runago.css: mismo
 * patrón (DESIGN.md), pero cada plantilla es dueña de su CSS — así un ajuste
 * aquí no afecta las otras páginas. Los bloques internos (carrusel, panel,
 * zigzag, planes, FAQ...) traen su propio CSS desde runa_shortcodes.
 */

.runa-runapro {
	font-family: "Proxima Nova", sans-serif;
	color: var(--runa-ink);
	margin: 0;
	padding: 0;
	max-width: none;
}

.runa-runapro p.runa-runapro__desc,
.runa-runapro p.runa-runapro__hero-desc,
.runa-runapro h1,
.runa-runapro h2 {
	margin: 0;
}

.runa-runapro p.runa-runapro__desc {
	margin-top: 16px;
}

.runa-runapro__section {
	padding: 4rem 2rem;
}

.runa-runapro__inner {
	width: 100%;
	max-width: 1140px;
	margin: 0 auto;
}

.runa-runapro__stack {
	display: flex;
	flex-direction: column;
	gap: 48px;
}

.runa-runapro__block {
	width: 100%;
}

/* El carrusel de modulos y el panel van juntos: 48px en movil, 16px en
   escritorio. El stack ya no aporta gap. Mismos valores que
   template-producto.css: las dos secciones deben verse igual. */
.runa-runapro__modulos-group {
	display: flex;
	flex-direction: column;
	gap: 48px;
	width: 100%;
}

@media (min-width: 1025px) {
	.runa-runapro__modulos-group {
		gap: 16px;
	}
}

/* Botón pill (DESIGN.md §8), variante fondo oscuro: la sección --casos
   tiene fondo lavanda (#b9b2fb). Mismos valores que template-producto.css:
   el patrón se copia, no se importa. */
.runa-runapro a.runa-runapro__head-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 180px;
	margin-top: 24px;
	padding: 12px 24px;
	border: 1px solid #fff;
	border-radius: var(--runa-radius-pill, 999px);
	background: #fff;
	color: #332d5d;
	font-size: 14px;
	font-weight: 200;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	transition: background var(--runa-t-color, 0.2s), color var(--runa-t-color, 0.2s), border-color var(--runa-t-color, 0.2s);
}

.runa-runapro a.runa-runapro__head-cta:hover,
.runa-runapro a.runa-runapro__head-cta:focus {
	background: #332d5d;
	border-color: #332d5d;
	color: #fff;
}

/* ---------- Página protegida ---------- */

.runa-runapro__gate {
	padding: 6rem 2rem;
}

.runa-runapro__gate-title {
	margin-bottom: 24px;
	font-size: 40px;
	font-weight: 700;
	line-height: 1.2;
	color: var(--runa-ink);
}

.runa-runapro__gate input[type="password"] {
	min-width: 260px;
	padding: 12px 16px;
	border: 1px solid var(--runa-border);
	border-radius: var(--runa-radius-sm);
	font-size: 16px;
}

.runa-runapro__gate input[type="submit"] {
	margin-left: 8px;
	padding: 12px 24px;
	border: 1px solid var(--runa-accent-theme);
	border-radius: var(--runa-radius-pill);
	background: var(--runa-accent-theme);
	color: #fff;
	font-size: 14px;
	font-weight: 200;
	cursor: pointer;
}

/* ---------- Encabezado de sección ---------- */

.runa-runapro__head {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	width: 100%;
	margin: 0 auto;
}

.runa-runapro__eyebrow {
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--runa-accent-theme);
	text-align: center;
}

.runa-runapro__title {
	font-size: 40px;
	font-weight: 700;
	line-height: 1.2;
	color: var(--runa-ink);
}

.runa-runapro__desc {
	margin-top: 16px;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
	color: var(--runa-ink);
}

/* Mismo criterio que RunaGO: el subtítulo de Módulos no se limita en ancho. */
.runa-runapro__section--modulos .runa-runapro__desc {
	max-width: none;
}

.runa-runapro__eyebrow--solo-movil {
	display: none;
}

/* ---------- Hero ---------- */

.runa-runapro__section--hero {
	padding: 2rem 1rem 4rem;
}

.runa-runapro__hero {
	display: flex;
	flex-direction: row;
	align-items: stretch;
	gap: 20px;
}

.runa-runapro__hero-copy {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
	flex: 1 1 0;
	min-width: 0;
}

.runa-runapro__hero-heading {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.runa-runapro__hero-eyebrow {
	order: -1;
	font-size: 16px;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--runa-accent-theme);
}

/* Barra y parte media del eyebrow, con los valores de template-runago.css. */
.runa-runapro__hero-eyebrow-sep {
	display: inline-block;
	width: 1px;
	height: 14px;
	margin: 0 8px;
	background: currentColor;
	opacity: 0.4;
	vertical-align: -2px;
}

.runa-runapro__hero-eyebrow-light {
	font-weight: 500;
}

.runa-runapro__hero-title {
	font-size: 56px;
	font-weight: 700;
	line-height: 1;
	color: var(--runa-ink);
	text-wrap: auto;
}

.runa-runapro__hero-desc {
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
}

/* Después del CTA, anclados al fondo de la columna, a la misma altura
   que las reseñas de la columna derecha (.hero-ratings). */
.runa-runapro__hero-bullets {
	display: flex;
	gap: 16px 24px;
	margin: auto 0 0;
	padding: 0;
	list-style: none;
}

.runa-runapro__hero-bullets li {
	display: flex;
	align-items: center;
	gap: 5px;
	font-size: 10px;
	font-weight: 500;
	line-height: 1.2;
	color: var(--runa-accent-theme);
}

.runa-runapro__hero-check {
	display: inline-flex;
	flex-shrink: 0;
	width: 15px;
	height: 15px;
	color: var(--runa-accent-theme);
}

.runa-runapro__hero-check svg {
	width: 100%;
	height: 100%;
	fill: currentColor;
}

.runa-runapro__hero-ctas {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	width: 100%;
	margin: 10px 0;
}

/* Botón pill (DESIGN.md §8). Prefijado con el contenedor + tipo `a` para
   ganarle a `.elementor-kit-218466 a`, que si no pinta el texto de morado. */
.runa-runapro a.runa-runapro__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 180px;
	padding: 12px 24px;
	border: 1px solid var(--runa-accent-theme);
	border-radius: var(--runa-radius-pill);
	background: transparent;
	color: var(--runa-accent-theme);
	font-family: inherit;
	font-size: 14px;
	font-weight: 200;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	transition: background var(--runa-t-color), color var(--runa-t-color),
		border-color var(--runa-t-color);
}

.runa-runapro a.runa-runapro__btn:hover,
.runa-runapro a.runa-runapro__btn:focus {
	background: var(--runa-accent-theme);
	color: #fff;
	border-color: var(--runa-accent-theme);
	text-decoration: none;
}

.runa-runapro a.runa-runapro__btn--primario {
	background: #f5a623;
	border-color: #f5a623;
	color: #fff;
}

.runa-runapro a.runa-runapro__btn--primario:hover,
.runa-runapro a.runa-runapro__btn--primario:focus {
	background: var(--runa-accent-theme);
	color: #fff;
	border-color: var(--runa-accent-theme);
}

.runa-runapro__hero-media {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	flex: 1 1 0;
	min-width: 0;
}

/* Anclado al fondo de la columna, a la misma altura que .hero-bullets. */
.runa-runapro__hero-ratings {
	width: 100%;
	margin-top: auto;
}

.runa-runapro__hero-media img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: contain;
}

.runa-runapro__placeholder {
	width: 100%;
	aspect-ratio: 16 / 9;
	background-color: var(--runa-surface, #352c60);
	border-radius: var(--runa-radius-media, 18px);
}

/* ---------- Secciones ---------- */

.runa-runapro__section--logos {
	padding: 1rem;
	background: #f7f7f9;
}

.runa-runapro__section--modulos {
	padding: 4rem 1rem 6rem;
	background: #fff;
}

.runa-runapro__block--panel {
	max-width: 1000px;
	margin: 0 auto;
}

/*
 * El panel de plataforma usa la variante lateral tal cual la define el
 * componente: mismo estilo que RunaGO, solo cambia la cantidad de items.
 */

/* ---------- Industria ---------- */

.runa-runapro__section--industria {
	padding: 4rem 1rem 5rem;
	background: var(--runa-surface, #352c60);
}

.runa-runapro__section--industria .runa-runapro__title,
.runa-runapro__section--industria .runa-runapro__desc {
	color: #fff;
}

.runa-runapro__section--industria .runa-runapro__desc {
	max-width: 500px;
	opacity: 0.85;
}

.runa-runapro a.runa-runapro__btn--industria {
	margin-top: 24px;
	border-color: #fff;
	color: #fff;
}

.runa-runapro a.runa-runapro__btn--industria:hover,
.runa-runapro a.runa-runapro__btn--industria:focus {
	background: #fff;
	color: var(--runa-surface, #352c60);
	border-color: #fff;
}

/* ---------- Zigzag / planes / casos / faq ---------- */

.runa-runapro__section--zigzag {
	background: #fff;
}

.runa-runapro__section--zigzag-alt {
	background: #f7f7f9;
}

.runa-runapro__section--planes {
	padding: 4rem 1rem 5rem;
	background: #fff;
}

.runa-runapro__section--casos {
	padding: 4rem 1rem 5rem;
	background: #b9b2fb;
}

/* Reseñas: fuera del panel morado, sobre el fondo claro de la página. */
.runa-runapro__section--resenas {
	padding: 4rem 1rem 5rem;
	background: #f7f7f9;
}

.runa-runapro .runa-runapro__resenas-title {
	margin: 0;
	font-size: 40px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	color: var(--runa-ink);
}

.runa-runapro__faq {
	display: flex;
	flex-direction: row;
	gap: 20px;
}

.runa-runapro__faq-col {
	flex: 1 1 0;
	min-width: 0;
}

.runa-runapro__faq-title {
	font-size: 40px;
	font-weight: 700;
	line-height: 1.2;
	color: var(--runa-ink);
}

/* ---------- Tablet ---------- */

@media (max-width: 1024px) {
	.runa-runapro__hero {
		flex-direction: column;
		align-items: center;
	}

	.runa-runapro__hero-copy {
		width: 100%;
		flex-basis: auto;
	}

	/* En columna, el `flex: 1 1 0` del escritorio deja la media en alto 0
	   y el placeholder desaparece. */
	.runa-runapro__hero-media {
		max-width: 100%;
		flex: 0 0 auto;
		width: 100%;
	}

	.runa-runapro__eyebrow--solo-escritorio {
		display: none;
	}

	.runa-runapro__eyebrow--solo-movil {
		display: block;
	}
}

/* ---------- Móvil ---------- */

@media (max-width: 767px) {
	/* DESIGN.md §8: en móvil el pill crece y se centra. */
	.runa-runapro a.runa-runapro__head-cta {
		width: 100%;
		max-width: 180px;
		padding: 20px;
		font-size: 16px;
	}


	/* "MODULOS RUNA": mismo color y tamano que el eyebrow del panel
	   de plataforma, que lo sigue en la pagina. */
	.runa-runapro__eyebrow--solo-movil {
		font-size: 14px;
		color: var(--runa-ink, #352C60);
		padding-bottom: 20px;
	}

	.runa-runapro__section {
		padding: 4rem 1rem;
	}

	.runa-runapro__eyebrow {
		font-size: 13px;
	}

	.runa-runapro__title,
	.runa-runapro__hero-title {
		font-size: 36px;
	}

	.runa-runapro__desc {
		max-width: 350px;
	}

	.runa-runapro__section--modulos .runa-runapro__desc {
		max-width: none;
	}

	.runa-runapro__section--hero {
		margin-top: 13px;
		padding: 0 1rem 4rem;
	}

	.runa-runapro__hero-heading {
		gap: 0;
	}

	.runa-runapro__hero-eyebrow {
		font-size: 13px;
	}

	.runa-runapro .runa-runapro__resenas-title {
		font-size: 28px;
	}

	/* Apilados: uno debajo del otro, no en fila. */
	.runa-runapro__hero-bullets {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
		max-width: none;
	}

	.runa-runapro__hero-bullets li {
		font-size: 14px;
	}

	/* En movil los bullets van justo sobre el boton; el DOM los deja
	   debajo, asi que el CTA pasa al final. Mas espacio arriba y abajo
	   que en escritorio (mismo ajuste que RunaGO, Trello #555). */
	.runa-runapro__hero-ctas {
		order: 1;
		justify-content: center;
		margin: 28px 0 32px;
	}

	/* El CTA del hero no crece a todo el ancho como el resto de los
	   pills en movil; queda a 180px y centrado. */
	.runa-runapro .runa-runapro__hero-ctas a.runa-runapro__btn {
		max-width: 180px;
	}

	.runa-runapro a.runa-runapro__btn {
		width: 100%;
		padding: 20px;
		font-size: 16px;
	}

	/* Mismo criterio que el CTA del hero: no crece a todo el ancho en movil. */
	.runa-runapro a.runa-runapro__btn--industria {
		max-width: 180px;
	}

	.runa-runapro__section--logos {
		padding: 3rem 1rem;
	}

	.runa-runapro__block--quotes {
		margin-top: 32px;
	}

	.runa-runapro__faq {
		flex-direction: column;
	}

	.runa-runapro__faq-title {
		font-size: 30px;
	}
}
