/* =============================================================
   CAPA DE REDISEÑO — "Tarjetas y bloques"
   -------------------------------------------------------------
   Solo DISEÑO / POSICIÓN. No cambia ninguna lógica PHP.
   Se carga DESPUÉS de style.css y de los estilos por página
   (ver includes/head.php), por lo que unifica el aspecto de las
   tarjetas y bloques de contenido en TODO el sitio público.
   Paleta institucional: azul #2A7FC1 · verde #57AB52 ·
   rosa #EBD3DE · oscuro #0c1c30.
   ============================================================= */

:root {
	--jl-azul: #2A7FC1;
	--jl-verde: #57AB52;
	--jl-rosa: #EBD3DE;
	--jl-oscuro: #0c1c30;
	--jl-cian: #34d6c8;
	--jl-radio: 18px;
	--jl-sombra: 0 12px 34px rgba(12, 28, 48, .10);
	--jl-sombra-hover: 0 22px 48px rgba(12, 28, 48, .16);
	--jl-grad: linear-gradient(90deg, var(--jl-azul), var(--jl-cian) 55%, var(--jl-verde));
}

/* ---------- Tarjetas: aspecto unificado en todas las páginas ---------- */
.docente-card,
.noticia-card,
.nivel-card,
.valor-card,
.faq-card,
.doc-card,
.dcard,
.crono-card,
.single_agent,
.single_category,
.single_address,
.single_event_single,
.course-item,
.instructor-item,
.single-counter {
	border-radius: var(--jl-radio);
	box-shadow: var(--jl-sombra);
	transition: transform .32s ease, box-shadow .32s ease;
}

.docente-card:hover,
.noticia-card:hover,
.nivel-card:hover,
.valor-card:hover,
.faq-card:hover,
.doc-card:hover,
.dcard:hover,
.crono-card:hover,
.single_agent:hover,
.single_category:hover,
.course-item:hover,
.instructor-item:hover {
	transform: translateY(-8px);
	box-shadow: var(--jl-sombra-hover);
}

/* ---------- Bloques de contenido: imágenes y media como tarjetas ---------- */
.ab_img img,
.single_agent_image img,
.video-area {
	border-radius: var(--jl-radio);
	box-shadow: var(--jl-sombra);
}

/* ---------- Paneles de texto: bloque suave y contenido ---------- */
.ab_content,
.cp_content {
	background: #ffffff;
	border-radius: var(--jl-radio);
	box-shadow: var(--jl-sombra);
	padding: 34px 36px;
}

@media (max-width: 767px) {

	.ab_content,
	.cp_content {
		padding: 26px 22px;
	}
}

/* ---------- Acento de marca en el borde superior de las tarjetas tope-imagen ---------- */
.noticia-card,
.doc-card,
.dcard {
	border-top: 3px solid var(--jl-verde);
}

/* ---------- Botones tipo "pill" coherentes (solo radio, no cambia color) ---------- */
.doc-card__btn,
.crono-card__btn,
.nivel-btn,
.docente-btn {
	border-radius: 100px;
}

/* =============================================================
   ENCABEZADO — franja superior + menú (diseño fijo)
   Contenido (redes, teléfono, email, botón SIGE, menú) es
   editable desde el admin; aquí solo se define la POSICIÓN/color.
   ============================================================= */

/* --- Franja superior CELESTE, FLOTANTE (pill) y FUTURISTA ---
   La barra ya no es un rectángulo a todo lo ancho: flota con
   márgenes, bordes totalmente redondeados, borde de gradiente,
   glow y un brillo que la recorre. Texto oscuro, hover en VERDE
   con subrayado animado. Color base editable con --topbar-bg. */
.logo-contact {
	--topbar-bg: linear-gradient(100deg, #5fb4e8 0%, #74c1ee 55%, #8ccff4 100%);
	--topbar-text: #0e2d4a;
	--topbar-hover: #1f8f37;
	background: transparent;
	padding: 0;
}

/* La PÍLDORA flotante: es el contenedor flex con forma redondeada */
.logo-contact .topbar-flex {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	min-height: 52px;
	margin: 14px 0;
	padding: 0 12px 0 24px;
	border-radius: 999px;
	background: var(--topbar-bg);
	box-shadow:
		0 12px 30px rgba(42, 127, 193, .30),
		inset 0 1px 0 rgba(255, 255, 255, .55);
	overflow: hidden;
	isolation: isolate;
}

/* Borde de gradiente futurista (azul → cian → verde) alrededor del pill */
.logo-contact .topbar-flex::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	padding: 1.6px;
	background: linear-gradient(120deg, var(--jl-azul), var(--jl-cian) 50%, var(--jl-verde));
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	pointer-events: none;
	z-index: 2;
}

/* Brillo que recorre la píldora cada cierto tiempo (toque futurista) */
.logo-contact .topbar-flex::after {
	content: "";
	position: absolute;
	top: 0;
	left: -60%;
	width: 38%;
	height: 100%;
	background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .40), transparent);
	transform: skewX(-18deg);
	z-index: 1;
	pointer-events: none;
	animation: jl-pill-shine 7s ease-in-out infinite;
}

@keyframes jl-pill-shine {
	0%, 62% { left: -60%; }
	100% { left: 135%; }
}

.logo-contact ul {
	list-style: none;
	margin: 0;
	padding: 0;
	position: relative;
	z-index: 3;
}

/* ---- Redes a la izquierda: íconos limpios (sin píldora), hover verde ---- */
.topbar-social {
	display: flex;
	align-items: center;
	gap: 18px;
}

.topbar-social li a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--topbar-text);
	font-size: 16px;
	transition: color .28s ease, transform .3s cubic-bezier(.22, .61, .36, 1);
}

.topbar-social li a:hover {
	color: var(--topbar-hover);
	transform: translateY(-2px) scale(1.2);
}

/* ---- Contacto a la derecha: enlaces con subrayado verde animado ---- */
.topbar-info {
	display: flex;
	align-items: center;
	gap: 4px;
}

.topbar-info li {
	display: flex;
}

.topbar-link {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 52px;
	padding: 0 14px;
	color: var(--topbar-text);
	font-size: 14px;
	font-weight: 500;
	transition: color .25s ease;
}

.topbar-link > i {
	font-size: 15px;
	transition: transform .3s cubic-bezier(.22, .61, .36, 1), color .25s ease;
}

.topbar-link:hover {
	color: var(--topbar-hover);
}

.topbar-link:hover > i {
	color: var(--topbar-hover);
	transform: scale(1.15);
}

/* Subrayado verde que crece de izquierda a derecha al pasar el cursor */
.topbar-link::after {
	content: "";
	position: absolute;
	left: 14px;
	right: 14px;
	bottom: 13px;
	height: 2px;
	border-radius: 2px;
	background: var(--topbar-hover);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform .32s cubic-bezier(.22, .61, .36, 1);
}

.topbar-link:hover::after {
	transform: scaleX(1);
}

/* Admisiones: un poco más marcado */
.topbar-link--cta {
	font-weight: 600;
}

@media (max-width: 991px) {

	.logo-contact .topbar-flex {
		padding: 0 10px 0 18px;
	}

	.topbar-social {
		gap: 14px;
	}

	.topbar-link {
		padding: 0 11px;
	}

	.topbar-link::after {
		left: 11px;
		right: 11px;
	}

	/* En pantallas chicas: teléfono/correo muestran solo el ícono. */
	.topbar-link:not(.topbar-link--cta) .topbar-text {
		display: none;
	}
}

@media (max-width: 575px) {

	.logo-contact .topbar-flex {
		margin: 10px 0;
		padding: 0 8px 0 14px;
	}

	.topbar-social {
		gap: 13px;
	}

	.topbar-social li a {
		font-size: 15px;
	}
}

/* --- Ícono de búsqueda en el menú --- */
.nav-search {
	display: flex;
	align-items: center;
}

.nav-search-btn {
	background: transparent;
	border: 0;
	cursor: pointer;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	color: #1A3F79;
	font-size: 18px;
	transition: background .2s, color .2s;
}

.nav-search-btn:hover {
	background: rgba(42, 127, 193, .12);
	color: var(--jl-azul);
}

/* --- Logo más grande en el menú --- */
.site-logo img {
	height: 84px;
	max-width: none;
}

/* --- Barra de items del menú: más aire, hover y activo elegantes --- */
/* (Solo diseño; mismos colores de la paleta) */
#main-menu>ul>li {
	padding: 0 16px;
}

#main-menu ul li a {
	font-size: 17px;
	font-weight: 500;
	letter-spacing: .2px;
	transition: color .25s ease;
}

/* Subrayado animado bajo cada item (crece desde el centro).
   bottom negativo = la línea baja un poco para separarse del texto. */
