/*
Theme Name: LM inzenyring
Theme URI: 
Author: infocount.cz
Author URI: https://infocount.cz/
Description: Theme for architectural studio
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lm-theme
*/

:root {
	--text: #000000;
	--link: #000000;
	--menu: #ffffff;
	--title: #202020;
	--desc: #2a2a2a;
	--name: #63645f;
	--path: #777873;
	--line1: rgba(255,255,255,.25);
	--line2: #edebeb;
	--button1: #63645f;
	--button2: #000000;
	--bg1: #ffffff;
	--bg2: #f9f7f7;
	--bg3: #63645f;
	--msg: #49be86;
	--err: #cd5c56;
	--footer1: #ffffff;
	--footer2: #000000;
}


html, body, h1, h2, h3, ul, li, p, input, button {
	margin: 0;
	padding: 0;
}

body, h1, h2, h3, div, p, li, input, button, a {
	color: var(--text);
	font-family: 'Sofia Sans', sans-serif;
	font-size: 18px;
	font-weight: 300;
	line-height: 32px;
}

body {
	background-color: var(--bg1);
}

a {
	color: var(--link);
	text-decoration: underline;
}
a:hover {
	color: var(--link);
	text-decoration: none;
}

img {
	display: block;
}

ul {
	list-style-type: none;
}

*, ::after, ::before {
	box-sizing: unset;
}

.container {
	position: relative;
	box-sizing: border-box;
	width: 100%;
	max-width: none;
	padding: 75px;
	margin: 0 auto;
}

/* header */

header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	background-color: var(--bg1);
	border-bottom: 1px solid var(--line2);
	transition: background .5s ease;
	z-index: 5;
}
.home header {
	background-color: transparent;
	border-color: var(--line1);
}
header.fixed {
	background-color: var(--bg1);
	border-color: var(--line2);
}

header .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0 30px 0 45px;
}

header .brand a {
	display: block;
	width: 130px;
	height: 100px;
	overflow: hidden;
	text-indent: -99999px;
	background: url("img/logo1.png") left no-repeat;
	background-size: 80%;
	filter: brightness(0);
}
.home header .brand a {
	background-size: 100%;
	filter: none;
}
header.fixed .brand a {
	background-size: 80%;
	filter: brightness(0);
}
header .brand a:hover {
	opacity: .5;
}

header nav {
	display: flex;
	justify-content: flex-end;
	align-items: center;
}

header nav ul {
	display: flex;
	gap: 45px;
	padding: 30px 45px;
}
.home header nav ul {
	padding-top: 50px;
	padding-bottom: 50px;
}
header.fixed nav ul {
	padding-top: 30px;
	padding-bottom: 30px;
}
header nav ul.lang {
	display: none;
	border-left: 1px solid var(--line1);
}
.home header nav ul.lang {
	display: flex;
}
header.fixed nav ul.lang {
	display: none;
}

header nav a {
	position: relative;
	display: block;
	color: var(--text);
	font-size: 28px;
	font-weight: 600;
	line-height: 40px;
	text-decoration: none;
}
header nav a:hover {
	color: var(--text);
}
.home header nav a, .home header nav a:hover {
	color: var(--menu);
}
header.fixed nav a, header.fixed nav a:hover {
	color: var(--text);
}
header nav a::after {
	position: absolute;
	content: "";
	left: 0;
	right: 0;
	bottom: 0;
	width: 0;
	height: 3px;
	background-color: var(--text);
	margin: 0 auto;
	transition: width .5s ease;
}
.home header nav a::after {
	background-color: var(--menu);
}
header.fixed nav a::after {
	background-color: var(--text);
}
header nav a:hover::after {
	width: 100%;
}

header .mobile {
	display: none;
	padding: 37px 35px;
	border-left: 1px solid var(--line2);
}
.home header .mobile {
	border-color: var(--line1);
}

header .mobile strong {
	position: relative;
	cursor: pointer;
	display: block;
	width: 58px;
	height: 46px;
}

