:root {
	--white: #fff;
	--black: #000;
	--dark: #1E1E1E;
	--light-dark: #312E2E;
	--blue: #001E64;
	--light-grey: #D9D9D9;
	--grey: #5F6368;
	--red: #7A2E2E;
	--bg: #f7f6f3;
	--footer: #312E2E;
}

* {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}

*::-webkit-scrollbar {
	width: min(0.2604vw, 0.3125rem);
	height: auto;
	background: var(--bg);
}

*::-webkit-scrollbar-thumb {
	background: var(--red);
	border-radius: min(0.2604vw, 0.3125rem);
}

*::-webkit-scrollbar-track {
	background-color: transparent;
	border: none;
}

body {
	background: var(--bg);
	color: var(--dark);
	font-family: "Onest", sans-serif;
	font-size: min(0.8333vw, 1rem);
	font-style: normal;
	font-weight: 400;
	line-height: 1.5;
	overflow-x: hidden;
}

body.hidden {
	overflow-y: hidden;
	display: block;
}

.hidden {
	display: none;
}

a {
	position: relative;
	transition: all .25s ease;
	text-decoration: none;
	outline: 0;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: 500;
}

svg, svg path, svg rect, svg stroke, svg g {
	transition: all .25s ease;
}

header {
	position: fixed;
	width: 100%;
	top: 0;
	left: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 99;
	flex-direction: column;
	transition: all .25s ease;
	background: transparent;
	padding: min(0.5208vw, 0.625rem) 0;
	border-bottom: min(0.0521vw, 0.0625rem) solid transparent;
}

main {
	overflow-x: hidden;
	min-height: 80vh;
}

.container {
	display: flex;
	max-width: min(86.4583vw, 103.75rem);
	width: 100%;
	align-items: flex-start;
	flex-direction: column;
	height: 100%;
	gap: min(2.0833vw, 2.5rem);
	transition: all .5s ease;
}

section {
	max-width: min(100%, 120rem);
	margin-inline: auto;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	margin-bottom: min(7.8125vw, 9.375rem);
	position: relative;
	flex-direction: column;
	z-index: 9;
}

input {
	transition: all .5s ease;
	outline: 0;
}

.modal {
	display: flex;
	transform: translateY(-100%);
	position: fixed;
	transition: all .5s ease;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	z-index: 99;
	justify-content: center;
	align-items: center;
	overflow: hidden;
}

.burger {
	display: none;
	position: relative;
	width: 30px;
	height: 30px;
	flex-direction: column;
	gap: 8px;
	align-items: center;
	justify-content: center;
}

header.header.nav__active, header.header.fixed.nav__active {
    z-index: 9999;
    background: var(--bg);
    border-color: var(--light-grey);
}

.burger.active span.line {
    transform: rotate(45deg);
    position: absolute;
}

.burger.active span.line:nth-child(2) {
    transform: rotate(-45deg);
}

/* MAIN STYLES */

.fz12 { font-size: min(0.625vw, 0.75rem); }
.fz14 { font-size: min(0.7292vw, 0.875rem); }
.fz16 { font-size: min(0.8333vw, 1rem); }

.fz18 {
	font-size: min(0.9375vw, 1.125rem);
	line-height: 1.2;
}

.fz20 {
	font-size: min(1.0417vw, 1.25rem);
	line-height: 1.2;
}

.fz24 {
	font-size: min(1.25vw, 1.5rem);
	line-height: 1.2;
}

.fz28 {
	font-size: min(1.4583vw, 1.75rem);
	line-height: 1.2;
}

.fz32 {
	font-size: min(1.6667vw, 2rem);
	line-height: 1.2;
}

.fz36 { font-size: min(1.875vw, 2.25rem); }
.fz46 { font-size: min(2.3958vw, 2.875rem); }
.fz64 { font-size: min(3.3333vw, 4rem); }

.screen {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	height: 100vh;
}

a.screen__item {
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	color: #fff;
}

img.screen__item__poster {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0;
}

.overlay {
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	transition: all .5s ease;
}

.screen__item__info {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: min(0.2604vw, 0.3125rem);
	position: absolute;
	z-index: 9;
}

.logo {
	display: flex;
}


/* CHECKBOX */

.form__checkbox {
	appearance: none;
	-webkit-appearance: none;
	width: min(0.8333vw, 1rem);
	height: min(0.8333vw, 1rem);
	border: min(0.0521vw, 0.0625rem) solid var(--dark-grey-blue);
	border-radius: 0.16vw;
	background-color: transparent;
	cursor: pointer;
	transition: color 0.15s ease-in-out,
		background-color 0.15s ease-in-out,
		border-color 0.15s ease-in-out,
		box-shadow 0.15s ease-in-out;
	margin: 0;
}

.form__checkbox:checked {
	background-color: var(--red);
	border-color: var(--red);
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
}