#main-menu>ul>li>a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -8px;
	height: 3px;
	border-radius: 3px;
	background: var(--jl-verde);
	transform: scaleX(0);
	transform-origin: center;
	transition: transform .28s ease;
}

#main-menu>ul>li:hover>a::after {
	transform: scaleX(1);
}

/* Item de la página actual: color azul + subrayado fijo */
#main-menu>ul>li.active>a {
	color: var(--jl-azul);
	font-weight: 600;
}

#main-menu>ul>li.active>a::after {
	background: var(--jl-azul);
	transform: scaleX(1);
}

/* --- Logo en texto (cuando no hay imagen de logo subida) --- */
.site-logo-text {
	display: inline-block;
	max-width: 175px;
	color: var(--jl-oscuro);
	font-weight: 800;
	font-size: 16px;
	letter-spacing: .2px;
	line-height: 1.12;
}

/* =============================================================
   MENÚ DESPLEGABLE — versión MINIMALISTA y fluida
   Reemplaza el estilo cuadrado/lento del template: esquinas
   redondeadas, sombra suave, aparición rápida sin "fricción".
   ============================================================= */
#navigation #main-menu ul li ul,
#navigation #main-menu ul li ul li ul {
	left: -4px;
	top: 100%;
	padding: 8px;
	min-width: 230px;
	border-top: 0;
	border-radius: 14px;
	box-shadow: 0 18px 44px rgba(12, 28, 48, .14);
	transform: translateY(8px);
	transition: opacity .2s ease, transform .22s var(--fx-ease, cubic-bezier(.22, .61, .36, 1)), visibility .22s;
}

/* Puente invisible para que el cursor no "caiga" entre el item y el menú */
#navigation #main-menu .menu-item-has-children::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	height: 16px;
	z-index: 998;
}

#navigation #main-menu ul li:hover ul,
#navigation #main-menu ul li ul li:hover>ul {
	top: 100%;
	transform: translateY(0);
}

/* Submenú anidado: se despliega al costado */
#navigation #main-menu ul li ul li ul {
	left: 100%;
	top: -8px;
	transform: translateX(8px);
}

#navigation #main-menu ul li ul li:hover>ul {
	transform: translateX(0);
}

/* Items: sin líneas divisorias, con resaltado redondeado al pasar el cursor */
#navigation #main-menu ul li ul li a {
	border: 0;
	border-radius: 10px;
	padding: 10px 16px;
	font-size: 14.5px;
	line-height: 1.35;
	color: #3a4a5e;
	font-weight: 500;
}

#navigation #main-menu ul li ul li a:hover {
	background: rgba(42, 127, 193, .08);
	color: var(--jl-azul);
	border: 0;
}

/* Flecha del item con submenú: gira suave al abrir */
#navigation #main-menu .menu-item-has-children::after {
	transition: transform .25s ease, color .25s ease;
}

#navigation #main-menu .menu-item-has-children:hover::after {
	transform: rotate(180deg);
	color: var(--jl-verde);
}

/* =============================================================
   FOOTER — BLANCO, minimalista + marca en partículas (celeste)
   Fondo claro, texto oscuro, línea de acento superior sutil.
   ============================================================= */

/* Fondo blanco y una línea de acento muy fina arriba */
.footer {
	background: #ffffff;
	color: #51637a;
	border-image: none;
	border-top: 1px solid #eef2f6;
}

/* Encabezados de columna: discretos, en mayúsculas espaciadas */
.footer .single_footer h4 {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 1.6px;
	text-transform: uppercase;
	color: #8a98a8;
	margin-bottom: 22px;
}

/* Descripción / textos */
.footer .single_footer p {
	color: #51637a;
}

/* Enlaces sin guiones, con hover sutil (se desplazan un poco) */
.footer .single_footer ul li a::before {
	content: none !important;
}

.footer .single_footer ul li a,
.footer .foot_links a {
	color: #51637a;
	font-size: 15px;
	line-height: 2.1;
	font-weight: 400;
	transition: color .2s ease, padding-left .2s ease;
}

.footer .single_footer ul li a:hover,
.footer .foot_links a:hover {
	color: var(--jl-azul);
	padding-left: 6px;
}

/* Logo en texto (cuando no hay imagen subida) */
.foot_logo_text {
	display: inline-block;
	color: #0e2d4a;
	font-weight: 800;
	font-size: 22px;
	letter-spacing: .3px;
}

/* Redes sociales minimalistas */
.footer .foot_social ul li a {
	background: #f1f6fb;
	color: #51637a;
	width: 38px;
	height: 38px;
	line-height: 38px;
	border-radius: 50%;
	box-shadow: none;
	transition: background .25s ease, color .25s ease, transform .25s ease;
}

.footer .foot_social ul li a:hover {
	background: var(--jl-azul);
	color: #fff;
	transform: translateY(-2px);
}

/* Contacto: etiquetas oscuras, íconos en verde */
.footer .sf_contact h3 {
	color: #0e2d4a;
	font-weight: 600;
}

.footer .sf_contact p {
	color: #51637a;
}

.footer .sf_contact span {
	color: var(--jl-verde);
}

/* Copyright y menú inferior discretos, con divisor tenue */
.footer .fc {
	border-top: 1px solid #eef2f6;
	padding-top: 22px;
	margin-top: 10px;
}

.footer .footer_copyright p,
.footer .footer_menu a {
	color: #8a98a8;
	font-size: 13.5px;
}

.footer .footer_menu a:hover {
	color: var(--jl-azul);
}

/* --- Columna de marca: título + partículas + redes --- */
.foot_brand .foot_logo {
	display: inline-block;
	margin-bottom: 6px;
}

.foot_brand .foot_logo_text {
	font-size: 21px;
}

/* Marca en partículas (celeste→verde), grande, llena el ancho de la columna */
.footer-brand-fx {
	position: relative;
	width: 100%;
	max-width: 520px;
	height: 108px;
	margin: 4px 0 18px;
	pointer-events: auto;
}

.footer-brand-fx canvas {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	display: block;
}

.foot_brand .foot_social {
	margin-top: 4px;
}

@media (max-width: 767px) {
	.footer-brand-fx {
		height: 86px;
	}
}

/* =============================================================
   BANNER DE PÁGINAS INTERNAS (.section-top) — partículas +
   interacción al pasar el cursor (el texto se corre y se forma
   un birrete de graduado con las partículas).
   ============================================================= */
.section-top__particles {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
	pointer-events: none;
}

/* Onda del hero: espacio inferior para que NO choque con los botones.
   El contenido ya va en z-index 2 (home-fx.css) y la onda en z-index 1. */
.hero-fx--wave {
	padding-bottom: 104px;
}

@media (max-width: 767px) {
	.hero-fx--wave {
		padding-bottom: 64px;
	}
}

/* =============================================================
   PRELOADER — logo + anillo de partículas girando + "Cargando"
   ============================================================= */
.preloaders {
	position: fixed;
	inset: 0;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	transform: none;
	/* anula el translate(-50%,-50%) que trae .preloaders en style.css */
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #ffffff;
}

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

.preloader-logo {
	position: relative;
	width: 160px;
	height: 160px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.preloader-logo img {
	max-width: 96px;
	max-height: 96px;
	width: auto;
	height: auto;
	animation: pl-pulse 1.8s ease-in-out infinite;
}

/* Anillo que gira; dentro, 12 partículas que laten */
.preloader-ring {
	position: absolute;
	inset: 0;
	animation: pl-spin 3s linear infinite;
}

.preloader-ring i {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 8px;
	height: 8px;
	margin: -4px 0 0 -4px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--jl-azul), var(--jl-verde));
	transform: rotate(calc(var(--d) * 30deg)) translateY(-72px);
	animation: pl-dot 1.2s ease-in-out infinite;
	animation-delay: calc(var(--d) * -0.1s);
}

@keyframes pl-spin {
	to { transform: rotate(360deg); }
}

@keyframes pl-dot {
	0%, 100% { transform: rotate(calc(var(--d) * 30deg)) translateY(-72px) scale(.5);  opacity: .35; }
	50%      { transform: rotate(calc(var(--d) * 30deg)) translateY(-72px) scale(1.25); opacity: 1; }
}

@keyframes pl-pulse {
	0%, 100% { transform: scale(.94); }
	50%      { transform: scale(1.06); }
}

.preloader-text {
	color: var(--jl-oscuro);
	font-weight: 600;
	letter-spacing: 1.5px;
	font-size: 14px;
	text-transform: uppercase;
}

@media (prefers-reduced-motion: reduce) {
	.preloader-ring,
	.preloader-ring i,
	.preloader-logo img {
		animation: none;
	}
}

/* Encabezado de sección: LOGO pequeño en la esquina superior izquierda,
   texto centrado (composición simétrica). El logo va posicionado de forma
   absoluta dentro del .container para no empujar el texto. */
