@font-face {
	font-family: 'Geologica';
	src: url('/resources/rinamika_v2/fonts/Geologica-ExtraLight.ttf') format('truetype');
	font-style: normal;
	font-weight: 200;
	font-display: swap;
}

@font-face {
	font-family: 'Geologica';
	src: url('/resources/rinamika_v2/fonts/Geologica-Light.ttf') format('truetype');
	font-style: normal;
	font-weight: 300;
	font-display: swap;
}

@font-face {
	font-family: 'Geologica';
	src: url('/resources/rinamika_v2/fonts/Geologica-Regular.ttf') format('truetype');
	font-style: normal;
	font-weight: 400;
	font-display: swap;
}

@font-face {
	font-family: 'Bebas Neue';
	src: url('/resources/rinamika_v2/fonts/BebasNeue-Cyrillic.woff2') format('woff2');
	font-style: normal;
	font-weight: 400;
	font-display: swap;
}

@font-face {
	font-family: 'TT Days Sans';
	src: url('/resources/rinamika_v2/fonts/TTDaysSans-Regular.woff2') format('woff2');
	font-style: normal;
	font-weight: 400;
	font-display: swap;
}

@font-face {
	font-family: 'TT Days Sans';
	src: url('/resources/rinamika_v2/fonts/TTDaysSans-Bold.woff2') format('woff2');
	font-style: normal;
	font-weight: 700;
	font-display: swap;
}

:root {
	--home-accent: #cd0253;
	--home-accent-light: #ff3d7f;
	--home-dark: #3c3c3c;
}

html {
	/* 1rem = 100px при ширине макета 1818px; мобильный макет — 420px. */
	font-size: calc(100vw / 18.18);
	scroll-behavior: smooth;
}

body.home-v2 {
	font-size: 0.16rem;
	margin: 0;
	background: #fff;
	color: #000;
	font-family: 'Geologica', sans-serif;
	font-weight: 300;
	overflow-x: hidden;
}

.home-v2 *,
.home-v2 *::before,
.home-v2 *::after {
	box-sizing: border-box;
}

.home-v2 a {
	color: inherit;
	text-decoration: none;
}

.home-v2 img,
.home-v2 video {
	display: block;
}

.home-page {
	width: 100%;
}

.home-shell {
	display: flex;
	width: min(16.08rem, calc(100% - 0.8rem));
	margin: 0 auto;
	padding-top: 0.5rem;
	padding-bottom: 1.6rem;
	flex-direction: column;
	gap: 1.6rem;
}

.home-header {
	display: flex;
	width: 100%;
	height: 0.782rem;
	align-items: flex-start;
}

.home-header__brand {
	display: flex;
	width: 1.642rem;
	height: 0.782rem;
	flex: none;
	flex-direction: column;
	gap: 0.12rem;
}

.home-header__logo {
	width: 1.62224rem;
	height: 0.36rem;
}

.home-header__caption {
	width: 1.64183rem;
	height: 0.112rem;
	transform: translateX(0.03rem);
}

.home-header__nav {
	margin-top: 0.16rem;
	margin-left: 2.3rem;
}

.home-header__nav nav {
	display: block;
}

.home-header__nav ul {
	display: flex;
	margin: 0;
	padding: 0;
	align-items: center;
	gap: 0.32rem;
	list-style: none;
}

.home-header__nav a {
	font-size: 0.18rem;
	font-weight: 300;
	line-height: 0.23rem;
	white-space: nowrap;
}

.home-header__nav a:hover {
	color: var(--home-accent-light);
}

.home-button {
	display: inline-flex;
	min-height: 0.55rem;
	align-items: center;
	justify-content: center;
	border-radius: 1rem;
	font-size: 0.2rem;
	font-weight: 400;
	line-height: 1;
	transition: background-color 160ms ease, color 160ms ease;
}

.home-button--accent {
	background: var(--home-accent);
	color: #fff !important;
}

