.rk-footer {
	background: var(--ink-soft);
	color: var(--paper);
	position: relative;
}
.rk-footer::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 2px;
	background: linear-gradient(90deg, var(--accent), var(--accent-bright));
}
.rk-footer__grid {
	padding-block: clamp(3rem, 4rem + 2vw, 5rem);
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr;
	gap: 2.5rem;
}
.rk-footer__brand {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}
.rk-footer__logo {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	text-decoration: none;
}
.rk-footer__logo img {
	height: 2.25rem;
	width: auto;
	border-radius: 50%;
}
.rk-footer__logo .rk-header__wordmark {
	color: var(--paper);
}
.rk-footer__brand p {
	font-family: var(--font-body);
	color: rgba(250, 248, 245, 0.7);
	font-size: 0.95rem;
	margin: 0;
	max-width: 22rem;
}
.rk-footer__heading {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 1.3rem;
	color: var(--paper) !important;
	margin: 0 0 1.25rem;
}
.rk-footer__links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}
.rk-footer__links a {
	font-family: var(--font-body);
	color: rgba(250, 248, 245, 0.85);
	text-decoration: none;
	font-size: 0.95rem;
}
.rk-footer__links a:hover {
	color: var(--accent-bright);
}
.rk-footer__social {
	display: flex;
	gap: 0.75rem;
}
.rk-footer__social-item {
	width: 2.5rem;
	height: 2.5rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	border: 1px solid rgba(250, 248, 245, 0.35);
	color: var(--paper);
	transition: border-color 0.2s ease, color 0.2s ease;
}
.rk-footer__social-item:hover {
	border-color: var(--accent-bright);
	color: var(--accent-bright);
}
.rk-footer__social-item[aria-disabled="true"] {
	cursor: default;
	opacity: 0.4;
}
.rk-footer__social-item[aria-disabled="true"]:hover {
	border-color: rgba(250, 248, 245, 0.35);
	color: var(--paper);
}

.rk-footer__bottom {
	border-top: 1px solid rgba(250, 248, 245, 0.12);
	padding-block: 1.5rem;
}
.rk-footer__bottom p {
	font-family: var(--font-body);
	color: rgba(250, 248, 245, 0.6);
	font-size: 0.85rem;
	margin: 0;
	text-align: center;
}

@media (max-width: 56rem) {
	.rk-footer__grid {
		grid-template-columns: 1fr 1fr;
	}
	.rk-footer__brand {
		grid-column: 1 / -1;
	}
}
@media (max-width: 30rem) {
	.rk-footer__grid {
		grid-template-columns: 1fr;
	}
}

/* Botón flotante de WhatsApp — mismo rincón que usaba el "volver arriba" de Astra */
.rk-whatsapp-fab {
	position: fixed;
	right: 30px;
	bottom: 30px;
	z-index: 99;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 3.5rem;
	height: 3.5rem;
	border-radius: 50%;
	background: var(--accent);
	box-shadow: 0 12px 28px -10px rgba(58, 71, 80, 0.55);
	transition: background-color 0.2s ease, transform 0.2s ease;
}
.rk-whatsapp-fab:hover {
	background: var(--accent-bright);
	transform: translateY(-2px);
}
.rk-whatsapp-fab .rk-icon {
	width: 1.7rem;
	height: 1.7rem;
	color: var(--paper);
}
@media (max-width: 30rem) {
	.rk-whatsapp-fab {
		right: 18px;
		bottom: 18px;
	}
}
