/*
 * Plantilla "Página Runa Enterprise" (template-enterprise.php).
 *
 * Namespace propio (.runa-enterprise), no importado de template-runago.css:
 * mismo patrón (DESIGN.md), pero cada plantilla es dueña de su CSS. Punto de
 * partida: reglas base copiadas de template-runago.css (head, hero, botón
 * pill, breakpoints) — el resto (plataforma, personalización, integraciones,
 * seguridad, tarjetas) es nuevo, propio de este mockup.
 */

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

.runa-enterprise p.runa-enterprise__desc,
.runa-enterprise p.runa-enterprise__hero-desc,
.runa-enterprise h1,
.runa-enterprise h2 {
	margin: 0;
}

.runa-enterprise p.runa-enterprise__desc {
	margin-top: 16px;
}

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

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

.runa-enterprise__stack {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
}

.runa-enterprise__block {
	width: 100%;
}

/* El carrusel de modulos y el panel van juntos: en movil `contents` los deja
   participar del stack con su gap; en escritorio se agrupan a 16px. */
/* ---------- Página protegida ---------- */

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

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

.runa-enterprise__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-enterprise__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-enterprise__head {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	width: 100%;
	max-width: 700px;
	margin: 0 auto;
}

.runa-enterprise__head--ancho {
	max-width: 900px;
}

.runa-enterprise__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-enterprise__title {
	font-size: 40px;
	font-weight: 700;
	line-height: 1.2;
	color: var(--runa-ink);
}

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

.runa-enterprise__head .runa-enterprise__btn {
	margin-top: 24px;
}

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

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

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

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

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

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

.runa-enterprise__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-enterprise__hero-eyebrow-sep {
	display: inline-block;
	width: 1px;
	height: 14px;
	margin: 0 8px;
	background: currentColor;
	opacity: 0.4;
	vertical-align: -2px;
}

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

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

.runa-enterprise__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-enterprise__hero-bullets {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 12px;
	margin: auto 0 0;
	padding: 0;
	list-style: none;
}

.runa-enterprise__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-enterprise__hero-check {
	display: inline-flex;
	flex-shrink: 0;
	width: 15px;
	height: 15px;
	color: var(--runa-accent-theme);
}

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

.runa-enterprise__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-enterprise a.runa-enterprise__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-enterprise a.runa-enterprise__btn:hover,
.runa-enterprise a.runa-enterprise__btn:focus {
	background: var(--runa-accent-theme);
	color: #fff;
	border-color: var(--runa-accent-theme);
	text-decoration: none;
}

.runa-enterprise a.runa-enterprise__btn--primario {
	background: #f5a623;
	border-color: #f5a623;
	color: #fff;
}

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

/* Botón contorno (usado en los CTA de cabecera y tarjetas). Sin relleno,
   min-width más chico que el pill del hero. */
.runa-enterprise__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-enterprise__hero-ratings {
	width: 100%;
	margin-top: auto;
}

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

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

.runa-enterprise__placeholder--ancho {
	aspect-ratio: 21 / 9;
}

/* Fondo claro: el placeholder por defecto (var(--runa-surface)) es del mismo
   morado que la sección seguridad y quedaría invisible sobre ese fondo. */
/* ---------- Secciones ---------- */

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

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

/* ---------- Plataforma incluida (fondo oscuro + tarjetas de plataforma) ---------- */

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

.runa-enterprise__plataforma-head {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0;
	text-align: center;
}

/* El encabezado se separa de las tarjetas mas que el resto de secciones. */
.runa-enterprise__section--plataforma .runa-enterprise__stack {
	gap: 48px;
}

.runa-enterprise__plataforma-eyebrow {
	font-size: 16px;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--runa-accent, #7D6EF2);
}

.runa-enterprise .runa-enterprise__plataforma-title {
	margin: 0 !important;
	font-size: 40px;
	font-weight: 700;
	line-height: 1.2;
	color: #fff;
}

.runa-enterprise .runa-enterprise__plataforma-desc {
	margin: 16px 0 !important;
	max-width: 640px;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
	color: rgb(255 255 255 / 85%);
}