header .mobile span {
	position: absolute;
	display: block;
	left: 0;
	width: 100%;
	height: 6px;
	background-color: var(--text);
	margin: auto;
}
.home header .mobile span {
	background-color: var(--menu);
}
header .mobile span:nth-child(1) {
	top: 0;
}
header .mobile span:nth-child(2) {
	top: 0;
	bottom: 0;
	width: 70%;
}
header .mobile span:nth-child(3) {
	bottom: 0;
}
header .mobile strong:hover span:nth-child(2) {
	width: 100%;
}

header.active .mobile span {
	display: none;
	top: 0;
	bottom: 0;
	transition: transform .5s ease;
}
header.active .mobile span:nth-child(1) {
	display: block;
	transform: rotate(45deg);
}
header.active .mobile span:nth-child(3) {
	display: block;
	transform: rotate(-45deg);
}

/* main */

main {
	padding-top: 100px;
}
.home main {
	padding-top: 0;
}

main .sticker {
	position: relative;
	box-sizing: border-box;
	display: flex;
	flex-direction: row-reverse;
	gap: 50px;
	width: 100%;
	padding: 0 75px 75px 75px;
	margin-top: -150px;
}
main .sticker .main {
	flex: 0 0 calc(66.666667% - 50px);
}
main .sticker .sidebar {
	flex: 0 0 33.333334%;
}
main .sticker .container {
	padding: 0;
}

main .notitle {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	text-indent: -99999px;
}

main .title {
	color: var(--title);
	font-size: 16px;
	font-weight: 900;
	line-height: 32px;
	letter-spacing: .3em;
	text-transform: uppercase;
}

main .desc, main .desc a {
	color: var(--desc);
	font-size: 40px;
	font-weight: 100;
	line-height: 46px;
}
main .desc a {
	text-decoration: none;
}
main .desc a:hover {
	text-decoration: underline;
}

main .name {
	color: var(--name);
	font-size: 24px;
	font-weight: 600;
	line-height: 32px;
}
main .name a {
	color: var(--name);
	font-size: 24px;
	font-weight: 600;
	line-height: 32px;
	text-decoration: none;
}
main .name a:hover {
	text-decoration: underline;
}

main .button a, main button {
	position: relative;
	display: inline-block;
	cursor: pointer;
	min-width: 120px;
	color: var(--bg1);
	font-size: 14px;
	font-weight: 300;
	line-height: 20px;
	letter-spacing: .2em;
	text-decoration: none;
	text-transform: uppercase;
	background-color: var(--button1);
	padding: 20px 60px 20px 30px;
	outline: none;
	border: none;
}
main .button a::before, main button::before,
main .button a::after, main button::after {
	position: absolute;
	display: block;
	content: "";
	top: 0;
	bottom: 0;
	margin: auto 0;
}
main .button a::before, main button::before {
	right: 20px;
	width: 20px;
	height: 1px;
	background-color: var(--bg1);
	transition: opacity .3s ease;
	opacity: 0;
}
main .button a::after, main button::after {
	right: 30px;
	width: 10px;
	height: 10px;
	border-top: 1px solid var(--bg1);
	border-right: 1px solid var(--bg1);
	transform: rotate(45deg);
	transition: right .3s ease;
}
main .button a:hover, main button:hover {
	background-color: var(--button2);
}
main .button a:hover::before, main button:hover::before {
	opacity: 1;
}
main .button a:hover::after, main button:hover::after {
	right: 20px;
}

/* home */

#home {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	text-indent: -99999px;
}

/* slider */

#slider .container {
	padding: 0;
}

#slider .carousel-item {
	height: 100vh;
	min-height: 500px;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

#slider .header {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
	left: 75px;
	right: auto;
	bottom: 50px;
	width: 50%;
	min-width: 730px;
	text-align: left;
}

#slider .title {
	color: var(--bg1);
	font-size: 56px;
	font-weight: 900;
	line-height: 66px;
	letter-spacing: normal;
	text-transform: none;
}

#slider .desc {
	color: var(--bg1);
	font-size: 22px;
	font-weight: 600;
	line-height: 32px;
}

#slider .dots {
	left: auto;
	right: 75px;
	bottom: 50px;
	margin: 0;
	z-index: 3;
}

