.realizations {
	clear: both;
	padding: 5em 15px 1em;
}

.realizations__heading {
	max-width: 720px;
	margin: 0 auto 2.5em;
	text-align: center;
}

.realizations__heading h3 {
	color: #212121;
	font-size: 2.2em;
	margin-bottom: .55em;
}

.realizations__heading > p:last-child {
	color: #666;
	font-size: 15px;
	line-height: 1.75;
}

.realizations__eyebrow {
	color: #db1921 !important;
	font-size: 12px !important;
	font-weight: 700;
	letter-spacing: .16em;
	margin-bottom: .8em;
	text-transform: uppercase;
}

.realizations__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.realization-card {
	background: #fff;
	border: 1px solid #e6e6e6;
	border-radius: 8px;
	box-shadow: 0 5px 18px rgba(0, 0, 0, .07);
	min-width: 0;
	overflow: hidden;
	transition: box-shadow .2s ease, transform .2s ease;
}

.realization-card:hover {
	box-shadow: 0 10px 28px rgba(0, 0, 0, .13);
	transform: translateY(-3px);
}

.realization-card__button {
	appearance: none;
	background: transparent;
	border: 0;
	color: inherit;
	cursor: pointer;
	display: block;
	font: inherit;
	padding: 0;
	text-align: left;
	width: 100%;
}

.realization-card__button:focus {
	outline: 3px solid rgba(219, 25, 33, .35);
	outline-offset: -3px;
}

.realization-card__media {
	aspect-ratio: 4 / 3;
	background: #eee;
	overflow: hidden;
	position: relative;
}

.realization-card__media img {
	display: block;
	height: 100%;
	object-fit: cover;
	transition: transform .35s ease;
	width: 100%;
}

.realization-card:hover .realization-card__media img {
	transform: scale(1.035);
}

.realization-card__badge {
	background: rgba(20, 20, 20, .82);
	border-radius: 999px;
	bottom: 12px;
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	padding: 6px 10px;
	position: absolute;
	right: 12px;
}

.realization-card__body {
	align-items: center;
	display: flex;
	gap: 12px;
	justify-content: space-between;
	min-height: 82px;
	padding: 18px 20px;
}

.realization-card__title {
	color: #212121;
	font-family: 'Lato', sans-serif;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.35;
	margin: 0;
}

.realization-card__arrow {
	align-items: center;
	background: #db1921;
	border-radius: 50%;
	color: #fff;
	display: flex;
	flex: 0 0 34px;
	font-size: 19px;
	height: 34px;
	justify-content: center;
}

body.gallery-is-open {
	overflow: hidden;
}

.gallery-modal[hidden] {
	display: none;
}

.gallery-modal {
	align-items: center;
	display: flex;
	inset: 0;
	justify-content: center;
	padding: 24px;
	position: fixed;
	z-index: 10000;
}

.gallery-modal__backdrop {
	background: rgba(8, 8, 10, .92);
	inset: 0;
	position: absolute;
}

.gallery-modal__dialog {
	background: #171719;
	border-radius: 10px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, .5);
	color: #fff;
	display: flex;
	flex-direction: column;
	max-height: calc(100vh - 48px);
	max-width: 1180px;
	overflow: hidden;
	position: relative;
	width: 100%;
	z-index: 1;
}

.gallery-modal__header {
	align-items: center;
	display: flex;
	flex: 0 0 auto;
	gap: 20px;
	justify-content: space-between;
	padding: 14px 16px 12px 22px;
}

.gallery-modal__header h2 {
	color: #fff;
	font-size: 20px;
	line-height: 1.3;
	margin: 0;
}

.gallery-modal__counter {
	color: #bdbdbd;
	font-size: 13px;
	margin-top: 3px;
}

.gallery-modal__close,
.gallery-modal__nav {
	appearance: none;
	background: rgba(255, 255, 255, .12);
	border: 0;
	color: #fff;
	cursor: pointer;
	transition: background .2s ease;
}

.gallery-modal__close:hover,
.gallery-modal__close:focus,
.gallery-modal__nav:hover,
.gallery-modal__nav:focus {
	background: #db1921;
	outline: none;
}

.gallery-modal__close {
	align-items: center;
	border-radius: 50%;
	display: flex;
	flex: 0 0 46px;
	font-size: 34px;
	height: 46px;
	justify-content: center;
	line-height: 1;
	padding: 0 0 4px;
}

.gallery-modal__stage {
	align-items: center;
	display: grid;
	flex: 1 1 auto;
	grid-template-columns: 64px minmax(0, 1fr) 64px;
	min-height: 0;
	padding: 0 12px 18px;
}

.gallery-modal__figure {
	align-items: center;
	display: flex;
	flex-direction: column;
	height: 100%;
	justify-content: center;
	margin: 0;
	min-height: 0;
	min-width: 0;
}

.gallery-modal__figure img {
	display: block;
	max-height: calc(100vh - 180px);
	max-width: 100%;
	object-fit: contain;
}

.gallery-modal__figure figcaption {
	color: #d8d8d8;
	font-size: 14px;
	line-height: 1.45;
	max-width: 760px;
	min-height: 20px;
	padding: 10px 12px 0;
	text-align: center;
}

.gallery-modal__nav {
	align-items: center;
	align-self: center;
	border-radius: 50%;
	display: flex;
	font-size: 27px;
	height: 50px;
	justify-content: center;
	justify-self: center;
	width: 50px;
}

.gallery-modal__nav:disabled {
	cursor: default;
	opacity: .25;
}

@media (max-width: 991px) {
	.realizations {
		padding-top: 4em;
	}

	.realizations__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 20px;
	}
}

@media (max-width: 599px) {
	.realizations {
		padding: 3em 0 0;
	}

	.realizations__heading {
		margin-bottom: 1.75em;
		padding: 0 6px;
	}

	.realizations__heading h3 {
		font-size: 1.75em;
	}

	.realizations__grid {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.realization-card__body {
		min-height: 74px;
		padding: 15px 17px;
	}

	.gallery-modal {
		padding: 0;
	}

	.gallery-modal__dialog {
		border-radius: 0;
		height: 100%;
		max-height: none;
	}

	.gallery-modal__header {
		padding: 12px 10px 10px 16px;
	}

	.gallery-modal__header h2 {
		font-size: 17px;
	}

	.gallery-modal__close {
		flex-basis: 48px;
		height: 48px;
		width: 48px;
	}

	.gallery-modal__stage {
		grid-template-columns: 56px minmax(0, 1fr) 56px;
		padding: 0 4px 12px;
	}

	.gallery-modal__figure img {
		max-height: calc(100vh - 180px);
	}

	.gallery-modal__nav {
		height: 48px;
		width: 48px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.realization-card,
	.realization-card__media img {
		transition: none;
	}
}
