body {
	overflow-x: hidden;
	font-family: "MyriadPro", sans-serif;
}

h1,
h2,
h3,
.navbar-brand,
.home-main-title,
.home-main-description,
.home-button-container a,
.home-button-container button,
.open-map-btn,
footer {
	font-family: "Open Sans", sans-serif !important;
}

#panorama,
#about-us,
#houses,
#infrostruct,
#news,
#faq,
#mortgage,
#contacts {
	scroll-margin-top: 40px;
}

#interactive-map {
	scroll-margin-top: -100px;
}

.bg-primary {
	--bs-bg-opacity: 1;
	background-color: green !important;
}

#brandLogo {
	display: inline-block;
	width: 30px;
	height: 30px;
	background-image: url('/images/header-icon.png');
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	vertical-align: middle;
}

.navbar {
	height: 40px;
	background-color: rgb(2, 90, 2, 0.85);
}

.nav-link {
	color: #fff !important;
}

.nav-link:hover {
	color: #b6dab8ff !important;
}

.phone-link {
	color: #fff;
	text-decoration: none;
	font-weight: 500;
	white-space: nowrap;
	font-size: larger;
}

.phone-link:hover {
	color: #b6dab8ff;
}

/* Центрирование навигационных пунктов */
.navbar-nav {
	justify-content: center;
}

/* Стили для мобильного меню */
@media (max-width: 991.98px) {
	.navbar-nav {
		text-align: center;
		margin: 10px 0;
	}

	.phone-container {
		padding: 10px 0;
		justify-content: center;
	}
}


/* Параллакс-секция */

.parallax-section {
	background-image: url("/images/main-background.jpg");
	z-index: 1;
	position: relative;
	height: 100vh;
	background-attachment: fixed;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	display: flex;
	justify-content: center;
	align-items: center;
	overflow: hidden;
	width: 100vw;
}

.home-container {
	width: 100vw;
	padding: 0;
	background-color: rgba(244, 244, 244, 0.1);
	-webkit-backdrop-filter: blur(5px);
	backdrop-filter: blur(5px);
	z-index: 1;
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	overflow: visible;
}

.home-main-title {
	color: #fff;
	font-size: 9em;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
	text-align: center;
}

.home-main-description {
	color: #fff;
	font-size: 1.8rem;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
	text-align: center;
}


.home-button-container {
	bottom: -115px;
	position: absolute;
	text-align: center;
}

.home-button-container a,
.home-button-container button {
	letter-spacing: 0.15em;
}

.video-background {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
}

.background-video {
	-o-object-fit: cover;
	object-fit: cover;
	width: 100%;
	height: 100%;
}

/* Интерактивная карта  */
.map-bg {
	background: white;
	padding: 40px 0 0 0;
	color: #676767;
}

.map-title {
	text-align: center;
	margin-bottom: 40px;
	font-weight: 600;
	color: #676767;
}

.map-preview-container {
	position: relative;
	width: 100%;
	height: 50vw;
	overflow: hidden;
}

.blurred-image {
	width: 100%;
	height: 100%;
	-o-object-fit: cover;
	object-fit: cover;
}

.open-map-btn-wrapper {
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	text-align: center;
	width: 100%;
}

.open-map-btn {
	padding: 0.65rem 2rem 1rem 2rem;
	background-color: green;
	color: white;
	border: none;
	border-radius: 30px;
	cursor: pointer;
	font-size: 2.5rem;
	font-weight: bold;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
	transition: all 0.3s ease;
	margin-bottom: 2rem;
	text-decoration: none;
}

.open-map-btn:hover {
	transform: scale(1.06);
}

.open-map-desc {
	color: white;
	text-align: center;
	font-size: 2rem;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
	width: 100%;
	background-color: rgba(244, 244, 244, 0.1);
	-webkit-backdrop-filter: blur(5px);
	backdrop-filter: blur(5px);
}

.map-iframe {
	overflow: hidden;
	width: 100vw;
	height: 50vw;
	border: none;
}

.pan-iframe {
	overflow: hidden;
	width: 100%;
	height: 100%;
	border: none;
}