.section-top .container {
	position: relative;
}

.section-top__logo {
	position: absolute;
	top: 18px;
	left: 12px;
	height: 88px;
	width: auto;
	max-width: 230px;
	margin: 0;
	z-index: 3;
	/* Sin fondo/caja: solo una sombra sutil para definirlo en banners oscuros. */
	filter: drop-shadow(0 2px 7px rgba(0, 0, 0, .35));
}

/* Logo de la institución en el hero del Home: arriba a la IZQUIERDA, sobre el
   título (es la portada, por eso un poco más grande que el de las secciones). */
.home_hero_brand {
	display: inline-block;
	line-height: 0;
	margin-bottom: 16px;
}

/* El logo ya ocupa el espacio superior del hero: se reduce el padding-top del
   texto (era 130px) para subir el título y evitar que los botones choquen con
   las tarjetas de contadores que suben -60px. */
#home .home_content {
	padding-top: 24px;
}

.home_hero_brand img {
	height: 120px;
	width: auto;
	max-width: 100%;
}

@media (max-width: 991px) {
	.home_hero_brand img {
		height: 96px;
	}
}

@media (max-width: 575px) {
	.home_hero_brand img {
		height: 76px;
	}
}

/* Sin caja/fondo en banners oscuros (a pedido): logo limpio y más grande. */
.section-top:not(.section-top--celeste) .section-top__logo {
	background: none;
	border-radius: 0;
	padding: 0;
	box-shadow: none;
}

@media (max-width: 767px) {
	.section-top__logo {
		height: 66px;
		top: 12px;
		left: 10px;
	}
}

/* Variante CELESTE del banner (fondo claro, texto oscuro), reutilizable */
.section-top--celeste {
	background-color: #e9f6fe;
	background-image: linear-gradient(180deg, #eaf6fe 0%, #d6ebfb 100%);
	border-bottom: 0;
	border-image: none;
}

.section-top--celeste .section-top__text h1 {
	color: #0e2d4a;
}

.section-top--celeste .section-top__subtitle {
	color: #4a6076;
}

.section-top--celeste .section-top__crumb li {
	color: var(--jl-azul);
}

.section-top--celeste .section-top__crumb li a:hover {
	color: var(--jl-verde);
}

/* Onda inferior del banner (azul · verde · blanco). Colores con variables de
   marca = parametrizables. Deja sitio para la onda con padding inferior. */
.section-top--wave {
	padding-bottom: 70px;
}

.section-top__wave {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 90px;
	z-index: 1;
	line-height: 0;
	pointer-events: none;
}

.section-top__wave svg {
	width: 100%;
	height: 100%;
}

.section-top__wave-par > use:nth-child(1) { fill: var(--jl-azul);  opacity: .5; }
.section-top__wave-par > use:nth-child(2) { fill: var(--jl-verde); opacity: .42; }
.section-top__wave-par > use:nth-child(3) { fill: #ffffff; opacity: .65; }
.section-top__wave-par > use:nth-child(4) { fill: #ffffff; }

.section-top__wave-par > use {
	animation: stWaveMove 14s cubic-bezier(.55, .5, .45, .5) infinite;
}

.section-top__wave-par > use:nth-child(1) { animation-delay: -2s; animation-duration: 9s; }
.section-top__wave-par > use:nth-child(2) { animation-delay: -3s; animation-duration: 13s; }
.section-top__wave-par > use:nth-child(3) { animation-delay: -4s; animation-duration: 16s; }
.section-top__wave-par > use:nth-child(4) { animation-delay: -5s; animation-duration: 20s; }

@keyframes stWaveMove {
	0%   { transform: translate3d(-90px, 0, 0); }
	100% { transform: translate3d(85px, 0, 0); }
}

@media (max-width: 767px) {
	.section-top--wave { padding-bottom: 50px; }
	.section-top__wave { height: 60px; }
}

@media (prefers-reduced-motion: reduce) {
	.section-top__wave-par > use { animation: none; }
}

.section-top > .container {
	position: relative;
	z-index: 1;
}

/* Texto apegado a la DERECHA y alineado a la derecha. El birrete (partículas)
   ocupa el espacio libre de la izquierda. Solo en banners sin figura. */
.section-top:not(.has-figure) .section-top__inner {
	justify-content: flex-end;
}

.section-top:not(.has-figure) .section-top__text {
	text-align: right;
	max-width: 64%;
}

@media (max-width: 767px) {
	.section-top:not(.has-figure) .section-top__inner {
		justify-content: center;
	}

	.section-top:not(.has-figure) .section-top__text {
		text-align: center;
		max-width: 100%;
	}
}

/* =============================================================
   CONTADORES DE LA PORTADA — tarjetas BLANCAS minimalistas
   Entrada escalonada (fx-up, ya existente) + "pop" del icono +
   reconteo animado del número (animateCounter en home-fx.js).
   Limpio en blanco; el color lo aporta el badge y el número.
   ============================================================= */
.counter_feature .row {
	display: flex;
	flex-wrap: wrap;
}

.counter_feature .row > [class*="col-"] {
	display: flex;
}

.counter_feature .single-counter {
	position: relative;
	width: 100%;
	min-height: 0;
	padding: 20px 22px;
	background: #ffffff;
	border: 1px solid #e9eef5;
	border-radius: 16px;
	box-shadow: 0 10px 26px rgba(12, 28, 48, .07);
	overflow: hidden;
	transition: transform .42s cubic-bezier(.22, .61, .36, 1), box-shadow .42s ease, border-color .42s ease;
}

.counter_feature .single-counter:hover {
	transform: translateY(-10px);
	border-color: rgba(201, 162, 70, .55);
	box-shadow: 0 24px 48px rgba(12, 28, 48, .14);
}

/* Detalle DORADO: línea-acento superior (anula el degradado azul/verde). */
.counter_feature .single-counter::before {
	background: linear-gradient(90deg, #b07e1e, #f3d27a 50%, #b07e1e) !important;
	height: 3px;
}

/* Icono → badge con gradiente y flotación suave (resalta sobre el blanco) */
.counter_feature .single-counter span {
	float: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	margin: 0 0 12px;
	line-height: 1;
	border-radius: 13px;
	font-size: 20px;
	/* Fondo AZUL del badge con el ICONO en DORADO. */
	color: #f1cf72;
	background: linear-gradient(135deg, var(--jl-azul), #1f6aa6);
	box-shadow: 0 9px 20px rgba(42, 127, 193, .30);
	transition: transform .35s ease, box-shadow .35s ease;
	animation: sc-float 4s ease-in-out infinite;
}

/* Al entrar la tarjeta (.is-in lo agrega el JS de reveals), el badge "aparece" */
.counter_feature .single-counter.is-in span {
	animation: sc-pop .6s cubic-bezier(.18, .89, .32, 1.28) both, sc-float 4s ease-in-out 1s infinite;
}

.counter_feature .single-counter:hover span {
	animation: none;
	transform: translateY(-4px) scale(1.08) rotate(-4deg);
	box-shadow: 0 16px 30px rgba(42, 127, 193, .42);
}

@keyframes sc-float {
	0%, 100% { transform: translateY(0); }
	50%      { transform: translateY(-6px); }
}

@keyframes sc-pop {
	0%   { transform: scale(.4) rotate(-12deg); opacity: 0; }
	100% { transform: scale(1) rotate(0); opacity: 1; }
}

/* Número grande, color sólido (anula el gradiente de .counter-num) + reconteo.
   Aparece deslizándose mientras corre el conteo. */
.counter_feature .single-counter h2.counter-num {
	margin: 0 0 2px;
	font-size: 36px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -1px;
	overflow: visible;
	font-variant-numeric: tabular-nums;
	background: none;
	color: #1A3F79;
	-webkit-text-fill-color: #1A3F79;
}

.counter_feature .single-counter.is-in h2 {
	animation: sc-num-in .7s .12s cubic-bezier(.22, .61, .36, 1) both;
}

@keyframes sc-num-in {
	0%   { opacity: 0; transform: translateY(16px); }
	100% { opacity: 1; transform: translateY(0); }
}

/* Etiqueta minimalista en gris */
.counter_feature .single-counter p {
	margin: 0;
	overflow: visible;
	white-space: normal;
	color: #6b7a90;
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: .6px;
	text-transform: uppercase;
}

@media (prefers-reduced-motion: reduce) {
	.counter_feature .single-counter span,
	.counter_feature .single-counter.is-in span,
	.counter_feature .single-counter.is-in h2 {
		animation: none;
	}
}

/* =============================================================
   MÓVIL — HOME (mobile-first cuidado): hero sin cortes, botones
   cómodos y CONTADORES DE DOS EN DOS. El diseño de escritorio
   no se toca.
   ============================================================= */
/* El tema usa la clase `col-xs-12` (Bootstrap 3) pero el CSS cargado es
   Bootstrap 5, donde esa clase NO existe → en móvil las columnas no tomaban
   ancho y todo se desbordaba. Restauramos el comportamiento esperado. */
@media (max-width: 575.98px) {
	.col-xs-12 {
		flex: 0 0 100%;
		max-width: 100%;
		width: 100%;
	}
}

@media (max-width: 767px) {
	/* Red de seguridad contra desbordes horizontales (partículas/figuras). */
	html, body { overflow-x: hidden; }

	/* Hero a PANTALLA COMPLETA en móvil: el contenido va arriba y la red de
	   partículas anima en el espacio inferior (antes quedaba en blanco porque
	   el alto fijo de 650px de escritorio se colaba en móvil). El selector
	   #home.home_bg gana en especificidad y elimina ese hueco. */
	#home.home_bg {
		height: auto;
		min-height: 100svh;
		min-height: 100vh;
		display: flex;
		align-items: flex-start;
		padding-top: 18px;
		padding-bottom: 24px;
	}
	#home.home_bg .container { width: 100%; }

	/* El hero siempre a una sola columna en móvil (texto + botones a lo ancho). */
	#home .row > [class*="col-"] {
		flex: 0 0 100%;
		max-width: 100%;
	}

	/* Hero a una sola columna; el texto pega arriba y nunca se corta. */
	#home .home_content { padding-top: 6px; }
	.home_content h1 {
		font-size: 30px;
		line-height: 1.18;
		overflow-wrap: anywhere;
		word-break: break-word;
	}
	.home_content p {
		font-size: 15px;
		text-align: left;
		line-height: 1.5;
	}
	.home_hero_brand { margin-bottom: 10px; }

	/* Botones del hero: se reparten el ancho y no se salen de pantalla. */
	#home .home_btn { gap: 12px; margin-top: 22px; }
	#home .home_btn .btn_hero {
		flex: 1 1 0;
		min-width: 0;
		justify-content: center;
		padding-left: 18px;
		padding-right: 18px;
	}

	/* CONTADORES de dos en dos, compactos. */
	.counter_feature { padding-top: 8px; }
	.counter_feature .row {
		margin-left: -7px;
		margin-right: -7px;
	}
	.counter_feature .row > [class*="col-"] {
		flex: 0 0 50%;
		max-width: 50%;
		width: 50%;
		padding-left: 7px;
		padding-right: 7px;
		margin-bottom: 14px;
	}
	.counter_feature .single-counter {
		min-height: 0;
		padding: 16px 14px;
		margin-bottom: 0;
		border-radius: 14px;
	}
	.counter_feature .single-counter span {
		width: 40px;
		height: 40px;
		font-size: 17px;
		margin-bottom: 10px;
		border-radius: 11px;
	}
	.counter_feature .single-counter h2.counter-num {
		font-size: 28px;
	}
	.counter_feature .single-counter p {
		font-size: 11px;
		letter-spacing: .3px;
	}
}

@media (max-width: 360px) {
	.counter_feature .single-counter h2.counter-num { font-size: 24px; }
	.counter_feature .single-counter p { font-size: 10.5px; }
}

/* =============================================================
   MÓVIL — BARRA DE ICONOS DE NAVEGACIÓN
   Reemplaza al menú hamburguesa: acceso directo a cada sección
   con un icono (parametrizable en data/menu.json → "icono").
   ============================================================= */
.nav_iconbar { display: none; }

@media (max-width: 991px) {
	/* La barra de iconos sustituye al hamburguesa en móvil/tablet. */
	#sm_menu_ham { display: none !important; }

	.nav_iconbar {
		display: flex;
		width: 100%;
		justify-content: space-around;
		align-items: center;
		gap: 4px;
		padding: 0 12px;
	}

	.nav_iconbar__item {
		flex: 1 1 0;
		min-width: 0;
		display: flex;
		align-items: center;
		justify-content: center;
		height: 38px;
		color: #1A3F79;
		text-decoration: none;
		border-radius: 11px;
		transition: color .2s ease, background .2s ease, transform .2s ease;
	}

	.nav_iconbar__item i {
		font-size: 19px;
		line-height: 1;
	}

	/* Solo iconos: la etiqueta queda para lectores de pantalla (accesibilidad). */
	.nav_iconbar__item span {
		position: absolute;
		width: 1px;
		height: 1px;
		padding: 0;
		margin: -1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		white-space: nowrap;
		border: 0;
	}

	.nav_iconbar__item:active {
		transform: scale(.92);
	}

	/* Sección actual resaltada con el color y un fondo suave de marca. */
	.nav_iconbar__item.is-active {
		color: var(--jl-azul);
		background: rgba(42, 127, 193, .12);
	}

	/* Header fino y casi transparente (sin franja de división). */
	#navigation {
		border-bottom: 0;
		box-shadow: none;
		background: rgba(255, 255, 255, .45);
		-webkit-backdrop-filter: blur(8px);
		backdrop-filter: blur(8px);
		padding: 6px 0;
	}
}

/* En pantallas muy chicas el header traía 30px de padding (chunky): se afina. */
@media (max-width: 575px) {
	#navigation {
		padding: 6px 10px;
	}
}

