body{
	margin:0;
	font: 100%/1.5em Roboto, Arial, sans-serif;
	color:#333;
	line-height:1.2;
}
*{box-sizing:border-box;}
#vk_groups{width:100%; box-sizing:border-box;}
#vk_comments, #vk_comments iframe {
	width: 100% !important;
}
.clr:before,.clr:after{
	content:" ";
	display:table;
}
.clr:after{
	clear:both;
}
.flex{
	display:flex;
	flex-wrap:wrap;
}
.jc-sb{
	justify-content:space-between;
}
.jc-c{
	justify-content:center;
}
.ai-c{
	align-items:center;
}
.ai-e{
	align-items:end;
}

.wdth1200{
	margin: 0 auto;
	max-width: 1240px;
	width: 100%;
	padding: 0 20px;
}


header {
    padding: 20px 20px;
}

.logo{
	text-decoration: none;
}
.logo div{
	color:#333;
	font-size:1.5em;
	font-weight:600;
}
.logo p{
	font-size: .75em;
    color: #666;
    line-height: 1;
    margin: 2px 0 0;
    letter-spacing: .8px;
}
.logo span{
	color:#439338;
}

.menucontainer {
    background: #f0f0f0;
    z-index: 1;
    position: sticky;
	font-size: .75em;
	top: 0;
}
.menucontainer ul {
    list-style: none;
    padding: 0;
	margin:0;
	display:flex;
}

.menucontainer li {
    width:max-content;
}
.menucontainer a{
	color: #444;
    padding: 20px;
    text-decoration: none;
    display: block;
    line-height: 1.2;
    font-weight: 400;
    transition: .2s;
    text-transform: uppercase;
	transition:.2s;
	text-align:center;
}
.menucontainer a:hover, .menucontainer li.active a {
	background:#eee;
	color:#439338;
}

h1{
	font-size: 2em;
    text-transform: uppercase;
    font-weight: 800;
    margin: 40px 0 20px;
}
h1 span{
	color:#439338;
}


footer {
    text-align: center;
    padding: 10px 20px;
    background: #333;
    color: #fff;
    width: 100%;
	margin:50px 0 0;
}


.buttons {
    display: flex;
    padding: 12px 14px;
    font-size: .875em;
    cursor: pointer;
    transition: .2s;
    overflow: hidden;
    position: relative;
    align-items: center;
    line-height: 0;
    height: 36px;
    text-decoration: none;
    width: max-content;
    text-align: center;
    justify-content: center;
    border-radius: 4px;
    color: #439338;
    border: 1px solid #439338;
	transition:.2s;
}
.buttons:hover {
	background:#439338;
	color:#fff;
}


/*END menu burger*/
.menu-burger {
    margin: 0 0 0 10px;
    display: none;
    width: 38px;
    height: 13px;
    position: relative;
}
.lm{
	height: 1px;
    position: absolute;
    display: block;
    background: #000b2d;
    -webkit-transition: .5s;
    -o-transition: .5s;
    transition: .5s;
	left:0;
}
.lm1{
	top:0;
	width: 38px
}
.lm2{
	top:6px;
	width: 38px
}
.lm3{
	bottom:0;
	width: 30px
}
.opm .lm1{
	-webkit-transform: scaleX(0);
    -ms-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transform-origin: 0 0;
    -ms-transform-origin: 0 0;
    transform-origin: 0 0;
}
.opm .lm2{
	width: 26px;
    -webkit-transform: rotate(45deg) translateX(0px) translateY(-14px);
    -ms-transform: rotate(45deg) translateX(0px) translateY(-14px);
    transform: rotate(45deg) translateX(0px) translateY(-14px);
    -webkit-transform-origin: 0 100%;
    -ms-transform-origin: 0 100%;
    transform-origin: 0 100%;
}
.opm .lm3{
	width: 26px;
    -webkit-transform: rotate(-45deg) translateX(9px);
    -ms-transform: rotate(-45deg) translateX(9px);
    transform: rotate(-45deg) translateX(9px);
}
/*END menu burger*/


.boxes{
	width: calc(100% / 3 - 10px);
    margin: 0 0 10px;
    padding: 20px 20px 60px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    position: relative;
}
.boxes h2{
	font-size:1.25em;
}
.boxes p{
	font-size:.875em;
	color:#444;
	line-height:1.4;
}