/*
.map-widget-panorama-player-app__top-controls {

}
*/
.modal-content-portrait {
	display: none;
	position: relative;
	top: 35%;
	text-align: center;
}

.modal-content-portrait img {
	width: 100%;
}

.modal-content-portrait p {
	width: 70%;
	position: relative;
	text-align: center;
	left: 14%;
	color: white;
}

.modal-content-horizontal {
	display: flex;
	height: 100vh;
	align-items: center;
	background-color: #000;
}


/* Стили для блока "Панорама" */

.panorama-bg {
	background: white;
	padding: 40px 0;
	color: #676767;
}

.panorama-title {
	text-align: center;
	margin-bottom: 40px;
	font-weight: 600;
	color: #676767;
}

.panorama-block {
	height: 220px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	transition: transform 0.3s;
	cursor: pointer;
	position: relative;
}

.panorama-block:hover {
	transform: scale(1.01);
}

.panorama-body {
	position: relative;
}

.crud-btn {
	position: absolute;
	top: 15px;
	right: 15px;
}

/* Стили для карточек */

.card {
	transition: transform 0.3s ease-out;
	height: 100%;
}

.card:hover {
	transform: scale(1.02);
	transition: transform 0.07s ease-in;
}

.card-img-top {
	height: 200px;
	object-fit: cover;
}

.card-btn {
	width: 100%;
}

.card-body {
	color: #676767;
}

/* Стили для модальных окон */

.modal-fullscreen {
	background-color: rgba(0, 0, 0, 0.9);
}

.close-modal {
	position: absolute;
	top: 20px;
	right: 30px;
	font-size: 50px;
	color: white;
	cursor: pointer;
	z-index: 1000;
	background: none;
	border: none;
}

[id^="houseCarousel-"] .carousel-control-prev,
[id^="houseCarousel-"] .carousel-control-next {
	width: 8%;
	opacity: 1;
}

[id^="houseCarousel-"] .carousel-control-prev-icon,
[id^="houseCarousel-"] .carousel-control-next-icon {
	background-color: green;
	border-radius: 50%;
	opacity: 1;
	width: 3rem;
	height: 3rem;
	background-size: 70% 70%;

}

.carousel-indicators {
	bottom: 20px;
}

.carousel-indicators button {
	width: 12px;
	height: 12px;
	border-radius: 50%;
}

.modal-fullscreen {
	overflow: hidden !important;
}

.modal-fullscreen .modal-body {
	overflow: hidden !important;
}

.modal-open {
	overflow: hidden !important;
}

/* Стили для цветного фона проектов */
.projects-bg {
	background-color: #054205;
	/*background: linear-gradient(135deg, #a7efab 0%, #057c0a 100%);*/
	padding: 40px 0;
	color: #676767;
}

.projects-title {
	text-align: center;
	margin-bottom: 40px;
	font-weight: 600;
	color: white;
}

/* Стили для блока "О посёлке" */
.about-bg {
	background: white;
	padding: 40px 0;
	color: #676767;
}

.about-title {
	text-align: center;
	margin-bottom: 40px;
	font-weight: 600;
	color: #676767;
}

.about-text {
	font-size: 1.1rem;
	line-height: 1.6;
	text-align: justify;
}

.about-box {
	/*border: 1px solid #e1e1e1;*/
	border-radius: 15px;
	box-shadow: var(--bs-box-shadow);
}