.form__checkbox:active {
	filter: brightness(90%);
}

.form__checkbox:hover:not(:disabled) {
	border-color: var(--red);
}

.form__checkbox:focus {
	border-color: var(--red);
	outline: none;
	box-shadow: 0 0 0 0.1rem rgba(13, 110, 253, 0.25);
}

.form__checkbox:disabled {
	filter: none;
	opacity: 0.5;
	cursor: not-allowed;
}

.form__checkbox:disabled ~ .checkbox__label {
	opacity: 0.5;
	cursor: not-allowed;
}

/* HEADER */

header .container {
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
}

nav ul {
	display: flex;
	list-style: none;
}

nav.menu ul {
	gap: min(1.25vw, 1.5rem);
}

nav ul li a {
	color: var(--dark);
	display: flex;
	position: relative;
}

nav ul li a:hover,
header.header.fixed nav ul li a:hover,
header.header.transparent nav ul li a:hover {
	color: var(--red);
}

nav.top__menu ul li {
	display: flex;
}

.btn {
	padding: min(1.0417vw, 1.25rem) min(2.0833vw, 2.5rem);
	border: min(0.0521vw, 0.0625rem) solid var(--red);
	background: var(--red);
	border-radius: min(26.0417vw, 31.25rem);
	font-size: min(0.8333vw, 1rem);
	font-family: inherit;
	transition: all .25s ease;
	cursor: pointer;
	color: var(--white);
	display: flex;
	justify-content: center;
	line-height: 1;
}

.btn:hover {
	background: transparent;
	color: var(--red);
}

.btn.bordered__btn {
	background: transparent;
	color: var(--red);
}

.btn.bordered__btn:hover {
	background: var(--red);
	color: var(--white);
}

header .btn.bordered__btn {
	border-color: var(--white);
	color: var(--white);
	font-size: 0.83vw;
	padding: 0.73vw 0.94vw;
}

header .btn.bordered__btn:hover {
	background: var(--white);
	color: var(--red);
}

section.hero {
	min-height: 100vh;
}

section.hero .container {
	justify-content: center;
	align-items: center;
}

h1.title {
	font-size: 3.33vw;
	line-height: 1.2;
}

.title {
	font-weight: 500;
	transition: all .25s ease;
	font-size: min(1.25vw, 1.5rem);
	line-height: 1.5;
	color: var(--red);
}

.btn.white__btn {
	background: var(--white);
	color: var(--red);
	border-color: var(--white);
}

.btn.white__btn:hover {
	background: transparent;
	color: var(--white);
}

header.header.fixed {
	background: var(--bg);
	border-color: #bdb9ad;
}

h2.section__title {
    font-weight: 700;
    font-size: min(2.0833vw, 2.5rem);      /* min(0.7292vw, 0.875rem) */
     /* min(0.4167vw, 0.5rem) min(0.5208vw, 0.625rem) */
     /* min(0.2604vw, 0.3125rem) */
    color: var(--blue);
    text-transform: uppercase;
}

.grid {
    display: grid;
    gap: min(1.0417vw, 1.25rem); /* min(1.0417vw, 1.25rem) */
    width: 100%;
}

.col2 {
    grid-template-columns: repeat(2, 1fr);
}

.col3 {
    grid-template-columns: repeat(3, 1fr);
}

.col4 {
    grid-template-columns: repeat(4, 1fr);
}

img {
    border-radius: min(0.625vw, 0.75rem); /* min(0.5208vw, 0.625rem) */
    width: max-content;
    height: auto;
    object-fit: cover;
}

.red {
    color: var(--red);
}

.text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: min(1.0417vw, 1.25rem); /* min(1.0417vw, 1.25rem) */
    font-size: min(0.8333vw, 1rem);
    line-height: 1.5;
    color: var(--light-dark);
}

.pd {
    padding: min(4.1667vw, 5rem) 0; /* min(5.2083vw, 6.25rem) */
}

h2.section__title.white {
    color: var(--white);
}

.no__gap {
	gap: 0;
}

.wrapper {
    display: flex;
    flex-direction: column;
    gap: min(2.0833vw, 2.5rem); /* min(2.0833vw, 2.5rem) */
}

.team__footer {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}

.arrows {
    display: flex;
    align-items: center;
    gap: min(0.5208vw, 0.625rem); /* min(0.5208vw, 0.625rem) */
}

.arrow {
    display: flex;
    justify-content: center;
    align-items: center;
    width: min(3.125vw, 3.75rem);  /* min(3.125vw, 3.75rem) */
    height: min(3.125vw, 3.75rem); /* min(3.125vw, 3.75rem) */
    border: min(0.0521vw, 0.0625rem) solid var(--red); /* min(0.0521vw, 0.0625rem) */
    border-radius: min(26.0417vw, 31.25rem); /* min(0.5208vw, 0.625rem) */
    transition: all .25s ease;
    cursor: pointer;
}