#slider .dots li {
	width: auto;
	height: auto;
	color: var(--bg1);
	font-size: 16px;
	font-weight: 900;
	line-height: 20px;
	letter-spacing: .2em;
	text-transform: uppercase;
	text-indent: 0;
	background-color: unset;
	margin: 0;
}
#slider .dots li::after {
	bottom: -3px;
	height: 3px;
}
#slider .dots li:hover::after {
	background-color: var(--bg1);
}

#slider .button a {
	color: var(--text);
	background-color: var(--bg1);
}
#slider .button a::before {
	background-color: var(--text);
}
#slider .button a::after {
	border-color: var(--text);
}

/* path */

#path {
	position: relative;
	z-index: 1;
}

#path .container {
	padding-bottom: 0;
}

#path .path {
	display: flex;
	flex-wrap: wrap;
	gap: 0 35px;
	padding-bottom: 30px;
}

#path .path li {
	position: relative;
	color: var(--path);
	font-size: 18px;
	font-weight: 300;
}
#path .path li::after {
	position: absolute;
	display: block;
	content: "";
	top: 0;
	right: -23px;
	bottom: 0;
	width: 10px;
	height: 1px;
	background-color: var(--text);
	margin: auto 0;
}
#path .path li:last-child::after {
	content: none;
}

#path .path a {
	color: var(--text);
	font-size: 18px;
	font-weight: 300;
	text-decoration: none;
}
#path .path a:hover {
	text-decoration: underline;
}

#path .header {
	max-width: 1200px;
}

/* articles */

.home #articles .header {
	max-width: 400px;
	padding-bottom: 35px;
}

#articles .items {
	display: flex;
	flex-direction: column;
	gap: 175px;
}

#articles .item {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 35px;
	background-size: 0;
	padding: 75px 100px;
}
#articles .center-item {
	align-items: center;
}
#articles .left-item {
	min-height: 500px;
	align-items: flex-start;
	margin-top: 75px;
}
#articles .right-item {
	min-height: 500px;
	align-items: flex-end;
}

#articles .item::before, #articles .item::after {
	position: absolute;
	content: "";
}
#articles .item::before {
	top: 0;
	bottom: 0;
	width: calc(100% - 700px);
	background-image: inherit;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}
#articles .center-item::before {
	content: none;
}
#articles .left-item::before {
	right: 0;
}
#articles .right-item::before {
	left: 0;
}
#articles .item::after {
	top: -75px;
	bottom: 0;
	width: 900px;
	background-color: var(--bg2);
	z-index: -1;
}
#articles .center-item::after {
	top: 0;
	left: 0;
	right: 0;
	margin: 0 auto;
}
#articles .left-item::after {
	left: 0;
}
#articles .right-item::after {
	right: 0;
}
#articles .item > * {
	width: 500px;
}

/* details */

#details .items {
	display: flex;
	flex-direction: column;
	gap: 75px;
}

#details .item p {
	max-width: 800px;
}

#details .images {
	display: flex;
	flex-wrap: wrap;
	gap: 50px;
	padding-top: 25px;
}

#details .image {
	flex: 0 0 calc(25% - 3*50px/4);
}

#details .image a:hover {
	opacity: .5;
}

#details .image img {
	width: 100%;
}

/* contacts */

#contacts .items {
	display: flex;
	flex-wrap: wrap;
	gap: 35px;
}

#contacts .item {
	flex: 0 0 calc(25% - 3*35px/4);
}

/* projects */

#projects .items {
	display: flex;
	flex-wrap: wrap;
	gap: 75px;
}
#projects .item {
	flex: 0 0 calc(50% - 75px/2);
	background-color: var(--bg2);
}

#projects .image img {
	width: 100%;
}
#projects .image a:hover img {
	opacity: .75;
}

#projects .text {
	display: flex;
	flex-direction: column;
	gap: 35px;
	padding: 50px;
}

/* flats */

#flats {
	overflow: hidden;
}

#flats .filter form {
	display: flex;
	align-items: center;
	gap: 35px;
	padding-bottom: 50px;
}