.about-image-bg {
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.about-image {
	object-fit: cover;
	object-position: center;
	border-bottom-right-radius: 15px;
	border-top-right-radius: 15px;
}

/* Стили для блока "Инфраструктура" */

.infrastructure-bg {
	background: white;
	padding: 40px 0;
	color: #676767;
}

.infrastructure-title {
	text-align: center;
	margin-bottom: 30px;
	font-weight: 600;
	color: #676767;
}

.nav-buttons {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin-bottom: 30px;
	font-size: smaller;
}

.infra-nav-button {
	margin: 5px;
	padding: 8px 15px;
	background-color: white;
	border: 2px solid #198754;
	border-radius: 8px;
	color: #676767;
	cursor: pointer;
	transition: all 0.3s;
	font-weight: 500;
	line-height: normal;
}

.infra-nav-button:hover {
	background-color: #198754;
	color: white;
}

.infra-nav-button.active {
	background-color: #198754;
	color: white;
	border-color: #198754;
}

.carousel-item-content {
	background: rgba(255, 255, 255, 0.95);
	border-radius: 15px;
	padding: 30px;
	margin: 20px;
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.carousel-image {
	width: 100%;
	height: 300px;
	object-fit: cover;
	border-radius: 10px;
}

.carousel-text {
	font-size: 1.1rem;
	line-height: 1.6;
	text-align: justify;
}

.carousel-title {
	color: #676767;
	margin-bottom: 20px;
	font-weight: 600;
}


/* Новости */

.news-bg {
	background: white;
	padding: 40px 0;
	color: #676767;
	background-image: url(/images/about/about2.webp);
	background-attachment: fixed;
	background-size: cover;
}

.news-title {
	text-align: center;
	margin-bottom: 30px;
	font-weight: 600;
	color: #fff;
	/*filter: invert(1);*/
	text-shadow: -2px -2px 0 #020202, 2px -2px 0 #000000, -2px 1px 0 #141313, 2px 2px 0 #000;

}
#news .card-title {
	font-size: 1.1rem;
}

/* карусель новостей */

#newsCarousel .carousel-item  {
	padding-bottom: 10px;
}
	

#newsCarousel .card {
	margin: 0 0.5em;
	box-shadow: 2px 6px 8px 0 rgba(22, 22, 26, 0.18);
	border: none;
}

#newsCarousel .carousel-control-prev, #newsCarousel .carousel-control-next {
	background-color: green;
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	top: 77px;
	margin: 10px;
	opacity: 1;
}

#newsCarousel .carousel-control-prev-icon, 
#newsCarousel .carousel-control-next-icon {
	display: inline-block;
	width: 2rem;
	height: 2rem;
	background-repeat: no-repeat;
	background-position: 50%;
	background-size: 100% 70%;
}

@media (min-width: 768px) {
	#newsCarousel .carousel-item {
		margin-right: 0;
		flex: 0 0 33.333333%;
		display: block;
		padding-bottom: 10px;
	}

	#newsCarousel .carousel-inner {
		display: flex;
	}
}


@media (max-width: 767px) {
	#newsCarousel .card .img-wrapper {
		height: 17em;
	}
}

/* Стили для видео в новостях */
.video-preview-container {
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.video-preview-container video {
    transition: transform 0.3s ease;
}

.video-preview-container:hover video {
    transform: scale(1.05);
}

.video-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: opacity 0.3s ease;
	cursor: pointer;
}

.video-preview-container:hover .video-play-overlay {
    opacity: 1;
}

.play-button {
    width: 70px;
    height: 70px;
    background: rgba(0, 100, 0, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.video-preview-container:hover .play-button {
    transform: scale(1.1);
    background: rgba(0, 128, 0, 0.9);
}

.play-button svg {
    margin-left: 5px; /* Смещение для треугольника play */
}

/* Модальное окно видео новости */
#newsVideoModal .modal-content {
    background: transparent;
}

#newsVideoModal video {
    object-fit: contain;
}

@media (max-width: 767.98px) {
    .play-button {
        width: 50px;
        height: 50px;
    }
    
    .play-button svg {
        width: 30px;
        height: 30px;
    }
}

/* Инфраструктура — слайдер */

.infrastructure2-bg {
    background: white;
    padding: 40px 0;
    color: #676767;
    background-image: url(/images/about/about2.webp);
    background-attachment: fixed;
    background-size: cover;
}

.infrastructure2-title {
    text-align: center;
    margin-bottom: 30px;
    font-weight: 600;
    color: #fff;
    text-shadow: -2px -2px 0 #020202, 2px -2px 0 #000000, -2px 1px 0 #141313, 2px 2px 0 #000;
}

.infra-slider {
    max-width: 1100px;
    margin: 0 auto;
}

