:root {
	--color-primary: #ed1b2f;
	--color-primary-hover: #c91628;
	--color-text: #1f2933;
	--color-muted: #6b7280;
	--color-border: #d9dee5;
	--color-background: #ffffff;
	--color-background-light: #f5f7fa;
	--color-footer: #101820;
	--color-on-primary: #ffffff;
	--color-form-text: #242424;
	--color-form-muted: #667085;
	--color-form-label: #4a5568;
	--color-form-border: #dce3ef;
	--color-form-placeholder: #a4adba;
	--container-width: 1260px;
	--container-padding: 48px;
	--font-family-base:
		"Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
		sans-serif;
	--font-family-heading:
		"Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
		sans-serif;
	--font-family-ui: var(--font-family-heading);
	--font-size-base: 16px;
	--header-height: 88px;
	--radius-small: 4px;
	--radius-medium: 8px;
	--section-space: 72px;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	padding-top: var(--header-height);
	color: var(--color-text);
	background: var(--color-background);
	font-family: var(--font-family-base);
	font-size: var(--font-size-base);
	line-height: 1.6;
}

.admin-bar .site-header {
	top: 32px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--font-family-heading);
}

h1,
.text-display {
	font-size: clamp(48px, 6vw, 112px);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: 0;
}

h2,
.text-heading {
	font-size: clamp(36px, 4.8vw, 86px);
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: 0;
}

h3,
.text-title {
	font-size: clamp(24px, 2vw, 42px);
	font-weight: 800;
	line-height: 1.18;
	letter-spacing: 0;
}

.text-lead {
	font-family: var(--font-family-base);
	font-size: clamp(20px, 1.55vw, 30px);
	font-weight: 400;
	line-height: 1.3;
}

.text-eyebrow {
	color: var(--color-primary);
	font-family: var(--font-family-ui);
	font-size: clamp(16px, 1.25vw, 24px);
	font-weight: 800;
	line-height: 1;
	text-transform: uppercase;
}

a {
	color: inherit;
}

img {
	max-width: 100%;
	height: auto;
}

.container {
	width: 100%;
	max-width: none;
	margin-inline: auto;
	padding-inline: var(--container-padding);
}

.section {
	padding-block: var(--section-space);
}

.section-block {
	padding-block: clamp(82px, 6.8vw, 130px);
}

.section-head--center {
	max-width: 800px;
	margin-inline: auto;
	text-align: center;
}

.section--compact {
	padding-block: 24px;
}

.section--light {
	background: var(--color-background-light);
}

.section--dark {
	color: #fff;
	background: var(--color-footer);
}

.grid {
	display: grid;
	gap: 24px;
}

.split {
	display: grid;
	gap: 32px;
}

.eyebrow {
	margin: 0 0 16px;
	color: var(--color-primary);
	font-family: var(--font-family-ui);
	font-size: 20px;
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
}

.section-title {
	margin: 0;
	color: #1f1f1f;
	font-family: var(--font-family-heading);
	font-size: clamp(30px, 2.25vw, 45px);
	font-weight: 600;
	line-height: 1.16;
	text-transform: uppercase;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 10px 18px;
	border: 1px solid var(--color-primary);
	border-radius: var(--radius-small);
	text-decoration: none;
	cursor: pointer;
	transition:
		background-color 0.2s ease,
		border-color 0.2s ease,
		color 0.2s ease;
}

.button--primary,
.home-button--primary,
.home-demo__button--primary {
	border-color: var(--color-primary);
	color: #fff;
	background: var(--color-primary);
}

.button--primary:hover,
.button--primary:focus-visible,
.home-button--primary:hover,
.home-button--primary:focus-visible,
.home-demo__button--primary:hover,
.home-demo__button--primary:focus-visible {
	border-color: var(--color-primary-hover);
	color: #fff;
	background: var(--color-primary-hover);
}

.button--outline {
	color: var(--color-primary);
	background: transparent;
}

.card {
	padding: 20px;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-medium);
	background: #fff;
}

.card__title {
	margin-block: 16px 8px;
}

.home-articles--archive {
	border-top: 0;
	padding-top: clamp(48px, 4.5vw, 72px);
}

.home-articles__pagination {
	margin-top: 48px;
}

.blog-article {
	background: #fff;
}

.blog-article__container {
	width: min(100% - 32px, var(--container-width));
	margin-inline: auto;
}

.blog-article__hero {
	padding-block: 34px 0;
}

.blog-article__meta {
	display: flex;
	gap: 22px;
	align-items: center;
	margin-bottom: 18px;
	color: #a6b0bd;
	font-family: var(--font-family-ui);
	font-size: 12px;
	line-height: 1;
}

.blog-article__views {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.blog-article__views > svg {
	display: block;
	flex: 0 0 21px;
	width: 21px;
	height: 13px;
}

.blog-article__eyebrow {
	margin: 0 0 12px;
	color: var(--color-primary);
	font-family: var(--font-family-ui);
	font-size: 14px;
	font-weight: 900;
	line-height: 1;
	text-transform: uppercase;
}

.blog-article__title {
	max-width: 80%;
	margin: 0;
	color: #202733;
	font-family: var(--font-family-heading);
	font-size: clamp(28px, 3vw, 42px);
	font-weight: 900;
	line-height: 1.06;
	text-transform: uppercase;
}

.single-amo_company_pub .blog-article__title,
.single-amo_solution .blog-article__title,
.single-amo_company_blog .blog-article__title {
	font-size: clamp(24px, 2.15vw, 34px);
	line-height: 1.12;
}

.blog-article__lead {
	margin: 22px 0 0;
	color: #242b35;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.34;
}

.blog-article__section {
	padding-block: 22px 92px;
}

.blog-article__content {
	color: #2d333d;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.42;
}

.blog-article__content > * {
	margin-top: 0;
	margin-bottom: 22px;
}

.blog-article__content p {
	margin-bottom: 10px;
}

.blog-article__content strong {
	margin-bottom: 10px;
}
.blog-article__content h2,
.blog-article__content h3 {
	margin: 54px 0 22px;
	font-family: var(--font-family-heading);
	font-size: 17px;
	font-weight: 900;
	line-height: 1.18;
}

.blog-article__content :is(h2, h3):not(.has-text-color) {
	color: #334155;
}

.blog-article__content h2 {
	text-transform: none;
}

.blog-article__content strong {
	font-weight: 900;
}

.blog-article__content figure,
.blog-article__content .wp-block-image {
	margin: 30px 0 28px;
}

.blog-article__content img {
	display: block;
	width: 100%;
	height: auto;
	background: #eef3f7;
}

.blog-article__content .wp-block-image img {
	min-height: 260px;
	object-fit: cover;
}

.blog-article__content .wp-block-columns {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	margin: 30px 0 26px;
}

.blog-article__content .wp-block-column {
	min-width: 0;
}

.blog-article__content .wp-block-column > * {
	margin: 0;
}

.blog-article__content .wp-block-quote,
.blog-article__content blockquote {
	margin: 34px 0;
	padding: 30px 36px;
	border: 0;
	background: #edf4f8;
	color: #334155;
	font-size: 16px;
	font-weight: 900;
	line-height: 1.34;
}

.blog-article__content .wp-block-quote p,
.blog-article__content blockquote p {
	margin: 0;
}

.blog-article__content ul,
.blog-article__content ol {
	padding-left: 22px;
}

.blog-article__placeholder {
	display: block;
	min-height: 260px;
	background: #edf4f8;
}

.home-articles--company-related {
	border-top: 0;
	padding-block: 58px 96px;
	background: #fff;
}

.post-callback {
	padding-block: 74px;
	background: #edf4f8;
}

.post-callback__container {
	width: min(100% - 32px, var(--container-width));
	margin-inline: auto;
}

.post-callback__form {
	max-width: var(--container-width);
	margin-inline: auto;
	padding: 30px 26px 28px;
	border: 1px solid #cbd6e2;
	border-radius: 4px;
	background: #fff;
}

.post-callback__header {
	margin-bottom: 36px;
	text-align: center;
}

.case-calculation .post-callback__form {
	max-width: var(--container-width);
}

.case-calculation {
	scroll-margin-top: calc(var(--header-height) + 32px);
}

.case-calculation input:focus-visible,
.case-calculation button:focus-visible,
.case-calculation a:focus-visible {
	outline: 2px solid var(--color-primary);
	outline-offset: 3px;
}

.post-callback__header h2 {
	margin: 0;
	color: #242b35;
	font-family: var(--font-family-heading);
	font-size: 22px;
	font-weight: 900;
	line-height: 1.1;
}

.post-callback__header p {
	margin: 8px 0 0;
	color: #8b95a3;
	font-size: 13px;
	line-height: 1.2;
}

.post-callback__fields {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr)) 220px;
	gap: 26px;
	align-items: start;
}

.post-callback__fields label {
	display: grid;
	gap: 8px;
	min-width: 0;
	color: #687384;
	font-size: 12px;
	line-height: 1;
}

.post-callback__fields b {
	color: var(--color-primary);
}

.post-callback__fields input[type="text"],
.post-callback__fields input[type="tel"] {
	width: 100%;
	height: 38px;
	padding: 0 14px;
	border: 1px solid #dce3ef;
	border-radius: 4px;
	color: #202733;
	background: #fff;
	font-size: 12px;
	outline: none;
}

.post-callback__fields input::placeholder {
	color: #a7b0bd;
}

.post-callback__submit {
	display: grid;
	gap: 10px;
	padding-top: 20px;
}

.post-callback__submit button {
	display: inline-flex;
	width: 100%;
	height: 38px;
	align-items: center;
	justify-content: center;
	gap: 22px;
	border: 0;
	border-radius: 3px;
	color: #fff;
	background: var(--color-primary);
	font-family: var(--font-family-ui);
	font-size: 11px;
	font-weight: 900;
	line-height: 1;
	text-transform: uppercase;
	cursor: pointer;
}

.post-callback__agree {
	display: grid !important;
	grid-template-columns: 13px minmax(0, 1fr);
	gap: 7px !important;
	align-items: start;
	color: #98a2b3 !important;
	font-size: 9px !important;
	line-height: 1.15 !important;
}

.post-callback__agree input {
	width: 13px;
	height: 13px;
	margin: 0;
}

.home-cases--archive {
	padding-top: clamp(48px, 4.5vw, 72px);
}

.home-cases__pagination {
	margin-top: 48px;
}

.catalog {
	padding-block: 38px 126px;
}

.catalog__title {
	margin: 0;
	color: #242424;
	font-family: var(--font-family-heading);
	font-size: clamp(30px, 2.2vw, 45px);
	font-weight: 800;
	line-height: 1.16;
	text-transform: uppercase;
}

.catalog__tabs {
	margin-top: 58px;
}

.catalog__tab-list {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
}

.catalog__tab {
	display: inline-flex;
	min-height: 42px;
	align-items: center;
	justify-content: center;
	padding: 10px 24px;
	border: 1px solid #ccd4df;
	border-radius: 4px;
	color: #8b929c;
	background: #fff;
	font-family: var(--font-family-ui);
	font-size: 15px;
	font-weight: 400;
	line-height: 1;
	cursor: pointer;
	transition:
		background-color 0.2s ease,
		border-color 0.2s ease,
		color 0.2s ease;
}

.catalog__tab:hover,
.catalog__tab:focus-visible,
.catalog__tab[aria-selected="true"] {
	border-color: var(--color-primary);
	color: #fff;
	background: var(--color-primary);
}

.catalog__panel {
	margin-top: 78px;
}

.catalog__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 44px 34px;
}

.catalog-card {
	display: flex;
	min-width: 0;
	min-height: 540px;
	flex-direction: column;
	border: 1px solid #dfe5ee;
	border-radius: 4px;
	background: #fff;
}

.catalog-card__media {
	display: flex;
	height: 310px;
	align-items: center;
	justify-content: center;
	padding: 18px;
	text-decoration: none;
}

.catalog-card__media img {
	display: block;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	transition: transform 0.24s ease;
}

.catalog-card:hover .catalog-card__media img,
.catalog-card:focus-within .catalog-card__media img {
	transform: scale(1.03);
}

.catalog-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 0 28px 30px;
	min-height: 280px;
}

.catalog-card__title {
	margin: 0;
	color: #242424;
	font-family: var(--font-family-heading);
	font-size: 23px;
	font-weight: 600;
	line-height: 1.05;
	text-transform: uppercase;
	min-height: 60px;
}

.catalog-card__title a {
	color: inherit;
	text-decoration: none;
}

.catalog-card__title a:hover,
.catalog-card__title a:focus-visible {
	color: var(--color-primary);
}

.case-single-page {
	background: #fff;
}

.case-container {
	width: min(100% - 32px, var(--container-width));
	margin-inline: auto;
}

.case-hero {
	padding-block: 34px 28px;
}

.case-hero .case-container,
.case-content {
	max-width: var(--container-width);
}

.case-hero__meta {
	display: flex;
	gap: 18px;
	margin-bottom: 18px;
	color: #a9b4c2;
	font-size: 12px;
	line-height: 1;
}