.arrow svg {
    width: min(1.1458vw, 1.375rem);
    height: min(1.1458vw, 1.375rem);
}

.arrow:hover {
    background: var(--red);
}

.arrow:hover svg path {
    fill: var(--white);
}

.swiper {
	width: 100%;
}

.grey {
    color: var(--grey);
}

.checkbox label {
    display: flex;
    align-items: center;
    gap: min(0.4167vw, 0.5rem); /* min(0.4167vw, 0.5rem) */
    cursor: pointer;
    font-size: min(0.625vw, 0.75rem);
    line-height: 1;
}

form {
    display: flex;
    flex-direction: column;
    gap: min(0.5208vw, 0.625rem); /* min(0.5208vw, 0.625rem) */
}

.form__input {
    padding: min(1.0417vw, 1.25rem); /* min(1.0417vw, 1.25rem) */
    background: var(--white);
    border: min(0.0521vw, 0.0625rem) solid var(--light-grey); /* min(0.0521vw, 0.0625rem) */
    border-radius: min(0.5208vw, 0.625rem); /* min(0.5208vw, 0.625rem) */
    font-family: 'Onest', sans-serif;
    font-size: min(0.7292vw, 0.875rem); /* min(0.7292vw, 0.875rem) */
    outline: 0;
    transition: all .25s ease;
    width: 100%;
}

.form__input::placeholder {
    color: var(--grey);
}

textarea.form__input {
    height: min(5.7292vw, 6.875rem); /* min(5.7292vw, 6.875rem) */
}

.form__input:focus {
    border-color: var(--red);
}

footer {
    display: flex;
    justify-content: center;
    background: var(--footer);
    padding: min(3.125vw, 3.75rem) 0; /* min(3.125vw, 3.75rem) */
}

p.copy {
    color: var(--light-grey);
}

p.error {
    color: var(--red);
    display: none;
}

.sended {
    display: none;
    position: absolute;
    left: 0;
    top: 0;
    background: var(--grey-blue);
    width: 100%;
    height: 100%;
    border-radius: min(0.5208vw, 0.625rem); /* min(0.5208vw, 0.625rem) */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: min(0.5208vw, 0.625rem); /* min(0.5208vw, 0.625rem) */
}

p.error.active {
    display: flex;
}

.sended.active {
    display: flex;
}

.modal.active {
    transform: translateY(0);
}

.modal__overlay {
    background: #000000a3;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    backdrop-filter: blur(min(0.2604vw, 0.3125rem)); /* min(0.2604vw, 0.3125rem) */
}

.modal__wrapper {
    z-index: 9;
    background: var(--bg);
    padding: min(2.0833vw, 2.5rem); /* min(2.0833vw, 2.5rem) */
    max-width: min(26.0417vw, 31.25rem); /* min(26.0417vw, 31.25rem) */
    border-radius: min(0.5208vw, 0.625rem); /* min(0.5208vw, 0.625rem) */
    position: relative;
    width: 100%;
}

.modal__close {
    display: flex;
    position: absolute;
    right: min(0.625vw, 0.75rem); /* min(0.8333vw, 1rem) */
    top: min(0.625vw, 0.75rem); /* min(0.8333vw, 1rem) */
    cursor: pointer;
    transition: all .25s ease;
    z-index: 99;
}

.modal__close:hover svg path {
    fill: var(--red);
}

.modal__call__form {
    display: flex;
    flex-direction: column;
    gap: min(0.5208vw, 0.625rem); /* min(0.5208vw, 0.625rem) */
}

p.title.fz18 {
    font-size: min(0.9375vw, 1.125rem);
    font-weight: 400;
}

.modal__call__form form {
    margin-top: min(0.5208vw, 0.625rem); /* min(0.5208vw, 0.625rem) */
}

a.logo img {
    width: min(5.2083vw, 6.25rem);
    height: auto;
    border-radius: 0;
}

a.ano {
    display: flex;
}

.header__left {
    display: flex;
    align-items: center;
    gap: min(2.0833vw, 2.5rem);
}

nav ul li a::before {
    content: '';
    width: 0%;
    height: min(0.0521vw, 0.0625rem);
    position: absolute;
    background: var(--red);
    bottom: 0;
    transition: all .25s ease;
}

nav ul li a:hover::before {
    width: 100%;
}

a.ano img {
    border-radius: 0;
}

img.hero__img {
    width: max-content;
    border-radius: min(1.0417vw, 1.25rem);
    position: absolute;
    transition: all .25s ease;
    filter: grayscale(1);
    cursor: pointer;
    will-change: transform;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    z-index: 2;
}

img.hero__img:hover {
    filter: grayscale(0);
    transform: scale(1.1);
}

img.hero__img.img__1 {
    width: min(18.75vw, 22.5rem);
    height: min(18.75vw, 22.5rem);
}