.boxes .buttons{
	position:absolute;
	width:calc(100% - 40px);
	bottom:20px;
	left:20px;
}

.boxes:hover .buttons {
	background:#439338;
	color:#fff;
}



/*СТИЛИ ФОРМ*/

/* Стиль кнопки управления (которая открывает форму) */
.control-btn {
    padding: 12px 24px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
    margin-bottom: 20px;
}

.control-btn:hover {
    background-color: #218838;
}

/* Добавьте анимацию появления (опционально) */
.form-container {
    animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ... здесь весь остальной ваш CSS (rating-wrapper, form-group и т.д.) ... */

/* Скрытие формы */
.hidden {
    display: none;
}
.form-container {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 12px;
    box-lag-shadow: 0 10px 25px rgba(0,0,0,0.1);
    width: 100%;
    /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); */
    border: 1px solid #f0f0f0;
}

.form-container h2 {
    margin-top: 0;
    color: #333;
    text-align: center;
}

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

.form-container label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
}

.form-container input[type="text"],
.form-container textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-sizing: border-box; /* Чтобы padding не раздувал ширину */
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-container input[type="text"]:focus,
.form-container textarea:focus {
    outline: none;
    border-color: #4a90e2;
}

/* Стили для рейтинга (звездочки) */
.rating-wrapper {
    display: flex;
    /* Это разворачивает порядок 5-4-3-2-1 в визуальный 1-2-3-4-5 */
    flex-direction: row-reverse; 
    justify-content: flex-end;
}

.rating-wrapper input {
    display: none; /* Скрываем радио-кнопки */
}

.rating-wrapper label {
    font-size: 32px;
    color: #ccc;
    cursor: pointer;
    transition: color 0.2s;
    margin: 0 2px;
}

/* 1. Когда мы наводим на звезду (hover) */
/* 2. Или когда радио-кнопка выбрана (checked) */
/* ...закрашиваем ВСЕ звезды, которые идут ПОСЛЕ (в коде) этой звезды */
.rating-wrapper label:hover,
.rating-wrapper label:hover ~ label,
.rating-wrapper input:checked ~ label {
    color: #f39c12;
}

/* Дополнительно: чтобы при наведении на звезду 3, 
   закрашивались и 1 и 2 (которые визуально слева) */
.rating-wrapper label:hover ~ label {
    color: #f39c12;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background-color: #439338;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #357abd;
}


/* Стилизация выпадающего списка */
.labels-container{
	display: flex;
    flex-wrap: wrap;
	justify-content: space-between;
}
.form-container label.checkbox-item {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    margin-bottom: 5px;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: normal; /* Сбрасываем жирность, так как у label в форме она 600 */
	width: calc(100% / 3 - 5px);
}

.checkbox-item:hover {
    background-color: #f0f7ff;
    border-color: #4a90e2;
}

.checkbox-item input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* Подсветка выбранного элемента */
.checkbox-string:has(input:checked) {
    background-color: #e7f3ff;
    border-color: #4a90e2;
}

/* Чтобы формы не слипались, если они на одной странице */
.form-container {
    margin-top: 20px;
}

/* Стили для выпадающего списка */
.custom-select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    background-color: #fff;
    color: #333;
    cursor: pointer;
    transition: border-color 0.3s, box-shadow 0.3s;
    
    /* Убираем стандартную стрелку браузера и добавляем свою */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
	background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path d="M5 7l5 5 5-5" fill="none" stroke="%23333" stroke-width="1.5"/></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 15px;
    padding-right: 40px; /* Место для стрелочки */
}