.case-eyebrow {
	margin: 0 0 12px;
	color: var(--color-primary);
	font-family: var(--font-family-ui);
	font-size: 16px;
	font-weight: 800;
	line-height: 1;
	text-transform: uppercase;
}

.case-title {
	max-width: 760px;
	margin: 0;
	color: #202124;
	font-family: var(--font-family-heading);
	font-size: clamp(28px, 3.2vw, 44px);
	font-weight: 900;
	line-height: 1.14;
	text-transform: uppercase;
}

.case-lead {
	max-width: 780px;
	margin: 24px 0 0;
	color: #202124;
	font-size: 19px;
	font-weight: 600;
	line-height: 1.22;
}

.case-video {
	position: relative;
	overflow: hidden;
	margin-top: 36px;
	border-radius: 8px;
	background: #111;
	aspect-ratio: 16 / 9;
}

.case-video video,
.case-video img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.case-video__play {
	position: absolute;
	top: 50%;
	left: 50%;
	display: inline-flex;
	width: 72px;
	height: 72px;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 50%;
	color: var(--color-primary);
	background: #fff;
	box-shadow: 0 12px 32px rgb(0 0 0 / 22%);
	cursor: pointer;
	transform: translate(-50%, -50%);
}

.case-video__play span {
	width: 0;
	height: 0;
	margin-left: 5px;
	border-block: 10px solid transparent;
	border-left: 15px solid currentColor;
}

.case-video.is-playing .case-video__play {
	opacity: 0;
	pointer-events: none;
}

.case-content-section {
	padding-block: 0 54px;
}

.case-rich-text,
.case-result {
	color: #23272f;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.42;
}

.case-rich-text p,
.case-result p {
	margin: 0 0 22px;
}

.case-rich-text strong,
.case-result strong {
	font-weight: 900;
}

.case-benefits {
	margin-top: 42px;
}

.case-section-title {
	margin: 0 0 26px;
	color: #526173;
	font-family: var(--font-family-heading);
	font-size: 18px;
	font-weight: 900;
	line-height: 1.1;
	text-transform: uppercase;
}

.case-benefits__list {
	display: grid;
	gap: 13px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.case-benefits__list li {
	display: grid;
	grid-template-columns: 20px minmax(0, 1fr);
	gap: 12px;
	align-items: start;
}

.case-benefits__check {
	display: block;
	width: 20px;
	height: 20px;
	margin-top: 1px;
	background: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.975 12.1945L4.959 9.1785C4.84622 9.06572 4.70767 9.00531 4.54333 8.99725C4.379 8.98919 4.23239 9.04961 4.1035 9.1785C3.97461 9.30739 3.91017 9.44997 3.91017 9.60625C3.91017 9.76253 3.97461 9.90511 4.1035 10.034L7.29229 13.2216C7.48724 13.4173 7.71481 13.5152 7.975 13.5152C8.2352 13.5152 8.46317 13.4173 8.65892 13.2216L15.2758 6.60475C15.3885 6.49117 15.4489 6.35221 15.457 6.18788C15.4651 6.02354 15.4046 5.87733 15.2758 5.74925C15.1469 5.62117 15.0047 5.55672 14.8492 5.55592C14.6937 5.55511 14.5508 5.61956 14.4203 5.74925L7.975 12.1945ZM1.95267 19.3333C1.39603 19.3333 0.931625 19.1473 0.559458 18.7751C0.187291 18.4029 0.000805556 17.9381 0 17.3807V1.95267C0 1.39603 0.186486 0.931625 0.559458 0.559458C0.93243 0.187291 1.39683 0.000805556 1.95267 0H17.3819C17.9377 0 18.4021 0.186486 18.7751 0.559458C19.1481 0.93243 19.3341 1.39683 19.3333 1.95267V17.3819C19.3333 17.9377 19.1473 18.4021 18.7751 18.7751C18.4029 19.1481 17.9381 19.3341 17.3807 19.3333H1.95267Z' fill='%23E31A30'/%3E%3C/svg%3E")
		center / contain no-repeat;
}

.case-benefits__list p {
	margin: 0;
	color: #2d333d;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.32;
}

.case-benefits__list strong {
	font-weight: 900;
}

.case-product-card {
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr);
	gap: 28px;
	align-items: center;
	margin-top: 48px;
	padding: 24px 32px;
	border: 1px solid #dce3ee;
	background: #fff;
}

.case-product-card__media {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 118px;
}

.case-product-card__media img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 130px;
	object-fit: contain;
}

.case-product-card__body {
	display: flex;
	max-width: 640px;
	flex-direction: column;
	align-items: flex-start;
}

.case-product-card h2 {
	margin: 0 0 3px;
	color: #111820;
	font-family: var(--font-family-heading);
	font-size: 18px;
	font-weight: 900;
	line-height: 1.08;
	text-transform: uppercase;
}

.case-product-card p {
	margin: 0 0 22px;
	color: #202833;
	font-size: 14px;
	line-height: 1.32;
}

.case-product-card .case-product-card__subtitle {
	margin: 0 0 22px;
	color: #a8adb4;
	font-family: var(--font-family-heading);
	font-size: 16px;
	font-weight: 900;
	line-height: 1.05;
	text-transform: uppercase;
}

.case-more-button {
	display: inline-flex;
	min-width: 158px;
	min-height: 38px;
	align-items: center;
	justify-content: center;
	gap: 16px;
	padding: 0 18px;
	border: 1px solid var(--color-primary);
	color: var(--color-primary);
	font-family: var(--font-family-ui);
	font-size: 11px;
	font-weight: 800;
	line-height: 1;
	text-decoration: none;
	text-transform: uppercase;
}

.case-result {
	margin-top: 46px;
	font-weight: 900;
}

.case-gallery-section {
	padding-block: 30px 82px;
}

.case-gallery {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px;
	width: min(100% - 48px, 1840px);
	margin-inline: auto;
}

.case-gallery__item {
	margin: 0;
	aspect-ratio: 1.58 / 1;
	background: #eef2f6;
}

.case-gallery__item img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.case-related-section {
	padding-block: 28px 108px;
}

.case-related-section__title {
	margin: 0 0 52px;
	color: #526173;
	font-family: var(--font-family-heading);
	font-size: 20px;
	font-weight: 900;
	line-height: 1.1;
	text-transform: uppercase;
}

.case-related-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 56px;
}

.case-related-card {
	display: flex;
	min-height: 300px;
	flex-direction: column;
	align-items: flex-start;
}

.case-related-card__media {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 12 / 7;
	overflow: hidden;
	border-radius: 3px;
}

.case-related-card__media img,
.case-related-card__media .image-placeholder {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.case-related-card__label {
	position: absolute;
	top: 0;
	left: 0;
	display: inline-flex;
	min-width: min(170px, 100%);
	max-width: 100%;
	min-height: 30px;
	align-items: center;
	justify-content: center;
	margin-bottom: 0;
	padding: 8px 18px;
	border-radius: 3px;
	text-align: center;
	overflow-wrap: anywhere;
	color: #fff;
	background: var(--color-primary);
	font-family: var(--font-family-ui);
	font-size: 12px;
	font-weight: 900;
	line-height: 1;
	text-transform: uppercase;
}

.case-related-card h3 {
	margin: 24px 0 12px;
	color: #303640;
	font-family: var(--font-family-heading);
	font-size: 19px;
	font-weight: 900;
	line-height: 1.24;
}

.case-related-card h3 a {
	color: inherit;
	text-decoration: none;
}

.case-related-card p {
	margin: 0 0 30px;
	color: #68727f;
	font-size: 14px;
	line-height: 1.35;
}

.case-related-card__more {
	display: inline-flex;
	align-items: center;
	gap: 18px;
	margin-top: auto;
	color: var(--color-primary);
	font-family: var(--font-family-ui);
	font-size: 12px;
	font-weight: 900;
	line-height: 1;
	text-decoration: none;
	text-transform: uppercase;
}

.case-related-card__more svg {
	flex-shrink: 0;
}

.case-related-card a:hover {
	color: var(--color-primary-hover);
}

.case-related-card a:focus-visible {
	outline: 2px solid var(--color-primary);
	outline-offset: 4px;
}

.catalog-card__subtitle {
	margin: 8px 0 24px;
	color: #a1a5aa;
	font-family: var(--font-family-ui);
	font-size: 18px;
	font-weight: 500;
	line-height: 1;
	text-transform: uppercase;
}

.catalog-card__text {
	margin: 0;
	color: #242424;
	font-family: var(--font-family-ui);
	font-size: 15px;
	font-weight: 400;
	line-height: 1.32;
}

.catalog-card__button {
	width: 220px;
	min-height: 50px;
	margin-top: auto;
	padding-inline: 18px;
	gap: 18px;
	font-family: var(--font-family-ui);
	font-size: 13px;
	font-weight: 800;
	line-height: 1;
	text-transform: uppercase;
}

.page-header {
	padding-block: 56px;
	border-bottom: 1px solid var(--color-border);
}

.breadcrumbs {
	padding-block: 16px;
	color: var(--color-muted);
}

.site-header {
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	z-index: 50;
	min-height: var(--header-height);
	border-bottom: 1px solid var(--color-border);
	background: #fff;
}

.site-header::after {
	position: fixed;
	inset: var(--header-height) 0 0;
	z-index: -1;
	display: none;
	background: rgba(255, 255, 255, 0.62);
	backdrop-filter: blur(6px);
	content: "";
	pointer-events: none;
}

.site-header.is-mega-open::after,
.site-header.is-submenu-open::after {
	display: block;
}

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 28px;
	width: 100%;
	max-width: none;
	min-height: var(--header-height);
}

.site-header__logo {
	flex: 0 0 auto;
	font-weight: 700;
	text-decoration: none;
}

.site-header__logo img {
	display: block;
	width: 140px;
	height: 41px;
	max-width: none;
	max-height: none;
}

.site-header__logo-text {
	display: inline-flex;
	align-items: center;
	color: #c92035;
	font-size: 46px;
	font-weight: 800;
	letter-spacing: 0;
	line-height: 1;
}

.site-header__logo-text span {
	display: inline-grid;
	width: 35px;
	height: 35px;
	margin-inline: 1px;
	place-items: center;
	border-radius: 50%;
	color: #fff;
	background: #c92035;
	font-size: 0;
}

.site-header__logo-text span::before {
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: #fff;
	content: "";
}

.site-header__nav {
	display: none;
}