img.hero__img.img__2 {
    width: min(20.8333vw, 25rem);
    height: min(24.2708vw, 29.125rem);
}

img.hero__img.img__3 {
    width: min(13.5417vw, 16.25rem);
    height: min(15.7813vw, 18.9375rem);
}

img.hero__img.img__4 {
    width: min(28.125vw, 33.75rem);
    height: min(18.75vw, 22.5rem);
}

img.hero__img.img__5 {
    width: min(17.1875vw, 20.625rem);
    height: min(18.2292vw, 21.875rem);
}

.hero {
    position: relative;
    isolation: isolate; /* РєР»СЋС‡РµРІРѕР№ РјРѕРјРµРЅС‚ */
}

.hero__content {
    display: flex;
    width: 100%;
    height: 100%;
}

.hero__info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: min(1.25vw, 1.5rem);
    z-index: 9;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

h1.hero__title {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--blue);
    z-index: 3;
}

h1.hero__title span:nth-child(1) {
    font-size: min(3.125vw, 3.75rem);
}

h1.hero__title span:nth-child(2) {
    font-size: min(2.6042vw, 3.125rem);
}

.hero__description {
    font-size: min(1.25vw, 1.5rem);
    line-height: 1.35;
    color: var(--light-dark);
    max-width: min(39.0625vw, 46.875rem);
    z-index: 3;
}

.hero__mark {
    font-weight: 500;
    font-size: min(0.8333vw, 1rem);
    padding: min(0.5208vw, 0.625rem) min(0.8333vw, 1rem);
    background: var(--red);
    color: var(--white);
    border-radius: min(5.2083vw, 6.25rem);
    line-height: 1;
    z-index: 3;
}

p.section__description {
    font-size: min(1.25vw, 1.5rem);
    line-height: 1.5;
    max-width: min(41.6667vw, 50rem);
    font-weight: 500;
}

.about__wrapper {
    max-width: min(42.7083vw, 51.25rem);
    display: flex;
    flex-direction: column;
    gap: min(2.0833vw, 2.5rem);
    padding: min(3.125vw, 3.75rem);
    background: var(--red);
    border-radius: min(3.125vw, 3.75rem);
    color: var(--white);
}

section.about .text {
    gap: min(1.25vw, 1.5rem);
    font-size: min(1.25vw, 1.5rem);
    line-height: 1.5;
    color: var(--white);
}

section.about {
    background: url(/wp-content/themes/history/img/about.png) no-repeat right center;
    padding: min(6.25vw, 7.5rem) 0 min(4.1667vw, 5rem) 0;
    background-size: auto 100%;
}

section.work .container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: min(1.0417vw, 1.25rem);
}

.work__info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: min(1.25vw, 1.5rem);
}

.work__info .text {
    font-size: min(1.25vw, 1.5rem);
    line-height: 1.5;
    color: var(--light-dark);
}

.work__items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: min(1.0417vw, 1.25rem);
}

.work__item {
    display: flex;
    gap: min(1.0417vw, 1.25rem);
    padding: min(1.0417vw, 1.25rem);
    background: var(--white);
    border-radius: min(0.625vw, 0.75rem);
}

.work__item img {
    width: min(8.3333vw, 10rem);
    height: min(8.3333vw, 10rem);
}

.work__item__info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: min(1.0417vw, 1.25rem);
}

section.methods {
    padding: min(4.1667vw, 5rem) 0;
    background: var(--grey);
    border-radius: min(2.0833vw, 2.5rem);
    color: var(--white);
}

section.methods .section__header {
    align-items: center;
    text-align: center;
}

.section__header {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: min(1.25vw, 1.5rem);
}

section.methods .section__header h2 {
    color: var(--white);
}

.section__content {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.methods__items {
    grid-template-columns: repeat(4, 1fr);
    display: grid;
    gap: min(1.0417vw, 1.25rem);
}

.method__item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: min(1.6667vw, 2rem);
    gap: min(0.7292vw, 0.875rem);
    border: min(0.0521vw, 0.0625rem) solid var(--white);
    border-radius: min(0.625vw, 0.75rem);
}

.method__item img {
    width: min(4.6875vw, 5.625rem);
    height: min(4.6875vw, 5.625rem);
}

.method__item .title {
    color: var(--white);
}

.method__item .text {
    color: var(--white);
}

.projects__items {
    display: flex;
    gap: min(1.0417vw, 1.25rem);
    flex-wrap: wrap;
    align-items: flex-start;
}

.project__item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: min(2.0833vw, 2.5rem);
    min-height: min(25vw, 30rem);
    padding: min(1.6667vw, 2rem);
    align-items: flex-start;
    position: relative;
    backdrop-filter: blur(min(0.2604vw, 0.3125rem));
    overflow: hidden !important;
    transition: all .5s ease;
    border-radius: min(0.625vw, 0.75rem);
    max-width: calc(50% - min(0.5208vw, 0.625rem));
    order: 2;
}