/* =============================================================
   MÓVIL — FOOTER en DOS COLUMNAS, espacios optimizados.
   La marca va a lo ancho; enlaces y contacto se reparten 50/50.
   ============================================================= */
@media (max-width: 767px) {
	.footer { padding-top: 30px; text-align: left; }
	.footer.section-padding { padding-bottom: 0; }
	/* Columnas alineadas ARRIBA: evita el aspecto "chueco". */
	.footer > .container > .row { align-items: flex-start; }

	/* Bloque de MARCA a lo ancho, separado con una línea sutil. */
	.footer .foot_brand {
		text-align: left;
		margin-bottom: 22px;
		padding-bottom: 18px;
		border-bottom: 1px solid rgba(255, 255, 255, .10);
	}
	.footer .foot_brand .foot_logo { justify-content: flex-start; }
	/* Partícula "Jerusalén" visible y a medida en móvil (no a todo el ancho). */
	.footer .footer-brand-fx {
		display: block;
		max-width: 240px;
		height: 64px;
		margin: 2px 0 14px;
	}
	.footer .foot_social ul { text-align: left; margin-top: 4px; }
	.footer .foot_social li { margin: 0 16px 0 0; }

	/* Enlaces y contacto: DOS columnas (50% c/u), compactas y alineadas arriba. */
	.footer .row > .col-lg-3,
	.footer .row > .col-lg-4 {
		flex: 0 0 50%;
		max-width: 50%;
	}
	.footer .single_footer {
		text-align: left;
		margin-bottom: 20px;
	}
	.footer .single_footer h4 { margin-bottom: 12px; }
	.footer .foot_links { max-width: none; display: block; }
	.footer .foot_links li { margin-bottom: 9px; }
	.footer .sf_contact { max-width: none; margin: 0 0 14px; padding-left: 28px; }
	.footer .sf_contact span { font-size: 16px; }

	.footer .footer_copyright p { font-size: 12.5px; }
	.footer .footer_menu li { margin: 0 8px; }
}

/* Barra inferior del footer (copyright + política): apilada y CENTRADA en
   móvil y tablet. Antes salía "chueca" porque en escritorio el menú va a la
   derecha (text-align:right) y las columnas quedaban 50/50 descuadradas. */
@media (max-width: 991px) {
	.footer .fc {
		text-align: center;
		margin-top: 18px;
		padding-top: 16px;
	}
	.footer .fc > [class*="col-"] {
		flex: 0 0 100%;
		max-width: 100%;
	}
	.footer .fc .footer_copyright,
	.footer .fc .footer_copyright p { text-align: center; }
	.footer .fc .footer_menu ul {
		text-align: center;
		margin-top: 10px;
	}
	/* Los <li> traen float:left desde style.css, lo que IGNORA text-align.
	   Se anula el float para poder centrarlos de verdad. */
	.footer .fc .footer_menu ul li {
		float: none;
		display: inline-block;
		margin: 0 8px;
	}
}

/* =============================================================
   FOOTER — logo configurable a la DERECHA de la marca en partículas
   (data/footer.json → "logo"). Y refuerzo del centrado de la barra
   inferior (los <li> traen float:left desde style.css → !important).
   ============================================================= */
.foot_brand_row {
	display: flex;
	align-items: center;
	justify-content: space-between;   /* logo al EXTREMO derecho, sin apretar la marca */
	gap: 24px;
	flex-wrap: wrap;
}

.foot_brand_row .footer-brand-fx {
	flex: 0 1 auto;
	max-width: 380px;                 /* ancho cómodo para que "JERUSALÉN" se lea bien */
	margin-bottom: 0;
}

