.med-footer {
	position: relative;
	width: 100%;
	margin-top: 9rem;
	font-family: "Plus Jakarta Sans", sans-serif;
	font-size: 12px;
	color: #efbbcf;
	overflow: hidden;
}

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

.med-footer :where(img, svg) {
	max-width: 100%;
}

.med-footer__main {
	position: relative;
	z-index: 1;
	width: 100%;
	border-radius: 48px;
	background-color: #701438;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	padding: 96px 22px 48px;
	gap: 64px;
}

.med-footer__brand {
	display: block;
	width: min(100%, 1260px);
	height: auto;
	user-select: none;
}

.med-footer__brand img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: contain;
}

.med-footer__brand-text {
	display: block;
	width: 100%;
	max-width: 1260px;
	color: #efbbcf;
	font-size: clamp(64px, 13vw, 210px);
	line-height: 0.9;
	font-weight: 700;
	letter-spacing: -0.06em;
}

.med-footer__legal {
	width: min(100%, 1260px);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	color: #efbbcf;
	font-size: 12px;
	font-weight: 500;
	line-height: 150%;
}

.med-footer__legal-links {
	display: flex;
	align-items: flex-start;
	flex-wrap: wrap;
	min-width: 0;
	gap: 8px 16px;
}

.med-footer__legal a {
	color: #efbbcf;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.med-footer__legal a:hover,
.med-footer__legal a:focus-visible,
.med-footer__made a:hover,
.med-footer__made a:focus-visible {
	text-decoration-thickness: 2px;
	outline: none;
}

.med-footer__bottom {
	position: relative;
	z-index: 0;
	width: 100%;
	margin-top: -48px;
	padding: 48px 22px 0;
	background: #050203;
	color: #ffffff;
}

.med-footer__bottom-inner {
	width: min(100%, 1260px);
	min-height: 84px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 24px 0;
}

.med-footer__made {
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	color: #ffffff;
	font-size: 12px;
	line-height: 150%;
}

.med-footer__made strong {
	font-weight: 700;
}

.med-footer__made span {
	font-weight: 500;
	overflow-wrap: anywhere;
}

.med-footer__heart {
	color: #efbbcf;
	font-weight: 700;
}

.med-footer__made a {
	color: #ffffff;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.med-footer__socials {
	display: flex;
	align-items: center;
	gap: 12px;
}

.med-footer__social {
	width: 20px;
	height: 20px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #ffffff;
	text-decoration: none;
	transition: opacity 160ms ease;
}

.med-footer__social svg {
	display: block;
	width: 20px;
	height: 20px;
}

.med-footer__social:hover,
.med-footer__social:focus-visible {
	opacity: 0.75;
	outline: none;
}

.med-footer__social:focus-visible,
.med-footer__legal a:focus-visible,
.med-footer__made a:focus-visible {
	box-shadow: 0 0 0 3px rgba(239, 187, 207, 0.35);
	border-radius: 4px;
}

@media (max-width: 1439px) and (min-width: 1200px) {
	.med-footer__brand,
	.med-footer__legal,
	.med-footer__bottom-inner {
		max-width: 1040px;
	}
}

@media (max-width: 1199px) and (min-width: 900px) {
	.med-footer__brand,
	.med-footer__legal,
	.med-footer__bottom-inner {
		max-width: 850px;
	}
}

@media (max-width: 899px) and (min-width: 600px) {
	.med-footer {
		margin-top: 7rem;
	}

	.med-footer__main {
		border-radius: 32px;
		padding: 72px 24px 48px;
		gap: 48px;
	}

	.med-footer__brand,
	.med-footer__legal,
	.med-footer__bottom-inner {
		max-width: 550px;
	}

	.med-footer__legal,
	.med-footer__bottom-inner {
		flex-direction: column;
		align-items: flex-start;
	}

	.med-footer__legal-links {
		flex-direction: column;
		gap: 10px;
	}

	.med-footer__bottom {
		padding-left: 24px;
		padding-right: 24px;
	}
}

@media (max-width: 599px) {
	.med-footer {
		margin-top: 5rem;
	}

	.med-footer__main {
		border-radius: 0;
		padding: 56px 20px 40px;
		gap: 40px;
	}

	.med-footer__brand,
	.med-footer__legal,
	.med-footer__bottom-inner {
		max-width: 100%;
	}

	.med-footer__legal,
	.med-footer__bottom-inner {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.med-footer__legal-links {
		flex-direction: column;
		align-items: center;
		gap: 10px;
	}

	.med-footer__bottom {
		padding: 32px 20px 0;
	}

	.med-footer__bottom-inner {
		min-height: auto;
	}

	.med-footer__made {
		align-items: center;
		text-align: center;
	}

	.med-footer__socials {
		justify-content: center;
	}
}

@media (max-width: 390px) {
	.med-footer__main {
		padding-left: 16px;
		padding-right: 16px;
	}

	.med-footer__bottom {
		padding-left: 16px;
		padding-right: 16px;
	}
}

@media (max-width: 340px) {
	.med-footer__main {
		padding-left: 14px;
		padding-right: 14px;
	}

	.med-footer__bottom {
		padding-left: 14px;
		padding-right: 14px;
	}
}