.home-button--accent:hover {
	background: #a80044;
}

.home-header__button {
	width: 2.14rem;
	margin-left: auto;
}

.home-header__menu-button {
	display: none;
}

.home-hero {
	display: flex;
	width: 100%;
	flex-direction: column;
	align-items: center;
	gap: 0.55rem;
}

.home-hero__video {
	position: relative;
	width: 100%;
	aspect-ratio: 1607 / 351.759;
	overflow: hidden;
	-webkit-mask: url('/resources/rinamika_v2/assets/hero-mask-desktop.svg') center / contain no-repeat;
	mask: url('/resources/rinamika_v2/assets/hero-mask-desktop.svg') center / contain no-repeat;
}

.home-hero__video video {
	position: absolute;
	top: -61.58%;
	left: -3.23%;
	width: 106.59%;
	height: 161.73%;
	object-fit: cover;
}

.home-hero__video--mobile {
	display: none;
}

.home-hero__title {
	width: 100%;
	margin: 0;
	font-size: 0.4rem;
	font-weight: 400;
	line-height: 0.6rem;
	text-align: center;
}

.home-metrics {
	display: grid;
	width: 100%;
	height: 1.56rem;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	column-gap: 0.49rem;
}

.home-metric {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 0.22rem;
}

.home-metric:first-child {
	gap: 0.17rem;
}

.home-metric strong {
	font-family: 'Geologica', sans-serif;
	font-size: 0.6rem;
	font-weight: 400;
	line-height: 0.7rem;
	text-transform: none;
	white-space: nowrap;
}

.home-metric span {
	font-size: 0.28rem;
	font-weight: 200;
	line-height: 0.32rem;
}

.home-projects {
	display: flex;
	width: 100%;
	flex-direction: column;
	align-items: center;
	gap: 0.45rem;
}

.home-projects h2 {
	width: 100%;
	margin: 0;
	padding: 0.1rem 0;
	font-family: 'Bebas Neue', sans-serif;
	font-size: 1.2rem;
	font-weight: 400;
	line-height: 0.7;
}

.home-projects__grid {
	display: grid;
	width: 100%;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.48rem;
}

.home-project {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	border-radius: 0.32rem;
	background: #f1f1f1;
}

.home-project img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 300ms ease;
}

a.home-project:hover img {
	transform: scale(1.02);
}

.home-projects__button {
	min-width: 2.54rem;
	height: 0.6rem;
	gap: 0.2rem;
	padding: 0 0.3rem;
	background: #000;
	color: #fff !important;
	font-size: 0.24rem;
}

.home-projects__button:hover {
	background: var(--home-accent);
}

.home-projects__button img {
	width: 0.24rem;
	height: 0.2rem;
}

.home-services {
	display: none;
	width: 100%;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.37rem;
}

.home-service {
	position: relative;
	isolation: isolate;
	display: flex;
	width: 100%;
	min-height: 1.2rem;
	padding: 0 0.2rem;
	align-items: center;
	font-family: 'Bebas Neue', sans-serif;
	font-size: 1.4rem;
	font-weight: 400;
	line-height: 0.86;
	text-transform: uppercase;
	transition: color 160ms ease;
}

.home-service:first-child {
	min-height: 0.98rem;
}

.home-service::before {
	position: absolute;
	z-index: -1;
	top: 50%;
	left: 0;
	width: 100%;
	height: 1.93rem;
	border-radius: 0.02rem;
	background: var(--home-accent);
	content: '';
	opacity: 0;
	transform: translateY(-50%);
	transition: opacity 160ms ease;
}

.home-service.is-active,
.home-service:hover {
	color: #fff;
}

.home-service.is-active::before,
.home-service:hover::before {
	opacity: 1;
}

.home-footer {
	padding: 0 0 0.2rem;
	background: #fff;
	color: #000;
}