.foot_brand_logo {
	flex: 0 0 auto;
	width: auto;
	height: auto;
	max-height: 72px;
	max-width: 150px;
	object-fit: contain;
}

@media (max-width: 767px) {
	.foot_brand_row { gap: 16px; }
	.foot_brand_row .footer-brand-fx { max-width: 260px; }
	.foot_brand_logo { max-height: 58px; }
}

@media (max-width: 991px) {
	.footer .fc > [class*="col-"] { flex: 0 0 100% !important; max-width: 100% !important; }
	/* CAUSA REAL del "chueco": los DIVS .footer_copyright (float:left) y
	   .footer_menu (float:right) de style.css. Se anulan para centrar. */
	.footer .fc .footer_copyright,
	.footer .fc .footer_menu {
		float: none !important;
		width: 100% !important;
		text-align: center !important;
	}
	.footer .fc .footer_copyright p { text-align: center !important; }
	.footer .fc .footer_menu ul { text-align: center !important; }
	.footer .fc .footer_menu ul li { float: none !important; display: inline-block !important; }
}

/* =============================================================
   SOBRE NOSOTROS v2 — texto + collage con toque innovador
   Estructura por código; contenido/imágenes editables en el admin.
   ============================================================= */
.ab2 {
	position: relative;
	overflow: hidden;
}

/* Pretítulo tipo "pill" con degradado de marca (como el banner) */
.ab2_pretitle {
	display: inline-block;
	margin-bottom: 16px;
	padding: 7px 18px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: #fff;
	background: var(--jl-azul);
	box-shadow: 0 8px 20px rgba(42, 127, 193, .22);
}

.ab2_title {
	font-size: 40px;
	line-height: 1.15;
	font-weight: 700;
	margin-bottom: 18px;
	color: #1A3F79;
}

.ab2_desc {
	font-size: 16.5px;
	line-height: 1.7;
	color: #5b6b7f;
	margin-bottom: 26px;
}

/* Características en mini-bloques con chip de icono */
.ab2_features {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 18px 22px;
	margin-bottom: 30px;
}

.ab2_feature {
	display: flex;
	gap: 14px;
	align-items: flex-start;
}

.ab2_feature__icon {
	flex: 0 0 auto;
	width: 46px;
	height: 46px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 14px;
	font-size: 19px;
	color: var(--jl-azul);
	background: rgba(42, 127, 193, .10);
	transition: transform .3s ease, background .3s ease, color .3s ease;
}

.ab2_feature:hover .ab2_feature__icon {
	background: var(--jl-azul);
	color: #fff;
	transform: translateY(-3px);
}

.ab2_feature__body h4 {
	font-size: 16px;
	font-weight: 700;
	color: #1A3F79;
	margin: 2px 0 4px;
}

.ab2_feature__body p {
	font-size: 13.5px;
	line-height: 1.55;
	color: #6b7a8d;
	margin: 0;
}

.ab2_link {
	margin-top: 4px;
}

/* ---------- Collage ---------- */
.ab2_collage {
	position: relative;
	min-height: 460px;
}

/* Forma decorativa sólida detrás del collage (sin degradado) */
.ab2_collage__blob {
	position: absolute;
	inset: 8% 6% 8% 10%;
	border-radius: 42% 58% 55% 45% / 55% 45% 60% 40%;
	background: rgba(42, 127, 193, .08);
	z-index: 0;
}

/* Patrón de puntos (futurista) */
.ab2_collage__dots {
	position: absolute;
	right: -4px;
	bottom: -4px;
	width: 120px;
	height: 120px;
	background-image: radial-gradient(var(--jl-verde) 2px, transparent 2.5px);
	background-size: 16px 16px;
	opacity: .5;
	z-index: 0;
}

/* Imágenes del collage: marco blanco, redondeado, rotación e hover */
.ab2_collage__img {
	position: absolute;
	margin: 0;
	border-radius: 18px;
	overflow: hidden;
	border: 5px solid #fff;
	background: #e8eef6;
	box-shadow: 0 16px 40px rgba(12, 28, 48, .16);
	z-index: 1;
	transition: transform .35s cubic-bezier(.22, .61, .36, 1), box-shadow .35s ease;
}

.ab2_collage__img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ab2_collage__img:hover {
	transform: translateY(-6px) scale(1.03) rotate(0deg) !important;
	box-shadow: 0 26px 56px rgba(12, 28, 48, .24);
	z-index: 5;
}

/* Posiciones (collage de hasta 4 imágenes) */
.ab2_collage__img--1 { left: 0;    top: 4%;    width: 60%; height: 72%; transform: rotate(-2deg); }
.ab2_collage__img--2 { right: 0;   top: 0;     width: 44%; height: 40%; transform: rotate(3deg); }
.ab2_collage__img--3 { right: 4%;  bottom: 0;  width: 48%; height: 42%; transform: rotate(-3deg); }
.ab2_collage__img--4 { left: 16%;  bottom: 3%; width: 34%; height: 34%; transform: rotate(4deg); }

/* 1 sola imagen: ocupa todo */
.ab2_collage--1 { min-height: auto; }
.ab2_collage--1 .ab2_collage__img--1 {
	position: relative;
	width: 100%;
	height: auto;
	top: auto;
	left: auto;
	transform: rotate(-1.5deg);
}

/* 2 imágenes */
.ab2_collage--2 .ab2_collage__img--1 { width: 72%; height: 80%; }
.ab2_collage--2 .ab2_collage__img--2 { width: 52%; height: 48%; top: auto; bottom: 0; }

/* Placeholder mientras no hay imágenes cargadas */
.ab2_collage__placeholder {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 360px;
	border: 2px dashed #c4d2e4;
	border-radius: 18px;
	color: #93a4ba;
	background: #f4f8fc;
}

.ab2_collage__placeholder i { font-size: 40px; }
.ab2_collage__placeholder span { font-size: 14px; }

/* Responsive: el collage absoluto pasa a cuadrícula simple */
@media (max-width: 991px) {
	.ab2_title { font-size: 32px; }

	.ab2_collage {
		min-height: auto;
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 12px;
		margin-top: 30px;
	}

	.ab2_collage__img {
		position: static !important;
		width: auto !important;
		height: 200px !important;
		transform: none !important;
	}

	.ab2_collage--1 .ab2_collage__img--1,
	.ab2_collage--3 .ab2_collage__img--1 {
		grid-column: span 2;
		height: 240px !important;
	}

	.ab2_collage__blob,
	.ab2_collage__dots { display: none; }
}

@media (max-width: 575px) {
	.ab2_features { grid-template-columns: 1fr; }
	.ab2_collage { grid-template-columns: 1fr; }

	.ab2_collage__img,
	.ab2_collage--1 .ab2_collage__img--1,
	.ab2_collage--3 .ab2_collage__img--1 {
		grid-column: auto;
		height: 200px !important;
	}
}

/* =============================================================
   Botón "IR A SIGE" del hero: color SÓLIDO, sin degradado.
   Override de máxima prioridad por si quedó un gradient previo.
   ============================================================= */
.home_btn .btn_hero_fill,
#home .home_btn .btn_hero_fill {
	background: #2A7FC1 !important;
	background-image: none !important;
	border-color: #2A7FC1 !important;
}

.home_btn .btn_hero_fill:hover,
#home .home_btn .btn_hero_fill:hover {
	background: #1f6aa6 !important;
	background-image: none !important;
	border-color: #1f6aa6 !important;
}

/* =============================================================
   SECCIÓN "PILARES" — tarjetas numeradas, fondo OSCURO SÓLIDO
   Estructura por código; tarjetas editables (agregar/eliminar)
   desde el admin. Sin degradados.
   ============================================================= */
.pilares {
	background: #0c1c30;
	position: relative;
	overflow: hidden;
}

.pilares .section-title h4 {
	color: var(--jl-verde);
	letter-spacing: 2px;
	text-transform: uppercase;
}

.pilares .section-title h1 {
	color: #ffffff;
	width: 70%;
}

@media (max-width: 991px) {
	.pilares .section-title h1 { width: 92%; }
}

.pilares__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 22px;
}

@media (max-width: 991px) {
	.pilares__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 575px) {
	.pilares__grid { grid-template-columns: 1fr; }
}

.pilar-card {
	position: relative;
	overflow: hidden;
	border-radius: 18px;
	padding: 32px 26px 62px;
	min-height: 320px;
	background: #16294a;
	border: 1px solid rgba(255, 255, 255, .07);
	transition: transform .35s cubic-bezier(.22, .61, .36, 1), box-shadow .35s ease, background .35s ease;
}

/* Al pasar el cursor: la tarjeta se ilumina en BLANCO (cualquiera, no fija) */
.pilar-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 22px 50px rgba(0, 0, 0, .38);
	background: #ffffff;
}