/* Эффект при клике (фокусе) — такой же, как у text и textarea */
.custom-select:focus {
    outline: none;
    border-color: #4a90e2;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

/* Эффект при наведении */
.custom-select:hover {
    border-color: #bbb;
}

/* Стили для выпадающего списка внутри (для некоторых браузеров) */
.custom-select option {
    padding: 10px;
    color: #333;
}
/*END СТИЛИ ФОРМ*/



/*ТАБЛИЦЫ */
 .table-container {
	max-width: 1300px;
	width: 100%;
	background: white;
	border-radius: 20px;
	box-shadow: 0 8px 30px rgba(0, 20, 40, 0.12);
	overflow: hidden;
	padding: 8px 0 8px 0;
}
table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
	line-height: 1.45;
	background: white;
}
th {
	background: #0b3b2c;
	color: white;
	font-weight: 600;
	padding: 16px 14px;
	text-align: left;
	letter-spacing: 0.3px;
	border-right: 1px solid #2a5a4a;
}
th:last-child {
	border-right: none;
}
td {
	padding: 14px 14px;
	border-bottom: 1px solid #e8edf4;
	vertical-align: top;
	background: white;
}
tr:last-child td {
	border-bottom: none;
}
/* чередование строк */
tbody tr:nth-child(even) td {
	background-color: #f9fbfd;
}
/* столбец "Тип работ" */
.type-col {
	font-weight: 500;
	color: #0b3b2c;
	white-space: nowrap;
	min-width: 130px;
}
.code-col {
	font-weight: 600;
	color: #1a4d6b;
	white-space: nowrap;
	text-align: center;
	min-width: 70px;
}
.desc-col {
	color: #1c2b3a;
	padding-right: 20px;
}
/* адаптив */


.confidlabel {
	font-weight:300;
	font-size:.875em;
	line-height:1.2;
	margin:10px 0;
	color:#444;
}

.confidlabel a{
	color:#444;
}

.confiderr{
	color:#f00;
}
.confiderr a{
	color:#f00;
}



@media (max-width: 700px) {
	table, tbody, tr, td, th {
		display: block;
	}
	tr {
		margin-bottom: 16px;
		border-bottom: 2px solid #d0dbe8;
		padding: 0 4px;
		background: white !important;
		border-radius: 12px;
		box-shadow: 0 2px 8px rgba(0,0,0,0.04);
	}
	th {
		display: none;
	}
	td {
		border: none !important;
		padding: 8px 14px !important;
		background: white !important;
		display: flex;
		align-items: baseline;
		gap: 8px;
		flex-wrap: wrap;
	}
	td:before {
		content: attr(data-label);
		font-weight: 600;
		color: #0b3b2c;
		min-width: 90px;
		font-size: 14px;
	}
	.code-col {
		text-align: left;
	}
	.type-col {
		white-space: normal;
	}
	.desc-col {
		padding-right: 10px;
	}
	.table-container {
		padding: 4px;
		border-radius: 16px;
	}
}
/* для компактности на больших экранах */
@media (min-width: 1200px) {
	td, th {
		padding: 14px 20px;
	}
}
/* ховер */
tbody tr:hover td {
	background-color: #edf3fa !important;
	transition: 0.15s;
}
.table-container {
	transition: all 0.2s;
}
/* заголовок таблицы (шапка) */
thead th:first-child { border-radius: 12px 0 0 0; }
thead th:last-child { border-radius: 0 12px 0 0; }
/*ТАБЛИЦЫ */


@media screen and (max-width: 1024px){
	.wdth1200{
		max-width: 560px;
	}
	.menu-burger{
		display: block;
	}
	h1 {
		font-size: 1.75em;
	}
	.boxes {
		width: 100%;
	}
	.menu-burger {
		margin: 0 0 0 20px;
	}
	header {
		padding: 10px 20px;
		position:sticky;
		top:0;
		border-bottom: 1px solid #ddd;
        background: #fff;
		z-index: 2;
	}
	.menucontainer{
		position: fixed;
		top: 57px;
		left: 0;
		width: 100%;
		height: calc(100% - 57px);
		overflow-y: scroll;
		display:none;
	}
	.menucontainer.opened{
		display:block;
	}
	.menucontainer ul{
		flex-wrap: wrap;
	}
	.menucontainer li{
		width: 100%;
		border-bottom: 1px solid #ddd;
	}
	.menucontainer a{
		padding: 15px 10px;
		text-align: right;
	}
	.logo{
		font-size: .875em;
	}
	.logo p{
		margin: 0;
	}
	.boxes h2 {
		font-size: 1.125em;
	}
	.form-container label.checkbox-item{
		
	}
}