.home-footer__inner {
	display: flex;
	width: min(16rem, calc(100% - 0.8rem));
	margin: 0 auto;
	flex-direction: column;
	gap: 0.76rem;
}

.home-footer__main {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.3rem;
}

.home-footer__cta {
	display: inline-flex;
	padding: 0.14rem 0.32rem 0.16rem;
	align-items: center;
	justify-content: center;
	gap: 0.16rem;
	border-radius: 0.78rem;
	background: #000;
	color: #fff !important;
	font-size: 0.24rem;
	font-weight: 400;
	line-height: 1.25;
	white-space: nowrap;
}

.home-footer__cta img {
	width: 0.187498rem;
	height: 0.187507rem;
}

.home-footer__cta:hover {
	background: var(--home-accent);
}

.home-footer__contacts {
	display: flex;
	width: 7.3rem;
	flex-direction: column;
	align-items: flex-start;
}

.home-footer__phone {
	font-family: 'TT Days Sans', sans-serif;
	font-size: 0.58rem;
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
}

.home-footer__email {
	margin-top: 0.23rem;
	font-size: 0.26rem;
	font-weight: 300;
	line-height: 0.33rem;
}

.home-footer__presentation {
	display: inline-flex;
	margin-top: 0.28rem;
	align-items: center;
	gap: 0.12rem;
	font-size: 0.14rem;
	font-weight: 400;
}

.home-footer__pdf {
	padding: 0.1rem 0.2rem;
	border-radius: 0.04rem;
	background: #f5f5f5;
}

.home-footer__accreditation {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.2rem;
	font-size: 0.14rem;
	font-weight: 400;
	white-space: nowrap;
}

.home-footer__ministry {
	position: relative;
	width: 1.77rem;
	height: 0.33rem;
	overflow: hidden;
}

.home-footer__ministry img {
	position: absolute;
	width: 2.12rem;
	height: 0.77rem;
	max-width: none;
	left: -0.12rem;
	top: -0.27rem;
}

.home-footer__legal {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 0.14rem;
	font-weight: 400;
	line-height: 0.18rem;
}

.home-footer__legal a,
.home-footer__privacy {
	color: rgba(0, 0, 0, 0.6);
	font-family: 'TT Days Sans', sans-serif;
	font-size: 0.16rem;
	text-decoration: underline;
}

.service-shell {
	display: flex;
	width: min(16.08rem, calc(100% - 0.8rem));
	margin: 0 auto;
	padding: 0.5rem 0 0.9rem;
	flex-direction: column;
	gap: 0.9rem;
}

.service-hero {
	display: flex;
	width: 100%;
	flex-direction: column;
	gap: 0.7rem;
}

.service-hero h1 {
	margin: 0;
	font-family: 'Bebas Neue', sans-serif;
	font-size: 1.2rem;
	font-weight: 400;
	line-height: 0.82;
	text-align: center;
	text-transform: uppercase;
}

.service-hero__back {
	align-self: center;
	margin-bottom: -0.28rem;
	font-size: 0.22rem;
	font-weight: 300;
	line-height: 1;
}

.service-hero__back::before {
	content: '←';
	margin-right: 0.12rem;
}

.service-hero__media {
	width: 100%;
	height: auto;
	aspect-ratio: 1608 / 640;
	border-radius: 0.32rem;
	object-fit: cover;
}

.service-hero__lead {
	display: grid;
	padding-top: 0.1rem;
	grid-template-columns: 7.78rem 6.42rem;
	gap: 0.5rem;
	font-size: 0.36rem;
	font-weight: 400;
	line-height: 1.12;
}

.service-hero__lead p,
.service-feature h2,
.service-feature p {
	margin: 0;
}

.service-copy {
	width: 10.56rem;
	max-width: 100%;
	margin: 0 auto;
	font-size: 0.28rem;
	font-weight: 200;
	line-height: 0.32rem;
}

.service-copy > :first-child {
	margin-top: 0;
}