.pilar-card:hover .pilar-card__num {
	color: rgba(26, 63, 121, .10);
}

.pilar-card:hover .pilar-card__title {
	color: #1A3F79;
}

.pilar-card:hover .pilar-card__desc {
	color: #5b6b7f;
}

/* Número de fondo (marca de agua) */
.pilar-card__num {
	position: absolute;
	top: 6px;
	left: 18px;
	font-family: 'Poppins', sans-serif;
	font-size: 66px;
	font-weight: 800;
	line-height: 1;
	color: rgba(255, 255, 255, .07);
	pointer-events: none;
}

.pilar-card__title {
	position: relative;
	color: #ffffff;
	font-size: 20px;
	font-weight: 700;
	margin: 34px 0 12px;
}

.pilar-card__desc {
	position: relative;
	color: #aebfd6;
	font-size: 14px;
	line-height: 1.62;
	margin: 0;
}

/* Ícono en la esquina inferior, con esquina curva (toque innovador) */
.pilar-card__icon {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 72px;
	height: 72px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 25px;
	color: #ffffff;
	background: var(--jl-azul);
	border-radius: 72px 0 18px 0;
	transition: background .35s ease, transform .35s ease;
}

.pilar-card:hover .pilar-card__icon {
	transform: scale(1.06);
}

/* Responsive: títulos y tarjetas más contenidos (se veían muy grandes) */
.pilares .section-title h1 {
	font-size: 46px;
}

@media (max-width: 991px) {
	.pilares .section-title h1 {
		font-size: 36px;
		width: 92%;
	}

	.pilar-card {
		min-height: 280px;
		padding: 28px 22px 58px;
	}

	.pilar-card__num {
		font-size: 56px;
	}
}

@media (max-width: 575px) {
	.pilares .section-title h1 {
		font-size: 28px;
		width: 100%;
	}

	.pilar-card {
		min-height: 0;
		padding: 24px 22px 56px;
	}

	.pilar-card__title {
		font-size: 18px;
	}
}

/* ---- Innovación extra en la sección de pilares (sin degradados) ---- */
/* Patrón de puntos sutil sobre el fondo oscuro */
.pilares::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: radial-gradient(rgba(255, 255, 255, .05) 1.4px, transparent 1.5px);
	background-size: 24px 24px;
	pointer-events: none;
	z-index: 0;
}

.pilares>.container {
	position: relative;
	z-index: 1;
}

/* Barra de acento superior que crece al pasar el cursor */
.pilar-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: var(--jl-azul);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform .35s cubic-bezier(.22, .61, .36, 1);
	z-index: 3;
}

.pilar-card:hover::before {
	transform: scaleX(1);
}

/* Ícono con sombra de color (más vivo) y número con leve realce al hover */
.pilar-card__icon {
	box-shadow: 0 8px 20px rgba(42, 127, 193, .40);
}

.pilar-card:hover .pilar-card__num {
	transform: scale(1.05);
	transition: transform .35s ease, color .35s ease;
}

/* Glow sutil de marca al pasar el cursor */
.pilar-card:hover {
	box-shadow: 0 22px 50px rgba(0, 0, 0, .38), 0 0 0 1px rgba(42, 127, 193, .28);
}

/* =============================================================
   SERVICIOS — grilla ícono + título + descripción (reemplaza
   la antigua sección de niveles). Editable desde el admin.
   Innovadora y dinámica: hover con elevación, ícono que se rellena
   y gira, y aparición escalonada al hacer scroll (fx fx-up).
   ============================================================= */
.servicios {
	background: #ffffff;
}

/* Título más contenido (antes ocupaba demasiado) */
.servicios .section-title {
	margin-bottom: 46px;
}

.servicios .section-title h1 {
	font-size: 36px;
	line-height: 1.2;
	width: 80%;
}

@media (max-width: 991px) {
	.servicios .section-title h1 {
		font-size: 30px;
		width: 92%;
	}
}

@media (max-width: 575px) {
	.servicios .section-title h1 {
		font-size: 24px;
		width: 100%;
	}
}

.servicios__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

@media (max-width: 991px) {
	.servicios__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 575px) {
	.servicios__grid {
		grid-template-columns: 1fr;
	}
}

/* Cada servicio es una TARJETA: fondo suave, acento superior e ícono animado */
.servicio {
	position: relative;
	overflow: hidden;
	display: flex;
	gap: 16px;
	align-items: flex-start;
	padding: 28px 24px;
	border-radius: 18px;
	background: #f6f9fc;
	border: 1px solid #e9eff7;
	transition: transform .35s cubic-bezier(.22, .61, .36, 1), box-shadow .35s ease, background .35s ease, border-color .35s ease;
}

/* Barra de acento superior que crece al pasar el cursor */
.servicio::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: var(--jl-azul);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform .4s cubic-bezier(.22, .61, .36, 1);
}

.servicio:hover {
	transform: translateY(-8px);
	background: #ffffff;
	border-color: #ffffff;
	box-shadow: 0 20px 46px rgba(12, 28, 48, .12);
}

.servicio:hover::before {
	transform: scaleX(1);
}

.servicio__icon {
	flex: 0 0 auto;
	width: 58px;
	height: 58px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 16px;
	font-size: 23px;
	color: var(--jl-azul);
	background: rgba(42, 127, 193, .10);
	transition: background .35s ease, color .35s ease, transform .4s cubic-bezier(.22, .61, .36, 1);
}

.servicio:hover .servicio__icon {
	background: var(--jl-azul);
	color: #ffffff;
	transform: rotate(-6deg) scale(1.08);
}

.servicio__body h3 {
	font-size: 17px;
	font-weight: 700;
	color: #1A3F79;
	margin: 2px 0 8px;
}

.servicio__body p {
	font-size: 13.5px;
	line-height: 1.6;
	color: #6b7a8d;
	margin: 0;
}

/* =============================================================
   TESTIMONIOS — tarjetas con foto, nombre, rol y cita. Editable.
   ============================================================= */
.testimonios {
	background: #f6f9fc;
}

/* Título más contenido (estaba muy grande) */
.testimonios .section-title h1 {
	font-size: 34px;
	line-height: 1.2;
	width: 72%;
}

@media (max-width: 991px) {
	.testimonios .section-title h1 {
		font-size: 28px;
		width: 92%;
	}
}

@media (max-width: 575px) {
	.testimonios .section-title h1 {
		font-size: 23px;
		width: 100%;
	}
}

/* ---- Carrusel ---- */
.testi-carousel {
	position: relative;
}

.testi-track {
	display: flex;
	gap: 24px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	padding: 12px 4px 18px;
	-ms-overflow-style: none;
	scrollbar-width: none;
}

.testi-track::-webkit-scrollbar {
	display: none;
}

.testi-track .testi-card {
	flex: 0 0 calc((100% - 48px) / 3);
	scroll-snap-align: start;
}

@media (max-width: 991px) {
	.testi-track .testi-card {
		flex: 0 0 calc((100% - 24px) / 2);
	}
}

@media (max-width: 575px) {
	.testi-track .testi-card {
		flex: 0 0 88%;
	}
}

/* Flechas de navegación */
.testi-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 3;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	border: 0;
	background: #ffffff;
	color: var(--jl-azul);
	font-size: 15px;
	cursor: pointer;
	box-shadow: 0 10px 26px rgba(12, 28, 48, .16);
	transition: background .25s ease, color .25s ease, transform .25s ease;
}

.testi-nav:hover {
	background: var(--jl-azul);
	color: #ffffff;
	transform: translateY(-50%) scale(1.08);
}

.testi-nav--prev {
	left: -12px;
}

.testi-nav--next {
	right: -12px;
}

@media (max-width: 575px) {
	.testi-nav {
		display: none;
	}
}

/* =============================================================
   NUESTRA INSTITUCIÓN — Misión/Visión dinámicas + video (Drive)
   ============================================================= */
.ab2mv__intro h2 {
	font-size: 34px;
	font-weight: 700;
	color: #1A3F79;
	margin-bottom: 16px;
	line-height: 1.2;
}

.ab2mv__intro p {
	color: #5b6b7f;
	font-size: 16px;
	line-height: 1.7;
	margin-bottom: 8px;
}

.ab2mv__cards {
	display: grid;
	gap: 16px;
	margin: 22px 0 26px;
}

.ab2mv__card {
	position: relative;
	overflow: hidden;
	display: flex;
	gap: 16px;
	align-items: flex-start;
	padding: 22px;
	border-radius: 16px;
	background: #f6f9fc;
	border: 1px solid #e9eff7;
	transition: transform .35s cubic-bezier(.22, .61, .36, 1), box-shadow .35s ease, background .35s ease, border-color .35s ease;
}

/* Acento lateral que crece al pasar el cursor */
.ab2mv__card::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 4px;
	background: var(--jl-azul);
	transform: scaleY(0);
	transform-origin: top center;
	transition: transform .35s ease;
}

