/* #region HEADER */
.header {
	background: #322318;
	transition: transform 0.3s ease, opacity 0.3s ease;
}

.header-fixed {
	position: fixed;
	top: -1px;
	left: 0;
	width: 100%;
	z-index: 1000;
	background: #322318;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	transform: translateY(0);
	opacity: 1;
	animation: slideDown 0.3s ease forwards;
}

@keyframes slideDown {
	from {
		transform: translateY(-100%);
		opacity: 0;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
}

.header__link {
	position: relative;
	padding-left: 19px;
}

.header__phone {
	color: #fff;
	font-family: "DM Sans";
	font-size: 12px;
	font-style: normal;
	font-weight: 400;
	line-height: 12px;
}
.main__bg {
	background-image: url("/img/header-mob.jpg");
	background-size: cover;
	background-repeat: no-repeat;
}

.header__logo {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding-top: 15px;
	padding-bottom: 15px;
}
.header__nav {
	transition: transform 0.3s ease;
}
.header__nav-list {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	color: #fff;
	font-size: 18px;
	font-weight: 700;
	line-height: 24px;

	.header__nav-link {
		padding: 8px;
		transition: color 0.3s ease-in-out;
		cursor: pointer;

		&:hover {
			color: #f1c069;
		}

		&.active {
			color: #f1c069;
		}
	}

	li {
		position: relative;
	}
}

.has-dropdown {
	> a::after {
		content: "";
		position: relative;
		bottom: -3px;
		border: 5px solid transparent;
		border-top-color: currentColor;
		display: inline-block;
		margin-left: 6px;
		vertical-align: middle;
		transition: rotate 0.2s, bottom 0.2s;
	}

	&:hover {
		> a::after {
			rotate: 180deg;
			bottom: 3px;
		}

		.dropdown {
			display: flex;
		}
	}
}

.dropdown {
	position: absolute;
	z-index: 1;
	top: 100%;
	left: 0;
	min-width: 100px;
	border-radius: 5px;
	background-color: #765b36;
	box-shadow: 0 0 0 1px rgba(68, 68, 68, 0.11);
	display: none;
	flex-direction: column;
	text-align: center;

	li {
		width: 100%;

		&:first-child {
			border-bottom: 1px solid rgba(255, 255, 255, 0.1);

			a {
				border-top-left-radius: 8px;
				border-top-right-radius: 8px;
			}
		}

		&:last-child a {
			border-bottom-left-radius: 8px;
			border-bottom-right-radius: 8px;
		}
	}

	a {
		display: block;
		padding: 8px 16px;
		white-space: nowrap;
		color: #fff;
		transition: background-color 0.3s, color 0.3s ease-in-out;

		&:hover,
		&.link-active {
			color: #09040c;
			background-color: #f1c069;
		}
	}
}

.header__wrapper {
	display: flex;
	gap: 12px;
}

.header__logo-lang {
	display: flex;
	align-items: center;
	position: relative;
	cursor: pointer;
	z-index: 1;

	&:hover {
		.header__logo-lang-list {
			display: block;
		}

		.chevron {
			transform: rotate(-135deg);
		}
	}
}

.header__logo-lang-icon {
	display: flex;
	align-items: center;
	gap: 6px;
}

.chevron {
	display: inline-block;
	width: 10px;
	height: 10px;
	border-right: 2px solid #fff;
	border-bottom: 2px solid #fff;
	transform: rotate(45deg);
	transition: transform 0.3s;
}

.header__logo-lang-icon-text {
	color: #fff;
	font-family: "DM Sans";
	font-size: 14px;
	font-weight: 700;
	line-height: 20px;
}

.header__logo-lang-list {
	display: none;
	position: absolute;
	top: 100%;
	left: -10px;
	background-color: #765b36;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	border-radius: 5px;
	box-shadow: 0 0 0 1px rgba(68, 68, 68, 0.11);
	min-width: 61px;

	li {
		display: flex;
		flex-direction: column;
		align-items: center;
		transition: background-color 0.3s, color 0.3s;
		cursor: pointer;

		a {
			width: 100%;
			text-align: center;
			padding-block: 6px;
		}

		&:hover {
			background-color: #f1c069;
			color: #09040c;
		}

		&.active {
			background-color: #f1c069;
			color: #09040c;
		}

		+ li {
			border-top: 1px solid rgba(255, 255, 255, 0.4);
		}

		&:first-child {
			border-radius: 5px 5px 0 0;
		}

		&:last-child {
			border-radius: 0 0 5px 5px;
		}
	}
}

@media (max-width: 1200px) {
	.header {
		.container {
			position: relative;
		}
	}

	.header__nav {
		position: absolute;
		top: 100%;
		left: 0;
		width: 100%;
		max-height: 80vh;
		overflow-y: auto;
		transform: translateY(-100%);
		opacity: 0;
		pointer-events: none;
		transition: transform 0.3s ease, opacity 0.3s ease;

		&.active {
			transform: translateY(0);
			opacity: 1;
			pointer-events: auto;
			background-color: #332418;
			z-index: 1;
		}
	}

	.header__nav-list {
		display: flex;
		flex-direction: column;
		padding: 20px;
		gap: 3px;

		li {
			width: 100%;
		}

		.header__nav-link {
			display: flex;
			align-items: center;

			padding: 12px 16px;
			background: #765b36;
		}
	}

	.burger {
		position: relative;
		width: 30px;
		height: 20px;
		border: none;
		background: none;
		cursor: pointer;
		display: flex;
		align-items: center;
		justify-content: center;
		z-index: 1100;
	}

	.burger__line,
	.burger__line::before,
	.burger__line::after {
		content: "";
		display: block;
		height: 2px;
		width: 100%;
		background-color: #fff;
		border-radius: 2px;
		transition: transform 0.3s ease, opacity 0.3s ease,
			background-color 0.3s ease;
	}

	.burger__line::before {
		position: absolute;
		top: 0;
	}

	.burger__line::after {
		position: absolute;
		bottom: 0;
	}

	.burger:hover .burger__line,
	.burger:hover .burger__line::before,
	.burger:hover .burger__line::after {
		background-color: #f2c16b;
	}

	.burger.active .burger__line {
		background-color: transparent;
	}

	.burger.active .burger__line::before {
		transform: translateY(9px) rotate(45deg);
		background-color: #f2c16b;
	}

	.burger.active .burger__line::after {
		transform: translateY(-9px) rotate(-45deg);
		background-color: #f2c16b;
	}
}

/* #endregion HEADER */

/* #region FOOTER */
.footer {
	background-color: #322318;
	background-image: url(/img/footer-bg.png);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center bottom;
	border-top: 1px solid #f1a873;
}

.footer__list-contact {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 8px;
	padding-bottom: 8px;
	gap: 26px;
}

.footer__link-mail {
	position: relative;
	padding-left: 19px;

	&::before {
		position: absolute;
		content: "";
		width: 14px;
		height: 14px;
		display: block;
		background-image: url("/img/mail.svg");
		background-repeat: no-repeat;
		left: 0;
		top: 60%;
		transform: translateY(-50%);
	}

	&:hover {
		.footer__mail-text {
			color: #f1c069;
		}
	}
}

.footer__link-phone {
	position: relative;
	padding-left: 19px;

	&::before {
		position: absolute;
		content: "";
		width: 14px;
		height: 14px;
		display: block;
		background-image: url("/img/phone.svg");
		background-repeat: no-repeat;
		left: 0;
		top: 60%;
		transform: translateY(-50%);
	}

	&:hover {
		.footer__mail-text {
			color: #f1c069;
		}
	}
}

.footer__mail-text {
	color: #fff;
	font-size: 12px;
	line-height: 1;
	position: relative;
	transition: color 0.3s;
}

.footer__list {
	display: flex;
	align-items: center;
	gap: 14px;
	padding-top: 10px;
	padding-bottom: 16px;
	width: 100%;
	justify-content: center;
}

/* #endregion FOOTER */

@media screen and (min-width: 744px) {
	.footer__list-contact {
		padding-top: 13px;
		padding-bottom: 16px;
	}
	.footer__mail-text {
		font-size: 14px;
	}
	.footer__list {
		padding-bottom: 21px;
	}
}

@media screen and (min-width: 1440px) {
	.footer__mail-text {
		font-size: 16px;
	}
	.footer__list-item {
		img {
			width: 30px;
		}
	}
}
