/*
 * "Ask AI" footer row.
 *
 * Sits on the footer's dark ground, so the marks are monochrome and inherit
 * text colour rather than importing five clashing brand palettes. Spacing and
 * type reuse the footer's own scale so the row reads as part of the design
 * rather than a widget dropped on top of it.
 */
.rs-ai {
	align-items: center;
	border-top: 1px solid rgb(255 255 255 / 12%);
	display: flex;
	flex-wrap: wrap;
	gap: 20px 40px;
	justify-content: space-between;
	/* Symmetric so the row sits optically centred between its own top rule and
	   the footer's bottom bar rule. The tiles are 44px, the copy ~22px, so the
	   padding is measured against the tallest child rather than the text. */
	padding: 26px 0;
}

.rs-ai__intro {
	align-items: center;
	display: flex;
	gap: 12px;
	max-width: 46ch;
}

.rs-ai__spark {
	color: var(--renova-gold);
	flex: 0 0 auto;
	line-height: 0;
}

.rs-ai__spark svg {
	height: 20px;
	width: 20px;
}

.rs-ai__copy {
	color: rgb(255 255 255 / 62%);
	font-size: 15px;
	letter-spacing: 0.2px;
	line-height: 1.5;
}

.rs-ai__list {
	display: flex;
	gap: 10px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.rs-ai__logo {
	align-items: center;
	background: rgb(255 255 255 / 6%);
	border: 1px solid rgb(255 255 255 / 10%);
	border-radius: 10px;
	color: rgb(255 255 255 / 72%);
	display: flex;
	height: 44px;
	justify-content: center;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
	width: 44px;
}

.rs-ai__logo svg {
	height: 22px;
	width: 22px;
}

.rs-ai__logo:hover,
.rs-ai__logo:focus-visible {
	background: rgb(255 255 255 / 12%);
	border-color: var(--renova-gold);
	color: #fff;
	transform: translateY(-2px);
}

.rs-ai__logo:focus-visible {
	outline: 2px solid var(--renova-gold);
	outline-offset: 3px;
}

@media screen and (max-width: 767px) {
	.rs-ai {
		gap: 18px;
		justify-content: flex-start;
		padding: 22px 0;
	}

	.rs-ai__copy {
		font-size: 14px;
	}

	.rs-ai__logo {
		height: 42px;
		width: 42px;
	}
}

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

	.rs-ai__logo:hover {
		transform: none;
	}
}
