@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

.rsf-hide-theme-footer .site-footer,
.rsf-hide-theme-footer #colophon,
.rsf-hide-theme-footer .ast-footer-copyright,
.rsf-hide-theme-footer .ast-builder-footer-grid-columns,
.rsf-hide-theme-footer .ast-footer-overlay,
.rsf-hide-theme-footer footer.footer-adv {
	display: none !important;
}

.rsf-footer {
	background: #fffcf9;
	border-top: 1px solid rgba(102, 55, 31, 0.08);
	color: #2c1a16;
	font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	margin-top: 60px;
	position: relative;
	overflow: hidden;
}

/* Subtle decorative background gradient */
.rsf-footer::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 300px;
	background: radial-gradient(circle at 10% 0%, rgba(156, 22, 13, 0.03) 0%, transparent 50%),
	            radial-gradient(circle at 90% 100%, rgba(102, 55, 31, 0.03) 0%, transparent 50%);
	pointer-events: none;
}

.rsf-footer * {
	box-sizing: border-box;
}

.rsf-footer__inner {
	display: grid;
	gap: 40px;
	grid-template-columns: 1.35fr 0.85fr 1.05fr 0.95fr;
	margin: 0 auto;
	max-width: 1400px;
	padding: 64px clamp(20px, 5vw, 80px) 48px;
	position: relative;
	z-index: 2;
}

.rsf-footer h3 {
	color: #1f100d;
	font-size: 16px;
	font-weight: 800;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	line-height: 1.2;
	margin: 0 0 24px;
	position: relative;
	display: inline-block;
}

.rsf-footer h3::after {
	content: '';
	position: absolute;
	bottom: -6px;
	left: 0;
	width: 24px;
	height: 2px;
	background: #9c160d;
	border-radius: 2px;
}

.rsf-footer a {
	color: inherit;
	text-decoration: none !important;
}

.rsf-brand {
	align-items: center;
	display: inline-flex;
	margin-bottom: 20px;
	min-height: 70px;
}

.rsf-brand__logo {
	display: block;
	height: auto;
	max-height: 100px;
	max-width: 140px;
	object-fit: contain;
	width: auto;
	transition: transform 0.3s ease;
}

.rsf-brand:hover .rsf-brand__logo {
	transform: scale(1.03);
}

.rsf-brand__name {
	color: #8f140c;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 32px;
	line-height: 1;
}

.rsf-footer__brand p {
	color: #6f5f58;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.6;
	margin: 0 0 24px;
	max-width: 320px;
}

.rsf-socials {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.rsf-socials a {
	align-items: center;
	background: #ffffff;
	border: 1px solid rgba(102, 55, 31, 0.08);
	border-radius: 50%;
	color: #7a3f2f;
	display: inline-flex;
	height: 42px;
	justify-content: center;
	transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	width: 42px;
	box-shadow: 0 2px 8px rgba(102, 55, 31, 0.04);
}

.rsf-socials a svg,
.rsf-socials a .rsf-icon-svg {
	display: block !important;
	height: 20px !important;
	width: 20px !important;
	stroke: currentColor !important;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2 !important;
	fill: none !important;
	transition: transform 0.3s ease;
}

.rsf-socials a:hover,
.rsf-socials a:focus-visible {
	background: #9c160d;
	border-color: #9c160d;
	color: #ffffff;
	outline: none;
	transform: translateY(-4px) scale(1.08);
	box-shadow: 0 8px 20px rgba(156, 22, 13, 0.2);
}

.rsf-socials a:hover svg,
.rsf-socials a:hover .rsf-icon-svg {
	transform: rotate(8deg);
}

.rsf-footer svg,
.rsf-footer .rsf-icon-svg {
	fill: none;
	height: 18px;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2;
	width: 18px;
}

.rsf-menu,
.rsf-footer__contact ul {
	display: grid;
	gap: 12px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.rsf-menu a {
	color: #5d4f49;
	font-size: 14.5px;
	font-weight: 600;
	line-height: 1.4;
	position: relative;
	display: inline-block;
	transition: color 0.25s ease;
}

.rsf-menu a::after {
	content: '';
	position: absolute;
	width: 100%;
	transform: scaleX(0);
	height: 1.5px;
	bottom: -2px;
	left: 0;
	background-color: #9c160d;
	transform-origin: bottom right;
	transition: transform 0.25s ease-out;
}

.rsf-menu a:hover {
	color: #9c160d;
}

.rsf-menu a:hover::after {
	transform: scaleX(1);
	transform-origin: bottom left;
}

.rsf-footer__contact a,
.rsf-footer__contact span {
	color: #5d4f49;
	font-size: 14.5px;
	font-weight: 600;
	line-height: 1.4;
	transition: color 0.25s ease;
}

.rsf-footer__contact li {
	align-items: flex-start;
	display: flex;
	gap: 12px;
	transition: transform 0.25s ease;
}

.rsf-footer__contact li:hover {
	transform: translateX(4px);
}

.rsf-footer__contact li:hover a {
	color: #9c160d;
}

.rsf-footer__contact svg,
.rsf-footer__contact .rsf-icon-svg {
	color: #9c160d;
	flex-shrink: 0;
	margin-top: 2px;
	transition: transform 0.25s ease;
}

.rsf-footer__contact li:hover svg,
.rsf-footer__contact li:hover .rsf-icon-svg {
	transform: scale(1.1);
}

.rsf-legal-links {
	display: grid;
	gap: 10px;
}

.rsf-legal-links a {
	align-items: center;
	background: rgba(255, 255, 255, 0.65);
	border: 1px solid rgba(102, 55, 31, 0.05);
	border-radius: 10px;
	display: flex;
	gap: 10px;
	min-height: 42px;
	padding: 10px 14px;
	transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	box-shadow: 0 1px 4px rgba(102, 55, 31, 0.02);
	color: #5d4f49;
	font-size: 14px;
	font-weight: 600;
}

.rsf-legal-links a svg,
.rsf-legal-links a .rsf-icon-svg {
	color: #9c160d;
	height: 16px;
	width: 16px;
	flex-shrink: 0;
	transition: transform 0.3s ease;
}

.rsf-legal-links a:hover {
	background: #ffffff;
	border-color: rgba(156, 22, 13, 0.12);
	color: #9c160d;
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(102, 55, 31, 0.06);
}

.rsf-legal-links a:hover svg,
.rsf-legal-links a:hover .rsf-icon-svg {
	transform: translateX(3px);
}

.rsf-footer__bottom {
	align-items: center;
	border-top: 1px solid rgba(102, 55, 31, 0.06);
	color: #766963;
	display: flex;
	font-size: 13.5px;
	font-weight: 600;
	gap: 16px;
	justify-content: space-between;
	margin: 0 auto;
	max-width: 1400px;
	padding: 24px clamp(20px, 5vw, 80px) 28px;
	position: relative;
	z-index: 2;
}

@media (max-width: 980px) {
	.rsf-footer__inner {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 36px;
		padding: 48px 30px;
	}
	.rsf-footer__bottom {
		padding: 20px 30px;
	}
}

@media (max-width: 640px) {
	.rsf-footer {
		margin-top: 40px;
	}

	.rsf-footer__inner {
		gap: 32px;
		grid-template-columns: 1fr;
		padding: 40px 20px 30px;
	}

	.rsf-brand__logo {
		max-height: 80px;
	}

	.rsf-footer__bottom {
		align-items: center;
		flex-direction: column;
		text-align: center;
		padding: 20px 20px 24px;
	}
}