.project__item__detail img {
    max-height: min(36.4583vw, 43.75rem);
    max-width: 100%;
    height: max-content;
}

.project__item__overlay {
    position: absolute;
    backdrop-filter: blur(5px);
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    transition: all .25s ease;
    border-radius: min(0.625vw, 0.75rem);
    background: #00000070;
    overflow: hidden;
}

.project__item__top {
    position: relative;
}

button.project__item__more {
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    background: transparent;
    border: none;
    gap: min(0.5208vw, 0.625rem);
    font-size: min(0.8333vw, 1rem);
    font-family: inherit;
    color: var(--white);
    transition: all .25s ease;
}

h3.item__title {
    font-size: min(1.25vw, 1.5rem);
    color: var(--white);
    transition: all .25s ease;
    line-height: 1.2;
}

span.subtitle {
    font-size: min(0.7812vw, 0.9375rem);
    line-height: 1.25;
    color: var(--white);
    transition: all .25s ease;
    margin: min(0.3125vw, 0.375rem) 0 min(1.25vw, 1.5rem) 0;
    display: flex;
}

.item__anons, .project__item__detail {
    font-size: min(0.8333vw, 1rem);
    line-height: 1.5;
    color: var(--white);
    display: flex;
    flex-direction: column;
    gap: min(0.7292vw, 0.875rem);
}

.item__anons ul, .project__item__detail ul, .item__anons ol, .project__item__detail ol {
    padding: 0 0 0 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

button.project__item__more:hover svg path {
    transform: translateX(16px);
}

svg {
    overflow: visible;
}

button.project__item__more span {
    transition: all .25s ease;
}

button.project__item__more:hover span {
    transform: translateX(min(0.5208vw, 0.625rem));
}

.project__item__detail {
    /* max-height: min(11.4583vw, 13.75rem); */
    overflow-y: scroll;
    padding-right: min(1.0417vw, 1.25rem);
    flex-direction: row;
    gap: min(1.0417vw, 1.25rem);
    height: 100%;
}

.project__item__detail::-webkit-scrollbar {
    background: #682525;
}

.project__item__detail::-webkit-scrollbar-thumb {
    background: var(--white);
}

.project__item__detail {
    display: flex; /* РѕСЃС‚Р°РІР»СЏРµРј flex РґР»СЏ layout */
    flex-direction: column; /* РµСЃР»Рё РЅСѓР¶РЅРѕ */
    height: 0;
    opacity: 0;
    overflow: hidden;
    transition: none; /* РѕС‚РєР»СЋС‡Р°РµРј CSS-Р°РЅРёРјР°С†РёСЋ, GSAP Р±СѓРґРµС‚ СѓРїСЂР°РІР»СЏС‚СЊ */
}

.objects__items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-areas:
        'i1 i1 i2 i2'
        'i3 i4 i5 i6'
		'i7 i8 i9 i10'
		'i11 i12 i13 i14'
		'i15 i16 i17 i18'
		'i19 i20 i21 i22';
    gap: min(1.0417vw, 1.25rem);
}

.object__item:nth-child(1) {
    grid-area: i1;
}

.object__item:nth-child(2) {
    grid-area: i2;
}

.object__item {
    grid-area: item;
    display: flex;
    border-radius: min(0.625vw, 0.75rem);
    overflow: hidden;
    padding: min(1.6667vw, 2rem);
    position: relative;
    transition: all .25s ease;
    cursor: pointer;
}

.object__item:nth-child(3) {
    grid-area: i3;
}

.object__item:nth-child(4) {
    grid-area: i4;
}

.object__item:nth-child(5) {
    grid-area: i5;
}

.object__item:nth-child(6) {
    grid-area: i6;
}

.object__item:nth-child(7) {
    grid-area: i7;
}

.object__item:nth-child(8) {
    grid-area: i8;
}

.object__item:nth-child(9) {
    grid-area: i9;
}

.object__item:nth-child(10) {
    grid-area: i10;
}

.object__item:nth-child(11) {
    grid-area: i11;
}

.object__item:nth-child(12) {
    grid-area: i12;
}

.object__item:nth-child(13) {
    grid-area: i13;
}

.object__item:nth-child(14) {
    grid-area: i14;
}

.object__item:nth-child(15) {
    grid-area: i15;
}

.object__item:nth-child(16) {
    grid-area: i16;
}

.object__item:nth-child(17) {
    grid-area: i17;
}

.object__item:nth-child(18) {
    grid-area: i18;
}

.object__item:nth-child(19) {
    grid-area: i19;
}

.object__item:nth-child(20) {
    grid-area: i20;
}

.object__item:nth-child(21) {
    grid-area: i21;
}

.object__item:nth-child(22) {
    grid-area: i22;
}

