body.active {
	overflow: hidden;
}
.block {
	display: block;
}
.text-justify {
	text-align: justify !important;
}
.text-nowrap {
	white-space: nowrap !important;
}
.text-truncate {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.text-left {
	text-align: left !important;
}
.text-right {
	text-align: right !important;
}
.text-center {
	text-align: center !important;
}
.flex {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 15px 15px;
}
.data-item {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-start;
	gap: 15px 15px;
}
.grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	grid-gap: 15px 15px;
}
.grid-data {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	grid-gap: 15px 15px;
}
.grid-four {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-gap: 15px 15px;
}
.section {
	margin-bottom: 80px;
}
/**
* @section navigation
*/
nav ul {
	padding: 0;
	margin: 0;
}
nav li {
	list-style: none;
}
nav a {
	padding: 8px 16px;
	background-color: transparent;
	border-radius: 8px;
	color: #404040;
	text-decoration: none;
}
nav a:hover {
	padding: 8px 16px;
	background-color: #f5f5f5;
	border-radius: 8px;
	color: #404040;
	text-decoration: none;
}
.telephone svg {
	width: 30px;
	height: 30px;
}
.number {
	color: #404040;
	font-weight: 500;
	text-decoration: none;
}
.logo a {
	gap: 15px 15px;
	color: #404040;
}
.logo a:hover {
	text-decoration: none;
}
/**
* @section hero
*/
.hero h1 {
	margin-bottom: 40px;
	font-size: 50px;
	font-weight: 700;
	line-height: 50px;
}
.video iframe,
.video img {
	border-radius: 20px;
}
.data-item > div p:nth-child(1) {
	margin-bottom: 0;
	font-size: 16px;
	font-weight: 300;
}
.data-item > div p:nth-child(2) {
	margin-bottom: 0;
	font-weight: 600;
}
.video img {
	display: block;
	height: auto;
	max-width: 100%;
}
/**
* @section cta
*/
.cta-item {
	padding: 40px;
    background-color: rgb(250 250 250 / 1);
    border: 1px solid rgb(229 229 229 / 1);
	border-radius: 20px;
}
.cta-item .number {
	padding: 8px 16px;
	background-color: #fff;
	box-shadow:  0 1px 2px 0 rgb(0 0 0 / 0.05);
	border-radius: 8px;
}
.cta-item .flex {
    justify-content: flex-start;
    gap: 30px 30px;
}
.cta-item h2,
.desc h2,
.price {
	margin-bottom: 20px;
	font-size: 30px;
	font-weight: 400;
}
.grid a img {
	max-width: 100%;
	height: auto;
	display: block;
	object-fit: contain;
	border-radius: 4px;
}
.grid a img:hover {
	cursor: pointer;
	opacity: 0.8;
}
.whatsapp-link {
	display: flex;
	align-items: center;
    justify-content: center;
    position: fixed;
    right: 0;
    bottom: 0;
    z-index: 9999;
}
.whatsapp-button {
	display: flex;
	align-items: center;
    justify-content: center;
    transform: translate(-50%, -50%);
    background: #25D366;
    border-radius: 50%;
    width: 56px;
    height: 56px;
}
.whatsapp-button svg {
	width: 30px;
	height: 30px;
}
.whatsapp-button:before,
.whatsapp-button:after {
    content: " ";
    display: block;
    position: absolute;
    border: 50%;
    border: 1px solid #25D366;
    left: -20px;
    right: -20px;
    top: -20px;
    bottom: -20px;
    border-radius: 50%;
    animation: animate 1.5s linear infinite;
    opacity: 0;
    backface-visibility: hidden; 
}
.whatsapp-button:after{
    animation-delay: .5s;
}
.telegram-link {
	display: flex;
	align-items: center;
    justify-content: center;
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 9999;
}
.telegram-button {
	display: flex;
	align-items: center;
    justify-content: center;
    transform: translate(-50%, -50%);
    background: #40B3E0;
    border-radius: 50%;
    width: 56px;
    height: 56px;
}
.telegram-button svg {
	width: 30px;
	height: 30px;
}
.telegram-button:before,
.telegram-button:after {
    content: " ";
    display: block;
    position: absolute;
    border: 50%;
    border: 1px solid #40B3E0;
    left: -20px;
    right: -20px;
    top: -20px;
    bottom: -20px;
    border-radius: 50%;
    animation: animate 1.5s linear infinite;
    opacity: 0;
    backface-visibility: hidden; 
}
.telegram-button:after{
    animation-delay: .5s;
}
@keyframes animate
{
    0%
    {
        transform: scale(0.5);
        opacity: 0;
    }
    50%
    {
        opacity: 1;
    }
    100%
    {
        transform: scale(1.2);
        opacity: 0;
    }
}
/**
* @section cards
*/
.grid-three {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 15px 15px;
}
.a-link,
.a-link:hover {
	color: #000;
	text-decoration: none;
}
.card {
	height: 100%;
    display: flex;
    flex-direction: column;
    gap: 0;
    overflow: hidden;
    border-radius: 10px;
}
.card-image {
    height: 150px;
    position: relative;
    overflow: hidden;
    border-radius: 10px 10px 0 0;
}
.realty-first .card-image {
    height: 550px;
}
.card-desc h1 {
	line-height: 120%;
}
.realty-first h3 {
	margin: 20px 0 !important;
}
.realty-second h3 {
	margin: 10px 0 !important;
}
.card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
    border-radius: 10px 10px 0 0;
}
.card-desc {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    border-radius: 0 0 10px 10px;
    border: 1px solid #d0d8e9;
    border-top: 0;
}
.realty-first .card-desc {
    padding: 30px 20px;
}
.card-desc h3 {
	margin-bottom: 0;
	font-size: 22px;
	font-weight: 600;
}
.grid-three h1,
.grid-four h1 {
	margin-bottom: 0;
	font-size: 16px;
	font-weight: 500;
	line-height: 25px;
}
[data-type="iframe"] {
    position: relative;
    display: inline-block;
}
a[data-type="iframe"]::after {
    content: '▶';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #fff;
    background: rgba(0, 0, 0, 0.35);
    pointer-events: none;
    border-radius: 4px;
}
/**
* @section media queries
*/
/* Устройства XX-Large (большие настольные компьютеры, более 1400 пикселей) */
@media (max-width: 1799.98px) {}