.site-header__menu {
	display: flex;
	align-items: center;
	gap: 34px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-header__menu > li {
	position: relative;
}

.site-header__menu a {
	position: relative;
	display: inline-flex;
	min-height: var(--header-height);
	align-items: center;
	color: #2d2d2d;
	font-family: var(--font-family-ui);
	font-size: 16px;
	font-weight: 400;
	line-height: 1;
	text-decoration: none;
	transition: color 0.2s ease;
}

.site-header__menu > .site-header__menu-item--has-submenu {
	position: static;
}

.site-header__menu-item--has-submenu > .sub-menu {
	position: absolute;
	top: 100%;
	right: 0;
	left: 0;
	display: grid;
	gap: 10px;
	margin: 0;
	padding-block: 20px 32px;
	padding-left: 312px;
	border-top: 2px solid var(--color-primary);
	background: #fff;
	box-shadow: 0 18px 36px rgba(16, 24, 32, 0.08);
	list-style: none;
	opacity: 0;
	pointer-events: none;
	transform: translateY(8px);
	transition:
		opacity 0.2s ease,
		transform 0.2s ease;
}

.site-header__menu-item--company-submenu > .sub-menu::before,
.site-header__menu-item--service-submenu > .sub-menu::before {
	margin: 10px 0 4px;
	color: #6f8394;
	font-size: 14px;
	font-weight: 800;
	line-height: 1;
	text-transform: uppercase;
}

.site-header__menu-item--company-submenu > .sub-menu::before {
	content: "О компании";
}

.site-header__menu-item--service-submenu > .sub-menu::before {
	content: "Услуги";
}

.site-header__menu-item--has-submenu:hover > .sub-menu,
.site-header__menu-item--has-submenu:focus-within > .sub-menu {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

.site-header__menu-item--has-submenu > .sub-menu a {
	position: relative;
	display: flex;
	min-height: auto;
	align-items: flex-start;
	padding: 0 0 0 14px;
	color: #1f1f1f;
	font-family: var(--font-family-ui);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.24;
	white-space: normal;
}

.site-header__menu-item--has-submenu > .sub-menu a::before {
	position: absolute;
	top: 2px;
	bottom: 2px;
	left: 0;
	width: 1px;
	background: var(--color-primary);
	content: "";
}

.site-header__menu > li > a::after {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 4px;
	background: var(--color-primary);
	content: "";
	opacity: 0;
	transition: opacity 0.2s ease;
}

.site-header__menu a:hover,
.site-header__menu a:focus-visible {
	color: var(--color-primary);
}

.site-header.is-mega-open .site-header__menu > li:first-child > a::after,
.site-header.is-mega-open .site-header__menu-item--mega > a::after,
.site-header.is-submenu-open .site-header__menu-item--has-submenu > a::after,
.site-header__menu > li:hover > a::after,
.site-header__menu > li:focus-within > a::after {
	opacity: 1;
}

.site-header__toggle {
	display: inline-grid;
	gap: 4px;
	margin-left: auto;
	border: 0;
	background: transparent;
}

.site-header__toggle span:not(.visually-hidden) {
	display: block;
	width: 24px;
	height: 2px;
	background: currentColor;
}

.site-header__nav.is-open {
	position: fixed;
	inset: var(--header-height) 0 auto;
	display: block;
	padding: 24px;
	background: #fff;
	border-bottom: 1px solid var(--color-border);
}

.site-header__phone {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 14px;
	color: #242424;
	font-family: var(--font-family-ui);
	font-size: 18px;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

.site-header__phone img {
	display: block;
	width: 15px;
	height: 16px;
}

.site-header__cta {
	flex: 0 0 auto;
	gap: 18px;
	min-height: 37px;
	padding: 10px 15px;
	border-radius: 4px;
	font-family: var(--font-family-ui);
	font-size: 13.64px;
	font-weight: 800;
	line-height: 1;
	text-transform: uppercase;
	white-space: nowrap;
}

.site-header__cta img {
	display: block;
	width: 12px;
	height: 12px;
}

.site-header__mega {
	position: absolute;
	top: 100%;
	right: 0;
	left: 0;
	display: none;
	border-top: 2px solid var(--color-primary);
	background: #fff;
	box-shadow: 0 18px 36px rgba(16, 24, 32, 0.08);
}

.site-header.is-mega-open .site-header__mega {
	display: block;
}

.site-header__mega-inner {
	display: grid;
	grid-template-columns: minmax(280px, 340px);
	gap: 22px;
	padding-block: 20px 32px;
	padding-left: 312px;
}

.site-header__mega-column {
	display: grid;
	align-content: start;
	gap: 8px;
}

.site-header__mega-column a {
	color: #111827;
	font-size: 14px;
	line-height: 1.25;
	text-decoration: none;
}

.site-header__mega-column a:hover {
	color: var(--color-primary);
}

.site-header__mega-link {
	position: relative;
	display: grid;
	gap: 2px;
	padding-left: 14px;
	font-family: var(--font-family-ui);
}

.site-header__mega-link::before {
	position: absolute;
	top: 2px;
	bottom: 2px;
	left: 0;
	width: 1px;
	background: var(--color-primary);
	content: "";
}

.site-header__mega-link span {
	color: #1f1f1f;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.24;
}

.site-header__mega-link small {
	color: #6f8394;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.24;
}

.site-header__mega-title {
	margin: 10px 0 0;
	color: #6f8394;
	font-size: 14px;
	font-weight: 800;
	line-height: 1;
	text-transform: uppercase;
}

.site-header__mega-title a {
	color: inherit;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
	text-transform: inherit;
}

.site-header__mega-note {
	margin: -4px 0 6px;
	color: var(--color-muted);
	font-size: 13px;
}

.site-footer {
	/* The Email column starts level with the first contact row, so its top
	   offset is derived from the column heading size and gap. */
	--footer-heading-size: 12px;
	--footer-heading-gap: 54px;
	color: #fff;
	background: #242424;
	padding-block: 38px 0;
}

.site-footer__grid {
	display: grid;
	grid-template-columns:
		minmax(390px, 1.9fr) minmax(150px, 0.72fr) minmax(150px, 0.72fr)
		minmax(190px, 0.95fr) minmax(170px, 0.78fr);
	column-gap: 56px;
	min-height: 338px;
}

.site-footer__brand,
.site-footer__column {
	min-width: 0;
	padding: 0 0 48px;
}

.site-footer__column {
	padding-left: 0;
}

.site-footer__logo {
	display: inline-flex;
	margin-bottom: 34px;
}

.site-footer__logo img {
	display: block;
	width: 140px;
	height: 41px;
}

.site-footer__brand {
	position: relative;
}

.site-footer__brand::after {
	position: absolute;
	top: -22px;
	right: 18px;
	width: 319px;
	height: 291px;
	background: url("../images/home/footer.svg") center / contain no-repeat;
	content: "";
	opacity: 1;
}

.site-footer__brand p {
	position: relative;
	z-index: 1;
	max-width: 345px;
	margin: 0;
	color: #fff;
	font-family: var(--font-family-ui);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.3;
}

.site-footer__column h2 {
	position: relative;
	margin: 0 0 var(--footer-heading-gap);
	color: #8f8f8f;
	font-family: var(--font-family-ui);
	font-size: var(--footer-heading-size);
	font-weight: 500;
	line-height: 1;
	text-transform: uppercase;
}

.site-footer__column ul {
	display: grid;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer a {
	color: inherit;
	text-decoration: none;
}

.site-footer__column a,
.site-footer__column p,
.site-footer__column dd {
	color: #fff;
	font-family: var(--font-family-ui);
	font-size: 12px;
	font-weight: 400;
	line-height: 1.25;
}

.site-footer__column a:hover {
	color: var(--color-primary);
}

.site-footer__contacts dl {
	display: grid;
	gap: 9px;
	margin: 0;
}

.site-footer__contacts dt {
	position: relative;
	margin-top: 28px;
	color: #8f8f8f;
	font-size: 12px;
	line-height: 1;
}

.site-footer__contacts dt:first-child {
	margin-top: 0;
}

.site-footer__contacts dd {
	margin: 0;
}

.site-footer__socials {
	display: flex;
	gap: 10px;
	align-items: center;
}

.site-footer__socials a {
	display: inline-flex;
	width: 17px;
	height: 17px;
	align-items: center;
	justify-content: center;
}

.site-footer__socials img {
	display: block;
	width: 17px;
	height: 17px;
}

.site-footer__label::before {
	position: absolute;
	top: 50%;
	left: -30px;
	width: 17px;
	height: 17px;
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	content: "";
	transform: translateY(-50%);
}

.site-footer__label--phone::before {
	background-image: url("../icons/footer-phone.svg");
}

.site-footer__label--map::before {
	background-image: url("../icons/footer-map.svg");
}

.site-footer__label--email::before {
	background-image: url("../icons/footer-email.svg");
}

.site-footer__label--doc::before {
	background-image: url("../icons/footer-doc.svg");
}

.site-footer__column.site-footer__requisites h2 {
	margin-bottom: 18px;
}

.site-footer__requisites {
	padding-top: calc(var(--footer-heading-size) + var(--footer-heading-gap));
}

.site-footer__requisites h2 + p {
	margin-top: 0;
}

.site-footer__requisites p {
	margin: 0 0 18px;
}

.site-footer__bottom {
	display: grid;
	grid-template-columns: minmax(390px, 1.9fr) minmax(190px, 0.95fr) minmax(
			170px,
			0.78fr
		);
	column-gap: 56px;
	align-items: center;
	min-height: 76px;
	border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.site-footer__bottom p,
.site-footer__bottom a {
	margin: 0;
	color: #666;
	font-family: var(--font-family-ui);
	font-size: 12px;
	font-weight: 400;
	line-height: 1.25;
}

@media (max-width: 1180px) {
	.post-callback__fields {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.post-callback__submit {
		padding-top: 0;
	}

	.catalog__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.site-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 42px;
	}

	.site-footer__brand,
	.site-footer__column {
		padding-right: 0;
		border-right: 0;
	}

	.site-footer__bottom {
		grid-template-columns: 1fr;
		gap: 18px;
		padding-block: 24px;
	}
}

@media (min-width: 1024px) and (max-width: 1536px) {
	:root {
		--header-height: 74px;
	}

	.site-header__inner {
		gap: 20px;
	}

	.site-header__logo img {
		width: 112px;
		height: auto;
	}

	.site-header__menu {
		gap: 24px;
	}

	.site-header__menu a {
		min-height: var(--header-height);
		font-size: 13px;
	}

	.site-header__menu-item--has-submenu > .sub-menu a {
		min-height: auto;
		font-size: 13px;
	}

	.site-header__phone {
		gap: 10px;
		font-size: 14px;
	}

	.site-header__cta {
		gap: 12px;
		min-height: 34px;
		padding: 9px 12px;
		font-size: 11px;
	}

	.site-footer__grid {
		grid-template-columns:
			minmax(320px, 1.65fr) minmax(130px, 0.7fr)
			minmax(130px, 0.7fr) minmax(170px, 0.9fr) minmax(160px, 0.78fr);
		column-gap: 38px;
		min-height: 310px;
	}

	.site-footer__brand::after {
		right: 0;
		width: 260px;
		height: 238px;
	}

	.site-footer__brand p {
		max-width: 280px;
		font-size: 11px;
	}

	.site-footer {
		--footer-heading-size: 10px;
		--footer-heading-gap: 42px;
	}

	.site-footer__column ul {
		gap: 13px;
	}

	.site-footer__column a,
	.site-footer__column p,
	.site-footer__column dd,
	.site-footer__contacts dt {
		font-size: 10px;
	}

	.site-footer__bottom {
		grid-template-columns:
			minmax(320px, 1.65fr) minmax(170px, 0.9fr)
			minmax(160px, 0.78fr);
		column-gap: 38px;
		min-height: 62px;
	}

	.site-footer__bottom p,
	.site-footer__bottom a {
		font-size: 10px;
	}
}

@media (max-width: 680px) {
	.blog-article__container {
		width: min(100% - 28px, var(--container-width));
	}

	.blog-article__hero {
		padding-top: 26px;
	}

	.blog-article__title {
		font-size: 27px;
	}

	.single-amo_company_pub .blog-article__title,
	.single-amo_solution .blog-article__title,
	.single-amo_company_blog .blog-article__title {
		font-size: 24px;
	}

	.blog-article__content .wp-block-columns {
		grid-template-columns: 1fr;
	}

	.blog-article__content .wp-block-quote,
	.blog-article__content blockquote {
		padding: 22px;
	}

	.post-callback {
		padding-block: 46px;
	}

	.post-callback__form {
		padding: 24px 18px;
	}

	.post-callback__fields {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.catalog {
		padding-block: 30px 72px;
	}

	.catalog__tabs {
		margin-top: 36px;
	}

	.catalog__tab-list {
		flex-wrap: nowrap;
		margin-inline: calc(var(--container-padding) * -1);
		padding-inline: var(--container-padding);
		overflow-x: auto;
		scrollbar-width: none;
	}

	.catalog__tab-list::-webkit-scrollbar {
		display: none;
	}

	.catalog__tab {
		flex: 0 0 auto;
		min-height: 38px;
		padding-inline: 16px;
		font-size: 13px;
	}

	.catalog__panel {
		margin-top: 38px;
	}

	.catalog__grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.catalog-card {
		min-height: auto;
	}

	.catalog-card__media {
		height: 220px;
	}

	.catalog-card__body {
		padding: 0 20px 24px;
	}

	.catalog-card__title {
		font-size: 20px;
	}

	.catalog-card__subtitle {
		margin-bottom: 18px;
		font-size: 14px;
	}

	.catalog-card__button {
		width: 100%;
		margin-top: 28px;
	}

	.site-footer {
		padding-top: 34px;
	}

	.site-footer__grid {
		grid-template-columns: 1fr;
		gap: 30px;
		min-height: auto;
	}

	.site-footer__brand,
	.site-footer__column {
		padding-bottom: 0;
	}

	.site-footer__requisites {
		padding-top: 0;
	}

	.site-footer__brand::after {
		display: none;
	}

	.site-footer {
		--footer-heading-gap: 22px;
	}

	.site-footer__logo {
		margin-bottom: 22px;
	}

	.site-footer__brand p {
		max-width: 290px;
		font-size: 12px;
	}

	.site-footer__column ul {
		gap: 12px;
	}

	.site-footer__label::before {
		position: static;
		display: inline-block;
		margin-right: 8px;
		vertical-align: -3px;
		transform: none;
	}

	.site-footer__contacts dt {
		margin-top: 20px;
	}

	.site-footer__bottom {
		gap: 14px;
		min-height: auto;
		margin-top: 34px;
		padding-block: 22px;
	}
}

.form {
	display: grid;
	gap: 14px;
	max-width: 640px;
}

.form input,
.form textarea,
.search-field {
	width: 100%;
	padding: 12px;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-small);
}

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.developer-placeholder,
.image-placeholder,
.video-placeholder {
	min-height: 160px;
	display: grid;
	place-items: center;
	border: 1px dashed var(--color-border);
	border-radius: var(--radius-medium);
	color: var(--color-muted);
	background: #fff;
}

.metric strong {
	display: block;
	font-size: 40px;
}

.accordion__button {
	width: 100%;
	padding: 16px;
	border: 1px solid var(--color-border);
	background: #fff;
	text-align: left;
}

.is-scroll-locked {
	overflow: hidden;
}

@media (min-width: 768px) {
	.grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.split {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 1023px) {
	:root {
		--header-height: 72px;
		--container-padding: 20px;
	}

	.site-header {
		min-height: var(--header-height);
	}

	.site-header::after,
	.site-header__mega {
		display: none;
	}

	.site-header__inner {
		padding-inline: 20px;
		min-height: var(--header-height);
	}

	.site-header__logo-text {
		font-size: 34px;
	}

	.site-header__logo-text span {
		width: 27px;
		height: 27px;
	}

	.site-header__phone,
	.site-header__cta {
		display: none;
	}

	.site-header__nav.is-open {
		inset: var(--header-height) 0 auto;
	}

	.site-header__nav.is-open .site-header__menu {
		display: grid;
		gap: 16px;
	}

	.site-header__nav.is-open .site-header__menu a {
		min-height: auto;
		font-size: 18px;
	}

	.site-header__nav.is-open .site-header__menu-item--has-submenu > .sub-menu {
		position: static;
		display: grid;
		gap: 10px;
		grid-template-columns: 1fr;
		min-width: 0;
		margin-top: 10px;
		padding: 0 0 0 14px;
		border-top: 0;
		box-shadow: none;
		opacity: 1;
		pointer-events: auto;
		transform: none;
	}

	.site-header__nav.is-open
		.site-header__menu-item--has-submenu
		> .sub-menu
		a {
		padding: 0;
		font-size: 15px;
		line-height: 1.25;
	}

	.site-header__nav.is-open .site-header__menu > li > a::after {
		display: none;
	}

	.site-footer__requisites {
		padding-top: 0;
	}
}

@media (max-width: 782px) {
	.admin-bar .site-header {
		top: 46px;
	}
}

@media (min-width: 1024px) {
	.site-header__toggle {
		display: none;
	}

	.site-header__nav {
		display: block;
		margin-left: auto;
	}

	.grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.case-product-card,
	.case-related-grid {
		grid-template-columns: 1fr;
	}

	.case-product-card {
		gap: 18px;
		padding: 22px;
	}

	.case-product-card__media {
		justify-content: flex-start;
		min-height: 0;
	}

	.case-product-card__media img {
		max-width: 230px;
	}

	.case-related-grid {
		gap: 42px;
	}

	.case-related-card {
		min-height: 0;
	}

	.case-related-card h3 {
		margin-top: 24px;
	}
}

@media (max-width: 680px) {
	.case-hero {
		padding-block: 26px 22px;
	}

	.case-container {
		width: min(100% - 28px, var(--container-width));
	}

	.case-title {
		font-size: 28px;
	}

	.case-lead {
		font-size: 16px;
	}

	.case-video__play {
		width: 56px;
		height: 56px;
	}

	.case-benefits__list li {
		grid-template-columns: 14px minmax(0, 1fr);
		gap: 10px;
	}

	.case-gallery {
		grid-template-columns: 1fr;
		width: min(100% - 28px, 1840px);
		gap: 18px;
	}

	.case-related-section {
		padding-bottom: 72px;
	}
}
/* Company history page */
.company-history-page {
	background: #fff;
}

.company-history-hero {
	padding-block: clamp(70px, 7vw, 112px);
}

.company-history-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 0.88fr) minmax(440px, 1.12fr);
	align-items: center;
	gap: clamp(48px, 6vw, 104px);
}

.company-history-hero__content {
	max-width: 640px;
}

.company-history-hero__eyebrow {
	margin: 0 0 16px;
	color: var(--color-primary);
	font-family: var(--font-family-ui);
	font-size: 18px;
	font-weight: 600;
	line-height: 1.2;
	text-transform: uppercase;
}

.company-history-hero__title {
	margin: 0;
	color: #0f1f31;
	font-family: var(--font-family-heading);
	font-size: clamp(32px, 2.7vw, 45px);
	font-weight: 600;
	line-height: 1.08;
	text-transform: uppercase;
}

.company-history-hero__title span {
	color: var(--color-primary);
}

.company-history-hero__lead {
	max-width: 560px;
	margin: 12px 0 0;
	color: #101820;
	font-size: 18px;
	line-height: 1.38;
}

.company-history-hero__lead strong,
.company-history-hero__lead b {
	font-weight: 700;
}

.company-history-hero__stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0;
	max-width: 780px;
	margin-top: clamp(54px, 5vw, 82px);
}

.company-history-hero__stat {
	min-width: 0;
	padding-inline: 24px;
	border-left: 1px solid var(--color-primary);
}

.company-history-hero__stat:first-child {
	padding-left: 0;
	border-left: 0;
}

.company-history-hero__stat strong {
	display: block;
	margin-bottom: 6px;
	color: var(--color-primary);
	font-family: var(--font-family-heading);
	font-size: 26px;
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
}

.company-history-hero__stat span {
	display: block;
	color: #161616;
	font-size: 14px;
	line-height: 1.25;
}

.company-history-hero__button {
	gap: 12px;
	margin-top: 34px;
	padding-inline: 28px;
	font-family: var(--font-family-ui);
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
}

.company-history-hero__media {
	position: relative;
	display: grid;
	place-items: center;
	min-height: clamp(320px, 34vw, 540px);
	overflow: hidden;
	background: #f2f6f9;
}

.company-history-hero__media img,
.company-history-hero__media video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.company-history-hero__play {
	position: relative;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--color-primary);
	box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}

.company-history-hero__play::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0;
	height: 0;
	border-block: 7px solid transparent;
	border-left: 11px solid #fff;
	transform: translate(-38%, -50%);
}

.company-history-timeline {
	overflow: hidden;
}

.company-history-timeline__title {
	margin: 0 0 clamp(64px, 6vw, 96px);
	color: #222;
	font-family: var(--font-family-heading);
	font-size: clamp(32px, 2.7vw, 45px);
	font-weight: 600;
	line-height: 1.12;
	text-align: center;
	text-transform: uppercase;
}

.company-history-timeline__viewport {
	overflow-x: auto;
	overflow-y: hidden;
	margin-inline: calc(var(--container-padding) * -1);
	padding-inline: var(--container-padding);
	padding-bottom: 10px;
	cursor: grab;
	scrollbar-width: none;
	scroll-padding-inline: var(--container-padding);
	scroll-snap-type: x mandatory;
	touch-action: pan-x;
	user-select: none;
}

.company-history-timeline__viewport::-webkit-scrollbar {
	display: none;
}

.company-history-timeline__viewport.is-dragging {
	cursor: grabbing;
	scroll-snap-type: none;
}

.company-history-timeline__viewport.is-dragging
	.company-history-timeline__track {
	transform: translate3d(0, 0, 0);
	transition: none;
}

.company-history-timeline__track {
	position: relative;
	display: flex;
	gap: 180px;
	width: max-content;
	min-width: 100%;
	padding-left: 8px;
	transform: translate3d(var(--history-parallax-x, 0px), 0, 0);
	transition: transform 0.12s linear;
}

.company-history-timeline__track::before {
	content: "";
	position: absolute;
	top: 7px;
	left: 8px;
	right: 8px;
	height: 1px;
	background: #b9c7d8;
}

.company-history-timeline__track::after {
	content: "";
	position: absolute;
	top: 3px;
	right: 0;
	width: 8px;
	height: 8px;
	border-top: 1px solid #b9c7d8;
	border-right: 1px solid #b9c7d8;
	transform: rotate(45deg);
}

.company-history-timeline__item {
	position: relative;
	flex: 0 0 285px;
	padding-top: 42px;
	scroll-snap-align: start;
}

.company-history-timeline__dot {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: #9fb0c4;
}

.company-history-timeline__item:nth-child(3n) .company-history-timeline__dot {
	background: var(--color-primary);
}

.company-history-timeline__body {
	max-width: 250px;
}

.company-history-timeline__body h3 {
	margin: 0 0 8px;
	color: var(--color-primary);
	font-family: var(--font-family-heading);
	font-size: 24px;
	font-weight: 700;
	line-height: 1.08;
}

.company-history-timeline__body p {
	min-height: 58px;
	margin: 0 0 18px;
	color: #1f2933;
	font-size: 14px;
	line-height: 1.3;
}

.company-history-timeline__body img,
.company-history-timeline__placeholder {
	display: block;
	width: 100%;
	height: 150px;
	aspect-ratio: 1.86 / 1;
	background: #eef3f7;
	object-fit: cover;
}

.company-history-timeline__body img {
	user-select: none;
	pointer-events: none;
}

.company-history-mission {
	--company-mission-gap: clamp(56px, 6vw, 92px);
	position: relative;
	overflow: hidden;
	padding-block: clamp(48px, 5vw, 76px);
	text-align: center;
}

.company-history-mission__inner {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: min(440px, calc(100svh - 152px));
}

.company-history-mission__title {
	margin: 0 0 var(--company-mission-gap);
	color: #222;
	font-family: var(--font-family-heading);
	font-size: clamp(32px, 2.7vw, 45px);
	font-weight: 600;
	line-height: 1.12;
	text-transform: uppercase;
}

.company-history-mission__quote {
	position: relative;
	width: min(1045px, 100%);
	margin-inline: auto;
}

.company-history-mission__content {
	max-width: 745px;
	margin-inline: auto;
}

.company-history-mission__lead {
	margin: 0 0 18px;
	color: #1b222a;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.28;
}

.company-history-mission__text {
	margin: 0;
	color: #1b222a;
	font-size: 18px;
	font-weight: 400;
	line-height: 1.28;
}

.company-history-mission__quote-icon {
	position: absolute;
	width: 58px;
	height: auto;
	pointer-events: none;
	user-select: none;
}

.company-history-mission__quote-icon--top {
	top: -30px;
	left: 0;
}

.company-history-mission__quote-icon--bottom {
	right: 0;
	bottom: -28px;
}

.company-history-mission__arrow {
	display: inline-flex;
	margin-top: var(--company-mission-gap);
	animation: company-mission-arrow-float 1.9s ease-in-out infinite;
}

.company-history-mission__arrow svg {
	display: block;
}

.company-history-values {
	overflow: hidden;
}

.company-history-values__title {
	margin: 0 0 clamp(76px, 7vw, 118px);
	color: #222;
	font-family: var(--font-family-heading);
	font-size: clamp(32px, 2.7vw, 45px);
	font-weight: 600;
	line-height: 1.12;
	text-align: center;
	text-transform: uppercase;
}

.company-history-values__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(46px, 5vw, 90px);
}