.object__item:nth-child(1),
.object__item:nth-child(2){
    height: min(22.9167vw, 27.5rem);
    align-items: flex-end;
}

.object__item:nth-child(3),
.object__item:nth-child(4),
.object__item:nth-child(5),
.object__item:nth-child(6),
.object__item:nth-child(7),
.object__item:nth-child(8),
.object__item:nth-child(9),
.object__item:nth-child(10),
.object__item:nth-child(11),
.object__item:nth-child(12),
.object__item:nth-child(13),
.object__item:nth-child(14),
.object__item:nth-child(15),
.object__item:nth-child(16),
.object__item:nth-child(17),
.object__item:nth-child(18),
.object__item:nth-child(19),
.object__item:nth-child(20),
.object__item:nth-child(21),
.object__item:nth-child(22) {
    background: none !important;
    border: min(0.0521vw, 0.0625rem) solid var(--light-grey);
    height: auto;
}

.object__item:nth-child(1)  .object__item__overlay, .object__item:nth-child(2) .object__item__overlay {
    display: flex;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: min(0.625vw, 0.75rem);
    background: linear-gradient(0deg, #7A2E2E, transparent);
    transition: all .25s ease;
}

.object__item__info {
    display: flex;
    flex-direction: column;
    position: relative;
}


section.objects .section__content {
    gap: min(2.0833vw, 2.5rem);
    align-items: center;
}

.object__item h3.item__title, .object__item .subtitle, .object__item .item__anons {
    color: var(--light-dark);
}

.object__item:nth-child(1) h3.item__title,
.object__item:nth-child(1) .subtitle,
.object__item:nth-child(1) .item__anons,
.object__item:nth-child(2) h3.item__title,
.object__item:nth-child(2) .subtitle,
.object__item:nth-child(2) .item__anons {
    color: var(--white);
}

.object__item:nth-child(1) h3.item__title, .object__item:nth-child(2) h3.item__title {
    font-size: min(1.25vw, 1.5rem);
}

.object__item:hover {
    border-color: var(--red);
}

.object__item:hover h3.item__title {
    color: var(--red);
}

.object__item:nth-child(1):hover h3.item__title,
.object__item:nth-child(2):hover h3.item__title {
    color: var(--white);
}

.object__item:nth-child(1)::before, .object__item:nth-child(2)::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: min(0.625vw, 0.75rem);
    background: var(--red);
    transition: all .25s ease;
    opacity: 0;
}

.object__item:nth-child(1):hover::before,
.object__item:nth-child(2):hover::before {
    opacity: .5;
}

.object__item__detail,
.object__item__gallery {
    display: none;
}

.team__slider__wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: min(2.0833vw, 2.5rem);
}

.swiper-slide.team__item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: min(0.5208vw, 0.625rem);
}

h3.item__title.red {
    color: var(--red);
}

.swiper-slide.team__item h3.item__title {
    margin-top: min(0.5208vw, 0.625rem);
    line-height: 1;
}

.swiper-slide.team__item .item__anons {
    color: var(--light-dark);
    font-size: min(0.8333vw, 1rem);
    max-width: 90%;
}

.swiper-slide.team__item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: min(0.625vw, 0.75rem);
}

.arrow.swiper-button-lock, .arrow.swiper-button-lock:hover {
    cursor: default;
    border-color: var(--light-grey);
    background: transparent;
}

.arrow.swiper-button-lock svg path, .arrow.swiper-button-lock:hover svg path {
    stroke: var(--light-grey);
}

.swiper-slide.partners__item {
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--white);
    border-radius: min(0.625vw, 0.75rem);
    height: min(10.4167vw, 12.5rem);
}

.swiper-slide.partners__item img, .swiper-slide.partners__item svg {
    border-radius: 0;
    max-width: 85%;
}

section.partners {
    padding: min(4.1667vw, 5rem) 0;
    border-radius: min(2.0833vw, 2.5rem);
    background: var(--red);
}

section.partners .container {
    align-items: center;
}

section.partners .container h2.section__title {
    color: var(--white);
    text-align: center;
}

.partners__slider__wrapper {
    display: flex;
    align-items: center;
    gap: min(2.0833vw, 2.5rem);
    flex-direction: column;
}

.partners__slider__nav {
    display: flex;
    justify-content: center;
    gap: min(0.5208vw, 0.625rem);
}

span.swiper-pagination-bullet {
    margin: 0 !important;
    width: min(2.0833vw, 2.5rem);
    border-radius: min(0.1562vw, 0.1875rem);
    background: var(--white);
    transition: all .25s ease;
}

span.swiper-pagination-bullet.swiper-pagination-bullet-active {
    width: min(4.1667vw, 5rem);
}

.contacts__wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: min(2.0833vw, 2.5rem);
    width: 100%;
}

.contacts__info {
    display: flex;
    flex-direction: column;
    gap: min(2.0833vw, 2.5rem);
}

