/* Общие стили (по умолчанию для больших экранов) */
.reviews-props-none {
	display: none;
}

.section_view_blog .section__item .item__header {
	margin-top: 10px;
}

.section_view_content .section__author .author__info>div>span:nth-child(1) {
	width: 40%;

}

.section_view_blog .section__item .item__date {
	font-size: 16px;
	margin-bottom: 5px;
}

.section_view_blog .section__item .item__autor {
	font-size: 16px;
}

.autor__post {
	line-height: 2;
}

.header__flags .flag {
	width: 85px;
	height: 197px;
	-ms-flex-negative: 0;
	flex-shrink: 0;
	background-size: cover;
}

.lwpcngNoticeBar-bottom.lwpcngNotice-sticked {
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1.7;
}

.lwpcngNotice_message {
	font-size: 12px;
}

.lwpcngNotice_buttons {
	font-size: 13px;
}

.lwpcngNoticeBar {
	text-align: left;
}


.section_view_objects .section__reviews .reviews__site .site__details .site__sum {
	font-size: 12px;
	opacity: 0.5;
}

.section_view_faq .section__person {
	padding: 0 !important;
	;
}

.section_view_faq .accordion__answer[style*=max-height]+.section__person {
	padding: 15px !important;
}

.section__cards .section__card.card .card__header:has(+ .card__caption) {
	min-height: 110px;
	/* подберите по макету */
}

.section__cards .section__card.card .card__header {
	min-height: 75px;
	display: flex;
	align-items: flex-start;
	/* чтобы текст был сверху */
	font-weight: bold;
}

.section__cards .section__card.card {
	display: flex;
	flex-direction: column;
}

.checkbox_agree_div {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: start;
	gap: 10px;
	margin-bottom: 20px;
	max-height: 80px;
}

.checkbox_agree_div input {
	margin-top: 3px;
	width: 24px;
	height: 24px;
}

.checkbox_agree_div label {
	font-size: 13px;
	line-height: 1.4;
	cursor: pointer;

	word-break: break-word;
}

.section_view_first .section__button button span:nth-child(1) {
	font-weight: normal;
}

.modal__body:has(.chat_modal) {
	overflow: visible !important;
}



.section_view_cards.whywe .section__card .card__caption {
	min-height: 80px;
}

@media (min-width: 1580px) and (max-width: 1900px) {

	.section_view_cards.whywe .section__card .card__caption {
		min-height: 80px;
	}

}

@media (min-width: 1240px) and (max-width: 1579px) {

	.section_view_cards.whywe .section__card .card__caption {
		min-height: 100px;
	}

}

@media (min-width: 993px) and (max-width: 1239px) {

	.section_view_cards.whywe .section__card .card__caption {
		min-height: 40px;
	}

}

@media (min-width: 10px) and (max-width: 1039px) {

	.section_view_cards.whywe .section__card .card__caption {
		min-height: 60px;
	}

}

@media (min-width: 1250px) and (max-width: 1450px) {
	body.main-page .roof-circle {
		top: 115px;
		right: 80px;
	}

	.section_view_people .section__inner::after {
		height: 40px;
	}

	.section_view_content {
		margin-top: 200px;
	}

	.section:not(.section_view_first):not(.section_view_people):not(.section_view_content):not(.section_view_check-list):not(.section_view_check-list2):not(.section_view_gallery):not(.section_view_video) .section__header {
		padding-bottom: 25px;
	}
}

@media (min-width: 1251px) and (max-width: 1600px) {
	.section_view_services .section__items .item__caption {
		font-size: 13px;
	}
}

@media (max-width: 1450px) {
	.modal__body form input {
		margin-bottom: 12px;
		height: 50%;
	}

	.modal__body form div {
		font-size: 13px;
	}

	.modal__header {
		font-size: 13px;
	}

	.checkbox_agree_div label {
		font-size: 12px;
	}

	.modal__body {
		max-height: 95vh;
	}

	.checkbox_agree_div {
		margin-bottom: 10px;
	}

	.modal__body .captcha-container {
		transform: scale(0.8);
		-webkit-transform: scale(0.8);
		transform-origin: 0 0;
		-webkit-transform-origin: 0 0;
		margin-bottom: 0px !important;
	}

	.section_view_people .section__body {
		margin-top: 30px;
	}

	.modal__header span {

		font-size: 21px;

	}
}

