/* RomaniaHUB – footer (sections/footer-rh.php). Aceeași paletă ca header-ul. */

.rh-ft {
	--rh-ft-bg: #120c26;
	--rh-ft-line: rgba(255, 255, 255, .1);
	--rh-ft-text: rgba(255, 255, 255, .72);
	--rh-ft-muted: rgba(255, 255, 255, .5);
	position: relative;
	margin: 0;
	padding: 72px 0 0;
	background: var(--rh-ft-bg);
	color: var(--rh-ft-text);
	font-size: 14px;
	line-height: 1.6;
	overflow: hidden;
}

.rh-ft::before {
	content: "";
	position: absolute;
	top: -260px;
	right: -160px;
	width: 620px;
	height: 620px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(108, 28, 255, .28), rgba(108, 28, 255, 0) 70%);
	pointer-events: none;
}

.rh-ft p {
	color: var(--rh-ft-text);
}

.rh-ft__wrap {
	position: relative;
	max-width: 1440px;
	margin: 0 auto;
	padding: 0 10px;
}

.rh-ft__top {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(0, .8fr) minmax(0, .9fr) minmax(0, 1.35fr);
	gap: 48px;
	padding-bottom: 56px;
}

.rh-ft__logo {
	display: inline-block;
	margin: 0 0 18px;
}

.rh-ft__logo img {
	display: block;
	width: 190px;
	height: auto;
}

.rh-ft__about {
	max-width: 380px;
	margin: 0 0 24px;
	color: var(--rh-ft-text);
}

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

.rh-ft__social a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid var(--rh-ft-line);
	border-radius: 12px;
	background: rgba(255, 255, 255, .04);
	color: #fff !important;
	transition: background .15s ease, border-color .15s ease;
}

.rh-ft__social a:hover {
	border-color: rgba(169, 139, 255, .5);
	background: rgba(108, 28, 255, .35);
}

.rh-ft__social svg {
	width: 17px;
	height: 17px;
	fill: currentColor;
}

.rh-ft .rh-ft__title {
	margin: 4px 0 18px;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .8px;
	text-transform: uppercase;
}

.rh-ft__links {
	margin: 0;
	padding: 0;
	list-style: none;
}

.rh-ft__links li {
	margin: 0 0 10px;
}

.rh-ft__links a {
	color: var(--rh-ft-text) !important;
	font-size: 14px;
	text-decoration: none;
	transition: color .15s ease;
}

.rh-ft__links a:hover {
	color: #fff !important;
}

/* Newsletter */
.rh-ft .rh-ft__news p {
	margin: 0 0 16px;
}

.rh-ft__form {
	display: grid;
	gap: 10px;
}

.rh-ft__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.rh-ft__form input[type="text"],
.rh-ft__form input[type="email"] {
	width: 100%;
	height: 46px;
	margin: 0;
	padding: 0 14px;
	border: 1px solid var(--rh-ft-line);
	border-radius: 12px;
	background: rgba(255, 255, 255, .06);
	box-shadow: none;
	color: #fff;
	font-size: 14px;
}

.rh-ft__form input::placeholder {
	color: var(--rh-ft-muted);
}

.rh-ft__form input[type="text"]:focus,
.rh-ft__form input[type="email"]:focus {
	border-color: #a98bff;
	outline: none;
	background: rgba(255, 255, 255, .1);
}

.rh-ft__check {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 2px 0;
	color: var(--rh-ft-muted);
	font-size: 12px;
	line-height: 1.5;
	cursor: pointer;
}

.rh-ft__check input {
	flex: none;
	width: 16px;
	height: 16px;
	margin: 1px 0 0;
	accent-color: #6c1cff;
}

.rh-ft__check a {
	color: var(--rh-ft-text) !important;
	text-decoration: underline;
}

.rh-ft__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 46px;
	padding: 0 22px;
	border: 0;
	border-radius: 12px;
	background: #6c1cff;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	transition: background .15s ease;
}

.rh-ft__btn:hover {
	background: #5612d6;
}

.rh-ft__btn[disabled] {
	opacity: .6;
	cursor: wait;
}

.rh-ft__msg {
	margin: 0;
	font-size: 13px;
}

.rh-ft__msg.is-ok {
	color: #7ee2a8;
}

.rh-ft__msg.is-err {
	color: #ff9b9b;
}

/* Bara de jos */
.rh-ft__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 32px;
	padding: 24px 0 28px;
	border-top: 1px solid var(--rh-ft-line);
	color: var(--rh-ft-muted);
	font-size: 13px;
}

.rh-ft .rh-ft__copy {
	margin: 0;
	color: var(--rh-ft-muted);
}

.rh-ft__legal {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.rh-ft__legal a {
	color: var(--rh-ft-muted) !important;
	text-decoration: none;
}

.rh-ft__legal a:hover {
	color: #fff !important;
}

.rh-ft__pay {
	display: block;
	width: auto;
	height: 24px;
	opacity: .85;
}

.rh-ft__credit {
	padding: 0 0 24px;
	color: rgba(255, 255, 255, .35);
	font-size: 12px;
}

.rh-ft__credit a {
	color: inherit !important;
}

/* ---------- Tabletă ---------- */
@media (max-width: 1100px) {
	.rh-ft__top {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 40px 32px;
	}
}

/* ---------- Telefon ---------- */
@media (max-width: 767px) {
	.rh-ft {
		padding-top: 48px;
	}

	.rh-ft__wrap {
		padding: 0 16px;
	}

	.rh-ft__top {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 36px 20px;
		padding-bottom: 40px;
	}

	.rh-ft__brand,
	.rh-ft__news {
		grid-column: 1 / -1;
	}

	.rh-ft__row {
		grid-template-columns: 1fr;
	}

	.rh-ft__btn {
		width: 100%;
	}

	.rh-ft__bottom {
		flex-direction: column;
		align-items: flex-start;
	}
}