#flats .filter .wrapper {
	position: relative;
	cursor: pointer;
	flex: 0 0 calc(25% - 3*35px/4);
	border-bottom: 1px solid var(--line2);
}
#flats .filter .wrapper::before {
	position: absolute;
	display: block;
	content: "";
	top: 18px;
	right: 30px;
	width: 10px;
	height: 10px;
	margin: auto 0;
	border-right: 1px solid var(--text);
	border-bottom: 1px solid var(--text);
	transform: rotate(45deg);
	transition: transform .3s ease;
}
#flats .filter .wrapper:hover::before {
	transform: rotate(-135deg);
}

#flats .filter .label {
	text-transform: uppercase;
	padding: 10px 0;
}

#flats .filter .wrapper ul {
	position: absolute;
	overflow: hidden;
	top: 51px;
	left: 0;
	right: 0;
	height: 0;
	z-index: 1;
}
#flats .filter .wrapper:hover ul {
	height: auto;
	background-color: var(--bg1);
	border-top: 1px solid var(--text);
}
#flats .filter .wrapper li {
	padding: 10px;
	border-bottom: 1px solid var(--line2);
}
#flats .filter .wrapper li:hover {
	background-color: var(--bg2);
}

#flats .filter .buttons {
	flex: 0 0 calc(25% - 3*35px/4);
}

#flats .items {
	position: relative;
	width: 100%;
}

#flats .head {
	position: relative;
}
#flats .head::before {
	position: absolute;
	content: "";
	left: -75px;
	right: -75px;
	bottom: 0;
	border-bottom: 1px solid var(--line2);
}
#flats .head .subtitle {
	display: none;
}

#flats .item {
	position: relative;
	cursor: pointer;
}
#flats .item::before {
	position: absolute;
	content: "";
	top: 0;
	left: -75px;
	right: -75px;
	bottom: 0;
	border-bottom: 1px solid var(--line2);
	z-index: -1;
}
#flats .item:hover::before {
	background-color: var(--bg2);
}

#flats .head > *, #flats .number {
	font-weight: 900;
}
#flats .head > *, #flats .item > * {
	width: 16.666667%;
	text-align: right;
	padding: 10px 0;
}
#flats .number {
	width: 50px;
	text-align: left;
}
#flats .price {
	width: 20%;
}

#flats .action a {
	position: relative;
	font-weight: 900;
	text-decoration: none;
	padding-right: 20px;
}
#flats .action a::before, #flats .action a::after {
	position: absolute;
	display: block;
	content: "";
	top: 0;
	bottom: 0;
	margin: auto 0;
}
#flats .action a::before {
	right: 0;
	width: 10px;
	height: 2px;
	background-color: var(--link);
	transition: opacity .3s ease;
	opacity: 0;
}
#flats .action a::after {
	right: 10px;
	width: 6px;
	height: 6px;
	border-top: 2px solid var(--link);
	border-right: 2px solid var(--link);
	transform: rotate(45deg);
	transition: right .3s ease;
}
#flats .item:hover .action a::before {
	opacity: 1;
}
#flats .item:hover .action a::after {
	right: 0;
}

#flats .sold > * {
	color: var(--path);
	opacity: .5;
}
#flats .sold .action a {
	color: var(--path);
}
#flats .sold .action a::before {
	background-color: var(--path);
}
#flats .sold .action a::after {
	border-color: var(--path);
}

/* unit */

#floors .container {
	padding: 0;
}

#floors img {
	width: 100%;
}

/* unit */

#unit {
	position: sticky;
	top: 0;
	left: 0;
	padding-top: 150px;
}

#unit .container {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 35px;
}

#unit .properties {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
}
#unit .properties li {
	color: var(--path);
	font-size: 20px;
	font-weight: 700;
	border: 1px solid var(--line2);
	padding: 5px 10px;
}

#unit .price {
	font-size: 40px;
	font-weight: 900;
}

#unit .disposition {
	width: 100%;
}

#unit .disposition .item {
	display: flex;
	justify-content: space-between;
	padding: 10px 0;
	border-bottom: 1px solid var(--line2);
}
#unit .disposition .label {
	font-weight: 900;
}