/* Устройства X-Large (большие настольные компьютеры, менее 1400 пикселей) */
@media (max-width: 1399.98px) {}

/* Устройства Large (настольные компьютеры, менее 1200 пикселей) */
@media (max-width: 1199.98px) {
	.header-nav {
		display: none;
	}
	.grid-data {
		grid-template-columns: repeat(3, 1fr);
	}
	.copyright-item {
		text-align: left !important;
	}
	.copyright-item.text-right {
		margin-top: 20px;
	}
}

/* Устройства Medium (планшеты, менее 992 пикселей) */
@media (max-width: 991.98px) {
	.grid,
	.grid-four {
		grid-template-columns: repeat(3, 1fr);
	}
	.hero h1 {
	    font-size: 40px;
	    line-height: 45px;
	}
	.video iframe {
	    height: 400px;
	}
}

/* Устройства Small (телефоны с горизонтальной ориентацией, менее 768 пикселей) */
@media (max-width: 767.98px) {
	.grid,
	.grid-data,
	.grid-three,
	.grid-four {
		grid-template-columns: repeat(2, 1fr);
	}
	.hero h1 {
	    font-size: 30px;
	    line-height: 35px;
	}
	.cta-item h2,
	.desc h2,
	.price {
	    line-height: 1.1;
	}
}

/* Устройства X-Small (портретные телефоны, менее 576 пикселей) */
@media (max-width: 575.98px) {
	.grid-three,
	.grid-four {
		grid-template-columns: repeat(1, 1fr);
	}
	.section {
	    margin-bottom: 40px;
	}
	header {
		border-bottom: 1px solid rgb(229 229 229 / 1);
	}
	.telephone.flex {
		gap: 15px 25px;
	}
	.hero h1 {
        margin-bottom: 0;
    }
	.single .hero h1 {
        margin-bottom: 30px !important;
    }
	.video iframe {
        height: 225px;
    }
    .cta-item h2,
    .desc h2,
    .price {
	    font-size: 25px;
	}
	.widget .partners img {
		height: auto;
		filter: grayscale(100%) invert(100%);
	}
	.realty-first .card-image {
	    height: 260px;
	}
	.grid-data {
	    align-items: start;
	}
	.grid a img {
	    width: 100%;
	}
}

@media (max-width: 429.98px) {
	.grid,
	.grid-data {
        gap: 30px 15px;
    }
    .data-item {
	    gap: 10px 10px;
	}
	.data-item > div p:nth-child(1) {
	    font-size: 14px;
	}
}

@media (max-width: 405.98px) {
	.telephone.flex {
        gap: 15px 20px;
    }
    .cta-item h2,
    .desc h2,
    .price {
	    font-size: 22px;
	}
}

@media (max-width: 374.98px) {
	.data-item > div p:nth-child(1) {
	    font-size: 13px;
	}
    .data-item > div p:nth-child(2) {
	    font-size: 16px;
	}
	.cta-item {
	    padding: 40px 20px;
	}
}