.infra-card {
    position: relative;
    border: none;
    overflow: hidden;
    margin: 0 10px;
}

.infra-slide {
    background: #fff;
    position: relative;
}

/* Фото — стек изображений с cross-fade */
.infra-image-wrap {
    position: relative;
    width: 100%;
    height: 480px;
    overflow: hidden;
    background: #ccc;
}

.infra-image-item {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.7s ease;
    will-change: opacity;
}

.infra-image-item.active {
    opacity: 1;
}

/* Мульти-изображения инфраструктуры */
.infra-multi-image {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 300px;
}
.infra-multi-image-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}
.infra-multi-image-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.infra-single-image {
    width: 100%;
    height: 100%;
    min-height: 300px;
    background-size: cover;
    background-position: center;
}

/* Превью изображений в модалке редактирования (осталось без изменений) */
.infra-images-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}
.infra-image-thumb {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid #dee2e6;
}
.infra-image-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.infra-image-thumb .remove-image-btn {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 20px;
    height: 20px;
    background: rgba(220, 53, 69, 0.9);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 12px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.infra-image-thumb .remove-image-btn:hover {
    background: #dc3545;
}
.infra-image-thumb.marked-for-delete {
    opacity: 0.4;
    border-color: #dc3545;
}
.infra-image-thumb.marked-for-delete::after {
    content: '✕';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    color: #dc3545;
    font-weight: bold;
}

/* Текстовая колонка */
.infra-text-wrap {
    position: relative;
    height: 480px;
    padding: 30px;
}

.infra-text-item {
    position: absolute;
    top: 30px;
    left: 30px;
    right: 30px;
    bottom: 90px;
    display: flex;
    flex-direction: column;
    justify-content: safe center; 
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.45s ease, transform 0.45s ease;
    pointer-events: none;
    overflow-y: auto;
}

.infra-text-item.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.infra-subtitle {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.85rem;
    color: #676767;
    margin-bottom: 10px;
    font-weight: 600;
}

.infra-heading {
    font-size: 1.75rem;
    font-weight: 700;
    color: #676767;
    margin: 0 0 20px 0;
    line-height: 1.1;
}

.infra-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #676767;
    margin: 0;
}

/* Навигация (внутри текстового блока, снизу) */
.infra-nav {
    position: absolute;
    bottom: 25px;
    left: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 3;
}

.infra-nav-btn {
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    border-radius: 50%;
    border: 1px solid #ccc;
    background: #fff;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease, border-color 0.2s ease;
    padding: 0;
}

.infra-nav-btn:hover {
    background: #054205;
    color: #fff;
    border-color: #054205;
}

.infra-nav-btn:active {
    transform: scale(0.94);
}

.infra-dots {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.infra-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: #b5b5b5;
    padding: 0;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.infra-dots button:hover {
    transform: scale(1.2);
}

.infra-dots button.active {
    background: #4a90c2;
}

/* CRUD-кнопки на карточке */
.infra-card .crud-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 6;
    display: flex;
    gap: 6px;
}

/* Адаптив */
@media (max-width: 991.98px) {
    .infra-image-wrap { height: 280px; }

    .infra-text-wrap {
        height: auto;
        min-height: 340px;
        padding: 25px 25px 80px 25px;
    }

    .infra-text-item {
        top: 25px;
        left: 25px;
        right: 25px;
        bottom: 80px;
    }

    .infra-heading { font-size: 1.6rem; }

    .infra-nav {
        left: 25px;
        right: 25px;
        bottom: 20px;
    }
}

@media (max-width: 575.98px) {
    .infra-heading { font-size: 1.35rem; }
    .infra-text    { font-size: 0.9rem; }
    .infra-nav-btn { width: 32px; height: 32px; font-size: 12px; }
}

/* Стили для блока "Частые вопросы" */

.faq-bg {
	/*background: linear-gradient(135deg, #a7efab 0%, #057c0a 100%);*/
	background-color: #054205;
	padding: 40px 0;
	color: #676767;
}