#unit .files a {
	position: relative;
	text-decoration: none;
	padding-left: 35px;
}
#unit .files a:hover {
	text-decoration: underline;
}
#unit .files a::before {
	position: absolute;
	content: "";
	left: 0;
	width: 18px;
	height: 22px;
	background: url("img/file.png") no-repeat;
}

/* gallery */

#gallery {
	padding-top: 150px;
}

#gallery .image img {
	width: 100%;
}

#gallery .images {
	display: flex;
	flex-wrap: wrap;
	gap: 50px;
	padding-top: 50px;
}

#gallery .item {
	flex: 0 0 calc(33.333334% - 2*50px/3);
}

#gallery .item a:hover {
	opacity: .5;
}

#gallery .item img {
	width: 100%;
}

/* numbers */

#numbers .container {
	padding-top: 0;
}

#numbers .items {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 35px;
}

#numbers .item {
	flex: 0 0 calc(33.333334% - 2*35px/3);
	text-align: center;
}
#numbers .item:first-child {
	text-align: left;
}
#numbers .item:last-child {
	text-align: right;
}

#numbers .item span {
	display: block;
}

/* banner */

#banner {
	border-top: 1px solid var(--line2);
	border-bottom: 1px solid var(--line2);
}

#banner .container {
	padding-top: 100px;
	padding-bottom: 100px;
}

#banner .header {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	text-align: center;
}

#banner .desc {
	line-height: 70px;
}

#banner .button {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	height: 60px;
	margin: auto 0;
}

/* partners */

#partners .container {
	padding-top: 0;
}

#partners .items {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 35px;
	padding-top: 75px;
}
#partners .item {
	flex: 0 0 calc(25% - 3*35px/4);
}

#partners a {
	display: block;
	width: 200px;
	height: 100px;
	overflow: hidden;
	text-indent: -99999px;
	background-position: center;
	background-repeat: no-repeat;
	margin: 0 auto;
}
#partners a:hover {
	opacity: .5;
}

/* map */

#map {
	position: relative;
}
#map::after {
	position: absolute;
	content: "";
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 72px;
	height: 93px;
	background: url("img/marker.png") no-repeat;
	transform: translateY(-46px);
	margin: auto;
}

#map .container {
	padding: 0;
}

#map iframe {
	pointer-events: none;
	filter: grayscale(100%);
}

/* form */

#form .title {
	color: var(--desc);
	font-size: 40px;
	font-weight: 100;
	line-height: 46px;
	letter-spacing: normal;
	text-transform: none;
}

#form .items {
	display: flex;
	flex-wrap: wrap;
	gap: 25px 50px;
	padding-top: 25px;
}

#form .item {
	position: relative;
	flex: 0 0 calc(50% - 50px/2);
}

#form label {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	color: var(--desc);
	font-size: 12px;
	line-height: 16px;
	opacity: .5;
}

#form input {
	position: relative;
	display: block;
	width: 100%;
	background-color: var(--bg1);
	padding: 10px 0;
	border: none;
	border-bottom: 1px solid var(--line2);
	border-radius: 0;
}
#form input[value]:not([value=""]) {
	background-color: transparent;
}
#form input:focus {
	background-color: transparent;
	border-color: var(--text);
	outline: none;
}
#form input::placeholder {
	color: var(--desc);
	opacity: .5;
}
#form input:focus::placeholder {
	color: var(--bg1);
	opacity: 0;
}

#form .buttons {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 15px 30px;
	padding-top: 35px;
}
#form .buttons .msg {
	color: var(--msg);
	font-weight: 900;
}
#form .buttons .err {
	color: var(--err);
	font-weight: 900;
}
#form .buttons p {
	flex: 0 0 100%;
}

/* footer */

footer {
	position: relative;
	background-color: var(--bg3);
	overflow: hidden;
}
footer::before {
	position: absolute;
	content: "";
	top: 0;
	right: 0;
	width: 1200px;
	height: 600px;
	background: url("img/logo3.png") left bottom no-repeat;
}

footer nav {
	display: flex;
	gap: 100px;
}

footer .brand a {
	display: block;
	width: 320px;
	height: 170px;
	overflow: hidden;
	text-indent: -99999px;
	background: url("img/logo2.png") left no-repeat;
}
footer .brand a:hover {
	filter: brightness(0);
}