.service-copy > :last-child {
	margin-bottom: 0;
}

.service-copy a {
	text-decoration: underline;
	text-underline-offset: 0.04rem;
}

.service-features {
	display: grid;
	width: 100%;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.5rem;
}

.service-feature {
	display: flex;
	min-height: 6.08rem;
	padding: 0.4rem;
	border-radius: 0.32rem;
	background: #f5f5f5;
	flex-direction: column;
	justify-content: flex-start;
	gap: 0.2rem;
}

.service-feature__image {
	display: flex;
	height: 3.04rem;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
}

.service-feature__image img {
	max-width: 100%;
	max-height: 3.04rem;
	object-fit: contain;
}

.service-features--pricing .service-feature__image img {
	width: 4.2rem;
	max-width: calc(100% + 0.4rem);
	max-height: 3.04rem;
	flex-shrink: 0;
}

.service-feature__content {
	display: flex;
	margin-top: auto;
	flex-direction: column;
	gap: 0.2rem;
}

.service-feature h2 {
	font-size: 0.4rem;
	font-weight: 400;
	line-height: 0.42rem;
	hyphens: auto;
	overflow-wrap: anywhere;
}

.service-feature p {
	font-size: 0.24rem;
	font-weight: 400;
	line-height: 1.2;
}

.service-copy--outro {
	margin-top: 0;
}

.service-projects {
	padding-top: 0.5rem;
	gap: 0.54rem;
}

.service-projects .home-project {
	aspect-ratio: 780 / 520;
}

.projects-shell {
	display: flex;
	width: min(16.08rem, calc(100% - 0.8rem));
	margin: 0 auto;
	padding: 0.5rem 0 0.9rem;
	flex-direction: column;
	gap: 0.7rem;
}

.projects-list {
	display: flex;
	flex-direction: column;
	gap: 0.7rem;
}

.projects-list h1 {
	margin: 0;
	padding-top: 0.4rem;
	font-family: 'Bebas Neue', sans-serif;
	font-size: 1.2rem;
	font-weight: 400;
	line-height: 0.8;
	text-align: center;
	text-transform: uppercase;
}

.projects-list__intro {
	width: min(9.16rem, 100%);
	margin: 0 auto;
	padding-bottom: 0.5rem;
	font-size: 0.3rem;
	font-weight: 300;
	text-align: center;
}

.projects-list__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.46rem;
}

.projects-list__grid .home-project {
	aspect-ratio: 780 / 520;
}

.projects-list__grid .home-project[hidden],
.projects-list__more[hidden] {
	display: none;
}

.projects-list__more {
	align-self: center;
	min-height: 0.6rem;
	padding: 0.14rem 0.3rem 0.16rem;
	border: 0;
	border-radius: 0.78rem;
	background: #000;
	color: #fff;
	font: 400 0.24rem/1 'Geologica', sans-serif;
	cursor: pointer;
}

body.project-dialog-open {
	overflow: hidden;
}

.project-dialog {
	position: fixed;
	z-index: 100;
	inset: 0;
	display: none;
	overflow-y: auto;
}

.project-dialog.is-open {
	display: block;
}

.project-dialog__backdrop {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.7);
}

.project-dialog__positioner {
	position: relative;
	display: flex;
	width: 6.8rem;
	max-width: calc(100% - 0.4rem);
	margin: 0.54rem auto;
	flex-direction: column;
	align-items: center;
	gap: 0.2rem;
}

