*,
*::before,
*::after {
	box-sizing: border-box;
}

ul[class],
ol[class] {
	padding: 0;
}

a {
	text-decoration: none;
}

body,
h1,
h2,
h3,
h4,
p,
ul[class],
ol[class],
li,
figure,
figcaption,
blockquote,
dl,
dd {
	margin: 0;
}

ul,
ol {
	list-style: none;
	padding: 0;
}

img {
	max-width: 100%;
	display: block;
}

:root {
	--main-color: #8EBF18;
	--secondary-color: #F29500;
	--secondary-color-hover: #E58D00;
	--highlight-color: #158DE1;
}

body {
	font-family: 'Montserrat', sans-serif;
	font-weight: 400;
	min-height: 100vh;
	scroll-behavior: smooth;
	text-rendering: optimizeSpeed;
	line-height: 1.5;
}

.bold {
	font-weight: 700;
}

.highlight {
	display: inline-block;
	background: var(--highlight-color);
	color: #fff;
	font-weight: 600;
	padding: 2px 5px;
}

.container {
	max-width: 1170px;
	margin: 0 auto;
	padding: 0 20px;
}

.header__wrapper {
	display: flex;
	justify-content: space-between;
	padding: 40px 0;
}

.header__wrapper .header__logo {
	max-width: 280px;
}