/* Pill ghost blanco (DESIGN.md §8): el morado no contrasta sobre el fondo oscuro. */
.runa-enterprise a.runa-enterprise__plataforma-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 180px;
	margin-top: 12px;
	padding: 12px 24px;
	border: 1px solid #fff;
	border-radius: var(--runa-radius-pill, 999px);
	background: transparent;
	color: #fff;
	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-enterprise a.runa-enterprise__plataforma-cta:hover,
.runa-enterprise a.runa-enterprise__plataforma-cta:focus {
	background: var(--runa-accent, #7D6EF2);
	border-color: var(--runa-accent, #7D6EF2);
	color: #fff;
}

/* ---------- Personalización (carrusel de tarjetas + panel de operaciones) ---------- */

.runa-enterprise__section--personalizacion {
	padding: 4rem 1rem 5rem;
	background: #fff;
}

.runa-enterprise__section--personalizacion .runa-enterprise__stack {
	gap: 48px;
}

.runa-enterprise__head--centrado {
	align-items: center;
	text-align: center;
}

.runa-enterprise__head--centrado .runa-enterprise__desc {
	max-width: 640px;
}

/* Panel lila: título centrado y fila de items con ícono de documento. */
.runa-enterprise__ops {
	box-sizing: border-box;
	width: 100%;
	padding: 24px 28px;
	border-radius: var(--runa-radius-card, 16px);
	background: #E2E0FE;
	text-align: center;
}

.runa-enterprise .runa-enterprise__ops-title {
	margin: 0 0 18px !important;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--runa-accent, #7D6EF2);
}

.runa-enterprise__ops-items {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 16px 32px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.runa-enterprise__ops-items li {
	display: flex;
	align-items: center;
	gap: 10px;
	max-width: 180px;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.35;
	text-align: left;
	color: var(--runa-accent);
}

.runa-enterprise__ops-icon {
	flex: 0 0 auto;
	display: flex;
	width: 42px;
	height: 42px;
	color: var(--runa-accent, #7D6EF2);
}

.runa-enterprise__ops-icon svg,
.runa-enterprise__ops-icon img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

/* ---------- Integraciones ---------- */

.runa-enterprise__section--integraciones {
	background: #f7f7f9;
}

.runa-enterprise__section--integraciones .runa-enterprise__stack {
	gap: 48px;
}

/* ---------- Seguridad ---------- */

/* Fondo lila claro: el texto y el pill vuelven al morado tinta, que es la
   variante de DESIGN.md §8 para fondo claro. */
.runa-enterprise__section--seguridad {
	background: #afa9f6;
}

/* Sobre el lila el pill va en blanco solido; el hover lo pasa al morado accent. */
.runa-enterprise .runa-enterprise__section--seguridad a.runa-enterprise__btn {
	background: #fff;
	border-color: #fff;
	color: var(--runa-ink, #352c60);
}

.runa-enterprise .runa-enterprise__section--seguridad a.runa-enterprise__btn:hover,
.runa-enterprise .runa-enterprise__section--seguridad a.runa-enterprise__btn:focus {
	background: var(--runa-accent-theme);
	border-color: var(--runa-accent-theme);
	color: #fff;
}

/* Las tarjetas del carrusel se alinean con las del Trust Center: ícono
   circular oscuro, radio 12px y tipografía un punto mayor. Scopeado aquí
   porque [runa_productos_imagen_carousel] también lo usan las páginas de
   producto, que conservan su tamaño compacto. */
.runa-enterprise__section--seguridad .runa-productos-imagen-carousel__card {
	gap: 8px;
	align-items: center;
	padding: 16px;
	border-radius: 12px;
	text-align: center;
}

.runa-enterprise__section--seguridad .runa-productos-imagen-carousel__icon {
	background: #2a2560;
	border-radius: 50%;
}

.runa-enterprise__section--seguridad .runa-productos-imagen-carousel__icon img {
	width: 24px;
	height: 24px;
}

.runa-enterprise__section--seguridad .runa-productos-imagen-carousel .runa-productos-imagen-carousel__card-title {
	font-size: 16px;
	font-weight: 600;
	text-align: center;
}

.runa-enterprise__section--seguridad .runa-productos-imagen-carousel .runa-productos-imagen-carousel__card-text {
	font-size: 13px;
	text-align: center;
}

/* ---------- Tarjetas (seguridad + soporte) ---------- */

.runa-enterprise__cards-row {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	width: 100%;
}

.runa-enterprise__cards-row--soporte {
	grid-template-columns: repeat(5, 1fr);
}

.runa-enterprise__card {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 24px;
	background: #fff;
	border-radius: var(--runa-radius-lg, 24px);
}

/* Círculo de icono, variante compacta de DESIGN.md §8. */
.runa-enterprise__card-icon {
	box-sizing: border-box;
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	margin-bottom: 8px;
	padding: 12px;
	border-radius: 50%;
	background: #3B2F73;
	color: #fff;
}

.runa-enterprise__card-icon svg {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.runa-enterprise__card h3 {
	margin: 0;
	font-size: 16px !important;
	font-weight: 700;
	color: var(--runa-ink);
}

.runa-enterprise__cards-row--soporte .runa-enterprise__card h3 {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	text-align: left;
	min-height: calc(2.6em + 12px);
	padding-bottom: 12px;
	border-bottom: 1px solid var(--runa-sep, #EDEEEF);
}

.runa-enterprise__card p {
	margin: 0;
	font-size: 12px;
	color: var(--runa-ink);
}

.runa-enterprise__card .runa-enterprise__btn {
	margin-top: auto;
	align-self: flex-start;
}

/* ---------- Soporte ---------- */

.runa-enterprise__section--soporte {
	background: #f7f7f9;
}

/* ---------- Casos / resenas / FAQ ---------- */

.runa-enterprise__section--casos {
	padding: 4rem 1rem 5rem;
	background: #fff;
}

/* Resenas: seccion propia, igual que en template-runapro.css. */
.runa-enterprise__section--resenas {
	padding: 4rem 1rem 5rem;
	background: #f7f7f9;
}

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

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

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

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

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

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

	.runa-enterprise__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-enterprise__hero-media {
		max-width: 100%;
		flex: 0 0 auto;
		width: 100%;
	}

	.runa-enterprise__head--eyebrow-escritorio .runa-enterprise__eyebrow {
		display: none;
	}

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

	.runa-enterprise__cards-row {
		grid-template-columns: repeat(2, 1fr);
	}

	.runa-enterprise__cards-row--soporte {
		grid-template-columns: repeat(3, 1fr);
	}
}

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

@media (max-width: 767px) {
	.runa-enterprise .runa-enterprise__resenas-title {
		font-size: 28px;
	}

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

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

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

	.runa-enterprise__title,
	.runa-enterprise__hero-title {
		font-size: 32px;
	}

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

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

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

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

	.runa-enterprise .runa-enterprise__plataforma-title {
		font-size: 28px;
	}

	.runa-enterprise__ops {
		padding: 20px 18px;
	}

	.runa-enterprise__ops-items {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}

	.runa-enterprise__ops-items li {
		max-width: none;
	}

	.runa-enterprise a.runa-enterprise__plataforma-cta {
		width: 100%;
		max-width: 180px;
		padding: 20px;
		font-size: 16px;
	}

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

	.runa-enterprise__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. */
	.runa-enterprise__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-enterprise .runa-enterprise__hero-ctas a.runa-enterprise__btn {
		max-width: 180px;
	}

	/* DESIGN.md §8: en móvil el pill crece y se centra. */
	.runa-enterprise a.runa-enterprise__btn {
		width: 100%;
		max-width: 180px;
		align-self: center;
		padding: 20px;
		font-size: 16px;
	}

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

	.runa-enterprise__block--carousel {
		margin-top: -48px;
	}

	.runa-enterprise__cards-row,
	.runa-enterprise__cards-row--soporte {
		grid-template-columns: 1fr;
	}

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

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

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