.contacts__list {
    display: flex;
    flex-direction: column;
    gap: min(0.8333vw, 1rem);
}

.contacts__list__item {
    display: flex;
    align-items: center;
    gap: min(0.8333vw, 1rem);
}

.contacts__list__item span, .contacts__list__item a {
    color: var(--dark);
    position: relative;
    font-weight: 500;
}

.contacts__list__item a::before {
    content: '';
    position: absolute;
    width: 0;
    height: min(0.0521vw, 0.0625rem);
    bottom: 0;
    background: var(--red);
    transition: all .25s ease;
}

.contacts__list__item a:hover::before {
    width: 100%;
}

.contacts__list__item a:hover {
    color: var(--red);
}

section.work {
    background: url(/wp-content/themes/history/img/prod-bg.png) no-repeat left bottom;
    margin: 0;
    padding-bottom: min(8.3333vw, 10rem);
}

.contacts__slogan {
    padding: min(0.625vw, 0.75rem) 0 min(0.625vw, 0.75rem) min(1.0417vw, 1.25rem);
    border-left: min(0.2604vw, 0.3125rem) solid var(--red);
    display: flex;
    flex-direction: column;
    gap: min(0.625vw, 0.75rem);
    font-size: min(1.25vw, 1.5rem);
    font-weight: 500;
    color: var(--red);
}

footer .container {
    gap: min(4.1667vw, 5rem);
}

.footer__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.footer__top nav.menu ul li a {
    color: var(--light-grey);
}

.footer__top nav.menu ul li a:hover {
    color: var(--white);
}

.footer__top nav.menu ul li a:hover::before {
    background: var(--white);
}

.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.footer__links {
    display: flex;
    align-items: center;
    gap: min(2.0833vw, 2.5rem);
}

p.copy, a.link {
    color: var(--light-grey);
}

a.link::before {
    content: '';
    position: absolute;
    width: 0;
    height: min(0.0521vw, 0.0625rem);
    bottom: 0;
    background: var(--white);
    transition: all .25s ease;
}

a.link:hover::before {
    width: 100%;
}

a.link:hover {
    color: var(--white);
}

footer button.btn:hover {
    border-color: var(--white);
    color: var(--white);
}

div#map {
    display: flex;
    width: 100%;
    border-radius: min(0.625vw, 0.75rem);
    overflow: hidden;
}

div#map > div {
    width: 100%;
    height: 100%;
}

div#map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.objects__items .object__item {
  transition: all 0.3s ease;
}

/* РЎРєСЂС‹РІР°РµРј РІСЃРµ СЌР»РµРјРµРЅС‚С‹, РЅР°С‡РёРЅР°СЏ СЃ 7-РіРѕ */
.objects__items .object__item:nth-child(n+7) {
  display: none;
}

/* РљР»Р°СЃСЃ РґР»СЏ РїРѕРєР°Р·Р° СЃРєСЂС‹С‚С‹С… СЌР»РµРјРµРЅС‚РѕРІ */
.objects__items.show-all .object__item:nth-child(n+7) {
  display: block;
}

.detail__text__wrapper {
    display: flex;
    flex-direction: column;
    gap: min(1.0417vw, 1.25rem);
    height: max-content;
    margin-top: min(0.8333vw, 1rem);
}

.modal__object__content {
    display: flex;
    flex-direction: column;
    gap: min(1.0417vw, 1.25rem);
}

.modal__object__image {
    width: 100%;
    height: min(18.75vw, 22.5rem);
    background-size: cover;
    background-position: center;
    border-radius: min(0.625vw, 0.75rem);
}

.modal__object__title {
    font-size: min(1.25vw, 1.5rem);
    margin-bottom: min(0.5208vw, 0.625rem);
}

.modal__object__subtitle {
    font-size: min(0.9375vw, 1.125rem);
    color: #555;
    margin-bottom: min(0.7812vw, 0.9375rem);
}

.modal__object__detail p,
.modal__object__detail ul {
    margin-bottom: min(0.5208vw, 0.625rem);
}

.modal.modal__object .modal__wrapper {
    max-width: min(37.5vw, 45rem);
}

.modal__object__info {
    display: flex;
    flex-direction: column;
    max-height: min(19.7917vw, 23.75rem);
    overflow-y: scroll;
    padding-right: min(1.0417vw, 1.25rem);
}

.modal__object__info::-webkit-scrollbar {
    background: #ebe8df;
}

.modal__object__slider.swiper .swiper-slide img {
    max-width: 100%;
    max-height: min(20.8333vw, 25rem);
    height: max-content;
    width: auto;
}

.modal__object__slider.swiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
    cursor: grab;
}

.modal__object__content .swiper-pagination {
    display: flex;
    justify-content: center;
    gap: min(0.5208vw, 0.625rem);
}