@media (min-width: 1310px) and (max-width: 1450px) {
	.section_view_people .section__body {
		margin-top: 0px;
	}
}

@media (max-width: 1310px) {
	.lwpcngNotice_message {
		font-size: 12px;
	}

	.lwpcngNotice_buttons {
		font-size: 12px;
	}

	.lwpcngNoticeBar {
		text-align: left;
	}

	.section_view_blog .section__item .item__date {
		font-size: 12px;
		margin-top: 10px;
		margin-bottom: 0px;
	}

	.section_view_blog .section__item .item__autor {
		font-size: 10px;
	}
}

@media (max-width: 1250px) {
	.lwpcngNotice_message {
		font-size: 12px;
	}

	.lwpcngNoticeBar {
		text-align: left;
	}

	.lwpcngNotice_buttons {
		font-size: 12px;
	}

	.section__cards .section__card.card .card__header {
		min-height: 50px;
	}

	.section__cards .section__card.card .card__header:has(+ .card__caption) {
		min-height: 55px;
	}
}

@media (max-width: 992px) {
	.section_view_cards.whywe .section__card .card__caption {
		min-height: 20px;
	}

	.header__nav {
		justify-content: center;
	}

	.section_view_cards .section__cards .card {
		text-align: left;
		padding: 30px 30px;
	}

	.section_view_cards .section__cards .card__description {
		font-size: 12px;

	}

	.section_view_cards.whywe .section__card .card__caption {
		font-size: 12px;
	}

	.section_view_cards.whywe .section__card .card__header {
		font-size: 12px;
	}

	.section__cards .section__card.card .card__header {
		min-height: 32px;
	}
}

@media (min-width: 769px) and (max-width: 992px) {
	.section_view_ourworksexs .section__item .info__line {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		gap: 15px;
		flex-direction: column;
	}
}



@media (max-width: 768px) {
	.section_view_faq .accordion__answer[style*=max-height]+.section__person {
		padding: 15px 0 !important;
	}

	body.main-page .roof-circle {
		right: 20px;
	}

	.section__breadcrumbs.breadcrumbs-full {
		font-size: 12px;
	}
}

@media (max-width: 666px) {
	.checkbox_agree_div label {
		font-size: 8px;
	}

	.checkbox_agree_div {
		margin-bottom: 15px;
	}

	.modal__body .captcha-container {
		transform: scale(0.7);
		-webkit-transform: scale(0.7);
		transform-origin: 0 0;
		-webkit-transform-origin: 0 0;
		margin-bottom: 0px !important;
	}

	.section__header {
		white-space: normal;
		/* разрешить перенос */
		text-align: center;
		/* выровнять по центру */
		display: block;
	}

	.section__header .line1,
	.section__header .line2 {
		display: block;
		/* каждая строка отдельно */
	}

}

@media (max-width: 576px) {
	.lwpcngNotice_message {
		font-size: 12px;
	}

	.lwpcngNotice_buttons {
		font-size: 12px;
	}

	.lwpcngNoticeBar {
		text-align: left;
	}

	.section_view_seealso .section__buttons a {
		height: 50px;
	}

	.section_view_first .section__img {
		margin-top: 30px !important;
		background-position: top -55px center;
		background-size: 130% auto;
		aspect-ratio: 1940 / 1080;
	}

	.modal.feedback .modal__header-row {
		display: flex;
		align-items: flex-start;
		justify-content: space-between;
		gap: 12px;
	}

	.modal.feedback .modal__header-row .modal__header {
		margin: 0;
		flex: 1;
	}

	.modal.feedback .modal__header-row .modal__close {
		position: static;
		width: 32px;
		height: 32px;
		opacity: 1;
	}

	.modal {
		height: 100svh;
		height: 100dvh;
	}

	.modal__inner {
		max-height: 100dvh;
	}

	.modal__body {
		max-height: 100dvh;
		padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px));
	}
}