.company-history-values__item {
	min-width: 0;
}

.company-history-values__item h3 {
	margin: 0 0 22px;
	color: var(--color-primary);
	font-family: var(--font-family-heading);
	font-size: 22px;
	font-weight: 700;
	line-height: 1.12;
}

.company-history-values__text {
	color: #1b222a;
	font-family: var(--font-family-heading);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.28;
}

.company-history-values__text strong,
.company-history-values__text b {
	font-weight: 600;
}

.company-history-values__text p {
	margin: 0;
}

.company-history-values__text p + p {
	margin-top: 18px;
}

.company-history-directions {
	overflow: hidden;
}

.company-history-directions__title {
	margin: 0 0 clamp(70px, 6.6vw, 106px);
	color: #222;
	font-family: var(--font-family-heading);
	font-size: clamp(32px, 2.7vw, 45px);
	font-weight: 600;
	line-height: 1.12;
	text-align: center;
	text-transform: uppercase;
}

.company-history-directions__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(30px, 3.4vw, 32px);
}

.company-history-directions__item {
	min-width: 0;
}

.company-history-directions__image {
	display: block;
	width: 100%;
	height: clamp(190px, 14vw, 250px);
	margin-bottom: 26px;
	background: #eef3f7;
	object-fit: cover;
}

.company-history-directions__item h3 {
	margin: 0;
	color: #222;
	font-family: var(--font-family-heading);
	font-size: 26px;
	font-weight: 700;
	line-height: 1.12;
}

.company-history-directions__line {
	display: block;
	width: 94px;
	height: 4px;
	margin: 18px 0 26px;
	background: var(--color-primary);
}

.company-history-directions__text {
	color: #1b222a;
	font-family: var(--font-family-base);
	font-size: 18px;
	font-weight: 400;
	line-height: 1.28;
}

.company-history-directions__text strong,
.company-history-directions__text b {
	font-weight: 700;
}

.company-history-gallery {
	overflow: hidden;
}

.company-history-gallery__head {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 54px;
}

.company-history-gallery__title {
	margin: 0;
	color: #222;
	font-family: var(--font-family-heading);
	font-size: clamp(32px, 2.7vw, 45px);
	font-weight: 600;
	line-height: 1.12;
	text-align: center;
	text-transform: uppercase;
}

.company-history-gallery__dots {
	position: absolute;
	right: 0;
	display: flex;
	gap: 8px;
	align-items: center;
	padding-bottom: 0;
}

.company-history-gallery__dots .home-gallery__dot {
	width: 18px;
	height: 4px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: #dfe2ef;
	cursor: pointer;
	transition:
		width 0.2s ease,
		background-color 0.2s ease;
}

.company-history-gallery__dots .home-gallery__dot.is-active {
	width: 42px;
	background: var(--color-primary);
}

.company-history-gallery__viewport {
	overflow: hidden;
	margin-inline: calc(var(--container-padding) * -1);
	margin-top: clamp(54px, 5vw, 82px);
	padding-inline: var(--container-padding);
	cursor: grab;
	touch-action: pan-y;
	user-select: none;
}