.modal__object__content .swiper-pagination span.swiper-pagination-bullet.swiper-pagination-bullet-active, .modal__object__content .swiper-pagination span.swiper-pagination-bullet {
    width: min(0.5208vw, 0.625rem);
    height: min(0.5208vw, 0.625rem);
    border-radius: 50%;
}

.checkbox__wrapper {
    display: flex;
    align-items: flex-start;
    gap: min(0.5208vw, 0.625rem);
    cursor: pointer;
}

.checkbox__custom {
    width: min(0.9375vw, 1.125rem);
    height: min(0.9375vw, 1.125rem);
    border: min(0.0521vw, 0.0625rem) solid #051A3D;
    border-radius: min(0.2083vw, 0.25rem);
    position: relative;
    flex-shrink: 0;
    margin-top: min(0.1562vw, 0.1875rem);
}

.form__checkbox:checked + .checkbox__custom::after {
    content: "";
    position: absolute;
    inset: min(0.1562vw, 0.1875rem);
    background: #051A3D;
    border-radius: min(0.1042vw, 0.125rem);
}

.wpcf7-not-valid-tip {
    font-size: 11px;
    margin-top: 1px;
}

.form__success {
    display: none;
    padding: min(0.7292vw, 0.875rem);
    background: #52e788;
    border-radius: min(0.7292vw, 0.875rem);
}

.custom-checkbox input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: min(0.9375vw, 1.125rem);
    height: min(0.9375vw, 1.125rem);
    border: min(0.0521vw, 0.0625rem) solid #051A3D;
    border-radius: min(0.2083vw, 0.25rem);
    margin-right: min(0.5208vw, 0.625rem);
    position: relative;
    cursor: pointer;
}

.custom-checkbox input[type="checkbox"]:checked {
    background: #051A3D;
}

.custom-checkbox .wpcf7-list-item {
    margin: 0;
}

.custom-checkbox label {
    display: flex;
    align-items: flex-start;
    gap: min(0.5208vw, 0.625rem);
    cursor: pointer;
}

.custom-checkbox .wpcf7-list-item-label {
    line-height: 1.4;
}

/* РЈР±РёСЂР°РµРј Р»РёС€РЅРёРµ РѕС‚СЃС‚СѓРїС‹ CF7 */
.custom-checkbox .wpcf7-list-item {
    margin: 0;
}

.custom-checkbox label {
    display: flex;
    align-items: flex-start;
    gap: min(0.5208vw, 0.625rem);
    cursor: pointer;
}

/* РЎР°Рј С‡РµРєР±РѕРєСЃ */
.custom-checkbox input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    min-width: min(0.9375vw, 1.125rem);
    width: min(0.9375vw, 1.125rem);
    height: min(0.9375vw, 1.125rem);
    border: min(0.0521vw, 0.0625rem) solid #051A3D;
    border-radius: min(0.2083vw, 0.25rem);
    margin: min(0.1562vw, 0.1875rem) 0 0 0;
    cursor: pointer;
    position: relative;
}

/* Р“Р°Р»РѕС‡РєР° */
.custom-checkbox input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    inset: min(0.1562vw, 0.1875rem);
    background: #051A3D;
    border-radius: min(0.1042vw, 0.125rem);
}

/* РўРµРєСЃС‚ */
.custom-checkbox .wpcf7-list-item-label {
    line-height: 1.4;
}

/* РћС€РёР±РєР° */
.custom-checkbox input[type="checkbox"].wpcf7-not-valid {
    border-color: #dc3232;
}

.checkbox {
    display: flex;
}

span.wpcf7-list-item.first.last {
    margin: 0;
    display: flex;
}

.btn.form__btn {
    margin-top: min(0.7292vw, 0.875rem);
}

span.wpcf7-spinner {
    display: none;
}

.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
    color: #fff;
    border: none;
    background: #bf5252;
    padding: 10px;
    margin: 10px 0 0 0;
    border-radius: 8px;
    font-size: 12px;
}

.form__success .title {
    font-size: min(0.9375vw, 1.125rem);
    color: #115d2d;
}

.form__success .text {
    font-size: min(0.7292vw, 0.875rem);
    color: #115d2d;
}

/* COOKIE */

.cookie-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--white);
    color: var(--dark);
    padding: 15px;
    display: flex;
    max-width: 500px;
    flex-direction: row;
    gap: 10px;
    z-index: 99999;
    border: 1px solid var(--light-grey);
    align-items: flex-start;
    border-radius: 10px;
}

.cookie-banner p {
    margin: 0;
    font-size: 14px;
}

.cookie-banner button {
    background: var(--red);
    border: none;
    color: #fff;
    padding: 8px 15px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
	transition: all .25s ease;
}

.cookie-banner button:hover {
    background: #541313;
}

.cookie-banner.hidden {
    display: none;
}

.cookie-banner p a {
    color: var(--dark);
    text-decoration: underline;
}

.cookie-banner p a:hover {
    color: var(--red);
}