.faq-title {
	text-align: center;
	margin-bottom: 40px;
	font-weight: 600;
	color: white;
}

.accordion-button {
	font-weight: 600;
	background-color: rgba(255, 255, 255, 0.95);
	border: 1px solid rgba(0, 0, 0, 0.1);
}

/*
.accordion-button:not(.collapsed) {
	background-color: #ff9a9e;
	color: white;
}
*/
.accordion-item {
	margin-bottom: 10px;
	border: none;
	border-radius: 10px !important;
	overflow: hidden;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.accordion-body {
	background-color: rgba(255, 255, 255, 0.9);
	line-height: 1.6;
}

.category-title-accordion .accordion-button {
	background-color: white;
	color: #676767;
	font-size: 1.2rem;
}

.category-content {
	padding: 20px;
	background-color: rgba(255, 255, 255, 0.8);
}

.question-accordion .accordion-button {
	font-size: 1rem;
	background-color: rgba(255, 255, 255, 0.95);
	color: #676767;
}

.question-accordion .accordion-button:not(.collapsed) {
	background-color: white;
	color: #676767;
}

.question-accordion {
	margin-bottom: 15px;
}

/* Стили для блока "Выгодная ипотека" */
.mortgage-bg {
	background: white;
	padding: 40px 0;
	color: #676767;
}

.mortgage-title {
	text-align: center;
	margin-bottom: 40px;
	font-weight: 600;
	color: #676767;
}

.mortgage-block {
	height: 160px;
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	transition: transform 0.3s;
	cursor: pointer;
	position: relative;
	margin: 20px;
}

.mortgage-block:hover {
	transform: scale(1.02);
}

.sber-block {
	background-image: url('/images/mortgage/sber.svg');
}

.svoedom-block {
	background-image: url('/images/mortgage/rshb.svg');
}

.apply-btn {
	display: block;
	margin: 40px auto 0;
	padding: 15px 40px;
	font-size: 1.2rem;
	font-weight: 600;
	border: none;
	border-radius: 30px;
	color: white;
	transition: all 0.3s;
}

.apply-btn:hover {
	transform: translateY(-3px);
}

/* Стили для блока "Партнеры" */

.partners-bg {
	background: white;
	padding: 40px 0;
	color: #676767;
}

.partners-title {
	text-align: center;
	margin-bottom: 40px;
	font-weight: 600;
	color: #676767;
}

.partners-block {
	height: 160px;
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	transition: transform 0.3s;
	cursor: pointer;
	position: relative;
	margin: 20px;
}

#partners .card img {
	max-height: 80px;
	width: max-content;
	display: block;
    margin: 0 auto; 
}

.partner-specializations {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	justify-content: center;
}

.partner-specializations .badge {
	font-size: 0.85rem;
	/* padding: 5px 12px; */
	font-weight: normal;
	color: inherit !important;
	background-color: #19875414 !important;
}

.partner-link {
    color: #198754;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.partner-link:hover {
    color: #0d6efd;
    text-decoration: underline;
}

/* Стили для чекбоксов специализации в модальном окне */
.specialization-checkboxes {
    /*background: #f8f9fa;*/
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #c3c6ca;
}

.specialization-checkboxes .form-check {
    margin-bottom: 8px;
}

.specialization-checkboxes .form-check:last-child {
    margin-bottom: 0;
}

.specialization-checkboxes .form-check-input {
    cursor: pointer;
    width: 1.2em;
    height: 1.2em;
    margin-top: 0;
    margin-right: 8px;
}

.specialization-checkboxes .form-check-input:checked {
    background-color: #198754;
    border-color: #198754;
}

.specialization-checkboxes .form-check-label {
    cursor: pointer;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
}

/* Адаптив для мобильных */
@media (max-width: 767.98px) {
    .partner-specializations .badge {
        font-size: 0.7rem;
        padding: 3px 8px;
    }
    
    .specialization-checkboxes {
        padding: 10px 12px;
    }
    
    .specialization-checkboxes .form-check-label {
        font-size: 0.9rem;
    }
}


/* Стили для блока "Контакты" */

