/*
 * Firma JereDev — footer Auto Club Detailing
 * Prefijo jdev- para evitar colisiones.
 */

.acr-premium-footer__copyright-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.65rem;
}

.jdev-credit {
	--jdev-accent: #52f779;
	--jdev-muted: rgba(255, 255, 255, 0.7);

	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.25rem 0.4rem;
	color: var(--jdev-muted);
	font: inherit;
	font-size: clamp(11px, 1.1vw, 14px);
	line-height: 1.5;
	text-align: center;
}

.jdev-credit__link {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	color: var(--jdev-accent);
	text-decoration: none;
}

.jdev-credit__link:focus-visible {
	border-radius: 0.125rem;
	outline: 2px solid var(--jdev-accent);
	outline-offset: 3px;
}

.jdev-credit__name {
	position: relative;
	display: inline-flex;
	align-items: center;
	padding-bottom: 0.15rem;
}

.jdev-credit__cursor {
	display: inline-block;
	margin-left: 0.06em;
	animation: jdev-cursor-blink 1s steps(1, end) infinite;
}

.jdev-credit__underline {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 300ms ease-out;
}

.jdev-credit__link:hover .jdev-credit__underline,
.jdev-credit__link:focus-visible .jdev-credit__underline {
	transform: scaleX(1);
}

.jdev-credit__arrow {
	width: 1.2em;
	height: 1.2em;
	flex: 0 0 auto;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
	animation: jdev-arrow-float 1.5s ease-in-out infinite;
}

@keyframes jdev-cursor-blink {
	0%,
	45% {
		opacity: 1;
	}

	46%,
	100% {
		opacity: 0.15;
	}
}

@keyframes jdev-arrow-float {
	0%,
	100% {
		transform: translate(0, 0);
	}

	50% {
		transform: translate(3px, -3px);
	}
}

@media (prefers-reduced-motion: reduce) {
	.jdev-credit__cursor,
	.jdev-credit__arrow {
		animation: none;
	}

	.jdev-credit__cursor {
		opacity: 1;
	}

	.jdev-credit__underline {
		transition: none;
	}
}
