/* Стили блока "Расчет работ" с формой (быстрая заявка). Свои классы, чтобы не зависеть от чужих. */

/* Текст под формой (аналог .plus__text, но свой класс) */
.mainform__text {
	text-align: left;
	font-family: Montserrat;
	font-weight: 400;
	font-size: 25px;
	line-height: 138%;
	color: #ffffff;
	margin: 50px 0 20px;
}

@media (max-width: 1200px) {
	.mainform__text { font-size: 24px; }
}
@media (max-width: 1000px) {
	.mainform__text { font-size: 20px; }
}
@media (max-width: 850px) {
	.mainform__text { font-size: 18px; }
}
@media (max-width: 650px) {
	.mainform__text { font-size: 16px; }
}

/* Согласие на обработку — мелкий серый текст с подчёркнутой ссылкой (как у стандартных форм) */
.main-form .contact__agree p {
	font-family: "Neuton", sans-serif;
	font-weight: 400;
	font-size: 18px;
	line-height: normal;
	color: #c3c3c3;
	margin: 0;
}
.main-form .contact__agree a {
	color: #c3c3c3;
	text-decoration: underline;
}

/* Сообщение "Заявка отправлена!" — аккуратный размер вместо гигантского h2 */
.mainform__success {
	text-align: center;
	width: 100%;
	box-sizing: border-box;
	padding: 50px 40px;
	border: 1px solid #ffffff;
	border-radius: 36px;
}
.mainform__success-title {
	font-family: Montserrat;
	font-weight: 600;
	font-size: 30px;
	line-height: 130%;
	color: #ffffff;
	margin-bottom: 12px;
}
.mainform__success-text {
	font-family: Montserrat;
	font-weight: 400;
	font-size: 18px;
	line-height: 140%;
	color: #ffffff;
}
@media (max-width: 650px) {
	.mainform__success-title { font-size: 24px; }
	.mainform__success-text { font-size: 16px; }
}

/* Вариант 2: выпадающий список услуг — СВОИ классы (чтобы не конфликтовать с app.js сайта),
   стиль скопирован с сайтовых .contact__sublist / .contact__arrow */
.mainform__select { cursor: pointer; }
.mainform__select-box { position: relative; cursor: pointer; }
.mainform__arrow {
	position: absolute; z-index: 2;
	width: 40px; height: 40px;
	top: 50%; right: 30px;
	display: flex; align-items: center; justify-content: center;
	transform: translateY(-50%);
	background: #d8d8d8; border-radius: 10px; cursor: pointer;
}
.mainform__arrow svg { transition: transform 0.3s; }
.mainform__arrow.active svg { transform: rotateX(180deg); }
.mainform__list {
	position: absolute; z-index: 1; left: 0; right: 0;
	background: #fff; width: 100%; box-sizing: border-box;
	border: 1px solid #797979; border-radius: 36px; padding: 0 40px;
	font-family: Montserrat; font-weight: 500; font-size: 20px; line-height: 180%;
	max-height: 0; overflow: hidden; opacity: 0; transition: all 0.5s; margin-top: 8px;
}
.mainform__list ul { display: flex; flex-direction: column; gap: 10px; list-style: none; margin: 0; padding: 0; }
.mainform__list li { cursor: pointer; transition: color 0.3s; color: #000000; padding: 4px 0; }
.mainform__list li:hover { color: #1c5bba; }
.mainform__list.active { max-height: 500px; overflow: visible; padding: 20px 40px; opacity: 1; }

.mainform__services { display: flex; flex-direction: column; gap: 20px; }
.mainform__gap-top { margin-top: 60px; }