.contacts-bg {
	/*background: linear-gradient(135deg, #a7efab 0%, #057c0a 100%);*/
	background-color: #054205;
	padding: 40px 0;
	color: white;
}

.contacts-title {
	text-align: center;
	margin-bottom: 40px;
	font-weight: 600;
	color: white;
}

.contacts-media {
	background: rgba(255, 255, 255, 0.1);
	border-radius: 7px;
	overflow: hidden;
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.contacts-text {
	height: 450px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 30px;
	background: #3d5533de;
	color: white;
	margin: 30px;
}

.contacts-text-bg {
	background-image: url('/images/main-background-660x370.jpg');
	background-size: cover;
}

.contacts-text h3 {
	font-weight: 600;
	margin-bottom: 25px;
	color: white;
}

.contact-item {
	margin-bottom: 10px;
}

.contact-label {
	font-weight: 600;
	font-size: 1.1rem;
	margin-bottom: 5px;
	color: #3cd179
}

.contact-value {
	font-size: 1.2rem;
	margin-bottom: 5px;
}

.contact-phone {
	font-size: 1.5rem;
	font-weight: 600;
	color: #fff;
	text-decoration: none;
	display: block;
	margin: 0;
}

.schedule-item {
	margin-bottom: 0px;
}

.schedule-days {
	font-weight: 600;
}

.schedule-time {
	color: #d3d3d3;
}

.yandex-map {
	width: 100%;
	height: 100%;
}

.yandex-map img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Стили для модального окна заявки */

.modal-application .modal-content {
	border-radius: 10px;
	border: none;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
	max-height: 90vh;
	overflow-y: auto;
}

.modal-application .modal-header {
	background: green;
	color: white;
	border: none;
	padding: 15px 20px;
}

.modal-application .modal-title {
	font-weight: 600;
	text-align: center;
	width: 100%;
	font-size: 1.1rem;
}

.modal-application .btn-close {
	filter: invert(1);
	padding: 0.5rem;
}


.form-floating {
	margin-bottom: 15px;
}

.form-floating>.form-control,
.form-floating>.form-select {
	padding: 15px 15px 5px 15px;
	border-radius: 10px;
	border: 2px solid #e1e1e1;
	height: calc(3.5rem + 4px);
}

.form-floating>label {
	padding: 15px 15px 5px 15px;
	color: #6c757d;
}

.form-floating>.form-control:focus~label,
.form-floating>.form-control:not(:placeholder-shown)~label,
.form-floating>.form-select:focus~label,
.form-floating>.form-select:not(:placeholder-shown)~label {
	transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
}

.form-check {
	margin-bottom: 20px;
}

.form-check-input:checked {
	background-color: #a18cd1;
	border-color: #a18cd1;
}

.submit-btn {
	border: none;
	padding: 12px 30px;
	font-weight: 600;
	font-size: 1.1rem;
	border-radius: 30px;
	transition: all 0.3s;
	width: 100%;
}

.submit-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 15px rgba(161, 140, 209, 0.4);
}

/* мессенджеры */

.contact-icons {
	display: flex;
	margin-bottom: 10px;
}

.contact-icons a {
	display: block;
	width: 32px;
	height: 32px;
	background-size: cover;
	background-repeat: no-repeat;
	background-color: rgba(255, 255, 255, 0);
	border: none;
	margin-right: 10px;
}

.contact-icon-whatsapp {
	background-image: url("/images/icons/whatsapp.png");
}

.contact-icon-tg {
	background-image: url("/images/icons/telegram.png");
}

.contact-icon-insta {
	background-image: url("/images/icons/instagram.png");
}

.contact-icon-vk {
	background-image: url("/images/icons/vk.png");
}


/* Футер */

