/*-----------
Footer start
-----------*/

footer {
    position: relative;
	padding-bottom: 40px;
}

footer .section-wrap {
	display: flex;
    flex-direction: column;
    gap: 120px;
	width: calc(100% - 24px);
}

.footer--wrap {
    padding: 32px 40px;
    background: #fdf3e3;
	border-radius: 20px;
}

.footer-form {
	width: 100%;
}

.footer-subscribe {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px 32px;
	align-items: center;
	padding: 18px 24px;
	border-radius: 20px;
	background: #7fad3c;
	box-shadow: 0 0 0 3px #fffbf4 inset;
}

.footer-subscribe__text {
    font-family: var(--third-family);
    font-size: 20px;
    line-height: 140%;
    color: #fffbf4;
}

.footer-subscribe__form {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 10px 12px;
	align-items: center;
	justify-content: end;
}

.footer-subscribe__field {
	position: relative;
	display: flex;
	min-width: 0;
}

.footer-subscribe__input {
	width: 100%;
    height: 54px;
    padding: 16px 20px;
    border-radius: 16px;
    border: 1px solid rgba(255, 251, 244, 0.75);
    background: #fffbf4;
	font-size: 16px;
    color: rgba(46, 46, 46, 0.5);
}

.footer-subscribe__input::placeholder {
	color: rgba(46, 46, 46, 0.5);
}

.footer-subscribe__block {
	position: relative;
}

.footer-subscribe__btn {
	margin: 0;
    position: absolute;
    right: 8px;
    top: 8px;
    height: 38px;
    padding: 8px 18px;
    border-radius: 12px;
    border: 1px solid #7fad3c;
    background: #fffbf4;
	font-size: 16px;
    color: #7fad3c;
    font-family: var(--second-family);
    font-weight: 500;
    cursor: pointer;
    transition: 0.3s;
}

.footer-subscribe__btn svg {
	display: none;
}

.footer-subscribe__btn:hover {
	filter: brightness(0.98);
}

.footer-subscribe__note {
	grid-column: 1 / -1;
    font-size: 14px;
    line-height: 140%;
    color: rgba(255, 251, 244, 0.5);
}

.footer-menu {
	margin-top: 60px;
    display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 100px;
}

.footer__links {
	display: flex;
	flex-direction: column;
	align-items: start;
}

.footer__links a:not(.footer__links-title) {
	font-family: var(--second-family);
	position: relative;
    margin-bottom: 12px;
    display: inline-block;
    transition: 0.3s;
}

.footer__links a:last-child {
	margin-bottom: 0;
}

.footer__links-title {
	font-family: var(--second-family);
	display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 20px;
    line-height: 140%;
    color: #263b25;
    transition: 0.3s;
}

.footer__links-title svg path {
	transition: 0.3s;
}

a.footer__links-title:hover {
	color: #7fad3c;
}

.footer__soc {
	display: flex;
	gap: 20px;
	align-items: center;
}

.footer__soc a svg path {
	transition: 0.3s;
}

.footer__soc a:hover svg path {
	stroke: #7fad3c;
}

.footer-menu__btn {
	display: none;
}

.footer-info-line {
    font-size: 14px;
    line-height: 143%;
    color: #a3a3a3;
}

.footer-info--wrap {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.footer-phone-wrap .footer__links a {
	display: flex;
	align-items: center;
	gap: 8px;
}

.footer__address {
	display: flex;
	align-items: start;
	gap: 8px;
	font-size: 16px;
	line-height: 150%;
	color: #fff;
}

.footer__address svg {
	flex-shrink: 0;
}

.footer-bottom {
	padding-top: 20px;
    display: flex;
	justify-content: space-between;
	align-items: center;
}

.footer-bottom__copy {
    font-family: var(--third-family);
}

.footer-bottom__link {
	line-height: 0;
}

.footer-bottom__menu {
	display: flex;
	gap: 20px;
	font-family: var(--third-family);
}

.footer-bottom__menu a {
	text-decoration: underline;
	text-decoration-skip-ink: none;
}

.footer-bottom__menu-divider {
	font-family: var(--third-family);
	text-decoration: none;
}

.footer__vetka {
	position: relative;
	height: 80px;
}

.footer__vetka img {
	position: absolute;
	right: 12%;
	width: 160px;
	z-index: 2;
}

.footer__vetka:before {
	content: '';
    position: absolute;
    right: 0;
    top: 68px;
    width: 100%;
    height: 1px;
    background-color: #6C6965;
    border-radius: 100%;
}

/*----------
Footer end
-----------*/

/*----------
Footer adaptation START
-----------*/
@media screen and (max-width: 1080px) {
	.footer-subscribe {
		grid-template-columns: 1fr;
	}

	.footer-menu {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 40px;
	}
}

@media screen and (max-width: 769px) {
	footer .section-wrap {
		width: 100%;
		padding: 0;
	}

	footer {
		padding: 0;
	}
}

@media screen and (max-width: 640px) {
	.footer--wrap {
		padding: 24px 20px;
	}

	.footer-subscribe {
		padding: 20px 16px;
	}

	.footer-subscribe__input {
		padding: 8px 20px;
        height: 38px;
        background: none;
        border: 1px solid #d9d9d9;
        color: rgba(255, 251, 244, 0.5);
        border-radius: 8px;
	}

	.footer-subscribe__form {
		grid-template-columns: 1fr;
		justify-content: stretch;
	}

	.footer-subscribe__btn {
		width: 100%;
	}

	.footer-menu {
		display: flex;
		flex-direction: column;
		gap: 20px;
	}

	.footer-menu__col {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}

	.footer-menu__btn {
		display: inline-flex;
		justify-content: center;
		align-items: center;
		padding: 8px 18px;
		border: 1.6px solid #7fad3c;
		border-radius: 8px;
		font-family: var(--second-family);
		font-size: 14px;
		line-height: 140%;
		color: #7fad3c;
		text-decoration: none;
		transition: 0.3s;
	}

	.footer-menu__btn:hover {
		color: #7fad3c;
		background: rgba(127, 173, 60, 0.08);
	}

	.footer-menu__col:nth-child(4) {
		order: 1;
	}

	.footer-menu__col:nth-child(5) {
		order: 2;
	}

	.footer-menu__col:nth-child(3) {
		order: 3;
	}

	.footer-menu__col:nth-child(1) {
		order: 4;
	}

	.footer-menu__col:nth-child(2) {
		order: 5;
	}
}

@media screen and (max-width: 480px) {
	.footer-menu__btn {
		width: 100%;
	}
}

/*----------
Footer adaptation END
-----------*/
