.fc-calc {
	margin: 40px 0 60px;
	font-family: Arial, sans-serif;
	color: #2f2f2f;
}

.fc-calc__title-wrap {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 20px;
}

.fc-calc__title-line {
	width: 3px;
	height: 54px;
	background: #f12672;
	flex: 0 0 3px;
}

.fc-calc__title {
	margin: 0;
	font-size: 27px;
	line-height: 1.2;
	font-weight: 700;
	color: #25314d;
}

.fc-calc__box {
	background: #f5f5f5;
	padding: 34px 28px 44px;
}

.fc-calc__form {
	max-width: 1040px;
}

.fc-calc__row {
	margin-bottom: 28px;
}

.fc-calc__row--inline {
	display: grid;
	grid-template-columns: 330px minmax(180px, 1fr);
	align-items: center;
	column-gap: 18px;
}

.fc-calc__row--stack {
	display: block;
	margin-top: 6px;
}

.fc-calc__row--objects {
	margin-top: 46px;
}

.fc-calc__label {
	font-size: 16px;
	line-height: 1.45;
	font-weight: 700;
	color: #353535;
}

.fc-calc__label--stack {
	margin-bottom: 18px;
}

.fc-calc__field--sm {
	width: 165px;
}

.fc-calc__field--lg {
	width: 100%;
	max-width: 470px;
}

.fc-calc__input,
.fc-calc__select {
	width: 100%;
	height: 44px;
	padding: 0 14px;
	background: #fff;
	border: 1px solid #dddddd;
	box-sizing: border-box;
	font-size: 15px;
	color: #4a4a4a;
	outline: none;
}

.fc-calc__input:focus,
.fc-calc__select:focus {
	border-color: #ff9827;
}

.fc-calc__systems {
	display: grid;
	grid-template-columns: minmax(280px, 1fr) minmax(280px, 1fr);
	gap: 26px 130px;
	max-width: 920px;
}

.fc-calc__system {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	min-height: 22px;
	cursor: pointer;
}

.fc-calc__system input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.fc-calc__system-text {
	font-size: 15px;
	line-height: 1.4;
	color: #4a4a4a;
	font-weight: 600;
}

.fc-calc__radio {
	position: relative;
	width: 22px;
	height: 22px;
	flex: 0 0 22px;
	border: 3px solid #f6a11f;
	border-radius: 50%;
	background: #fff;
	box-sizing: border-box;
}

.fc-calc__system input:checked + .fc-calc__radio::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 9px;
	height: 9px;
	background: #25314d;
	border-radius: 50%;
	transform: translate(-50%, -50%);
}

.fc-calc__note {
	margin-top: 34px;
	font-size: 15px;
	line-height: 1.45;
	font-weight: 700;
	color: #4a4a4a;
}

.fc-calc__actions {
	margin-top: 26px;
}

.fc-calc__btn {
	min-width: 210px;
	height: 58px;
	padding: 0 34px;
	border: 0;
	border-radius: 30px;
	background: #ff9726;
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	transition: background .2s ease, opacity .2s ease;
}

.fc-calc__btn:hover {
	background: #f28c1d;
}

.fc-calc__btn:disabled {
	opacity: .7;
	cursor: default;
}

.fc-calc__lead {
	margin-top: 34px;
	padding-top: 10px;
}

.fc-calc__lead-title {
	margin-bottom: 34px;
	font-size: 16px;
	line-height: 1.5;
	font-weight: 700;
	color: #353535;
}

.fc-calc__lead-grid {
	display: grid;
	grid-template-columns: minmax(260px, 1fr) minmax(260px, 1fr);
	gap: 34px 80px;
	max-width: 760px;
}

.fc-calc__line-field {
	display: flex;
	flex-direction: column;
}

.fc-calc__line-label {
	margin-bottom: 14px;
	font-size: 15px;
	line-height: 1.3;
	color: #8c95a3;
	font-weight: 700;
}

.fc-calc__line-input {
	width: 100%;
	height: 42px;
	border: 0;
	border-bottom: 2px solid #d7dde4;
	background: transparent;
	outline: none;
	box-sizing: border-box;
	font-size: 16px;
	color: #2f2f2f;
	padding: 0 0 6px;
}

