.rftf,
.rftf * {
	box-sizing: border-box;
}

.rftf {
	--rftf-text: #fff;
	--rftf-muted: rgba(255,255,255,.72);
	--rftf-line: rgba(255,255,255,.18);
	--rftf-accent: #ffd34d;
	position: relative;
	isolation: isolate;
	width: 100%;
	color: var(--rftf-text);
	background: linear-gradient(135deg, #5a35d6 0%, #32166e 100%);
	overflow: hidden;
}

.rftf--full-bleed {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

.rftf__inner {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 1240px;
	margin: 0 auto;
	padding: 34px 24px 22px;
}

.rftf__decor {
	position: absolute;
	z-index: 0;
	border-radius: 999px;
	pointer-events: none;
}

.rftf__decor--one {
	top: -170px;
	right: -120px;
	width: 390px;
	height: 390px;
	border: 70px solid rgba(255,255,255,.045);
}

.rftf__decor--two {
	bottom: -110px;
	left: -70px;
	width: 250px;
	height: 250px;
	background: radial-gradient(circle, rgba(255,211,77,.15) 0 3px, transparent 4px);
	background-size: 22px 22px;
	opacity: .7;
	transform: rotate(-10deg);
}

.rftf__cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	margin-bottom: 44px;
	padding: 22px 24px;
	background: rgba(255,255,255,.1);
	border: 1px solid rgba(255,255,255,.17);
	border-radius: 28px;
	box-shadow: 0 18px 55px rgba(20,7,65,.18);
	backdrop-filter: blur(8px);
}

.rftf__cta-copy {
	display: flex;
	align-items: center;
	gap: 17px;
	min-width: 0;
}

.rftf__cta-icon {
	flex: 0 0 54px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	border-radius: 18px;
	color: #2e176b;
	background: var(--rftf-accent);
	box-shadow: 0 10px 28px rgba(24,8,77,.22);
}

.rftf__cta-icon svg {
	width: 24px;
	height: 24px;
	fill: currentColor;
}

.rftf__cta-icon i {
	font-size: 24px;
}

.rftf__cta-title {
	margin: 0 0 4px;
	font-size: clamp(20px, 2vw, 27px);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -.02em;
}

.rftf__cta-text {
	max-width: 680px;
	color: var(--rftf-muted);
	font-size: 15px;
	line-height: 1.5;
}

.rftf__cta-button {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 52px;
	padding: 0 23px;
	border-radius: 16px;
	color: #2e176b;
	background: var(--rftf-accent);
	font-size: 15px;
	font-weight: 800;
	line-height: 1;
	text-decoration: none !important;
	box-shadow: 0 12px 28px rgba(25,7,72,.22);
	transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}

.rftf__cta-button:hover {
	color: #2e176b;
	transform: translateY(-2px);
	box-shadow: 0 16px 34px rgba(25,7,72,.28);
	filter: brightness(1.04);
}

.rftf__grid {
	display: grid;
	grid-template-columns: minmax(250px, 1.25fr) minmax(150px, .75fr) minmax(215px, 1fr) minmax(210px, .9fr);
	gap: 48px;
	align-items: start;
}

.rftf__brand,
.rftf__column {
	min-width: 0;
}

.rftf__logo img {
	display: block;
	width: 190px;
	max-width: 100%;
	height: auto;
	object-fit: contain;
	object-position: left center;
}

.rftf__brand-name {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 27px;
	font-weight: 900;
	line-height: 1;
	letter-spacing: -.035em;
}

.rftf__brand-mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 14px;
	color: #2e176b;
	background: var(--rftf-accent);
	font-size: 24px;
	font-weight: 950;
	transform: rotate(-4deg);
	box-shadow: 0 10px 24px rgba(25,7,72,.22);
}

.rftf__tagline {
	max-width: 330px;
	margin: 20px 0 0;
	color: var(--rftf-muted);
	font-size: 14px;
	line-height: 1.65;
}

.rftf__socials {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 22px;
}

.rftf__social {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 13px;
	color: #2e176b;
	background: var(--rftf-accent);
	text-decoration: none !important;
	transition: transform .2s ease, filter .2s ease;
}

.rftf__social:hover {
	color: #2e176b;
	transform: translateY(-2px) rotate(-2deg);
	filter: brightness(1.04);
}

.rftf__social svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

.rftf__heading {
	position: relative;
	margin-bottom: 19px;
	padding-bottom: 12px;
	font-size: 16px;
	font-weight: 800;
	line-height: 1.25;
}

.rftf__heading::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 34px;
	height: 3px;
	border-radius: 99px;
	background: var(--rftf-accent);
}

.rftf__list,
.rftf__branches {
	list-style: none;
	margin: 0;
	padding: 0;
}

.rftf__list {
	display: grid;
	gap: 12px;
}

.rftf__link,
.rftf__contact-link,
.rftf__branch-link {
	color: var(--rftf-text);
	font-size: 14px;
	line-height: 1.45;
	text-decoration: none !important;
	transition: color .2s ease, transform .2s ease;
}

.rftf__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.rftf__link::before {
	content: "";
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--rftf-accent);
	box-shadow: 0 0 0 3px rgba(255,211,77,.12);
}

