/**
 * Anevi — sección IA con video de fondo (home)
 * Overlay de texto a la derecha (espejo de Jacarandas).
 */
.anevi-ai-stage {
	--anevi-gold: #deb62c;
	--anevi-ink: #1f1d24;
	position: relative;
	isolation: isolate;
	overflow: hidden;
	min-height: 72vh;
	display: flex;
	align-items: center;
	background: var(--anevi-ink);
	color: #fff;
}

.anevi-ai-stage__media {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.anevi-ai-stage__video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
	display: block;
	transform: scale(1.04);
	animation: anevi-ai-kenburns 28s ease-in-out infinite alternate;
}

.anevi-ai-stage__veil {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		linear-gradient(90deg, rgba(31, 29, 36, 0.25) 0%, rgba(31, 29, 36, 0.35) 42%, rgba(31, 29, 36, 0.78) 100%),
		linear-gradient(180deg, rgba(31, 29, 36, 0.35) 0%, transparent 35%, rgba(31, 29, 36, 0.55) 100%);
}

.anevi-ai-stage__content {
	position: relative;
	z-index: 1;
	width: 100%;
	padding-top: 72px;
	padding-bottom: 72px;
}

.anevi-ai-panel {
	position: relative;
	padding: 36px 34px 32px;
	background: rgba(31, 29, 36, 0.72);
	border: 1px solid rgba(222, 182, 44, 0.35);
	border-left: none;
	border-right: 4px solid var(--anevi-gold);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
	opacity: 0;
	transform: translateX(28px);
	animation: anevi-ai-panel-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.25s forwards;
}

.anevi-ai-panel::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 2px;
	background: linear-gradient(90deg, transparent, var(--anevi-gold) 40%, var(--anevi-gold));
}

.anevi-ai-panel__kicker {
	margin: 0 0 12px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--anevi-gold);
}

.anevi-ai-panel h2 {
	margin: 0 0 14px;
	color: #fff;
	font-size: 34px;
	line-height: 1.2;
	font-weight: 700;
}

.anevi-ai-panel__lead {
	margin: 0 0 18px;
	font-family: Cookie, Georgia, serif;
	font-size: 28px;
	line-height: 1.25;
	color: #cdb083;
}

.anevi-ai-panel__body {
	margin: 0 0 26px;
	font-size: 15px;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.88);
}

.anevi-ai-panel__body strong {
	color: #fff;
	font-weight: 700;
}

.anevi-ai-panel__cta {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 22px;
	border: 1px solid rgba(255, 255, 255, 0.85);
	color: #fff !important;
	text-decoration: none !important;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.anevi-ai-panel__cta:hover,
.anevi-ai-panel__cta:focus {
	background: var(--anevi-gold);
	border-color: var(--anevi-gold);
	color: var(--anevi-ink) !important;
	transform: translateX(2px);
}

.anevi-ai-panel__cta-icon {
	display: inline-block;
	width: 18px;
	height: 18px;
	border: 1px solid currentColor;
	position: relative;
}

.anevi-ai-panel__cta-icon::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 6px;
	height: 6px;
	border-right: 1.5px solid currentColor;
	border-top: 1.5px solid currentColor;
	transform: translate(-60%, -50%) rotate(45deg);
}

@keyframes anevi-ai-panel-in {
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes anevi-ai-kenburns {
	from { transform: scale(1.02); }
	to { transform: scale(1.08); }
}

@media (max-width: 991px) {
	.anevi-ai-stage {
		min-height: 64vh;
	}

	.anevi-ai-stage__veil {
		background:
			linear-gradient(180deg, rgba(31, 29, 36, 0.25) 0%, rgba(31, 29, 36, 0.72) 55%, rgba(31, 29, 36, 0.88) 100%);
	}

	.anevi-ai-panel {
		border-right: none;
		border-top: 4px solid var(--anevi-gold);
		margin-top: 24px;
	}

	.anevi-ai-panel h2 {
		font-size: 28px;
	}

	.anevi-ai-panel__lead {
		font-size: 24px;
	}
}

@media (max-width: 767px) {
	.anevi-ai-stage__content {
		padding-top: 48px;
		padding-bottom: 48px;
	}

	.anevi-ai-panel {
		padding: 28px 22px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.anevi-ai-stage__video,
	.anevi-ai-panel {
		animation: none !important;
		transform: none !important;
		opacity: 1 !important;
	}
}