footer .menu {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

footer .menu a {
	color: var(--footer1);
	font-size: 32px;
	font-weight: 900;
	line-height: 44px;
	text-decoration: none;
}
footer .menu a:hover {
	color: var(--footer2);
}

footer .items {
	display: flex;
	flex-wrap: wrap;
	gap: 35px;
	padding-top: 75px;
}

footer .item {
	flex: 0 0 calc(25% - 3*35px/4);
	text-align: center;
}
footer .item:first-child {
	text-align: left;
}
footer .item:last-child {
	text-align: right;
}

footer .item p, footer .item a {
	color: var(--footer1);
	font-size: 18px;
	font-weight: 600;
	line-height: 36px;
	text-decoration: none;
}
footer .item a:hover {
	color: var(--footer2);
}

/* media */

@media (max-width: 1750px) {
	#articles .item {
		padding-left: 75px;
		padding-right: 75px;
	}
	#articles .item::before {
		width: calc(100% - 650px);
	}
	#articles .item::after {
		width: 725px;
	}

	footer::before {
		left: 550px;
		right: auto;
	}
}

@media (max-width: 1400px) {
	#articles .item {
		padding-left: 50px;
		padding-right: 50px;
	}
	#articles .item::before {
		bottom: auto;
		width: calc(100% - 600px);
		height: 0;
		padding-top: calc(75% - 450px);
	}
	#articles .item::after {
		width: 650px;
	}

	#gallery .images {
		gap: 35px;
		padding-top: 35px;
	}
	#gallery .item {
		flex-basis: calc(33.333334% - 2*35px/3);
	}

	#banner .button {
		position: static;
	}
}

@media (max-width: 1200px) {
	.container {
		padding-left: 35px;
		padding-right: 35px;
	}

	main .sticker {
		padding-left: 35px;
		padding-right: 35px;
	}

	header .container {
		padding-left: 35px;
		padding-right: 0;
	}
	header nav ul {
		gap: 35px;
		padding-left: 35px;
		padding-right: 35px;
	}
	header nav a {
		font-size: 24px;
	}

	#slider .header {
		left: 35px;
	}
	#slider .dots {
		right: 35px;
	}

	#details .images {
		gap: 35px;
	}
	#details .image {
		flex-basis: calc(33.333334% - 2*35px/3);
	}

	#contacts .item {
		flex-basis: calc(33.333334% - 2*35px/3);
	}

	#projects .items {
		gap: 35px;
	}
	#projects .item {
		flex: 0 0 calc(50% - 35px/2);
	}
	#projects .text {
		padding: 35px;
	}

	#gallery .item {
		flex-basis: calc(50% - 35px/2);
	}
}

@media (max-width: 1000px) {
	header {
		position: absolute;
	}
	header nav ul {
		position: absolute;
		display: none;
		flex-direction: column;
		align-items: center;
		gap: 10px;
		top: 120px;
		left: 0;
		right: 0;
		background-color: var(--text);
	}
	header.active nav ul {
		display: flex;
	}
	header nav a, header nav a:hover {
		color: var(--menu);
	}
	header nav a::after {
		background-color: var(--menu);
		transition: none;
	}
	header nav ul.lang, .home header nav ul.lang {
		display: none;
	}
	header .mobile {
		display: block;
	}
	header.active .mobile {
		background-color: var(--text);
		border: none;
	}
	header.active .mobile span {
		background-color: var(--menu);
	}

	main .sticker {
		flex-direction: column;
		gap: 0;
		padding: 0;
		margin: 0;
	}
	main .sticker .container {
		padding: 0 35px 75px 35px;
	}

	#articles .items {
		gap: 100px;
	}
	#articles .left-item {
		margin-top: 0;
	}
	#articles .right-item {
		align-items: flex-start;
	}
	#articles .item::before {
		position: static;
		width: 100%;
		padding-top: 75%;
		margin: -75px 0 0 -50px;
	}
	#articles .item::after {
		top: 75px;
		width: 100%;
	}
	#articles .center-item::after {
		top: 0;
	}
	#articles .item > * {
		width: 100%;
	}

	#projects .item {
		flex-basis: 100%;
	}

	#unit {
		position: static;
		padding-top: 0;
	}

	#gallery {
		padding-top: 0;
	}
	#gallery .item {
		flex-basis: calc(33.333334% - 2*35px/3);
	}

	#numbers .desc {
		font-size: 30px;
		line-height: 40px;
	}

	footer .item {
		flex-basis: calc(50% - 35px/2);
		text-align: left;
	}
	footer .item:nth-child(2n) {
		text-align: right;
	}

}

