/* ============================================================
   RocketX Footer — compact, upmarket, dark
   ============================================================ */

.rx-footer {
	position: relative;
	z-index: 1;
	background: linear-gradient(180deg, #0A0E1F 0%, #06091A 100%);
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	color: rgba(255, 255, 255, 0.7);
	padding: clamp(3rem, 6vw, 4.5rem) clamp(1.5rem, 4vw, 4rem) 1.75rem;
}

.rx-footer__inner {
	max-width: 1320px;
	margin: 0 auto;
}

/* ---- Top: brand + columns ---- */
.rx-footer__top {
	display: grid;
	grid-template-columns: 1.7fr 1fr 1fr 1.3fr;
	gap: clamp(2rem, 4vw, 4rem);
	align-items: start;
}

.rx-footer__logo {
	height: 32px;
	width: auto;
	display: block;
	margin: 0 0 1.25rem;
}

.rx-footer__desc {
	font-size: 0.9rem;
	line-height: 1.6;
	max-width: 290px;
	margin: 0 0 1.4rem;
	color: rgba(255, 255, 255, 0.6);
}

/* ---- Social ---- */
.rx-footer__social {
	display: flex;
	gap: 0.6rem;
}

.rx-footer__social a {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	color: #fff;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.12);
	transition: background var(--rx-dur-fast) var(--rx-ease-out),
		border-color var(--rx-dur-fast) var(--rx-ease-out),
		transform var(--rx-dur-fast) var(--rx-ease-out);
}

.rx-footer__social a:hover {
	background: var(--rx-orange);
	border-color: var(--rx-orange);
	transform: translateY(-2px);
}

.rx-footer__social svg {
	width: 17px;
	height: 17px;
	display: block;
}

/* ---- Nav columns ---- */
.rx-footer__heading {
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	font-weight: 600;
	color: #fff;
	margin: 0.35rem 0 1.1rem;
}

.rx-footer__col ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.7rem;
}

.rx-footer__col a {
	color: rgba(255, 255, 255, 0.62);
	text-decoration: none;
	font-size: 0.92rem;
	transition: color var(--rx-dur-fast) var(--rx-ease-out);
}

.rx-footer__col a:hover {
	color: var(--rx-orange-300);
}

.rx-footer__reg,
.rx-footer__addr {
	font-size: 0.86rem;
	line-height: 1.6;
	margin: 0 0 0.9rem;
	color: rgba(255, 255, 255, 0.6);
}

.rx-footer__reg strong { color: rgba(255, 255, 255, 0.9); font-weight: 600; }

/* ---- Legal (mandatory risk disclosure) ---- */
.rx-footer__legal {
	margin-top: clamp(2rem, 4vw, 3rem);
	padding-top: 1.6rem;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.rx-footer__legal p {
	font-size: 0.74rem;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.62);
	max-width: none;
	margin: 0;
	text-align: justify;
	text-justify: inter-word;
	hyphens: auto;
}

.rx-footer__legal strong { color: rgba(255, 255, 255, 0.78); }

/* ---- Bottom bar ---- */
.rx-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 1.5rem;
	padding-top: 1.4rem;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	font-size: 0.8rem;
	color: rgba(255, 255, 255, 0.5);
}

.rx-footer__bottom p { margin: 0; }

/* ---- Responsive ---- */
@media (max-width: 880px) {
	.rx-footer__top { grid-template-columns: 1fr 1fr; }
	.rx-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
	.rx-footer__top { grid-template-columns: 1fr; }
	.rx-footer__bottom { flex-direction: column; gap: 0.4rem; }
}
