/**
 * Josvi site footer — scoped to .jm-site-footer.
 * Hides the Divi Theme Builder footer only.
 */

html body footer.et-l--footer,
html body #main-footer,
html body #footer-bottom {
	display: none !important;
}

.jm-site-footer {
	box-sizing: border-box;
	width: 100%;
	margin: 0;
	background-color: #141311;
	color: #f4f0e8;
	font-family: Inter, "Inter Tight", sans-serif;
	overflow-x: clip;
}

.jm-site-footer *,
.jm-site-footer *::before,
.jm-site-footer *::after {
	box-sizing: border-box;
}

.jm-site-footer__inner {
	width: 100%;
	max-width: 1300px;
	margin-inline: auto;
	padding-inline: clamp(24px, 6vw, 72px);
}

.jm-site-footer__main {
	padding-block: clamp(80px, 7vw, 100px) clamp(70px, 6.5vw, 88px);
}

.jm-site-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(8.5rem, 1fr) minmax(8.5rem, 1fr);
	column-gap: clamp(32px, 5vw, 64px);
	align-items: start;
}

.jm-site-footer__name {
	margin: 0;
	font-size: clamp(22px, 1.9vw, 28px);
	font-weight: 400;
	line-height: 1.15;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #f4f0e8;
}

.jm-site-footer__role {
	margin: 14px 0 0;
	font-size: 12px;
	line-height: 1.5;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: rgba(244, 240, 232, 0.58);
}

.jm-site-footer__services {
	margin: 18px 0 0;
	max-width: 28em;
	font-size: 13px;
	line-height: 1.65;
	letter-spacing: 0.04em;
	color: rgba(244, 240, 232, 0.5);
}

.jm-site-footer__nav-list,
.jm-site-footer__social {
	list-style: none;
	margin: 0;
	padding: 0;
}

.jm-site-footer__nav-list li + li,
.jm-site-footer__social li + li {
	margin-top: 10px;
}

.jm-site-footer__nav a,
.jm-site-footer__social a,
.jm-site-footer__back {
	font-size: 13px;
	line-height: 1.4;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-decoration: none;
	color: rgba(244, 240, 232, 0.72);
	transition: color 0.2s ease;
}

.jm-site-footer__nav a:hover,
.jm-site-footer__nav a:focus-visible,
.jm-site-footer__social a:hover,
.jm-site-footer__social a:focus-visible,
.jm-site-footer__back:hover,
.jm-site-footer__back:focus-visible {
	color: #b89b6a;
}

.jm-site-footer__util {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.jm-site-footer__back {
	font-size: 11px;
	letter-spacing: 0.18em;
	color: rgba(244, 240, 232, 0.45);
}

.jm-site-footer__follow {
	margin-top: 60px;
}

.jm-site-footer__follow-label {
	margin: 0 0 14px;
	font-size: 11px;
	line-height: 1.4;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: #b89b6a;
}

.jm-site-footer__social a {
	display: inline-flex;
	align-items: center;
	letter-spacing: 0.08em;
	text-transform: none;
}

.jm-site-footer__social-icon {
	display: inline-flex;
	flex: 0 0 14px;
	align-items: center;
	justify-content: center;
	width: 14px;
	height: 14px;
	margin-right: 8px;
	color: rgba(184, 155, 106, 0.78);
	transition: color 0.2s ease;
}

.jm-site-footer__social-icon svg {
	display: block;
	width: 13px;
	height: 13px;
}

.jm-site-footer__social a:hover .jm-site-footer__social-icon,
.jm-site-footer__social a:focus-visible .jm-site-footer__social-icon {
	color: #b89b6a;
}

.jm-site-footer__hairline {
	display: block;
	width: 88px;
	height: 1px;
	margin: 0 0 18px;
	background: rgba(184, 155, 106, 0.55);
}

.jm-site-footer__legal-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px 24px;
	padding-bottom: 22px;
}

.jm-site-footer__copy,
.jm-site-footer__policies {
	margin: 0;
	font-size: 12px;
	line-height: 1.4;
	letter-spacing: 0.04em;
	color: rgba(244, 240, 232, 0.4);
}

.jm-site-footer__policies {
	display: flex;
	gap: 20px;
}

.jm-site-footer__policies a {
	color: rgba(244, 240, 232, 0.4);
	text-decoration: none;
	transition: color 0.2s ease;
}

.jm-site-footer__policies a:hover,
.jm-site-footer__policies a:focus-visible {
	color: #b89b6a;
}

.jm-site-footer a:focus-visible {
	outline: 1px solid rgba(184, 155, 106, 0.8);
	outline-offset: 4px;
}

@media (max-width: 980px) {
	.jm-site-footer__grid {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		row-gap: 40px;
	}

	.jm-site-footer__brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 767px) {
	.jm-site-footer__main {
		padding-block: 56px 40px;
	}

	.jm-site-footer__inner {
		padding-inline: 24px;
	}

	.jm-site-footer__grid {
		grid-template-columns: 1fr;
		row-gap: 36px;
	}

	.jm-site-footer__nav,
	.jm-site-footer__util {
		grid-column: auto;
		grid-row: auto;
	}

	.jm-site-footer__follow {
		margin-top: 48px;
	}

	.jm-site-footer__legal-row {
		flex-direction: column;
		align-items: flex-start;
		padding-bottom: 20px;
	}
}