.rftf__link:hover,
.rftf__contact-link:hover,
.rftf__branch-link:hover {
	color: var(--rftf-accent);
}

.rftf__branches {
	display: grid;
	gap: 16px;
}

.rftf__branch {
	display: grid;
	grid-template-columns: 12px minmax(0,1fr);
	gap: 10px;
	align-items: start;
}

.rftf__pin {
	margin-top: 5px;
	color: var(--rftf-accent);
	font-size: 9px;
	filter: drop-shadow(0 0 5px rgba(255,211,77,.4));
}

.rftf__branch-name {
	margin-bottom: 3px;
	color: var(--rftf-muted);
	font-size: 12px;
	line-height: 1.25;
}

.rftf__branch-address {
	color: var(--rftf-text);
	font-size: 14px;
	line-height: 1.45;
}

.rftf__contacts {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.rftf__phone {
	color: var(--rftf-text);
	font-size: clamp(19px, 1.65vw, 24px);
	font-weight: 900;
	line-height: 1.15;
	letter-spacing: -.025em;
	text-decoration: none !important;
	white-space: nowrap;
}

.rftf__phone:hover {
	color: var(--rftf-accent);
}

.rftf__contact-link {
	margin-top: 10px;
}

.rftf__hours {
	margin-top: 12px;
	color: var(--rftf-muted);
	font-size: 13px;
	line-height: 1.55;
}

.rftf__call {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	margin-top: 18px;
	padding: 0 18px;
	border: 1px solid var(--rftf-line);
	border-radius: 13px;
	color: var(--rftf-text);
	background: rgba(255,255,255,.08);
	font-size: 13px;
	font-weight: 750;
	text-decoration: none !important;
	transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.rftf__call:hover {
	color: var(--rftf-text);
	background: rgba(255,255,255,.14);
	border-color: rgba(255,255,255,.3);
	transform: translateY(-1px);
}

.rftf__bottom {
	display: grid;
	grid-template-columns: minmax(210px,1fr) auto auto;
	gap: 22px;
	align-items: center;
	margin-top: 42px;
	padding-top: 20px;
	border-top: 1px solid var(--rftf-line);
	color: rgba(255,255,255,.62);
	font-size: 12px;
	line-height: 1.45;
}

.rftf__legal {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px 20px;
}

.rftf__legal-link {
	color: rgba(255,255,255,.62);
	text-decoration: none !important;
	transition: color .2s ease;
}

.rftf__legal-link:hover {
	color: var(--rftf-accent);
}

.rftf__top-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 38px;
	padding: 0 14px;
	border: 1px solid var(--rftf-line);
	border-radius: 12px;
	color: var(--rftf-text);
	background: rgba(255,255,255,.1);
	font-weight: 750;
	text-decoration: none !important;
	transition: transform .2s ease, background .2s ease;
}

.rftf__top-link:hover {
	color: var(--rftf-text);
	background: rgba(255,255,255,.16);
	transform: translateY(-2px);
}

@media (max-width: 1024px) {
	.rftf__grid {
		grid-template-columns: 1.2fr 1fr 1fr;
	}

	.rftf__contacts {
		grid-column: 2 / 4;
		padding-top: 2px;
	}

	.rftf__bottom {
		grid-template-columns: 1fr auto;
	}

	.rftf__legal {
		justify-content: flex-start;
		grid-column: 1 / 2;
		grid-row: 2;
	}

	.rftf__top-link {
		grid-column: 2;
		grid-row: 1 / 3;
	}
}

@media (max-width: 767px) {
	.rftf__inner {
		padding: 24px 16px 18px;
	}

	.rftf__cta {
		align-items: stretch;
		flex-direction: column;
		gap: 18px;
		margin-bottom: 34px;
		padding: 20px;
		border-radius: 23px;
	}

	.rftf__cta-copy {
		align-items: flex-start;
	}

	.rftf__cta-icon {
		flex-basis: 48px;
		width: 48px;
		height: 48px;
		border-radius: 15px;
	}

	.rftf__cta-button {
		width: 100%;
	}

	.rftf__grid {
		grid-template-columns: 1fr 1fr;
		gap: 34px 24px;
	}

	.rftf__brand {
		grid-column: 1 / -1;
	}

	.rftf__contacts {
		grid-column: 1 / -1;
	}

	.rftf__bottom {
		grid-template-columns: 1fr;
		gap: 14px;
		margin-top: 34px;
	}

	.rftf__legal,
	.rftf__top-link {
		grid-column: 1;
		grid-row: auto;
	}

	.rftf__legal {
		justify-content: flex-start;
	}

	.rftf__top-link {
		justify-self: start;
	}
}

@media (max-width: 520px) {
	.rftf__grid {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.rftf__brand,
	.rftf__contacts {
		grid-column: auto;
	}

	.rftf__heading {
		margin-bottom: 15px;
	}

	.rftf__cta-copy {
		gap: 13px;
	}

	.rftf__cta-title {
		font-size: 21px;
	}

	.rftf__brand-name {
		font-size: 24px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.rftf *,
	.rftf *::before,
	.rftf *::after {
		scroll-behavior: auto !important;
		transition: none !important;
	}
}