@media (max-width: 800px) {
	.container {
		padding-left: 20px;
		padding-right: 20px;
	}

	header .container {
		padding-left: 20px;
	}
	header .mobile {
		padding-right: 20px;
	}

	main .sticker .container {
		padding-left: 20px;
		padding-right: 20px;
	}

	#slider .header {
		left: 20px;
		right: 20px;
		width: auto;
		min-width: auto;
	}
	#slider .title, #slider .title a {
		font-size: 40px;
		line-height: 50px;
	}
	#slider .desc {
		display: none;
	}
	#slider .dots {
		right: 20px;
	}

	#articles .items {
		gap: 75px;
	}

	#details .images {
		gap: 20px;
		padding-top: 20px;
	}
	#details .image {
		flex-basis: calc(50% - 20px/2);
	}

	#flats .head > * {
		display: none;
	}
	#flats .head .subtitle {
		display: block;
		width: 100%;
		text-align: left;
	}
	#flats .item {
		display: flex;
		flex-wrap: wrap;
		padding: 10px 0;
	}

	#flats .item > * {
		flex: 0 0 20%;
		text-align: left;
		padding: 0;
	}
	#flats .number, #flats .price {
		flex-basis: 40%;
	}
	#flats .status, #flats .action {
		flex-basis: 30%;
		text-align: right;
	}

	#contacts .item {
		flex-basis: calc(50% - 35px/2);
	}

	#projects .text {
		gap: 25px;
		padding: 25px 20px;
	}

	#gallery .images {
		gap: 20px;
		padding-top: 20px;
	}
	#gallery .item {
		flex-basis: calc(50% - 20px/2);
	}

	#form .item {
		flex-basis: 100%;
	}
	#form .buttons {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media (max-width: 600px) {
	.container {
		padding-left: 10px;
		padding-right: 10px;
	}

	.home header .brand a {
		background-size: 80%;
	}
	header nav ul {
		top: 105px;
	}
	header .mobile {
		padding-top: 35px;
		padding-bottom: 35px;
	}
	header .mobile strong {
		width: 48px;
		height: 37px;
	}

	main .sticker .container {
		padding-left: 10px;
		padding-right: 10px;
	}
	main .desc, main .desc a {
		font-size: 30px;
		line-height: 36px;
	}

	#slider .title, #slider .title a {
		font-size: 36px;
		line-height: 40px;
	}
	#slider .title br {
		display: none;
	}

	#articles .item {
		gap: 25px;
		padding: 50px 20px;
	}
	#articles .item::before {
		width: calc(100% + 40px);
		padding-top: calc(75% + 30px);
		margin: -50px -20px 0 -20px;
	}
	#articles .item::after {
		top: 0;
	}

	#details .image {
		flex-basis: 100%;
	}

	#contacts .item {
		flex-basis: 100%;
	}

	#gallery .item {
		flex-basis: 100%;
	}

	#numbers .items {
		flex-direction: column;
	}
	#numbers .item:nth-child(n) {
		text-align: center;
	}

	#banner .desc {
		line-height: 36px;
	}
	#banner .desc br {
		display: none;
	}

	footer nav {
		justify-content: center;
	}
	footer .brand a {
		background-position: center;
	}
	footer .menu {
		display: none;
	}
	footer .items {
		flex-direction: column;
	}
	footer .item:nth-child(n) {
		text-align: center;
	}
}

@media (max-width: 400px) {
	#banner .container {
		padding-top: 75px;
		padding-bottom: 75px;
	}
	#banner .title {
		padding: 0 20px;
	}
	#banner .desc, 	#banner .desc a {
		font-size: 26px;
	}
}