@media (max-width: 500px) {
	.section_view_content .section__author .author__info>div {
		gap: 30px
	}

}

.modal.feedback form .rating {
	margin-bottom: 25px;
}

.header__callback {
    position: fixed;
    right: 0;
    left: auto;
    width: 600px;
    max-width: 100%;
    height:100dvh;
    background-color: #000000;
    z-index: 200;
    transform: translateX(100%); 
    transition: transform 0.3s ease-in-out;
    opacity: 0;
    visibility: hidden;
    overflow-y: auto;
	padding: 70px 40px 40px!important;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    box-shadow: -5px 0 15px rgba(0,0,0,0.5);
}

.header::before {
    content: '';
    position: fixed;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(0px);
    z-index: 1;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, backdrop-filter 0.3s ease-in-out;
    pointer-events: none;
}

.header::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(0px);
    z-index: 150;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, backdrop-filter 0.3s ease-in-out;
    pointer-events: none;
}

.header.header_open::before {
    opacity: 1;
    visibility: visible;
    backdrop-filter: blur(5px);
    transition: backdrop-filter .5s ease-in-out;
    pointer-events: initial;
}

.header.header_callback_open .header__callback {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
}

.header.header_callback_open::after {
    opacity: 1;
    visibility: visible;
    backdrop-filter: blur(5px);
    pointer-events: initial;
}


.header.header_callback_open {
    transition: background-color 0.3s;
}

.header__phone-wrapper {
    position: relative;
    display: inline-block;
    /* z-index: 101; */
}

.header, .header .container, .chat, .chat__contacts {
    overflow: visible !important;
}

.header__phone-dropdown {
    position: absolute;
    top: 130%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #fff;
    padding: 30px;
    width: 320px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    text-align: center;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 102;
    cursor: default;
	border-radius: 10px;
}

.header.header_sticky .header__phone-dropdown {
    top: 200%;
}

.header__phone-wrapper:hover .header__phone-dropdown {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.header__phone-wrapper:hover::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 20px;
}

.phone-dropdown__title {
    font-size: 14px;
    color: #888;
    margin-bottom: 10px;
}

.phone-dropdown__number {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #000 !important;
    text-decoration: none;
    margin-bottom: 10px;
    white-space: nowrap;
}

.phone-dropdown__number:hover {
    color: #c79a69;
}

.phone-dropdown__text {
    font-size: 14px;
    color: #888;
    margin-bottom: 20px;
    line-height: 1.4;
}

.phone-dropdown__button {
    background: #c79a69;
    color: #fff;
    border: none;
    padding: 15px 20px;
    width: 100%;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s;
	min-width: 250px;
}

.phone-dropdown__button:hover {
    background: #b1824f;
}



.header__callback-inner {
    width: 100%;
    max-width: 600px;
    padding: 20px;
}

.header__callback-header {
    margin-bottom: 20px;
    text-align: left;
    color: #d0d0d0;
    font-size: 16px;
}

.header__callback-header span {
    display: block;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: #fff;
    line-height: 1.1;
}

.header__callback input[type="text"],
.header__callback input[type="tel"] {
    background-color: #262626;
    border: 1px solid #333;
    color: #fff;
    padding: 15px;
    font-size: 14px;
    margin-bottom: 15px;
    width: 100%;
}

.header__callback input::placeholder {
    color: #888;
}

.header__callback .checkbox_agree_div {
    margin-top: 10px;
    margin-bottom: 20px;
    color: #aaa;
}

.header__callback .checkbox_agree_div a {
    color: #c79a69;
    text-decoration: none;
}

.header__callback button {
    background-color: #c79a69;
    color: #fff;
    border: none;
    width: 100%;
    padding: 18px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s;
    letter-spacing: 0.5px;
}

.header__callback button:hover {
    background-color: #b1824f;
}

    /* Adjust header to be on top when open */


	*::-webkit-scrollbar {
    height: 12px;
    width: 12px;
}
::-webkit-scrollbar-thumb {
    background-color: #c79a69;
    border-radius: 5px;
    border: 2px solid #FFFFFF;
}
*::-webkit-scrollbar-track {
    background: #FFFFFF;
}