.ab2mv__card:hover {
	transform: translateY(-6px);
	background: #ffffff;
	border-color: #ffffff;
	box-shadow: 0 18px 44px rgba(12, 28, 48, .12);
}

.ab2mv__card:hover::before {
	transform: scaleY(1);
}

.ab2mv__ico {
	flex: 0 0 auto;
	width: 54px;
	height: 54px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 14px;
	font-size: 22px;
	color: var(--jl-azul);
	background: rgba(42, 127, 193, .10);
	transition: background .35s ease, color .35s ease, transform .4s cubic-bezier(.22, .61, .36, 1);
}

.ab2mv__card:hover .ab2mv__ico {
	background: var(--jl-azul);
	color: #ffffff;
	transform: rotate(-6deg) scale(1.06);
}

.ab2mv__card-tx h4 {
	font-size: 18px;
	font-weight: 700;
	color: #1A3F79;
	margin: 2px 0 6px;
}

.ab2mv__card-tx p {
	font-size: 14px;
	line-height: 1.6;
	color: #6b7a8d;
	margin: 0;
}

/* Video / imagen a la derecha */
.ab2mv__media {
	position: relative;
	isolation: isolate;
	max-width: 360px;
	margin-left: auto;
	margin-right: auto;
}

/* Halo de luz (glow) de marca girando detrás del video */
.ab2mv__media::before {
	content: "";
	position: absolute;
	z-index: -2;
	inset: 4px;
	border-radius: 26px;
	background: conic-gradient(from 0deg, var(--jl-azul), var(--jl-cian, #34d6c8), var(--jl-verde), var(--jl-azul));
	filter: blur(24px);
	opacity: .45;
	animation: ab2mvSpin 9s linear infinite;
}

/* Puntos decorativos en una esquina */
.ab2mv__media::after {
	content: "";
	position: absolute;
	z-index: -1;
	left: -16px;
	bottom: -16px;
	width: 110px;
	height: 110px;
	background-image: radial-gradient(var(--jl-verde) 2px, transparent 2.5px);
	background-size: 16px 16px;
	opacity: .5;
}

.ab2mv__video {
	position: relative;
	z-index: 1;
	aspect-ratio: 9 / 16;
	border-radius: 22px;
	overflow: hidden;
	background: #0c1c30;
	border: 4px solid #ffffff;
	box-shadow: 0 26px 60px rgba(12, 28, 48, .22);
	animation: ab2mvFloat 6s ease-in-out infinite;
	transition: box-shadow .4s ease;
}

.ab2mv__media:hover .ab2mv__video {
	box-shadow: 0 34px 72px rgba(12, 28, 48, .30);
}

@keyframes ab2mvSpin {
	to {
		transform: rotate(360deg);
	}
}

@keyframes ab2mvFloat {

	0%,
	100% {
		transform: translateY(0);
	}

	50% {
		transform: translateY(-10px);
	}
}

@media (prefers-reduced-motion: reduce) {

	.ab2mv__media::before,
	.ab2mv__video {
		animation: none;
	}
}

.ab2mv__video iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.ab2mv__img {
	width: 100%;
	border-radius: 20px;
	box-shadow: 0 26px 60px rgba(12, 28, 48, .16);
}

.ab2mv__ph {
	aspect-ratio: 16 / 9;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	border: 2px dashed #c4d2e4;
	border-radius: 20px;
	background: #f4f8fc;
	color: #93a4ba;
	text-align: center;
	padding: 20px;
}

.ab2mv__ph i {
	font-size: 40px;
}

.ab2mv__ph span {
	font-size: 14px;
	max-width: 260px;
}

@media (max-width: 991px) {
	.ab2mv__media {
		margin-top: 30px;
	}

	.ab2mv__intro h2 {
		font-size: 28px;
	}
}

/* Partículas decorativas (contenedor del canvas) */
.ab2mv__particles {
	position: relative;
	min-height: 460px;
	border-radius: 22px;
	overflow: hidden;
}

/* Layout "diferente": texto centrado arriba + Misión | partículas | Visión */
.ab2mv--center .ab2mv__intro {
	text-align: center;
	max-width: 780px;
	margin: 0 auto;
}

.ab2mv__trio {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	align-items: center;
	margin-top: 20px;
	min-height: 470px;
}

/* Las partículas pasan a ser un FONDO a TODO el ancho del trío: la figura
   se forma en el centro y las de los lados solo flotan. */
.ab2mv__trio .ab2mv__particles {
	position: absolute;
	inset: 0;
	min-height: 0;
	border-radius: 0;
	z-index: 0;
	pointer-events: none;
}

/* Las tarjetas van encima, a los extremos */
.ab2mv__trio .ab2mv__card {
	position: relative;
	z-index: 1;
	max-width: 430px;
}

.ab2mv__trio .ab2mv__card:first-of-type { justify-self: start; }
.ab2mv__trio .ab2mv__card:last-of-type  { justify-self: end; }

@media (max-width: 991px) {
	.ab2mv__particles {
		min-height: 320px;
	}

	.ab2mv__trio {
		grid-template-columns: 1fr;
		gap: 18px;
		min-height: 0;
	}

	/* En móvil las partículas vuelven a su propio bloque (no fondo absoluto) */
	.ab2mv__trio .ab2mv__particles {
		position: relative;
		inset: auto;
		min-height: 300px;
		order: -1;
		border-radius: 22px;
	}

	.ab2mv__trio .ab2mv__card {
		max-width: none;
	}

	.ab2mv__trio .ab2mv__card:first-of-type,
	.ab2mv__trio .ab2mv__card:last-of-type {
		justify-self: stretch;
	}
}

/* =============================================================
   SECCIÓN DE VIDEO (Nuestra Institución) — embebido + efectos
   ============================================================= */
.vidsec {
	background: #f6f9fc;
}

.vidsec__title {
	max-width: 720px;
	margin: 0 auto 36px;
	background: #1A3F79;
	color: #ffffff;
	border-radius: 18px;
	padding: 22px 30px;
	text-align: center;
	box-shadow: 0 18px 44px rgba(26, 63, 121, .22);
}

.vidsec__title h3,
.vidsec__title h2,
.vidsec__title p {
	color: #ffffff;
	font-size: 23px;
	font-weight: 700;
	font-style: italic;
	line-height: 1.35;
	margin: 0;
}

.vidsec__frame {
	position: relative;
	max-width: 880px;
	margin: 0 auto;
	isolation: isolate;
}

/* Halo de luz girando detrás del video */
.vidsec__frame::before {
	content: "";
	position: absolute;
	z-index: -2;
	inset: 8px;
	border-radius: 26px;
	background: conic-gradient(from 0deg, var(--jl-azul), var(--jl-cian, #34d6c8), var(--jl-verde), var(--jl-azul));
	filter: blur(26px);
	opacity: .4;
	animation: ab2mvSpin 9s linear infinite;
}

.vidsec__embed,
.vidsec__poster,
.vidsec__ph {
	position: relative;
	z-index: 1;
	aspect-ratio: 16 / 9;
	border-radius: 22px;
	overflow: hidden;
	border: 4px solid #ffffff;
	box-shadow: 0 26px 60px rgba(12, 28, 48, .22);
	background: #0c1c30;
}

.vidsec__embed iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.vidsec__poster {
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: center;
	justify-content: center;
}

.vidsec__play {
	width: 84px;
	height: 84px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .92);
	color: var(--jl-azul);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 28px;
	transition: transform .3s ease, background .3s ease;
}

.vidsec__play:hover {
	transform: scale(1.08);
	background: #fff;
}

.vidsec__ph {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	border: 2px dashed #c4d2e4;
	background: #f4f8fc;
	color: #93a4ba;
	text-align: center;
	padding: 20px;
}

.vidsec__ph i {
	font-size: 42px;
}

@media (max-width: 575px) {

	.vidsec__title h3,
	.vidsec__title h2,
	.vidsec__title p {
		font-size: 18px;
	}
}

/* ---- Carrusel de imágenes en movimiento continuo (marquee) ---- */
.imgmarq {
	overflow: hidden;
	padding: 10px 0;
	/* Difumina los bordes izq/der para un look más pulido */
	-webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
	mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.imgmarq__track {
	display: flex;
	gap: 22px;
	width: max-content;
	animation: imgmarqScroll 45s linear infinite;
}

.imgmarq:hover .imgmarq__track {
	animation-play-state: paused;
}

@keyframes imgmarqScroll {
	from {
		transform: translateX(0);
	}

	to {
		transform: translateX(-50%);
	}
}

/* ---- Variante de DOS FILAS en sentidos opuestos (look dinámico) ---- */
.imgmarq--rows {
	display: flex;
	flex-direction: column;
	gap: 22px;
}

/* Fila 1 → izquierda; Fila 2 → derecha (misma animación, dirección inversa),
   con velocidades distintas para que no se vean acompasadas. */
.imgmarq--rows .imgmarq__track--ltr {
	animation-duration: 50s;
}

.imgmarq--rows .imgmarq__track--rtl {
	animation-direction: reverse;
	animation-duration: 62s;
}

.imgmarq__item {
	flex: 0 0 auto;
	width: 340px;
	height: 230px;
	margin: 0;
	border-radius: 18px;
	overflow: hidden;
	background: #e8eef6;
	box-shadow: 0 16px 40px rgba(12, 28, 48, .14);
	transition: transform .35s ease, box-shadow .35s ease;
}

.imgmarq__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.imgmarq__item:hover {
	transform: translateY(-6px) scale(1.02);
	box-shadow: 0 24px 52px rgba(12, 28, 48, .22);
}

@media (max-width: 575px) {
	.imgmarq__item {
		width: 240px;
		height: 165px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.imgmarq__track {
		animation: none;
	}
}

.testi-card {
	position: relative;
	overflow: hidden;
	background: #ffffff;
	border-radius: 18px;
	padding: 30px 28px;
	margin: 0;
	box-shadow: 0 12px 34px rgba(12, 28, 48, .07);
	transition: transform .35s cubic-bezier(.22, .61, .36, 1), box-shadow .35s ease;
}

.testi-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 22px 48px rgba(12, 28, 48, .13);
}

/* Acento superior verde al hover */
.testi-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: var(--jl-verde);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform .35s ease;
}

.testi-card:hover::before {
	transform: scaleX(1);
}

.testi-card__quote {
	position: absolute;
	top: 22px;
	right: 24px;
	font-size: 30px;
	color: rgba(42, 127, 193, .14);
}

.testi-card__head {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 16px;
}

.testi-card__photo {
	flex: 0 0 auto;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	overflow: hidden;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #e8eef6;
	border: 3px solid #fff;
	box-shadow: 0 4px 14px rgba(12, 28, 48, .12);
}

.testi-card__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.testi-card__photo--ph {
	color: #9fb3cc;
	font-size: 24px;
}

.testi-card__head figcaption strong {
	display: block;
	color: #1A3F79;
	font-weight: 700;
	font-size: 15.5px;
}

.testi-card__head figcaption span {
	font-size: 13px;
	color: #7a8aa0;
}

.testi-card blockquote {
	margin: 0;
	color: #5b6b7f;
	font-size: 14px;
	line-height: 1.7;
}


/* Tamaño estándar de la foto de cada autoridad/equipo, independientemente de
   las dimensiones de la imagen subida: mismo cuadro para todas y recorte
   automático centrado (la plantilla original usa height:auto y las deja
   disparejas). Se mantiene la misma proporción que el placeholder. */
.our-team .team_img {
	width: 100%;
	aspect-ratio: 1 / 1;
	overflow: hidden;
}

.our-team .team_img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	display: block;
}

/* Placeholder de perfil cuando una autoridad/equipo NO tiene foto */
.our-team .team_img__ph {
	width: 100%;
	aspect-ratio: 1 / 1;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #eaf2fb 0%, #dceaf8 100%);
	color: #a9c3e0;
	font-size: 66px;
	line-height: 1;
}

/* =============================================================
   AUTORIDADES / EQUIPO · tarjeta con diseño renovado
   Solo estilo — el contenido sigue viniendo de data/equipo.json.
   Usa las variables de marca (:root) para no quemar colores.
   Funciona en ambas variantes (imagen arriba / imagen abajo).
   ============================================================= */
.team_member .our-team {
	position: relative;
	margin-bottom: 30px;
	border-radius: var(--jl-radio);
	overflow: hidden;
	background: #ffffff;
	box-shadow: var(--jl-sombra);
	transition: transform .38s cubic-bezier(.22, .61, .36, 1), box-shadow .38s ease;
}

.team_member .our-team:hover {
	transform: translateY(-8px);
	box-shadow: var(--jl-sombra-hover);
}

/* Franja de acento con el degradado de marca (se despliega al hover) */
.team_member .our-team::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 4px;
	background: var(--jl-grad);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform .4s ease;
	z-index: 2;
}

.team_member .our-team:hover::after {
	transform: scaleX(1);
}

/* Foto: zoom sutil y velo degradado al pasar el cursor */
.team_member .our-team .team_img img {
	transition: transform .6s cubic-bezier(.22, .61, .36, 1);
}

.team_member .our-team:hover .team_img img {
	transform: scale(1.06);
}

.team_member .our-team .team_img::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(12, 28, 48, .30), rgba(12, 28, 48, 0) 55%);
	opacity: 0;
	transition: opacity .4s ease;
	pointer-events: none;
}