footer {
	background-color: rgb(2, 90, 2);
	/*height: 40px;*/
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Адаптивность для мобильных устройств */

@media (max-width: 767.98px) {

	.navbar {
		height: auto;
	}

	.about-bg,
	.panorama-bg,
	.projects-bg,
	.infrastructure-bg,
	.news-bg,
	.faq-bg,
	.mortgage-bg,
	.contacts-bg {
		padding: 20px 0;
	}

	.map-bg {
		padding: 20px 0 0 0;
	}

	.about-title,
	.map-title,
	.panorama-title,
	.projects-title,
	.infrastructure-title,
	.news-title,
	.faq-title,
	.mortgage-title,
	.contacts-title {
		margin-bottom: 20px;
	}

	.home-main-title {
		color: #fff;
		font-size: 3rem;
		text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
		text-align: center;
	}

	.home-button-container {
		bottom: -145px;
	}

	.about-text {
		line-height: 1.2;
		font-size: 0.8rem;
	}

	.about-image {
		width: 100%;
		height: auto;
		border-bottom-right-radius: 0;
		border-top-right-radius: 0;
	}

	.about-box {
		border-radius: none;
		box-shadow: none;
	}

	#interactive-map {
		scroll-margin-top: 40px;
	}
	.open-map-btn {
		padding: 0.5rem 1rem;
		border-radius: 20px;
		font-size: 1rem;
		font-weight: bold;
		margin-bottom: 1rem;
	}

	.open-map-desc {
		font-size: 0.8rem;
	}

	.carousel-text {
		font-size: 0.8rem;
		line-height: 1.2;
	}

	.carousel-image {
		height: 200px;
		margin-top: 20px;
	}

	.carousel-item-content {
		padding: 11px 0px;
		margin: 10px;
	}

	.nav-buttons {
		gap: 0;
		margin-bottom: 10px;
	}

	.infra-nav-button {
		padding: 1px 4px;
		font-size: 0.7rem;
		border: 1px solid #198754;
	}

	.panorama-block {
		height: 110px;
	}

	.mortgage-block {
		margin-bottom: 0;
		height: 80px;
		margin: 10px;
	}

	.modal-application .modal-body {
		padding: 15px;
	}

	.modal-application .modal-title {
		font-size: 1rem;
		padding: 0 10px;
	}

	.question-accordion .accordion-button {
		font-size: 0.8rem;
		line-height: 1.2;
	}

	.accordion-body {
		background-color: rgba(255, 255, 255, 0.9);
		line-height: 1.2;
		font-size: 0.8rem;
	}

	.category-content {
		padding: 0;
	}

	/* Адаптивные стили для формы */
	.form-floating>.form-control,
	.form-floating>.form-select {
		height: calc(3rem + 4px);
		padding: 12px 12px 4px 12px;
		font-size: 0.9rem;
	}

	.form-floating>label {
		padding: 12px 12px 4px 12px;
		font-size: 0.9rem;
	}

	.form-floating>.form-control:focus~label,
	.form-floating>.form-control:not(:placeholder-shown)~label,
	.form-floating>.form-select:focus~label,
	.form-floating>.form-select:not(:placeholder-shown)~label {
		transform: scale(0.8) translateY(-0.4rem) translateX(0.15rem);
		font-size: 0.8rem;
	}

	.submit-btn {
		padding: 10px 20px;
		font-size: 1rem;
	}

	/* Адаптивность для блока контактов */
	.contacts-text {
		height: auto;
		min-height: 300px;
		padding: 20px;
	}

	.yandex-map {
		height: 300px;
	}

	.contact-value {
		font-size: 1rem;
	}

	.contact-phone {
		font-size: 1.2rem;
	}
}

@media (max-height: 700px) and (max-width: 767.98px) {
	.modal-application .modal-content {
		max-height: 95vh;
	}

	.modal-application .modal-header {
		padding: 10px 15px;
	}

	.modal-application .modal-body {
		padding: 10px;
	}
}

@media only screen and (orientation:portrait) {

	#mapModal .modal-body,
	#panModal .modal-body {
		background-color: #000;
	}

	#mapModal .modal-content-horizontal,
	#panModal .modal-content-horizontal {
		display: none;
	}

	#mapModal .modal-content-portrait,
	#panModal .modal-content-portrait {
		display: block;
	}

}

@media (max-width: 880px) {
	.contacts-icons {
		bottom: 45px;
		right: 10px;
	}
}