.fc-calc__line-input:focus {
	border-bottom-color: #ff9726;
}

.fc-calc__lead-bottom {
	margin-top: 28px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
	max-width: 760px;
}

.fc-calc__switch {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	cursor: pointer;
}

.fc-calc__switch input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.fc-calc__switch-slider {
	position: relative;
	width: 42px;
	height: 20px;
	border-radius: 20px;
	background: #ffd0a3;
	flex: 0 0 42px;
	transition: background .2s ease;
}

.fc-calc__switch-slider::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 2px;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: #ff9726;
	transform: translateY(-50%);
	transition: left .2s ease;
}

.fc-calc__switch input:checked + .fc-calc__switch-slider {
	background: #ffd0a3;
}

.fc-calc__switch input:checked + .fc-calc__switch-slider::after {
	left: 16px;
}

.fc-calc__switch-text {
	font-size: 15px;
	line-height: 1.4;
	font-weight: 700;
	color: #3e4654;
}

.fc-calc__btn--submit {
	min-width: 242px;
}

.fc-calc__message {
	margin-top: 22px;
	font-size: 14px;
	line-height: 1.4;
}

.fc-calc__message.is-error {
	color: #cf2e2e;
}

.fc-calc__message.is-success {
	color: #2f8d4a;
}

.fc-calc__message.is-loading {
	color: #666;
}

@media (max-width: 991px) {
	.fc-calc__box {
		padding: 24px 18px 30px;
	}

	.fc-calc__row--inline {
		grid-template-columns: 1fr;
		row-gap: 12px;
	}

	.fc-calc__field--sm,
	.fc-calc__field--lg {
		width: 100%;
		max-width: 100%;
	}

	.fc-calc__systems,
	.fc-calc__lead-grid {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.fc-calc__lead-bottom {
		flex-direction: column;
		align-items: flex-start;
	}

	.fc-calc__btn,
	.fc-calc__btn--submit {
		min-width: 100%;
	}
}
.fc-modal[hidden] {
	display: none;
}

.fc-modal {
	position: fixed;
	inset: 0;
	z-index: 9999;
}

.fc-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(37, 49, 77, 0.32);
	backdrop-filter: blur(2px);
}

.fc-modal__dialog {
	position: relative;
	width: calc(100% - 32px);
	max-width: 560px;
	margin: 80px auto 0;
	background: #f5f5f5;
	padding: 34px 28px 34px;
	box-sizing: border-box;
	border-radius: 6px;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.16);
	animation: fcModalShow .24s ease;
}

@keyframes fcModalShow {
	from {
		opacity: 0;
		transform: translateY(16px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.fc-modal__close {
	position: absolute;
	top: 18px;
	right: 18px;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.fc-modal__close span {
	position: absolute;
	top: 17px;
	left: 8px;
	width: 20px;
	height: 2px;
	background: #25314d;
	border-radius: 2px;
}

.fc-modal__close span:first-child {
	transform: rotate(45deg);
}

.fc-modal__close span:last-child {
	transform: rotate(-45deg);
}

.fc-modal__title-wrap {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 24px;
	padding-right: 36px;
}

.fc-modal__title-line {
	width: 3px;
	height: 46px;
	background: #f12672;
	flex: 0 0 3px;
}

.fc-modal__title {
	font-size: 28px;
	line-height: 1.2;
	font-weight: 700;
	color: #25314d;
}

.fc-modal__text {
	font-size: 16px;
	line-height: 1.6;
	color: #3e4654;
	font-weight: 600;
}

.fc-modal__actions {
	margin-top: 28px;
}

body.fc-modal-open {
	overflow: hidden;
}

@media (max-width: 767px) {
	.fc-modal__dialog {
		margin-top: 40px;
		padding: 26px 18px 24px;
	}

	.fc-modal__title {
		font-size: 24px;
	}

	.fc-modal__text {
		font-size: 15px;
	}

	.fc-modal__actions .fc-calc__btn {
		width: 100%;
		min-width: 100%;
	}
}