.company-history-gallery__viewport.is-dragging {
	cursor: grabbing;
}

.company-history-gallery__track {
	display: flex;
	align-items: stretch;
	gap: 24px;
	transition: transform 0.45s ease;
	will-change: transform;
}

.company-history-gallery__slide {
	flex: 0 0 clamp(245px, 22vw, 360px);
	height: clamp(280px, 17.8vw, 360px);
	margin: 0;
	overflow: hidden;
	border-radius: 4px;
	background: #f1f5f8;
}

.company-history-gallery__slide:first-child {
	flex-basis: clamp(430px, 38vw, 620px);
}

.company-history-gallery__slide img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	pointer-events: none;
}

.company-history-work {
	background: #f2f6f9;
}

.company-history-work__inner {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.35fr);
	gap: clamp(48px, 7vw, 110px);
	align-items: center;
}

.company-history-work__content {
	max-width: 500px;
}

.company-history-work__eyebrow,
.company-history-cases__eyebrow {
	margin: 0 0 18px;
	color: var(--color-primary);
	font-family: var(--font-family-ui);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
	text-transform: uppercase;
}

.company-history-work__title,
.company-history-cases__title {
	margin: 0;
	color: #222;
	font-family: var(--font-family-heading);
	font-size: clamp(32px, 2.7vw, 45px);
	font-weight: 600;
	line-height: 1.14;
	text-transform: uppercase;
}

.company-history-work__lead {
	margin: 24px 0 0;
	color: #1b222a;
	font-family: var(--font-family-ui);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
}

.company-history-work__text {
	margin-top: 18px;
	color: #1b222a;
	font-family: var(--font-family-ui);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.34;
}

.company-history-work__media {
	position: relative;
	display: grid;
	place-items: center;
	min-height: clamp(280px, 25vw, 430px);
	overflow: hidden;
	border-radius: 4px;
	background: #111;
}

.company-history-work__media video,
.company-history-work__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.company-history-work__play {
	position: absolute;
	width: 54px;
	height: 54px;
	border-radius: 50%;
	background: #fff;
}

.company-history-work__play::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0;
	height: 0;
	border-block: 7px solid transparent;
	border-left: 11px solid var(--color-primary);
	transform: translate(-35%, -50%);
}

.company-history-work__placeholder {
	color: #fff;
	font-family: var(--font-family-heading);
	font-size: 32px;
	font-weight: 700;
	line-height: 1.12;
	text-transform: uppercase;
}

.company-history-cases__head {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 32px;
	margin-bottom: 48px;
}

.company-history-cases__all {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: var(--color-primary);
	font-family: var(--font-family-ui);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
}

.company-history-cases__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 36px;
}

.company-history-case-card__link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.company-history-case-card__media {
	position: relative;
	display: block;
	height: clamp(220px, 16vw, 300px);
	overflow: hidden;
	background: #eef3f7;
}

.company-history-case-card__media img,
.company-history-case-card__media .image-placeholder {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.company-history-case-card__label {
	position: absolute;
	top: 14px;
	left: 14px;
	display: inline-flex;
	min-height: 28px;
	align-items: center;
	padding: 7px 16px;
	color: #fff;
	background: var(--color-primary);
	font-family: var(--font-family-ui);
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
}

.company-history-case-card__body {
	display: block;
	padding-top: 24px;
}

.company-history-case-card__title {
	display: block;
	color: #222;
	font-family: var(--font-family-heading);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.18;
}

.company-history-case-card__text {
	display: block;
	margin-top: 14px;
	color: #242424;
	font-family: var(--font-family-ui);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.34;
}

.company-history-case-card__more {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin-top: 28px;
	color: var(--color-primary);
	font-family: var(--font-family-ui);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
	text-transform: uppercase;
}

.company-history-control {
	overflow: hidden;
	padding-block: clamp(68px, 6vw, 106px) 0;
	background: #eef3f7;
}

.company-history-control__inner {
	display: grid;
	grid-template-columns: minmax(0, 0.96fr) minmax(300px, 0.72fr) minmax(
			360px,
			0.82fr
		);
	gap: clamp(32px, 4vw, 72px);
	align-items: end;
}

.company-history-control__content {
	align-self: center;
	max-width: 560px;
	padding-bottom: clamp(42px, 5vw, 78px);
}

.company-history-control__eyebrow {
	margin: 0 0 18px;
	color: var(--color-primary);
	font-family: var(--font-family-ui);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	text-transform: uppercase;
}

.company-history-control__title {
	margin: 0;
	color: #0f1720;
	font-family: var(--font-family-heading);
	font-size: clamp(30px, 2.4vw, 42px);
	font-weight: 700;
	line-height: 1.12;
	text-transform: uppercase;
}

.company-history-control__lead,
.company-history-control__text {
	color: #111820;
	font-family: var(--font-family-base);
	font-size: 18px;
	line-height: 1.34;
}

.company-history-control__lead {
	margin-top: 34px;
	font-weight: 400;
}

.company-history-control__lead strong,
.company-history-control__lead b {
	font-weight: 700;
}

.company-history-control__text {
	margin-top: 28px;
	font-weight: 400;
}

.company-history-control__person {
	position: relative;
	display: grid;
	gap: 4px;
	margin-top: 56px;
	padding-left: 34px;
	color: #111820;
	font-family: var(--font-family-base);
	font-size: 16px;
	line-height: 1.28;
}

.company-history-control__person::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 7px;
	height: 100%;
	min-height: 54px;
	background: var(--color-primary);
}

.company-history-control__person strong {
	font-weight: 700;
}

.company-history-control__person span {
	font-weight: 400;
}

.company-history-control__photo {
	align-self: end;
	display: flex;
	justify-content: center;
	min-height: 560px;
}

.company-history-control__photo img {
	display: block;
	width: min(430px, 100%);
	height: auto;
	align-self: end;
	object-fit: contain;
}

.company-history-control__form {
	align-self: center;
	padding-bottom: clamp(42px, 5vw, 78px);
}

.company-history-control__form > * {
	width: 100%;
}

.company-history-control-form {
	padding: 42px 44px 40px;
	border: 1px solid #c6d0dc;
	border-radius: 4px;
	background: #fff;
}

.company-history-control-form h3 {
	margin: 0;
	color: #222;
	font-family: var(--font-family-heading);
	font-size: 26px;
	font-weight: 700;
	line-height: 1.16;
}

.company-history-control-form__lead {
	margin: 10px 0 34px;
	color: #6f7d8d;
	font-family: var(--font-family-base);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.32;
}

.company-history-control-form label {
	display: grid;
	gap: 10px;
	margin-top: 22px;
	color: #6f7d8d;
	font-family: var(--font-family-base);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.2;
}

.company-history-control-form input {
	width: 100%;
	min-height: 58px;
	padding: 0 18px;
	border: 1px solid #d9e0ea;
	border-radius: 4px;
	color: #111820;
	font: inherit;
	font-size: 16px;
	background: #fff;
}

.company-history-control-form input::placeholder {
	color: #a7afb9;
}

.company-history-control-form button {
	display: inline-flex;
	width: 100%;
	min-height: 58px;
	align-items: center;
	justify-content: center;
	gap: 42px;
	margin-top: 30px;
	border: 0;
	border-radius: 4px;
	color: #fff;
	background: var(--color-primary);
	font-family: var(--font-family-ui);
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
	cursor: pointer;
}

.company-history-control-form__policy {
	position: relative;
	margin: 18px 0 0;
	padding-left: 28px;
	color: #a0a9b5;
	font-family: var(--font-family-base);
	font-size: 11px;
	font-weight: 400;
	line-height: 1.25;
}

.company-history-control-form__policy::before {
	content: "";
	position: absolute;
	top: 1px;
	left: 0;
	width: 14px;
	height: 14px;
	border: 1px solid #cbd4df;
	border-radius: 2px;
	background: #fff;
}

.engineering-department {
	padding-block: clamp(70px, 6.5vw, 112px);
	background: #fff;
}

.engineering-department__hero {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(34px, 3vw, 48px);
	align-items: start;
}

.engineering-department__eyebrow {
	margin: 0 0 16px;
	color: var(--color-primary);
	font-family: var(--font-family-ui);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	text-transform: uppercase;
}

.engineering-department__title {
	margin: 0;
	color: #101820;
	font-family: var(--font-family-heading);
	font-size: clamp(32px, 2.7vw, 35px);
	font-weight: 700;
	line-height: 1.12;
	text-transform: uppercase;
}

.engineering-department__text {
	margin-top: 28px;
	color: #111820;
	font-family: var(--font-family-base);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.34;
}

.engineering-department__text--bold {
	margin-top: 16px;
	font-weight: 700;
}

.engineering-department__media,
.engineering-department-row__media {
	display: block;
	aspect-ratio: 896 / 573;
	width: 100%;
	min-height: 0;
	margin: 0;
	overflow: hidden;
	background: #c9c9c9;
}

.engineering-department__media img,
.engineering-department-row__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.engineering-department__sections {
	display: grid;
	gap: clamp(30px, 3.2vw, 58px);
	margin-top: clamp(46px, 5vw, 82px);
}

.engineering-department-row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(34px, 3vw, 48px);
	align-items: start;
}

.engineering-department-row--image-right .engineering-department-row__media {
	order: 2;
}

.engineering-department-row--image-right .engineering-department-row__content {
	order: 1;
}

.engineering-department-row__content {
	padding-top: clamp(40px, 4.7vw, 90px);
}

.engineering-department-row__content h2 {
	margin: 0 0 24px;
	color: #222;
	font-family: var(--font-family-heading);
	font-size: clamp(22px, 1.45vw, 26px);
	font-weight: 700;
	line-height: 1.14;
}

.engineering-department-row__text {
	color: #111820;
	font-family: var(--font-family-base);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.34;
}

.engineering-department-row__text strong,
.engineering-department-row__text b {
	font-weight: 700;
}

@keyframes company-mission-arrow-float {
	0%,
	100% {
		transform: translateY(0);
	}

	50% {
		transform: translateY(8px);
	}
}

@media (max-width: 1180px) {
	.company-history-hero__inner {
		grid-template-columns: 1fr;
	}

	.company-history-hero__content {
		max-width: 760px;
	}
}

@media (max-width: 680px) {
	.company-history-mission {
		--company-mission-gap: 48px;
		padding-block: 44px;
	}

	.company-history-hero {
		padding-block: 54px;
	}

	.company-history-hero__eyebrow {
		font-size: 13px;
	}

	.company-history-hero__title {
		font-size: clamp(28px, 9vw, 38px);
	}

	.company-history-hero__lead {
		font-size: 16px;
	}

	.company-history-hero__stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px 0;
		margin-top: 38px;
	}

	.company-history-hero__stat:nth-child(odd) {
		padding-left: 0;
		border-left: 0;
	}

	.company-history-hero__media {
		min-height: 260px;
	}

	.company-history-timeline__title {
		margin-bottom: 54px;
	}

	.company-history-timeline__item {
		flex-basis: calc(100vw - var(--container-padding) * 2);
	}

	.company-history-timeline__track {
		gap: 28px;
	}

	.company-history-timeline__body {
		max-width: min(320px, 100%);
	}

	.company-history-mission__quote {
		width: min(760px, 100%);
	}

	.company-history-mission__quote-icon {
		width: 48px;
	}

	.company-history-values__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 46px 56px;
	}

	.company-history-directions__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 48px 36px;
	}

	.company-history-work__inner {
		grid-template-columns: 1fr;
	}

	.company-history-work__content {
		max-width: 680px;
	}

	.company-history-cases__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.company-history-control {
		padding-bottom: 58px;
	}

	.company-history-control__inner {
		grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
		align-items: end;
		gap: 32px;
	}

	.company-history-control__content,
	.company-history-control__form {
		padding-bottom: 0;
	}

	.company-history-control__content {
		grid-row: 1 / 3;
	}

	.company-history-control__photo {
		grid-column: 2;
		grid-row: 1;
		min-height: 0;
		margin-bottom: -32px;
	}

	.company-history-control__photo img {
		width: min(320px, 100%);
	}

	.company-history-control__form {
		grid-column: 2;
		grid-row: 2;
	}

	.engineering-department__hero,
	.engineering-department-row {
		grid-template-columns: 1fr;
		gap: 34px;
	}

	.engineering-department__intro,
	.engineering-department-row__content {
		max-width: 720px;
	}

	.engineering-department-row--image-right .engineering-department-row__media,
	.engineering-department-row--image-right
		.engineering-department-row__content {
		order: initial;
	}
}