.project-dialog__close {
	position: relative;
	width: 0.3rem;
	height: 0.3rem;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.project-dialog__close::before,
.project-dialog__close::after {
	position: absolute;
	top: 0.14rem;
	left: 0;
	width: 0.3rem;
	height: 0.02rem;
	background: #fff;
	content: '';
	transform: rotate(45deg);
}

.project-dialog__close::after {
	transform: rotate(-45deg);
}

.project-dialog__panel {
	width: 100%;
	min-height: 11.92rem;
	padding: 0.5rem 0.4rem;
	border-radius: 0.32rem;
	background: #fff;
}

.project-dialog__intro {
	display: flex;
	margin-bottom: 0.32rem;
	padding-bottom: 0.2rem;
	flex-direction: column;
	gap: 0.26rem;
}

.project-dialog__intro h2 {
	margin: 0;
	font-family: 'Bebas Neue', sans-serif;
	font-size: 1rem;
	font-weight: 400;
	line-height: 0.7rem;
	text-transform: uppercase;
}

.project-dialog__intro p,
.project-dialog__types legend {
	margin: 0;
	font-size: 0.3rem;
	font-weight: 200;
	line-height: 0.32rem;
}

.project-dialog__form {
	display: flex;
	flex-direction: column;
	gap: 0.32rem;
}

.project-dialog__types {
	margin: 0;
	padding: 0;
	border: 0;
}

.project-dialog__types legend {
	margin-bottom: 0.16rem;
}

.project-dialog__types > div {
	display: flex;
	flex-wrap: wrap;
	gap: 0.16rem;
}

.project-dialog__types input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.project-dialog__types label,
.project-dialog__submit button {
	display: inline-flex;
	min-height: 0.46rem;
	padding: 0 0.17rem;
	align-items: center;
	justify-content: center;
	border-radius: 1.2rem;
	background: #f5f5f5;
	font-size: 0.2rem;
	font-weight: 200;
	line-height: 1;
	cursor: pointer;
}

.project-dialog__types input:checked + label {
	background: var(--home-accent);
	color: #fff;
}

.project-dialog__types input:focus-visible + label {
	outline: 0.02rem solid #000;
	outline-offset: 0.02rem;
}

.project-dialog__field {
	display: flex;
	flex-direction: column;
	gap: 0.12rem;
	font-size: 0.24rem;
	font-weight: 200;
	line-height: 0.24rem;
}

.project-dialog__field + .project-dialog__field {
	gap: 0.16rem;
}

.project-dialog__field + .project-dialog__field span {
	line-height: 0.17rem;
}

.project-dialog__field input,
.project-dialog__field textarea {
	width: 100%;
	border: 0;
	border-radius: 0.08rem;
	outline-color: var(--home-accent);
	background: #f5f5f5;
	font: inherit;
}

.project-dialog__field input {
	height: 0.56rem;
	padding: 0 0.16rem;
}

.project-dialog__field textarea {
	height: 1.8rem;
	padding: 0.12rem 0.16rem;
	resize: vertical;
}

/* Размеры внешнего виджета; масштаб задаётся scaleCaptcha() в home.js. */
.project-dialog__captcha {
	min-height: 75px;
}

.project-dialog__error {
	min-height: 0;
	margin: -0.2rem 0 0;
	color: var(--home-accent);
	font-size: 0.14rem;
}

.project-dialog__error:empty {
	display: none;
}

.project-dialog__submit {
	display: flex;
	align-items: flex-start;
	gap: 0.2rem;
}

.project-dialog__submit button {
	flex: none;
	border: 0;
	background: var(--home-accent);
	color: #fff;
}

.project-dialog__submit button:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

.project-dialog__submit p {
	margin: 0;
	font-size: 0.16rem;
	font-weight: 200;
	line-height: 0.23rem;
}

.project-dialog__success {
	display: none;
	margin: 0;
	color: #16833b;
	font-size: 0.18rem;
}

.project-dialog__success.is-visible {
	display: block;
}



@media (width < 768px) {
	html { font-size: calc(100vw / 4.2); }
	.home-metric strong { font-size: 0.22rem; }
	.projects-shell {
		width: 100%;
		padding: 0.5rem 0.2rem 0;
		gap: 0.2rem;
	}

	.projects-shell .home-header {
		width: 100%;
		margin: 0;
	}

	.projects-list {
		gap: 0.2rem;
	}

	.projects-list h1 {
		height: 0.74rem;
		padding-top: 0.3rem;
		font-size: 0.48rem;
		line-height: 0.34rem;
	}

	.projects-list__intro {
		padding-bottom: 0.1rem;
		font-size: 0.18rem;
		line-height: 1.3;
	}

	.projects-list__grid {
		grid-template-columns: 1fr;
		gap: 0.2rem;
	}

	.projects-list__grid .home-project {
		height: 2.53rem;
		aspect-ratio: auto;
	}

	.projects-list__more {
		min-height: 0.6rem;
		padding: 0.14rem 0.3rem 0.16rem;
		font-size: 0.24rem;
	}

	.project-dialog__positioner {
		width: 4.2rem;
		max-width: 100%;
		margin: 0 auto;
		padding: 0.2rem 0.2rem 0;
		align-items: flex-start;
		gap: 0.2rem;
	}

	.project-dialog__backdrop {
		background: #fff;
	}

	.project-dialog__close {
		width: 0.16rem;
		height: 0.3rem;
	}

	.project-dialog__close::before {
		top: 0.06rem;
		left: 0.03rem;
		width: 0.17rem;
		height: 0.17rem;
		border-bottom: 0.02rem solid #000;
		border-left: 0.02rem solid #000;
		background: transparent;
		transform: rotate(45deg);
	}

	.project-dialog__close::after {
		display: none;
	}

	.project-dialog__panel {
		width: 100%;
		min-height: 0;
		padding: 0.2rem 0 0.4rem;
		border-radius: 0;
	}

	.project-dialog__intro {
		margin-bottom: 0;
		padding-bottom: 0.32rem;
		gap: 0.26rem;
	}

	.project-dialog__intro h2 {
		font-size: 0.48rem;
		line-height: 0.34rem;
	}

	.project-dialog__intro p {
		font-size: 0.24rem;
		line-height: 0.28rem;
	}

	.project-dialog__form {
		gap: 0.32rem;
	}

	.project-dialog__types legend {
		font-size: 0.3rem;
		line-height: 0.32rem;
	}

	.project-dialog__types > div {
		gap: 0.16rem;
	}

	.project-dialog__types label,
	.project-dialog__submit button {
		min-height: 0.46rem;
		padding: 0.07rem 0.17rem;
		font-size: 0.2rem;
		line-height: 0.32rem;
	}

	.project-dialog__field {
		font-size: 0.24rem;
		line-height: 0.24rem;
	}

	.project-dialog__field + .project-dialog__field {
		gap: 0.16rem;
	}

	.project-dialog__field + .project-dialog__field span {
		line-height: 0.17rem;
	}

	.project-dialog__field textarea {
		height: 1.8rem;
	}

	.project-dialog__submit {
		flex-direction: column;
		gap: 0.2rem;
	}

	.project-dialog__submit p {
		order: -1;
		font-size: 0.16rem;
		line-height: 0.23rem;
	}

	.project-dialog__error:empty {
		display: none;
	}

	.project-dialog__captcha {
		width: 293px !important;
		min-width: 293px !important;
		max-width: 293px !important;
		height: 75px !important;
		min-height: 75px !important;
		overflow: hidden;
	}

	.project-dialog__captcha > iframe {
		width: 465px !important;
		height: 119px !important;
		transform: scale(0.63);
		transform-origin: left top;
	}

	.service-shell {
		width: 100%;
		padding: 0.5rem 0.2rem 0;
		gap: 0.5rem;
	}

	.service-shell .home-header {
		width: 100%;
		margin: 0;
	}

	.service-hero {
		gap: 0.4rem;
	}

	.service-hero h1 {
		font-size: 0.48rem;
		line-height: 1;
	}

	.service-hero__media {
		height: 3rem;
		aspect-ratio: auto;
		border-radius: 0.32rem;
	}

	.service-hero__lead {
		display: flex;
		padding: 0;
		flex-direction: column;
		gap: 0.2rem;
		font-size: 0.24rem;
		line-height: 1.18;
	}

	.service-hero__back {
		margin-bottom: -0.1rem;
		font-size: 0.2rem;
		line-height: 0.25rem;
	}

	.service-copy {
		font-size: 0.2rem;
		line-height: 0.28rem;
	}

	.service-hero + .service-copy {
		min-height: 2.24rem;
	}

	.service-features {
		display: grid;
		grid-template-columns: 1fr;
		gap: 0.2rem;
	}

	.service-feature {
		display: grid;
		min-height: 2.06rem;
		padding: 0.2rem;
		border-radius: 0.32rem;
		grid-template-columns: 1rem minmax(0, 1fr);
		grid-template-rows: minmax(1rem, auto) auto;
		align-items: center;
		gap: 0.08rem 0.1rem;
	}

	.service-feature__image {
		width: 1rem;
		min-width: 1rem;
		height: 1rem;
	}

	.service-feature__image img {
		max-height: 1rem;
	}

	.service-features--pricing .service-feature__image img {
		width: 100%;
		max-width: 100%;
		max-height: 1rem;
	}

	.service-feature__content {
		display: contents;
	}

	.service-feature h2 {
		font-size: 0.24rem;
		line-height: 0.28rem;
	}

	.service-feature p {
		grid-column: 1 / -1;
		font-size: 0.16rem;
		line-height: 1.2;
	}

	.service-page .service-projects {
		width: 100%;
		margin: 0;
		padding-top: 0;
		gap: 0.1rem;
	}

	.service-projects h2 {
		padding: 0.1rem 0 0.2rem;
		font-size: 0.46rem;
		line-height: 0.32rem;
	}

	.service-projects .home-projects__grid {
		display: flex;
		flex-direction: column;
		gap: 0.2rem;
	}

	.service-projects .home-project {
		aspect-ratio: 380 / 252;
	}

	.service-page .home-footer {
		margin-top: 0.5rem;
	}
	.home-shell {
		width: 100%;
		padding-top: 0.5rem;
		padding-bottom: 0.8rem;
		gap: 0.8rem;
	}

	.home-header {
		position: relative;
		width: calc(100% - 0.4rem);
		height: 0.592rem;
		margin: 0 0.2rem;
	}

	.home-header__brand {
		height: 0.592rem;
		gap: 0.12rem;
	}

	.home-header__button {
		display: none;
	}

	.home-page .home-header__button {
		position: fixed;
		z-index: 30;
		bottom: 0.35rem;
		left: 0.18rem;
		display: inline-flex;
		width: auto;
		min-height: 0.53rem;
		margin: 0;
		padding: 0.16rem 0.3rem;
		font-family: 'TT Days Sans', sans-serif;
		font-size: 0.18rem;
	}

	.home-header__menu-button {
		display: block;
		width: 0.32rem;
		height: 0.24rem;
		margin-left: auto;
		padding: 0;
		border: 0;
		background: transparent;
		cursor: pointer;
	}

	.home-header__menu-button img {
		width: 0.32rem;
		height: 0.24rem;
	}

	.home-header__nav {
		position: fixed;
		z-index: 20;
		top: 1.29rem;
		left: 0.2rem;
		display: none;
		width: calc(100% - 0.4rem);
		margin: 0;
		padding: 0.24rem;
		border-radius: 0.2rem;
		background: var(--home-accent);
		color: #fff;
	}

	.home-menu-open .home-header__nav {
		display: block;
	}

	.home-header__nav ul {
		align-items: flex-start;
		flex-direction: column;
		gap: 0.18rem;
	}

	.home-header__nav a {
		font-size: 0.2rem;
	}

	.home-hero {
		width: 100%;
		gap: 0.55rem;
	}

	.home-hero__video--desktop {
		display: none;
	}

	.home-hero__video--mobile {
		display: block;
		width: 3.2rem;
		height: 3.03rem;
		aspect-ratio: auto;
		-webkit-mask-image: url('/resources/rinamika_v2/assets/hero-mask-desktop.svg'), url('/resources/rinamika_v2/assets/hero-mask-desktop.svg');
		-webkit-mask-repeat: no-repeat;
		-webkit-mask-position: left top, right bottom;
		-webkit-mask-size: 6.58rem 1.44rem;
		mask-image: url('/resources/rinamika_v2/assets/hero-mask-desktop.svg'), url('/resources/rinamika_v2/assets/hero-mask-desktop.svg');
		mask-repeat: no-repeat;
		mask-position: left top, right bottom;
		mask-size: 6.58rem 1.44rem;
	}

	.home-hero__video--mobile video {
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	.home-hero__title {
		width: calc(100% - 0.4rem);
		font-size: 0.26rem;
		line-height: 0.37rem;
	}

	.home-metrics {
		width: calc(100% - 0.4rem);
		height: 2.91rem;
		margin: 0 0.2rem;
		grid-template-columns: repeat(2, minmax(0, 1.6rem));
		column-gap: 0.3rem;
		row-gap: 0.3rem;
	}

	.home-metric {
		gap: 0.17rem;
	}

	.home-metric:first-child {
		gap: 0.17rem;
	}

	.home-metric strong {
		line-height: 0.56rem;
	}

	.home-metric span {
		font-size: 0.18rem;
		line-height: 0.22rem;
	}

	.home-projects {
		width: calc(100% - 0.4rem);
		margin: 0 0.2rem;
		align-items: center;
		gap: 0.1rem;
	}

	.home-projects h2 {
		height: 0.62rem;
		padding: 0.1rem 0 0.2rem;
		font-size: 0.46rem;
		line-height: 0.32rem;
	}

	.home-projects__grid {
		grid-template-columns: 1fr;
		gap: 0.2rem;
	}

	.home-project {
		height: auto;
		aspect-ratio: 380 / 252;
		border-radius: 0.32rem;
	}

	.home-projects__button {
		margin-top: 0.22rem;
	}

	.home-services {
		width: calc(100% - 0.4rem);
		margin: 0 0.2rem;
		gap: 0.3rem;
	}

	.home-service {
		height: 0.32rem;
		min-height: 0;
		padding: 0;
		font-size: 0.46rem;
		line-height: 0.49rem;
	}

	.home-service:first-child,
	.home-service:nth-child(4) {
		height: 0.81rem;
		min-height: 0;
	}

	.home-service:nth-child(2) {
		height: 1.14rem;
		padding: 0 0.2rem;
	}

	.home-service.is-active,
	.home-service:hover {
		color: #fff;
	}

	.home-service::before {
		height: 1.14rem;
	}

	.home-footer {
		padding: 0 0 0.3rem;
	}

	.home-page .home-footer {
		position: relative;
		z-index: 31;
	}

	.projects-page .home-footer,
	.case-page .home-footer {
		margin-top: 0.2rem;
	}

	.home-footer__inner {
		width: calc(100% - 0.4rem);
		gap: 0.48rem;
	}

	.home-footer__main {
		display: flex;
		flex-direction: column;
		gap: 0.36rem;
	}

	.home-footer__cta {
		padding: 0.12rem 0.2rem;
		gap: 0.12rem;
		font-size: 0.18rem;
	}

	.home-footer__contacts {
		width: 100%;
	}

	.home-footer__phone {
		font-size: 0.3444rem;
	}

	.home-footer__email {
		margin-top: 0.16rem;
		font-size: 0.2rem;
		line-height: 0.26rem;
	}

	.home-footer__presentation {
		margin-top: 0.28rem;
	}

	.home-footer__accreditation {
		gap: 0.12rem;
	}

	.home-footer__legal {
		align-items: flex-start;
		flex-direction: column;
		gap: 0.16rem;
	}
}
