.input-label.error {
    font-size: 12px;
    margin-top: 5px;
}

.success-message-modal {
    padding: 20px 20px;
    font-size: 30px;
    text-align: center;
}

.modal-wrapper {
    padding: 45px 40px;
}

.modal-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 15px;
    font-weight: 700;
}

.modal-subtitle {
    text-align: center;
    font-size: 16px;
    margin-bottom: 20px;
}

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

.modal-wrapper .form-agreement-section {
    margin-bottom: 20px;
}

.agreement-text {
    font-size: 12px;
}

.agreement-text a {
    color: var(--color-primary);
}

.modal-btn {
    width: 100%;
}

.form-agreement-section.error .agreement-error {
    display: block;
    color: rgb(211, 0, 0);
}

.grecaptcha-badge {
    display: none !important;
}

.input-list-wrapper {
    position: relative;
}

.input-list-wrapper .values {
    width: 100%;
    display: none;
    position: absolute;
    top: 56px;
    left: 0px;
    background-color: white;
    border-radius: 8px;
    border: 1px solid gainsboro;
    z-index: 2;
}

.input-list-wrapper .row {
    padding: 13px 18px;
    cursor: pointer;
    font-size: 16px;
}

.input-list-wrapper .row:hover {
    background-color: rgb(65, 65, 246);
    color: white;
}

.input-list-wrapper .title {
    position: relative;
}

.input-list-wrapper .title .text {
    display: flex;
    align-items: center;
}

.input-list-wrapper .expand-button {
    position: absolute;
    right: 15px;
    top: 19px
}

.form-group.opened .expand-button {
    transform: rotate(-180deg);
}

.form-group.opened .values {
    display: block;
}


.calcularor__form-wrapper {
    gap: 80px;
    margin-bottom: 70px;
}

.calcularor__form-wrapper .input-label {
    margin-bottom: 12px;
}


@media (max-width: 730px) {
    .calcularor__form-wrapper {
        gap: 40px;
        grid-template-columns: 1fr;
    }
    
}

@media (max-width: 340px) {
    .reviews__partners {
        grid-template-columns: 1fr;
    }
    
}

range-slider {
    width: 100%;
    --track-size: 4px;
    --thumb-size: 26px;
    margin-top: 58px;
    position: relative;
}

range-slider:before,
range-slider:after {
    position: absolute;
    bottom: -30px;
}

range-slider:before {
    content: attr(min);
    left: 0px;
}

range-slider:after {
    content: attr(max);
    right: 0;
} 

range-slider [data-track-fill] {
    background-color: var(--color-primary);

}

range-slider [data-thumb] {
    position: relative;
    background-color: var(--color-primary);
}

range-slider [data-thumb]:after {
    position: absolute;
    top: -47px;
    left: -7px;
    font-size: 16px;
    width: 41px;
    text-align: center;
    padding: 10px 0px;
    content: attr(aria-valuenow);
    box-shadow: 0 1px 8px 0 rgba(0,0,0,.2);
    border-radius: 3px;
}

.calculator__result-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.calculator__result-value {
    font-size: 32px;
}

.footer__phone-button {
    display: flex;
    justify-content: center;
    align-items: center;
}

.js-hidden {
    display: none !important;
}

.dropdown-list__item-content .table-row {
	padding-left: 30px;
	padding-right: 30px;
}
@media (hover: hover) and (pointer: fine) {
	.header__menu-link.dropdown:hover .submenu-wrapper {
		display: flex;
	}

	.header__menu-link.dropdown:hover {
		color: var(--color-primary);
	}

	/* мостик между пунктом и подменю, иначе меню схлопнется
	   при переводе курсора вниз (submenu-wrapper начинается с top: 53px) */
	.header__menu-link.dropdown::after {
		content: "";
		position: absolute;
		top: 100%;
		left: 0;
		width: 100%;
		height: 53px;
		display: none;
	}

	.header__menu-link.dropdown:hover::after {
		display: block;
	}
}
/* ===== Метаданные статьи ===== */

.article-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 16px 0;
	margin-bottom: 24px;
	border-top: 1px solid rgba(0, 0, 0, 0.08);
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.article-meta__author {
	display: flex;
	align-items: center;
	gap: 12px;
}

.article-meta__author-photo {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	object-fit: cover;
	flex: 0 0 auto;
}

.article-meta__author-text {
	display: flex;
	flex-direction: column;
}

.article-meta__author-name {
	font-size: 15px;
	font-weight: 600;
}

.article-meta__author-role {
	font-size: 12px;
	opacity: 0.6;
}

.article-meta__facts {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 20px;
	font-size: 13px;
	opacity: 0.7;
}

.article-meta__item--updated {
	color: var(--color-primary);
	opacity: 1;
}

.article-meta__rating {
	display: flex;
	align-items: center;
	gap: 6px;
	font-weight: 600;
	opacity: 1;
}

.article-meta__stars {
	--star: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14l-5-4.87 6.91-1.01L12 2z'/></svg>");
	width: 80px;
	height: 16px;
	background: linear-gradient(90deg, var(--color-primary) var(--rating), rgba(0, 0, 0, 0.2) var(--rating));
	-webkit-mask: var(--star) repeat-x left center / 16px 16px;
	mask: var(--star) repeat-x left center / 16px 16px;
}

@media (max-width: 650px) {
	.article-meta {
		flex-direction: column;
		align-items: flex-start;
	}
}


/* ===== Вакансии ===== */

.vacancies__title {
	text-align: center;
	margin: 8rem auto 6rem;
	max-width: 60rem;
}

.vacancies-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 2.4rem;
	align-items: stretch;
}

.vacancy {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 3rem;
	border-radius: 1.2rem;
	background-color: var(--color-primary-white, #fff);
}

.vacancy__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 1.2rem;
	margin-bottom: 1.6rem;
}

.vacancy__title {
	font-size: 2.4rem;
	font-weight: 600;
	color: var(--color-primary-black);
}

.vacancy__salary {
	font-size: 2rem;
	font-weight: 700;
	color: var(--color-primary);
	white-space: nowrap;
}

.vacancy__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.8rem;
	margin-bottom: 2rem;
}

.vacancy__tag {
	padding: 0.6rem 1.2rem;
	border-radius: 100px;
	background-color: rgba(0, 0, 0, 0.05);
	font-size: 1.4rem;
}

.vacancy__text {
	font-size: 1.4rem;
	margin-bottom: 2rem;
}

.vacancy__body {
	display: flex;
	flex-direction: column;
	gap: 2rem;
	flex: 1 1 auto;
	margin-bottom: 2.4rem;
}

.vacancy__group-title {
	font-size: 1.6rem;
	font-weight: 600;
	margin-bottom: 0.8rem;
}

.vacancy__list {
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
	padding-left: 2rem;
	font-size: 1.4rem;
	list-style: disc;
}

.vacancy__btn {
	margin-top: auto;
	width: 100%;
}

@media (max-width: 1000px) {
	.vacancies-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 650px) {
	.vacancies__title {
		margin: 4rem auto 3rem;
	}

	.vacancy {
		padding: 2rem;
	}

	.vacancy__title {
		font-size: 2rem;
	}
}