@media (max-width: 430px) {
	.company-history-mission {
		--company-mission-gap: 38px;
		padding-block: 38px;
	}

	.company-history-hero__stats {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.company-history-hero__stat,
	.company-history-hero__stat:nth-child(odd) {
		padding-left: 18px;
		border-left: 1px solid var(--color-primary);
	}

	.company-history-mission__title {
		margin-bottom: var(--company-mission-gap);
	}

	.company-history-mission__quote-icon {
		width: 38px;
	}

	.company-history-mission__quote-icon--top {
		top: -34px;
		left: 0;
	}

	.company-history-mission__quote-icon--bottom {
		right: 0;
		bottom: -34px;
	}

	.company-history-values__title {
		margin-bottom: 48px;
	}

	.company-history-values__grid {
		grid-template-columns: 1fr;
		gap: 34px;
	}

	.company-history-directions__title {
		margin-bottom: 48px;
	}

	.company-history-directions__grid {
		grid-template-columns: 1fr;
		gap: 42px;
	}

	.company-history-directions__image {
		height: 220px;
	}

	.company-history-gallery__head {
		justify-content: flex-start;
		margin-bottom: 34px;
	}

	.company-history-gallery__title {
		text-align: left;
	}

	.company-history-gallery__dots {
		position: static;
		margin-left: auto;
	}

	.company-history-work__inner {
		gap: 32px;
	}

	.company-history-work__media {
		min-height: 240px;
	}

	.company-history-cases__head {
		display: block;
		margin-bottom: 34px;
	}

	.company-history-cases__all {
		margin-top: 22px;
	}

	.company-history-cases__grid {
		grid-template-columns: 1fr;
	}

	.company-history-control__inner {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.company-history-control__content {
		order: 1;
		grid-row: auto;
		margin-bottom: 34px;
	}

	.company-history-control__photo {
		order: 2;
		grid-column: auto;
		grid-row: auto;
		margin-bottom: -1px;
	}

	.company-history-control__form {
		order: 3;
		grid-column: auto;
		grid-row: auto;
	}

	.company-history-control__photo img {
		width: min(340px, 92vw);
	}

	.company-history-control__lead,
	.company-history-control__text {
		font-size: 16px;
	}

	.company-history-control__person {
		margin-top: 36px;
	}

	.company-history-control-form {
		padding: 30px 22px;
	}

	.engineering-department {
		padding-block: 54px;
	}

	.engineering-department__media,
	.engineering-department-row__media {
		min-height: 260px;
	}

	.engineering-department__text,
	.engineering-department-row__text {
		font-size: 15px;
	}
}

/* Service pages */
.service-page {
	background: #fff;
	color: #20242b;
}

.service-eyebrow {
	margin: 0 0 14px;
	color: #e31a30;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.25;
	text-transform: uppercase;
}

.service-hero {
	--service-hero-bg: none;
	position: relative;
	overflow: hidden;
	background-color: #eef3f7;
	background-image:
		linear-gradient(
			90deg,
			#eef3f7 0%,
			#eef3f7 38%,
			rgba(238, 243, 247, 0.92) 45%,
			rgba(238, 243, 247, 0.42) 56%,
			rgba(238, 243, 247, 0) 68%
		),
		var(--service-hero-bg);
	background-repeat: no-repeat;
	background-position:
		center,
		right center;
	background-size:
		cover,
		auto 100%;
	border-bottom: 1px solid #dce4ec;
}

.service-hero__inner {
	min-height: 520px;
	display: flex;
	align-items: center;
	width: 100%;
	max-width: none;
}

.service-hero__content {
	display: flex;
	flex-direction: column;
	justify-content: center;

	padding: 58px 0;
}

.service-hero__title {
	margin: 0 0 24px;
	max-width: 720px;
	font-size: clamp(34px, 3.2vw, 45px);
	font-weight: 900;
	line-height: 1.14;
	text-transform: uppercase;
}

.service-hero__title span {
	color: #e31a30;
}

.service-hero__lead {
	margin: 0 0 24px;
	max-width: 620px;
	font-size: 16px;
	line-height: 1.45;
}

.service-hero__notes {
	display: grid;
	gap: 4px;
	margin: 0 0 34px;
	max-width: 620px;
	color: #20242b;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.25;
}

.service-hero__notes p {
	margin: 0;
}

.service-check-list {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.service-check-list--hero {
	margin-bottom: 32px;
}

.service-check-list li,
.service-benefit {
	display: flex;
	gap: 12px;
	align-items: start;
}

.service-check {
	width: 22px;
	height: 22px;
	display: inline-block;
	flex: 0 0 22px;
	background-image: url("data:image/svg+xml,%3Csvg width='22' height='22' viewBox='0 0 22 22' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.8 13.456L5.472 10.128C5.34756 10.0036 5.19467 9.93689 5.01333 9.928C4.832 9.91911 4.67022 9.98578 4.528 10.128C4.38578 10.2702 4.31467 10.4276 4.31467 10.6C4.31467 10.7724 4.38578 10.9298 4.528 11.072L8.04667 14.5893C8.26178 14.8053 8.51289 14.9133 8.8 14.9133C9.08711 14.9133 9.33867 14.8053 9.55467 14.5893L16.856 7.288C16.9804 7.16267 17.0471 7.00933 17.056 6.828C17.0649 6.64667 16.9982 6.48533 16.856 6.344C16.7138 6.20267 16.5569 6.13156 16.3853 6.13067C16.2138 6.12978 16.056 6.20089 15.912 6.344L8.8 13.456ZM2.15467 21.3333C1.54044 21.3333 1.028 21.128 0.617333 20.7173C0.206666 20.3067 0.000888889 19.7938 0 19.1787V2.15467C0 1.54044 0.205778 1.028 0.617333 0.617333C1.02889 0.206666 1.54133 0.000888889 2.15467 0H19.18C19.7933 0 20.3058 0.205778 20.7173 0.617333C21.1289 1.02889 21.3342 1.54133 21.3333 2.15467V19.18C21.3333 19.7933 21.128 20.3058 20.7173 20.7173C20.3067 21.1289 19.7938 21.3342 19.1787 21.3333H2.15467Z' fill='%23E31A30'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}

.service-button {
	width: fit-content;
	min-width: 196px;
	min-height: 54px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
	padding: 14px 26px;
	background: #e31a30;
	border: 1px solid #e31a30;
	color: #fff;
	font-size: 13px;
	font-weight: 800;
	line-height: 1;
	text-transform: uppercase;
	text-decoration: none;
}

.service-button:hover {
	background: #c91529;
	color: #fff;
}

.service-intro,
.service-steps,
.service-media,
.service-benefits {
	padding: 86px 0;
}

.service-intro__grid {
	display: flex;
	gap: clamp(56px, 8vw, 140px);
	align-items: center;
}

.service-intro__content {
	flex: 1 1 auto;
	min-width: 0;
}

.service-section-title {
	margin: 0 0 22px;
	max-width: 920px;
	font-size: clamp(28px, 2.15vw, 45px);
	font-weight: 900;
	line-height: 1.16;
	text-transform: uppercase;
}

.service-page--turnkey .service-section-title span {
	color: #e31a30;
}

.service-intro .service-section-title {
	margin-bottom: 24px;
	line-height: 1.16;
}

.service-content {
	font-size: 16px;
	line-height: 1.48;
}

.service-content p {
	margin: 0 0 20px;
}

.service-intro__media {
	min-width: 48%;
	display: flex;

	align-items: center;
	justify-content: center;
}

.service-intro__media img {
	width: 100%;
	max-width: 300px;
	height: auto;
	display: block;
	object-fit: contain;
	opacity: 0.72;
}

.service-steps__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 42px;
	margin-top: 56px;
}

.service-step {
	min-height: 160px;
}

.service-step__num {
	display: block;
	margin-bottom: 22px;
	padding-left: 18px;
	border-left: 6px solid #e31a30;
	font-size: 36px;
	font-weight: 900;
	line-height: 1;
}

.service-step h3,
.service-benefit h3 {
	margin: 0 0 10px;
	font-size: 20px;
	font-weight: 800;
	line-height: 1.2;
	text-transform: none;
}

.service-step p,
.service-benefit p,
.service-media__content p {
	margin: 0;
	color: #6b7280;
	font-size: 15px;
	line-height: 1.45;
}

.service-media {
	background: #eef3f7;
}

.service-media__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
	gap: 64px;
	align-items: center;
}

.service-media__image {
	min-height: 360px;
	background: #fff;
}

.service-media__image img {
	width: 100%;
	height: 100%;
	min-height: 360px;
	display: block;
	object-fit: cover;
}

.service-media__content .service-button {
	margin-top: 34px;
}

.service-benefits {
	background: #f3f6f9;
}

.service-benefits__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 42px 96px;
	margin-top: 48px;
}

.service-benefits--turnkey {
	padding: 92px 0 88px;
	background: #fff;
}

.service-benefits--turnkey .service-section-title {
	max-width: 960px;
	margin-bottom: 72px;
}

.service-benefits--turnkey .service-benefits__grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 42px 70px;
	margin-top: 0;
}

.service-benefits--turnkey .service-benefit {
	display: block;
}

.service-benefits--turnkey .service-benefit__icon,
.service-benefits--turnkey .service-check {
	display: flex;
	width: 36px;
	height: 36px;
	margin-bottom: 30px;
	align-items: center;
	justify-content: center;
}

.service-benefits--turnkey .service-benefit__icon img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.service-benefits--turnkey .service-benefit h3 {
	margin: 0 0 34px;
	color: #e31a30;
	font-size: 24px;
	font-weight: 500;
	line-height: 1.28;
	min-height: 62px;
}

.service-benefits--turnkey .service-benefit p {
	margin: 0;
	color: #20242b;
	font-size: 16px;
	line-height: 1.38;
}

.service-hero--turnkey {
	background-color: #eef3f7;
}

.service-turnkey-strip {
	border-bottom: 1px solid #dce4ec;
	background: #fff;
}

.service-turnkey-strip__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-turnkey-strip__item {
	min-height: 116px;
	padding: 30px 32px 26px 0;
}

.service-turnkey-strip__item + .service-turnkey-strip__item {
	padding-left: 32px;
	border-left: 1px solid #dce4ec;
}

.service-turnkey-strip__item h3 {
	max-width: 260px;
	margin: 0 0 12px;
	color: #e31a30;
	font-size: 17px;
	font-weight: 800;
	line-height: 1.2;
	min-height: 40px;
}

.service-turnkey-strip__item p {
	max-width: 250px;
	margin: 0;
	color: #20242b;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.28;
}

.service-turnkey-strip__item p strong,
.service-turnkey-strip__item p b,
.service-turnkey-strip__item p span {
	color: #e31a30;
}

.service-turnkey-steps {
	padding: 92px 0 88px;
	background: #fff;
}

.service-turnkey-steps__head {
	display: grid;
	grid-template-columns: minmax(0, 0.96fr) minmax(360px, 1.04fr);
	gap: clamp(48px, 7vw, 120px);
	align-items: start;
	margin-bottom: 58px;
}

.service-turnkey-steps__intro {
	max-width: 650px;
	color: #20242b;
	font-size: 16px;
	line-height: 1.42;
}

.service-turnkey-steps__intro p {
	margin: 0 0 14px;
}

.service-turnkey-steps__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 48px clamp(42px, 6vw, 96px);
}

.service-turnkey-step {
	min-height: 150px;
}

.service-turnkey-step__number {
	position: relative;
	display: block;
	margin-bottom: 18px;
	padding-left: 18px;
	color: #20242b;
	font-size: 30px;
	font-weight: 800;
	line-height: 1;
}

.service-turnkey-step__number::before {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 4px;
	background: #e31a30;
	content: "";
}

.service-turnkey-step h3 {
	margin: 0 0 10px;
	color: #20242b;
	font-size: 18px;
	font-weight: 800;
	line-height: 1.22;
}

.service-turnkey-step p {
	max-width: 340px;
	margin: 0;
	color: #6f8394;
	font-size: 14px;
	line-height: 1.36;
}

.service-turnkey-steps__button {
	margin-top: 44px;
}

.service-engineering-overview {
	padding: 82px 0 74px;
	border-bottom: 1px solid #dce4ec;
	background: #fff;
}

.service-engineering-overview__head {
	margin-bottom: 76px;
}

.service-engineering-overview .service-section-title span {
	color: #e31a30;
}

.service-engineering-overview__intro {
	max-width: 640px;
	color: #20242b;
	font-size: 15px;
	line-height: 1.44;
}

.service-engineering-overview__intro p {
	margin: 0 0 12px;
}

.service-engineering-overview__intro p:last-child {
	margin-bottom: 0;
}

.service-engineering-overview__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0;
}

.service-engineering-overview__item {
	position: relative;
	min-height: 150px;
	padding: 0 34px 0 28px;
}

.service-engineering-overview__item:first-child {
	padding-left: 0;
}

.service-engineering-overview__item + .service-engineering-overview__item {
	border-left: 1px solid #dce4ec;
}

.service-engineering-overview__icon {
	display: block;
	width: 100px;
	height: 100px;
	margin-bottom: 26px;
	object-fit: contain;
}

.service-engineering-overview__item h3 {
	max-width: 245px;
	margin: 0 0 10px;
	color: #20242b;
	font-size: 17px;
	font-weight: 800;
	line-height: 1.22;
}