.team_member .our-team:hover .team_img::after {
	opacity: 1;
}

/* Contenido */
.team_member .our-team .team-content {
	padding: 22px 18px 26px;
	background: #ffffff;
	text-align: center;
}

.team_member .our-team .title {
	color: var(--jl-oscuro);
	font-weight: 700;
	font-size: 17px;
	margin: 0 0 8px;
	transition: color .3s ease;
}

.team_member .our-team:hover .title {
	color: var(--jl-azul);
}

/* Cargo como pastilla suave */
.team_member .our-team .post {
	display: inline-block;
	color: var(--jl-azul);
	background: rgba(42, 127, 193, .10);
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: .2px;
	padding: 5px 14px;
	border-radius: 999px;
	margin-bottom: 16px;
}

/* Botones de icono con degradado de marca al hover */
.team_member .our-team .team-icons {
	display: flex;
	justify-content: center;
	gap: 10px;
}

.team_member .our-team .icon-btn {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--jl-azul);
	background: #eef4fb;
	font-size: 15px;
	text-decoration: none;
	transition: transform .25s ease, background .25s ease, color .25s ease, box-shadow .25s ease;
}

.team_member .our-team .icon-btn:hover {
	background: var(--jl-grad);
	color: #ffffff;
	transform: translateY(-3px);
	box-shadow: 0 8px 18px rgba(42, 127, 193, .35);
}


/* =============================================================
   SECTION-TOP · VIDEO INTRO (parametrizable por página)
   Video a la IZQUIERDA, título a la DERECHA, sobre el banner
   celeste (sin fondo negro). Al terminar el video se desvanece
   y quedan las partículas de siempre.
   ============================================================= */
.section-top.has-video .section-top__inner {
	display: flex;
	align-items: center;
	gap: 40px;
	flex-wrap: wrap;
}
.section-top.has-video .section-top__text {
	order: 2;                 /* título a la DERECHA */
	flex: 1 1 320px;
}
.section-top__video {
	order: 1;                 /* video a la IZQUIERDA */
	position: relative;
	flex: 1 1 420px;
	max-width: 560px;
	transition: opacity .7s ease;
}
.section-top--video-done .section-top__video {
	opacity: 0;
	pointer-events: none;
}

/* Pantalla con marco claro (no negro) sobre el banner celeste */
.section-top__screen {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	border-radius: 16px;
	overflow: hidden;
	background: #0a1622;
	box-shadow: 0 24px 55px rgba(12, 28, 48, .26),
		0 0 0 6px rgba(255, 255, 255, .75);
}
.section-top__vid {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border: 0;
}
.section-top__skip {
	position: absolute;
	right: 12px;
	bottom: 10px;
	z-index: 2;
	border: 0;
	border-radius: 999px;
	cursor: pointer;
	background: rgba(10, 22, 34, .55);
	color: #fff;
	padding: 6px 14px;
	font-size: 12px;
	font-weight: 600;
	backdrop-filter: blur(6px);
	transition: background .2s ease;
}
.section-top__skip:hover { background: rgba(10, 22, 34, .82); }

/* MÓVIL: el video va ARRIBA como encabezado (a todo el ancho); título debajo */
@media (max-width: 767px) {
	.section-top.has-video .section-top__inner {
		flex-direction: column;
		gap: 18px;
	}
	.section-top.has-video .section-top__text {
		order: 2;
		flex: 1 1 auto;
		width: 100%;
	}
	.section-top__video {
		order: 1;
		flex: 1 1 auto;
		width: 100%;
		max-width: none;
	}
	.section-top__screen { border-radius: 12px; }
}

@media (prefers-reduced-motion: reduce) {
	.section-top__video { transition: none; }
}

/* Con video en el banner, ocultar el logo para que no se encime con la pantalla */
.section-top.has-video .section-top__logo { display: none; }

/* Tras desvanecerse, ocultar del todo el video (sin quitar su espacio) */
.section-top__video { transition: opacity .7s ease, visibility 0s linear .7s; }
.section-top--video-done .section-top__video { visibility: hidden; }