.header__credit--info {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.header__credit--info .info__text {
	font-size: 18px;
	line-height: 100%;
	color: #666666;
	font-weight: bold;
}

.header__credit--info .info__num {
	color: #fff;
	background: var(--secondary-color);
	margin-left: 10px;
	font-size: 18px;
	line-height: 100%;
	font-weight: bold;
	padding: 10px 15px;
}

.main {
	margin-bottom: 20px;
}

.main__title {
	margin-bottom: 40px;
}

.main__title h1 {
	color: #333333;
	font-size: 28px;
	line-height: 100%;
	margin-bottom: 10px;
}

.main__title p {
	color: #666666;
	font-size: 16px;
	line-height: 100%;
}


.item__row {
	margin: 0 -10px;
	display: flex;
	flex-wrap: wrap;
}

.item__col {
	padding: 0 10px;
	width: 25%;
	margin-bottom: 20px;
}

.item {
	padding: 30px 20px;
	border: 1px solid var(--main-color);
	font-size: 14px;
	color: #666666;
}

.item:hover {
	border: 4px solid var(--main-color);
	margin: -3px;
}

.item__logo {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 15px;
}

.item__title {
	color: #fff;
	background: var(--main-color);
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 8px 0;
	font-weight: 600;
	margin-bottom: 15px;
}

.item__info {
	margin-bottom: 15px;
	padding: 0 10px;
}


.sub__info {
	display: flex;
	justify-content: space-between;
	margin-bottom: 10px;
	align-items: center;
}

.payment__methods {
	padding-top: 15px;
	margin-bottom: 10px;
	border-top: 2px solid var(--main-color);
}

.payment__methods--wrap {
	padding: 0 10px;
}

.payment__methods--wrap p {
	margin-bottom: 5px;
}

.payment__method--row {
	display: flex;
	flex-wrap: wrap;
	margin: 0 -3px;
}

.payment__item {
	width: 25%;
	margin: 5px 0;
	display: flex;
	justify-content: center;
	padding: 0 3px;
}

.get__money {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 12px 0;
	background: var(--secondary-color);
	color: #fff;
	font-weight: 600;
	cursor: pointer;
}

.get__money:hover {
	background: var(--secondary-color-hover);
}

.conditions {
	margin-bottom: 40px;
}

.conditions__title {
	margin-bottom: 20px;
	color: #333333;
	font-weight: bold;
	font-size: 24px;
	line-height: 29px;
}

.conditions__text--block {
	margin-bottom: 20px;
}

.conditions__text--block p {
	color: #666666;
	font-size: 14px;
	line-height: 150%;
}

.info {
	margin-bottom: 40px;
}

.info__title {
	color: #333333;
	font-weight: bold;
	font-size: 24px;
	line-height: 29px;
	margin-bottom: 20px;
}

.info__row {
	display: flex;
	flex-wrap: wrap;
	margin: 0 -5px 10px;
}

.info__col {
	width: 50%;
	padding: 0 5px;
	margin-bottom: 10px;
}

.info__item {
	padding: 20px 15px;
	border: 1px solid var(--main-color);
}

.info__item p {
	color: #666666;
	font-size: 14px;
	line-height: 150%;
}

.info__notation {
	color: #666666;
	font-size: 14px;
	line-height: 100%;
	margin-bottom: 40px;
}

.responsibility {
	border-top: 2px solid var(--secondary-color);
	border-bottom: 2px solid var(--secondary-color);
}

.responsibility p {
	padding: 15px;
	font-weight: 600;
	font-size: 18px;
	line-height: 130%;
}

.footer {
	background: #F9F9F9;
	padding: 40px 0;
}

.footer__row {
	display: flex;
	margin: 0 -20px 20px;
}

.footer__col {
	padding: 0 20px;
	width: calc(100% / 3);
}

.footer__item.contacts {
	font-size: 14px;
	line-height: 150%;
	color: #666;
}

.footer__item .about_us {
	margin-top: 30px;
}

.footer__item .about_us a {
	display: block;
	width: fit-content;
	margin-bottom: 15px;
	color: #666666;
	font-size: 14px;
	line-height: 100%;
	font-weight: 600;
}

.footer__item h3 {
	font-size: 16px;
	line-height: 140%;
	color: #666;
}

.footer__item.best__offers ul li {
	margin: 5px 0;
}

.footer__item.best__offers ul li a {
	color: #666666;
	font-size: 14px;
	line-height: 100%;
}

.footer__item a:hover {
	border-bottom: 1px solid #666;
	margin-bottom: 14px;
}

.footer__item.help h3 {
	margin-bottom: 30px;
}

form {
	display: flex;
	flex-direction: column;
}

form input {
	margin-bottom: 15px;
	padding: 15px;
	border: 1px solid #E2E2E2;
	color: #666666;
	outline: none;
}

form input::placeholder {
	color: #666666;
	opacity: 0.6;
	font-size: 12px;
	line-height: 15px;
}

form input:not([type='submit']):focus {
	border: 1px solid var(--main-color);
}

form input[type='submit'] {
	padding: 10px 0;
	background: var(--secondary-color);
	color: #fff;
	font-weight: 600;
	font-size: 14px;
	line-height: 17px;
	cursor: pointer;
}

form input[type='submit']:hover {
	background: var(--secondary-color-hover);
}

.copyright {
	font-size: 14px;
	line-height: 100%;
	color: #666666;
}

/* popup */

.popup {
	width: 275px;
	padding: 30px 20px;
	border: 1px solid var(--main-color);
	position: fixed;
	background: #fff;
	bottom: 10px;
	right: -1000px;
	transition: right .3s ease-out;
}

.popup.active {
	right: 10px;
}

.popup:hover {
	box-shadow: 0 0 0 2px var(--main-color);
}

.popup__img {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 80px;
	margin-bottom: 15px;
}

.popup__text {
	font-weight: bold;
	font-size: 18px;
	line-height: 140%;
	color: #fff;
	background: var(--main-color);
	padding: 8px 10px;
	text-align: center;
	margin-bottom: 15px;
}

.popup__action {
	padding-top: 15px;
	border-top: 2px solid var(--main-color);
	text-align: center;
	font-size: 16px;
	line-height: 120%;
	color: #666666;
	margin-bottom: 15px;
}

.close {
	position: absolute;
	right: 20px;
	top: 20px;
	width: 10px;
	height: 10px;
	opacity: 0.3;
	cursor: pointer;
}

.close:hover {
	opacity: 1;
}

.close:before, .close:after {
	position: absolute;
	left: 4px;
	content: ' ';
	height: 15px;
	width: 2px;
	background-color: #333;
}

.close:before {
	transform: rotate(45deg);
}

.close:after {
	transform: rotate(-45deg);
}

/*modal*/

.modal {
	display: none;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 9999999;
	width: 100%;
	height: 100%;
}

.modal-opened {
	display: block !important;
}

.modal-opened::before {
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0.4;
	z-index: 99999;
	background-color: black;
	width: 100%;
	height: 100%;
	content: ' ';
}

.modal-content {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 9999999;
	background: #fff;
	padding: 20px;
	width: 540px;
}

.close-modal {
	cursor: pointer;
	text-align: right;
	color: #666;
	margin-bottom: 5px;
}

.modal__offers {
	padding-bottom: 20px;
	border-bottom: 2px solid var(--main-color);
	margin-bottom: 15px;
}

.modal__title {
	background: var(--main-color);
	color: #fff;
	font-weight: bold;
	font-size: 18px;
	line-height: 120%;
	padding: 10px 0;
	text-align: center;
	margin-bottom: 15px;
}

.modal__text {
	color: #666666;
	text-align: center;
	font-size: 14px;
	line-height: 140%;
	margin-bottom: 20px;
}

.modal__offers--item {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.modal__offers--item + .modal__offers--item {
	margin-top: 25px;
}

.modal__offers--logo {
	max-width: 115px;
}

.modal__offers--sum {
	color: #666666;
	font-size: 14px;
	line-height: 100%;
}

.modal__offers--item .get__money {
	padding: 12px 25px;
}

.modal__contacts--text {
	font-weight: bold;
	font-size: 14px;
	line-height: 120%;
	text-align: center;
	color: #666;
	margin-bottom: 15px;
}


form .contacts__group {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

form .contacts__group input {
	width: calc(50% - 8px);
}

@media (max-width: 1025px) {
	.main__title h1 {
		font-size: 24px;
	}

	.conditions__title,
	.info__title {
		font-size: 20px;
	}

	.item__col {
		width: calc(100% / 3);
	}

	.info__col {
		width: 100%;
	}

	.payment__item {
		width: calc(100% / 8);
	}
}

@media (max-width: 767px) {
	.container {
		padding: 0 10px;
	}

	.header__wrapper {
		flex-direction: column;
		padding: 30px 0 20px;
	}

	.header__logo {
		margin-bottom: 20px;
	}

	.main {
		margin-bottom: 0;
	}

	.main__title {
		margin-bottom: 20px;
	}

	.main__title h1 {
		font-size: 20px;
	}

	.main__title p {
		font-size: 14px;
	}

	.item {
		font-size: 10px;
		padding: 10px 8px;
	}

	.item__row {
		margin: 0 -5px;
	}

	.item__col {
		padding: 0 5px;
		width: 50%;
	}

	.payment__item {
		width: 25%;
	}

	.item__info {
		padding: 0;
	}

	.conditions {
		margin-bottom: 20px;
	}

	.info {
		margin-bottom: 20px;
	}

	.conditions__title,
	.info__title {
		font-size: 16px;
	}

	.conditions__text--block p,
	.info__item p {
		font-size: 12px;
	}

	.info__row {
		margin: 0 0 10px;
	}

	.info__col {
		padding: 0;
	}

	.info__notation {
		font-size: 12px;
		margin-bottom: 20px;
	}

	.responsibility p {
		font-size: 16px;
		padding: 15px 10px;
	}

	.footer {
		padding: 30px 0;
	}

	.footer__row {
		flex-wrap: wrap;
		margin: 0;
	}

	.footer__col {
		width: 100%;
		padding: 0;
	}

	.order-1 {
		order: 1;
		margin-bottom: 15px;
	}

	.order-2 {
		order: 2;
		margin-bottom: 15px;
	}

	.order-3 {
		order: 3;
	}

	.footer__item.help h3 {
		margin-bottom: 20px;
	}

	.footer__item.contacts {
		font-size: 12px;
	}

	.about_us {
		margin-bottom: 20px;
	}

	.copyright {
		font-size: 12px;
	}

}