/* ===== Всплывающая форма обратного звонка ===== */
.callback-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 9999;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 20px;
}
.callback-modal.is-open {
	display: flex;
}
.callback-modal__overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,.5);
}
.callback-modal__dialog {
	position: relative;
	background: #fff;
	border-radius: 12px;
	max-width: 460px;
	width: 100%;
	padding: 30px 26px 26px;
	box-shadow: 0 10px 40px rgba(0,0,0,.25);
	max-height: 90vh;
	overflow-y: auto;
}
.callback-modal__close {
	position: absolute;
	top: 12px;
	right: 16px;
	background: none;
	border: none;
	font-size: 28px;
	line-height: 1;
	color: #888;
	cursor: pointer;
	padding: 0;
}
.callback-modal__close:hover {
	color: #333;
}
.callback-modal__title {
	margin: 0 0 18px;
	font-size: 1.4em;
	font-weight: 700;
	color: #222;
}
.callback-form__field {
	margin-bottom: 14px;
	display: flex;
	flex-direction: column;
	gap: 5px;
}
.callback-form__field label {
	font-weight: 600;
	font-size: .95em;
	color: #333;
}
.callback-form__required {
	color: #dc3545;
}
.callback-form__field input,
.callback-form__field textarea {
	padding: 10px 12px;
	border: 1px solid #ccc;
	border-radius: 6px;
	font-size: 1em;
	width: 100%;
	box-sizing: border-box;
	font-family: inherit;
}
.callback-form__field input:focus,
.callback-form__field textarea:focus {
	outline: none;
	border-color: #439338;
}
.callback-form__field textarea {
	resize: vertical;
	min-height: 60px;
}
.callback-form__agree {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 6px 0 16px;
	font-size: .85em;
	color: #555;
	cursor: pointer;
}
.callback-form__agree input {
	margin-top: 2px;
	cursor: pointer;
}
.callback-form__agree a {
	color: #439338;
	text-decoration: none;
}
.callback-form__agree a:hover {
	text-decoration: underline;
}
.callback-form__submit {
	width: 100%;
	padding: 12px 14px;
	font-size: 1em;
	font-weight: 600;
	cursor: pointer;
	border: none;
	border-radius: 6px;
	background: #439338;
	color: #fff;
	transition: background .2s;
}
.callback-form__submit:hover {
	background: #377d2e;
}
.callback-form__submit:disabled {
	background: #9bc794;
	cursor: not-allowed;
}

/* ===== Всплывающее уведомление (toast) ===== */
.toast-notification {
	position: fixed;
	top: 30px;
	right: 30px;
	padding: 18px 25px;
	border-radius: 10px;
	color: #fff;
	font-size: 16px;
	font-weight: 500;
	z-index: 99999;
	opacity: 0;
	transform: translateX(120%) scale(0.9);
	transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
	max-width: 450px;
	min-width: 300px;
	box-shadow: 0 8px 30px rgba(0,0,0,0.2);
	display: flex;
	align-items: center;
	gap: 12px;
}
.toast-notification.show {
	opacity: 1;
	transform: translateX(0) scale(1);
}
.toast-notification.success {
	background: linear-gradient(135deg, #28a745, #20c997);
	border-left: 5px solid #1e7e34;
}
.toast-notification.error {
	background: linear-gradient(135deg, #dc3545, #e74c3c);
	border-left: 5px solid #bd2130;
}
.toast-notification .toast-icon {
	font-size: 28px;
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255,255,255,0.2);
	border-radius: 50%;
}
.toast-notification .toast-content {
	flex: 1;
}
.toast-notification .toast-message {
	display: block;
}
.toast-notification .toast-subtitle {
	display: block;
	font-size: 12px;
	opacity: 0.8;
	margin-top: 2px;
}
.toast-notification .toast-close {
	cursor: pointer;
	font-size: 24px;
	opacity: 0.7;
	background: none;
	border: none;
	color: #fff;
	padding: 0 5px;
	transition: opacity 0.2s;
	flex-shrink: 0;
}
.toast-notification .toast-close:hover {
	opacity: 1;
}
.toast-notification .toast-progress {
	position: absolute;
	bottom: 0;
	left: 0;
	height: 3px;
	background: rgba(255,255,255,0.5);
	border-radius: 0 0 10px 10px;
	transition: width 0.1s linear;
}
@media (max-width: 768px) {
	.toast-notification {
		top: 20px;
		right: 20px;
		left: 20px;
		max-width: none;
		min-width: auto;
		padding: 14px 18px;
		font-size: 14px;
	}
	.toast-notification .toast-icon {
		font-size: 22px;
		width: 32px;
		height: 32px;
	}
}