.footer-block {
	position: relative;
	background: #26364D;
	color: #ffffff;
	overflow: hidden;
}

.footer-block__hero {
	position: relative;
	padding: clamp(112px, 11vw, 168px) 0 clamp(28px, 4vw, 52px);
	min-height: clamp(720px, 72vw, 980px);
	background: #26364D;
}

.footer-block__background {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.footer-block__background::before {
	content: '';
	position: absolute;
	inset: 0 0 auto 0;
	height: clamp(220px, 30vw, 360px);
	background: linear-gradient(180deg, #EBEFF3 0%, rgba(235, 239, 243, 0) 100%);
	z-index: 2;
	pointer-events: none;
}

.footer-block__background-image-wrap,
.footer-block__background-image {
	width: 100%;
	height: 100%;
}

.footer-block__background-image-wrap {
	position: absolute;
	inset: 0;
	line-height: 0;
}

.footer-block__background-image {
	display: block;
	object-fit: cover;
	object-position: center;
	filter: saturate(0.68) contrast(0.96);
}

.footer-block__background-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(38, 54, 77, 0.34) 0%, rgba(38, 54, 77, 0.42) 32%, rgba(38, 54, 77, 0.58) 66%, #26364D 100%);
	z-index: 1;
}

.footer-block__inner {
	position: relative;
	width: min(100%, var(--width));
	margin: 0 auto;
	padding: 0 var(--frame-padding-inline);
	box-sizing: border-box;
	z-index: 1;
}

.footer-block__top {
	display: grid;
	grid-template-columns: minmax(320px, 0.92fr) minmax(420px, 1.08fr);
	gap: clamp(30px, 3vw, 52px);
	align-items: start;
	position: relative;
	min-height: clamp(460px, 50vw, 620px);
}

.footer-block__top::after {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	left: calc(46% + 10px);
	width: 1px;
	background: rgba(255, 255, 255, 0.18);
}

.footer-block__column {
	position: relative;
	z-index: 1;
}

.footer-block__column--left {
	padding-right: clamp(28px, 4vw, 70px);
	display: grid;
	align-content: start;
	gap: 8px;
}

.footer-block__column--right {
	padding-left: clamp(28px, 4vw, 70px);
	display: grid;
	align-content: start;
	gap: clamp(18px, 2vw, 26px);
}

.footer-block__number {
	margin: 0;
	font-family: var(--font-family-display);
	font-size: 32px;
	font-weight: 400;
	line-height: 1;
	color: rgba(255, 255, 255, 0.68);
}

.footer-block__title {
	margin: 0;
	max-width: 100%;
	font-family: var(--font-family-display);
	font-size: clamp(34px, 3.8vw, 48px);
	font-weight: 300;
	line-height: 0.95;
	text-transform: uppercase;
	letter-spacing: -0.04em;
	color: #ffffff;
}

.footer-block__actions {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.footer-block__button,
.footer-block__submit {
	min-width: 250px;
	min-height: 58px;
}

.footer-block__button {
	width: min(100%, 320px);
	justify-content: center;
	padding-left: 20px;
	padding-right: 20px;
	box-sizing: border-box;
}

.footer-block__actions > .footer-block__button:nth-child(odd) {
	justify-self: start;
}

.footer-block__actions > .footer-block__button:nth-child(even) {
	justify-self: end;
}

.footer-block__button-content {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	gap: 16px;
}

.footer-block__button-leading {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-width: 0;
	width: 100%;
}

.footer-block__button-icon {
	width: 20px;
	height: 20px;
	display: block;
	object-fit: contain;
	flex: 0 0 auto;
}

.footer-block__button-label {
	display: inline-block;
	min-width: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.footer-block__separator {
	display: flex;
	align-items: center;
	gap: 18px;
	color: rgba(255, 255, 255, 0.88);
	font-family: var(--font-family-body-accent);
	font-size: 18px;
	font-weight: 400;
	line-height: 1;
}

.footer-block__separator::before,
.footer-block__separator::after {
	content: '';
	flex: 1 1 auto;
	height: 1px;
	background: rgba(255, 255, 255, 0.22);
}

.footer-block__contact-copy {
	max-width: 720px;
	margin: 0;
	font-family: var(--font-family-body-accent);
	font-size: 18px;
	font-weight: 400;
	line-height: 1.38;
	color: rgba(255, 255, 255, 0.92);
}

.footer-block__form {
	display: grid;
	gap: 14px;
}

.footer-block__form input.footer-block__input {
	display: block;
	width: 100%;
	height: 56px;
	padding: 0 26px 0 28px;
	appearance: none;
	-webkit-appearance: none;
	border: 1px solid rgba(255, 255, 255, 0.72);
	border-radius: 50px;
	background: rgba(69, 84, 108, 0.36);
	color: #ffffff;
	caret-color: #ffffff;
	-webkit-text-fill-color: #ffffff;
	font-family: var(--font-family-body-accent);
	font-size: 18px;
	font-weight: 400;
	line-height: 1;
	box-sizing: border-box;
	backdrop-filter: blur(10px);
}

.footer-block__form input.footer-block__input::placeholder {
	color: rgba(255, 255, 255, 0.9);
}

.footer-block__form input.footer-block__input:focus-visible {
	outline: none;
	border-color: rgba(255, 255, 255, 0.98);
	background: rgba(69, 84, 108, 0.48);
}

.footer-block__consent {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-family: var(--font-family-body-accent);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.92);
	cursor: pointer;
}

.footer-block__checkbox {
	width: 18px;
	height: 18px;
	margin: 2px 0 0;
	appearance: none;
	-webkit-appearance: none;
	border: 1px solid rgba(255, 255, 255, 0.92);
	border-radius: 4px;
	background: transparent;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 12px 12px;
	box-sizing: border-box;
	flex: 0 0 auto;
	cursor: pointer;
}

.footer-block__checkbox:checked {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3 8.5L6.2 11.5L13 4.5' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.footer-block__checkbox:focus-visible {
	outline: none;
	border-color: #ffffff;
}

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

.footer-block__submit-wrap {
	display: flex;
	justify-content: flex-end;
	padding-top: 4px;
}

.footer-block__base {
	position: relative;
	background: #26364D;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	padding: clamp(16px, 2.4vw, 28px) 0 clamp(32px, 4.5vw, 52px);
	z-index: 1;
}

.footer-block__bottom {
	display: grid;
	grid-template-columns: minmax(220px, 0.9fr) minmax(320px, 1.1fr);
	gap: clamp(24px, 3vw, 48px);
	align-items: start;
}

.footer-block__brand {
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
}

.footer-block__brand-image {
	display: block;
	max-width: min(100%, 260px);
	height: auto;
}

.footer-block__brand-fallback {
	font-family: var(--font-family-display);
	font-size: clamp(24px, 2.2vw, 30px);
	font-weight: 400;
	line-height: 1;
	color: #ffffff;
}

.footer-block__meta {
	display: grid;
	justify-items: end;
	gap: 16px;
}

.footer-block__links {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 12px 28px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-family: var(--font-family-body-accent);
	font-size: 18px;
	font-weight: 400;
	line-height: 1.3;
}

.footer-block__links li {
	display: flex;
}

.footer-block__links a {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: #ffffff;
	text-decoration: none;
}

.footer-block__links a::before {
	content: '';
	width: 18px;
	height: 18px;
	border: 2px solid rgba(255, 255, 255, 0.96);
	border-radius: 5px;
	background: rgba(255, 255, 255, 0.16);
	box-sizing: border-box;
	flex: 0 0 auto;
}

.footer-block__meta-divider {
	width: min(100%, 420px);
	height: 1px;
	background: rgba(255, 255, 255, 0.22);
}

.footer-block__signature {
	margin: 0;
	font-family: 'Plus Jakarta Sans', sans-serif;
	font-size: 20px;
	font-weight: 500;
	line-height: 1.2;
	color: #ffffff;
	text-align: right;
}

@media (max-width: 1219px) {
	.footer-block__top {
		grid-template-columns: 1fr;
		min-height: 0;
	}

	.footer-block__top::after {
		display: none;
	}

	.footer-block__column--left,
	.footer-block__column--right {
		padding-left: 0;
		padding-right: 0;
	}

	.footer-block__title,
	.footer-block__contact-copy {
		max-width: 100%;
	}

	.footer-block__bottom {
		grid-template-columns: 1fr;
		align-items: start;
	}

	.footer-block__meta {
		justify-items: start;
	}

	.footer-block__links {
		justify-content: flex-start;
	}

	.footer-block__meta-divider {
		width: 100%;
	}

	.footer-block__signature {
		text-align: left;
	}
}

@media (max-width: 767px) {
	.footer-block__hero {
		padding-top: 112px;
		padding-bottom: 72px;
		min-height: 0;
	}

	.footer-block__background::before {
		height: 180px;
	}

	.footer-block__number {
		font-size: 24px;
	}

	.footer-block__title {
		font-size: clamp(28px, 8.2vw, 36px);
		max-width: 100%;
		line-height: 1;
	}

	.footer-block__actions {
		grid-template-columns: 1fr;
		align-items: stretch;
	}

	.footer-block__actions > .footer-block__button:nth-child(odd),
	.footer-block__actions > .footer-block__button:nth-child(even) {
		justify-self: stretch;
	}

	.footer-block__button,
	.footer-block__submit {
		width: 100%;
		min-width: 0;
	}

	.footer-block__separator {
		gap: 12px;
		font-size: 16px;
	}

	.footer-block__contact-copy,
	.footer-block__input,
	.footer-block__links {
		font-size: 16px;
	}

	.footer-block__submit-wrap {
		justify-content: stretch;
	}

	.footer-block__base {
		padding-top: 28px;
		padding-bottom: 36px;
	}

	.footer-block__meta {
		gap: 14px;
	}

	.footer-block__links {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}

	.footer-block__signature {
		font-size: 18px;
	}

	.footer-block__brand-image {
		max-width: min(100%, 220px);
	}
}