.service-engineering-overview__item p {
	max-width: 260px;
	margin: 0;
	color: #6f8394;
	font-size: 15px;
	line-height: 1.34;
}

.service-engineering-tasks {
	padding: 88px 0 96px;
	background: #fff;
}

.service-engineering-tasks .service-section-title {
	margin-bottom: 58px;
}

.service-engineering-tasks .service-section-title span {
	color: #e31a30;
}

.service-engineering-tasks__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 54px clamp(58px, 7vw, 120px);
}

.service-engineering-task {
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr);
	gap: 34px;
	align-items: start;
}

.service-engineering-task__media {
	overflow: hidden;
	border-radius: 4px;
	background: #eef3f7;
	aspect-ratio: 1 / 1.1;
}

.service-engineering-task__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.service-engineering-task__number {
	display: block;
	margin: 8px 0 14px;
	color: #20242b;
	font-size: 40px;
	font-weight: 800;
	line-height: 1;
}

.service-engineering-task h3 {
	position: relative;
	margin: 0 0 34px;
	padding-bottom: 14px;
	color: #20242b;
	font-size: 22px;
	font-weight: 800;
	line-height: 1.18;
}

.service-engineering-task h3::after {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 84px;
	height: 6px;
	background: #e31a30;
	content: "";
}

.service-engineering-task p {
	margin: 0;
	color: #20242b;
	font-size: 16px;
	line-height: 1.36;
}

.service-engineering-task p strong,
.service-engineering-task p b {
	font-weight: 800;
}

.service-engineering-result {
	padding: 92px 0 102px;
	background: #fff;
}

.service-engineering-result__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
	gap: clamp(56px, 7vw, 120px);
	align-items: start;
}

.service-engineering-result .service-section-title {
	margin-bottom: 32px;
}

.service-engineering-result__media {
	overflow: hidden;
	max-width: 520px;
	border-radius: 2px;
	background: #eef3f7;
	aspect-ratio: 16 / 10;
}

.service-engineering-result__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.service-engineering-result__list-wrap {
	position: relative;
	overflow: hidden;
	height: 520px;
	min-height: 0;
	touch-action: pan-x;
	user-select: none;
	cursor: grab;
}

.service-engineering-result__list-wrap.is-dragging {
	cursor: grabbing;
}

.service-engineering-result__list-wrap:focus-visible {
	outline: 2px solid #e31a30;
	outline-offset: 6px;
}

.service-engineering-result__list-wrap::before,
.service-engineering-result__list-wrap::after {
	position: absolute;
	right: 0;
	left: 0;
	z-index: 2;
	height: 72px;
	content: "";
	pointer-events: none;
}

.service-engineering-result__list-wrap::before {
	top: 0;
	background: linear-gradient(#fff, rgba(255, 255, 255, 0));
}

.service-engineering-result__list-wrap::after {
	bottom: 0;
	background: linear-gradient(rgba(255, 255, 255, 0), #fff);
}

.service-engineering-result__list {
	position: relative;
	display: grid;
	gap: 22px;
	will-change: transform;
}

.service-engineering-result__item {
	display: grid;
	grid-template-columns: 43px minmax(0, 1fr);
	gap: 16px;
	opacity: 1;
}

.service-engineering-result__item > div {
	opacity: calc(0.35 + var(--result-emphasis, 0) * 0.65);
}

.service-engineering-result__item.is-active {
	opacity: 1;
	transform: translateX(0);
}

.service-engineering-result__check {
	display: block;
	width: 43px;
	height: 43px;
	margin-top: -8px;
	background: url("data:image/svg+xml,%3Csvg width='43' height='43' viewBox='0 0 43 43' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M18.991 25.2456L14.519 20.7736C14.3518 20.6063 14.1463 20.5168 13.9027 20.5048C13.659 20.4929 13.4416 20.5825 13.2505 20.7736C13.0594 20.9647 12.9638 21.1761 12.9638 21.4078C12.9638 21.6395 13.0594 21.851 13.2505 22.0421L17.9787 26.7685C18.2678 27.0587 18.6052 27.2039 18.991 27.2039C19.3768 27.2039 19.7148 27.0587 20.0051 26.7685L29.8163 16.9573C29.9835 16.7889 30.0731 16.5829 30.085 16.3392C30.097 16.0955 30.0074 15.8787 29.8163 15.6888C29.6252 15.4989 29.4143 15.4033 29.1838 15.4021C28.9533 15.401 28.7413 15.4965 28.5478 15.6888L18.991 25.2456ZM10.0613 35.8307C9.23599 35.8307 8.54739 35.5548 7.99556 35.003C7.44372 34.4511 7.16721 33.762 7.16602 32.9354V10.0594C7.16602 9.23404 7.44253 8.54544 7.99556 7.9936C8.54858 7.44177 9.23718 7.16526 10.0613 7.16406H32.9391C33.7633 7.16406 34.4519 7.44058 35.0049 7.9936C35.558 8.54663 35.8339 9.23523 35.8327 10.0594V32.9372C35.8327 33.7614 35.5568 34.45 35.0049 35.003C34.4531 35.556 33.7639 35.8319 32.9373 35.8307H10.0613Z' fill='%23E31A30'/%3E%3C/svg%3E")
		center / contain no-repeat;
}

.service-engineering-result__item h3 {
	margin: 0 0 8px;
	color: #6f8394;
	font-size: 18px;
	font-weight: 800;
	line-height: 1.22;
}

.service-engineering-result__item.is-active h3 {
	color: #20242b;
}

.service-engineering-result__item.is-active p {
	color: #20242b;
}

.service-engineering-result__item p {
	max-width: 540px;
	margin: 0;
	color: #6f8394;
	font-size: 14px;
	line-height: 1.36;
}

.service-engineering-result__button {
	grid-column: 1 / -1;
	justify-self: center;
	min-width: min(390px, 100%);
	margin-top: 14px;
}

@media (max-width: 1024px) {
	.service-hero {
		background-image:
			linear-gradient(
				90deg,
				#eef3f7 0%,
				rgba(238, 243, 247, 0.96) 50%,
				rgba(238, 243, 247, 0.62) 100%
			),
			var(--service-hero-bg);
		background-size: cover, cover;
	}

	.service-media__grid {
		grid-template-columns: 1fr;
	}

	.service-intro__grid {
		flex-direction: column;
		align-items: flex-start;
		gap: 36px;
	}

	.service-intro__media {
		flex-basis: auto;
		order: -1;
		width: 100%;
	}

	.service-intro__media img {
		max-width: min(520px, 100%);
	}

	.service-steps__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.service-turnkey-strip__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.service-turnkey-strip__item:nth-child(odd) {
		padding-left: 0;
		border-left: 0;
	}

	.service-turnkey-steps__head {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.service-turnkey-steps__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.service-benefits--turnkey .service-benefits__grid {
		grid-template-columns: repeat(1, minmax(0, 1fr));
	}

	.service-engineering-overview__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 36px 0;
	}

	.service-engineering-overview__item:nth-child(odd) {
		padding-left: 0;
		border-left: 0;
	}

	.service-engineering-tasks__grid {
		gap: 44px;
	}

	.service-engineering-task {
		grid-template-columns: 180px minmax(0, 1fr);
		gap: 24px;
	}

	.service-engineering-result__grid {
		grid-template-columns: 1fr;
		gap: 44px;
	}

	.service-engineering-result__media {
		max-width: none;
	}

	.service-engineering-result__list-wrap {
		height: 460px;
	}
}

@media (max-width: 640px) {
	.service-hero {
		background-image: none;
	}

	.service-hero__inner {
		min-height: 0;
	}

	.service-hero__content,
	.service-intro,
	.service-steps,
	.service-media,
	.service-benefits,
	.service-turnkey-steps,
	.service-engineering-overview,
	.service-engineering-tasks,
	.service-engineering-result {
		padding-top: 56px;
		padding-bottom: 56px;
	}

	.service-hero__content {
		width: 100%;
		padding-top: 34px;
		padding-bottom: 38px;
	}

	.service-eyebrow {
		font-size: 12px;
	}

	.service-hero__title {
		margin-bottom: 18px;
		font-size: 28px;
		line-height: 1.12;
	}

	.service-section-title {
		font-size: 26px;
		line-height: 1.14;
	}

	.service-engineering-overview__head {
		margin-bottom: 42px;
	}

	.service-intro .service-section-title {
		font-size: 25px;
	}

	.service-step h3,
	.service-benefit h3 {
		font-size: 18px;
	}

	.service-hero__lead {
		font-size: 14px;
		line-height: 1.42;
	}

	.service-check-list {
		gap: 11px;
	}

	.service-check-list li {
		font-size: 13px;
		line-height: 1.3;
	}

	.service-button {
		width: 100%;
		min-width: 0;
		min-height: 48px;
		font-size: 12px;
	}

	.service-media__image,
	.service-media__image img {
		min-height: 260px;
	}

	.service-steps__grid,
	.service-benefits__grid,
	.service-turnkey-strip__grid,
	.service-turnkey-steps__grid,
	.service-engineering-tasks__grid,
	.service-engineering-overview__grid {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.service-turnkey-strip__item,
	.service-turnkey-strip__item + .service-turnkey-strip__item {
		min-height: 0;
		padding: 22px 0;
		border-left: 0;
		border-top: 1px solid #dce4ec;
	}

	.service-turnkey-strip__item:first-child {
		border-top: 0;
	}

	.service-engineering-tasks .service-section-title {
		margin-bottom: 34px;
	}

	.service-engineering-task {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.service-engineering-task__media {
		aspect-ratio: 16 / 10;
	}

	.service-engineering-task__number {
		margin-top: 0;
		font-size: 34px;
	}

	.service-engineering-task h3 {
		margin-bottom: 20px;
		font-size: 20px;
	}

	.service-engineering-task p {
		font-size: 14px;
		line-height: 1.4;
	}

	.service-engineering-result__grid {
		gap: 32px;
	}

	.service-engineering-result .service-section-title {
		margin-bottom: 24px;
	}

	.service-engineering-result__list-wrap {
		height: 440px;
	}

	.service-engineering-result__list {
		gap: 18px;
	}

	.service-engineering-result__item h3 {
		font-size: 16px;
	}

	.service-engineering-result__item p {
		font-size: 13px;
		line-height: 1.34;
	}

	.service-engineering-overview__item,
	.service-engineering-overview__item:first-child {
		padding: 0;
		border-left: 0;
	}

	.service-engineering-overview__icon {
		margin-bottom: 18px;
	}

	.service-intro__media img {
		max-width: 100%;
	}

	.service-intro__grid {
		gap: 28px;
	}
}

.service-archive__hero {
	padding: 86px 0 56px;
	background: #f3f6f9;
}

.service-archive__title {
	max-width: 980px;
	margin: 0 0 20px;
	font-size: clamp(30px, 2.25vw, 45px);
	font-weight: 900;
	line-height: 1.16;
	text-transform: uppercase;
}

.service-archive__lead {
	max-width: 760px;
	margin: 0;
	color: #5f6b7a;
	font-size: 18px;
	line-height: 1.5;
}

.service-archive__list {
	padding: 72px 0 96px;
}

.service-archive__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
}

.service-card {
	min-height: 100%;
	border: 1px solid #dce4ec;
	background: #fff;
}

.service-card__link {
	min-height: 100%;
	display: flex;
	flex-direction: column;
	color: inherit;
	text-decoration: none;
}

.service-card__media {
	height: 260px;
	display: block;
	background: #eef3f7;
}

.service-card__media img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
}

.service-card__body {
	flex: 1;
	display: flex;
	flex-direction: column;
	padding: 28px;
}

.service-card__label {
	margin-bottom: 12px;
	color: #e31a30;
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
}

.service-card__title {
	margin-bottom: 14px;
	font-size: 21px;
	font-weight: 900;
	line-height: 1.15;
	text-transform: uppercase;
}

.service-card__text {
	color: #64707f;
	font-size: 15px;
	line-height: 1.45;
}

.service-card__more {
	display: inline-flex;
	gap: 16px;
	align-items: center;
	margin-top: auto;
	padding-top: 30px;
	color: #e31a30;
	font-size: 13px;
	font-weight: 800;
	text-transform: uppercase;
}

@media (max-width: 1024px) {
	.service-archive__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.service-archive__hero {
		padding: 56px 0 40px;
	}

	.service-archive__grid {
		grid-template-columns: 1fr;
	}
}

/* Shared mobile page/section headings, matching product compatibility.
 * Keep card titles, navigation labels and the home page on their own scales.
 * Specificity also covers component styles loaded after main.css.
 */
@media (max-width: 680px) {
	body:not(.home)
		:is(
			main h1:not(.visually-hidden),
			main h2.title:not(.title--product-card),
			main .section-title,
			main .service-section-title,
			main .case-section-title,
			main .case-related-section__title,
			main .company-history-timeline__title,
			main .company-history-mission__title,
			main .company-history-values__title,
			main .company-history-directions__title,
			main .company-history-gallery__title,
			main .company-history-work__title,
			main .company-history-cases__title,
			main .company-history-control__title,
			main .engineering-department-row__content h2,
			main .blog-article__content h2,
			main .amos-projects__title,
			main .section h2:not([class]),
			.post-callback__header h2
		) {
		font-size: 28px;
		line-height: 1.18;
	}
}

/* Header dropdowns: align each list with its own top-level link. */
@media (min-width: 1024px) {
	.site-header__menu-item--has-submenu > .sub-menu {
		min-height: 170px;
		padding: 24px 24px 32px var(--submenu-left, 24px);
		align-content: start;
		border-top: 0;
		border-bottom: 1px solid var(--color-border);
		box-shadow: none;
		background: rgba(255, 255, 255, 0.94);
		backdrop-filter: blur(6px);
	}
	.site-header__menu-item--has-submenu > .sub-menu::before,
	.site-header__menu-item--has-submenu > .sub-menu a::before {
		content: none;
	}
	.site-header__menu-item--has-submenu > .sub-menu a {
		width: fit-content;
		max-width: 340px;
		padding: 0;
		font-size: 14px;
		font-weight: 400;
		line-height: 1.25;
	}
	.site-header__mega {
		border-top: 0;
		border-bottom: 1px solid var(--color-border);
		box-shadow: none;
		background: rgba(255, 255, 255, 0.94);
		backdrop-filter: blur(6px);
	}
	.site-header__mega-inner {
		width: 100%;
		max-width: none;
		grid-template-columns: minmax(0, 340px);
		gap: 16px;
		padding: 24px 24px 28px var(--mega-left, 24px);
	}
	.site-header__mega-title {
		margin-top: 0;
	}
	.site-header__mega-link span {
		font-weight: 400;
	}
	.site-header__mega-column:not(:first-child) .site-header__mega-link span {
		font-weight: 700;
	}
	.site-header.is-submenu-open
		.site-header__menu-item--has-submenu
		> a::after {
		opacity: 0;
	}
	.site-header.is-submenu-open
		.site-header__menu-item--has-submenu.is-dropdown-open
		> a::after {
		opacity: 1;
	}
}

.site-header__submenu-toggle {
	display: inline-grid;
	place-items: center;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #6f8394;
	cursor: pointer;
}
.site-header__submenu-toggle::before {
	content: "";
	width: 7px;
	height: 7px;
	border-right: 1px solid currentColor;
	border-bottom: 1px solid currentColor;
	transform: rotate(45deg);
}
.site-header__submenu-toggle[aria-expanded="true"]::before {
	transform: rotate(225deg);
}
@media (min-width: 1024px) {
	.site-header__submenu-toggle:not(:focus-visible) {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip-path: inset(50%);
	}
	.site-header__menu-item--has-submenu > .sub-menu {
		visibility: hidden;
		opacity: 0;
		pointer-events: none;
	}
	.site-header__menu-item--has-submenu.is-dropdown-open > .sub-menu {
		visibility: visible;
		opacity: 1;
		pointer-events: auto;
		transform: none;
	}
}
@media (max-width: 1023px) {
	.site-header__nav.is-open {
		max-height: calc(100dvh - var(--header-height));
		overflow-y: auto;
		overscroll-behavior: contain;
	}
	.site-header__submenu-toggle {
		margin-left: 12px;
	}
	.site-header__nav.is-open .site-header__menu-item--has-submenu > .sub-menu,
	.site-header__nav .site-header__mega {
		display: none;
	}
	.site-header__nav.is-open .is-dropdown-open > .sub-menu,
	.site-header__nav.is-open .is-dropdown-open > .site-header__mega {
		display: grid;
	}
	.site-header__nav .site-header__mega {
		position: static;
		border: 0;
		box-shadow: none;
	}
	.site-header__nav .site-header__mega-inner {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		gap: 20px;
		padding: 16px 0 0 14px;
	}
	.site-header__nav .site-header__mega-link {
		display: grid;
	}
	.site-header__nav .site-header__mega-title a {
		font-size: 14px;
	}
}

/* Full-screen mobile navigation with counted accordion sections. */
.site-header__menu-count {
	display: none;
}
@media (max-width: 1023px) {
	.site-header.is-mobile-menu-open {
		background: #fff;
		border-bottom: 0;
	}
	.site-header.is-mobile-menu-open .site-header__inner {
		display: grid;
		grid-template-columns: auto minmax(0, 1fr) 40px;
		gap: 16px;
		padding-inline: 16px;
	}
	.site-header.is-mobile-menu-open .site-header__logo {
		grid-column: 1;
		grid-row: 1;
	}
	.site-header.is-mobile-menu-open .site-header__logo img {
		width: 84px;
		height: auto;
	}
	.site-header.is-mobile-menu-open .site-header__phone {
		display: inline-flex;
		grid-column: 2;
		grid-row: 1;
		justify-self: start;
		gap: 6px;
		font-size: 12px;
		font-weight: 600;
	}
	.site-header.is-mobile-menu-open .site-header__phone img {
		width: 12px;
		height: 12px;
	}
	.site-header.is-mobile-menu-open .site-header__toggle {
		position: relative;
		grid-column: 3;
		grid-row: 1;
		width: 40px;
		height: 44px;
		margin: 0;
		padding: 0;
		color: var(--color-primary);
	}
	.site-header.is-mobile-menu-open
		.site-header__toggle
		span:not(.visually-hidden) {
		position: absolute;
		top: 21px;
		left: 6px;
		width: 28px;
		height: 2px;
		transform: rotate(45deg);
	}
	.site-header.is-mobile-menu-open
		.site-header__toggle
		span:not(.visually-hidden):nth-last-child(2) {
		opacity: 0;
	}
	.site-header.is-mobile-menu-open
		.site-header__toggle
		span:not(.visually-hidden):last-child {
		transform: rotate(-45deg);
	}
	.site-header__nav.is-open {
		top: var(--header-height);
		bottom: 0;
		height: calc(100dvh - var(--header-height));
		max-height: none;
		padding: 12px 16px max(24px, env(safe-area-inset-bottom));
		background: #fff;
		border: 0;
	}
	.admin-bar .site-header__nav.is-open {
		top: calc(var(--header-height) + 32px);
		height: calc(100dvh - var(--header-height) - 32px);
	}
	.site-header__nav.is-open .site-header__menu {
		gap: 0;
	}
	.site-header__nav.is-open .site-header__menu > li {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 44px;
		align-items: center;
		border-bottom: 1px solid #d8d8d8;
	}
	.site-header__nav.is-open .site-header__menu > li > a {
		display: flex;
		min-height: 60px;
		gap: 12px;
		padding: 12px 0;
		font-size: 18px;
		line-height: 1.25;
	}
	.site-header__nav.is-open .site-header__menu-count {
		display: inline-grid;
		min-width: 22px;
		height: 20px;
		padding: 2px 5px;
		place-items: center;
		border-radius: 2px;
		background: #e9e9e9;
		color: #424242;
		font-size: 12px;
		font-weight: 700;
		line-height: 1;
	}
	.site-header__nav.is-open .site-header__submenu-toggle {
		justify-self: end;
		width: 44px;
		height: 60px;
		margin: 0;
		color: #aaa;
	}
	.site-header__nav.is-open .site-header__menu-item--has-submenu > .sub-menu {
		grid-column: 1 / -1;
		gap: 16px;
		margin: 8px 0 24px 6px;
		padding: 0 8px 0 16px;
		border-left: 1px solid var(--color-primary);
		background: transparent;
	}
	.site-header__nav.is-open .sub-menu::before,
	.site-header__nav.is-open .sub-menu a::before {
		content: none;
	}
	.site-header__nav.is-open
		.site-header__menu-item--has-submenu
		> .sub-menu
		a {
		font-size: 16px;
		font-weight: 400;
		line-height: 1.35;
	}
	.site-header__nav .site-header__mega {
		grid-column: 1 / -1;
		min-width: 0;
		background: transparent;
	}
	.site-header__nav .site-header__mega-inner {
		width: 100%;
		gap: 28px;
		padding: 20px 0 28px;
	}
	.site-header__nav .site-header__mega-column {
		gap: 12px;
	}
	.site-header__nav.is-open .site-header__mega-title a {
		font-size: 14px;
		font-weight: 500;
		line-height: 1.3;
	}
	.site-header__nav .site-header__mega-note {
		margin: -8px 0 0;
	}
	.site-header__nav .site-header__mega-link {
		margin-left: 6px;
		padding-left: 16px;
	}
	.site-header__nav .site-header__mega-link::before {
		top: 0;
		bottom: -12px;
	}
	.site-header__nav .site-header__mega-link:last-child::before {
		bottom: 0;
	}
	.site-header__nav .site-header__mega-link span,
	.site-header__nav .site-header__mega-link small {
		font-size: 16px;
		font-weight: 400;
		line-height: 1.35;
	}
}
@media (max-width: 782px) {
	.admin-bar .site-header__nav.is-open {
		top: calc(var(--header-height) + 46px);
		height: calc(100dvh - var(--header-height) - 46px);
	}
}

/* Large screens (2K / 4K): scale the header so the menu does not look tiny. */
@media (min-width: 1920px) {
	:root {
		--header-height: 100px;
	}

	.site-header__inner {
		gap: 36px;
	}

	.site-header__logo img {
		width: 168px;
		height: auto;
	}

	.site-header__menu {
		gap: 44px;
	}

	.site-header__menu a {
		font-size: 18px;
	}

	.site-header__menu-item--has-submenu > .sub-menu a,
	.site-header__mega-link span,
	.site-header__mega-link small,
	.site-header__mega-title {
		font-size: 16px;
	}

	.site-header__menu-item--has-submenu > .sub-menu a {
		max-width: 400px;
	}

	.site-header__mega-inner {
		grid-template-columns: minmax(0, 400px);
	}

	.site-header__phone {
		gap: 16px;
		font-size: 20px;
	}

	.site-header__phone img {
		width: 18px;
		height: 19px;
	}

	.site-header__cta {
		gap: 20px;
		min-height: 44px;
		padding: 12px 20px;
		font-size: 15px;
	}

	.site-header__cta img {
		width: 14px;
		height: 14px;
	}
}

@media (min-width: 2400px) {
	:root {
		--header-height: 120px;
	}

	.site-header__inner {
		gap: 48px;
	}

	.site-header__logo img {
		width: 200px;
	}

	.site-header__menu {
		gap: 56px;
	}

	.site-header__menu a {
		font-size: 22px;
	}

	.site-header__menu-item--has-submenu > .sub-menu a,
	.site-header__mega-link span,
	.site-header__mega-link small,
	.site-header__mega-title {
		font-size: 19px;
	}

	.site-header__menu-item--has-submenu > .sub-menu a {
		max-width: 480px;
	}

	.site-header__mega-inner {
		grid-template-columns: minmax(0, 480px);
	}

	.site-header__phone {
		gap: 18px;
		font-size: 24px;
	}

	.site-header__phone img {
		width: 21px;
		height: 22px;
	}

	.site-header__cta {
		gap: 24px;
		min-height: 54px;
		padding: 15px 26px;
		font-size: 18px;
	}

	.site-header__cta img {
		width: 16px;
		height: 16px;
	}
}

@media (min-width: 3200px) {
	:root {
		--header-height: 144px;
	}

	.site-header__logo img {
		width: 240px;
	}

	.site-header__menu {
		gap: 68px;
	}

	.site-header__menu a {
		font-size: 27px;
	}

	.site-header__menu-item--has-submenu > .sub-menu a,
	.site-header__mega-link span,
	.site-header__mega-link small,
	.site-header__mega-title {
		font-size: 23px;
	}

	.site-header__menu-item--has-submenu > .sub-menu a {
		max-width: 580px;
	}

	.site-header__mega-inner {
		grid-template-columns: minmax(0, 580px);
	}

	.site-header__phone {
		font-size: 29px;
	}

	.site-header__phone img {
		width: 25px;
		height: 26px;
	}

	.site-header__cta {
		min-height: 64px;
		padding: 18px 32px;
		font-size: 22px;
	}

	.site-header__cta img {
		width: 19px;
		height: 19px;
	}
}

/* Lead forms */
.amos-form-hp {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

form[data-amos-form].is-sending {
	opacity: 0.7;
	pointer-events: none;
}

.amos-form-status {
	grid-column: 1 / -1;
	margin: 4px 0 0;
	font-size: 14px;
	line-height: 1.4;
}

.amos-form-status:empty {
	display: none;
}

.amos-form-status.is-success {
	color: #1f9d55;
}

.amos-form-status.is-error {
	color: var(--color-primary);
}

.amos-lead-notice {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 100;
	max-width: min(420px, calc(100% - 32px));
	padding: 16px 20px;
	border-left: 4px solid #1f9d55;
	border-radius: var(--radius-medium);
	color: var(--color-text);
	background: #fff;
	box-shadow: 0 18px 36px rgba(16, 24, 32, 0.16);
	font-size: 15px;
	line-height: 1.4;
}

.amos-lead-notice--error {
	border-left-color: var(--color-primary);
}

@media (max-width: 680px) {
	.amos-lead-notice {
		right: 16px;
		bottom: 16px;
	}
}
