*,
*::before,
*::after {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Sans-Serif', system-ui, -apple-system, 'Segoe UI', sans-serif;
	font-size: 1.125rem;
	line-height: 1.3;
	color: #000;
	background-color: #fff;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
a {
	text-decoration: none;
	color: #000;
}

html {
	scroll-behavior: smooth;
	font-size: 100%;
}

img {
	max-width: 100%;
	display: block;
	height: auto;
}
ul,
ol {
	list-style: none;
}

.container {
	max-width: 1200px;
}

/*HEADER*/
.header {
	background-color: #fff;
	padding-top: 50px;
}

.header-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
	margin-bottom: 28px;
}

.header-logo {
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #fff;
}

.header-menu {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
}

.header-menu a {
	color: #000;
	text-decoration: none;
	font-weight: 400;
	transition: ease 0.2s;
}

.header-menu a:hover {
	color: #d74307;
}

.header-menu a.active{
	color: #d74307;
    text-decoration: underline;
}

.header-contacts {
	display: flex;
	align-items: center;
	gap: 15px;
	flex-wrap: wrap;
	font-weight: 600;
	font-size: 20px;
	color: #1f1f1f;
}

.header-phone {
	font-weight: bold;
	color: #000;
	text-decoration: none;
	white-space: nowrap;
	transition: ease 0.2s;
}

.header-phone:hover {
	color: #d74307;
}

.header-socials {
	display: flex;
	gap: 20px;
	align-items: center;
}

.header-socials a {
	transition: opacity 0.2s ease;
}

.header-socials a:hover {
	opacity: 0.5;
}

.header-btn {
	font-family: inherit;
	font-size: 16px;
	background: #d74307;
	width: 200px;
	height: 58px;
	font-weight: 600;
	text-align: center;
	color: #fbfbfb;
	border: none;
	transition: ease 0.2s;
}

.header-btn:hover {
	background: #fff;
	color: #d74307;
	border: 1px solid #d74307;
}

.header-bottom {
	background-color: #f2f2f2;
	padding: 20px 0;
}

.header-submenu {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

.header-submenu a {
	color: #1f1f1f;
	text-decoration: none;
	font-weight: 500;
	transition: ease 0.2s;
	border-bottom: 1px solid transparent;
}
.header-submenu a:hover {
	color: #d74307;
	border-bottom: 1px solid #d74307;
}

.burger svg {
	display: block;
	width: 42px;
	height: 52px;
}

.burger {
	display: none;
}

.burger {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 32px;
	height: 32px;
	background: transparent;
	border: none;
	cursor: pointer;
}
.burger span {
	width: 100%;
	height: 2px;
	background: #000;
}

.mobile-menu,
.burger {
	display: none;
}

@media (max-width: 1200px) {
	.header-btn {
		display: none;
	}
}

@media (max-width: 950px) {
	.header-top {
		gap: 10px;
	}
	.header-menu {
		font-size: 16px;
		gap: 10px;
	}

	.header-menu a {
		display: inline-flex;
		justify-content: center;
		align-items: center;
		white-space: normal;
		word-break: break-word;
		text-align: center;
		max-width: 100px;
		box-sizing: border-box;
	}
	.header-menu,
	.header-btn,
	.header-bottom {
		display: none;
	}
}

@media (max-width: 768px) {
	.burger {
		display: flex;
	}

	.header-socials {
		display: flex;
	}
	.mobile-menu {
		display: flex;
		flex-direction: column;
		position: fixed;
		top: 0;
		right: 0;
		width: 360px;
		height: 760px;
		padding: 69px 28px 143px 28px;
		background: #f0f0f0;
		transform: translateX(100%);
		transition: transform 0.3s ease;
		box-shadow: -4px 0 10px rgba(0, 0, 0, 0.1);
		z-index: 1000;
	}

	.mobile-nav li::after {
		content: '';
		position: absolute;
		left: 0;
		bottom: -8px;
		width: 100%;
		height: 1px;
		background: #d8a367;
	}

	.mobile-menu.open {
		transform: translateX(0);
	}

	.mobile-close {
		align-self: flex-end;
		background: transparent;
		border: none;
	}

	.mobile-phone {
		display: none;
	}

	.mobile-nav > ul {
		list-style: none;
		margin: 0;
		padding: 0;
		display: flex;
		flex-direction: column;
		gap: 22px;
	}

	.mobile-nav li {
		position: relative;
	}
	.mobile-nav a {
		display: inline-block;
		color: #1f1f1f;
		font-weight: 500;
		text-decoration: none !important;
		padding-bottom: 6px;
		transition: color 0.2s ease;
	}

	.submenu-link a {
		flex-grow: 0;
	}

	.submenu-arrow {
		margin-left: 10px;
		transition: transform 0.2s ease;
		flex-shrink: 0;
		pointer-events: none;
	}

	.submenu-link {
		display: flex;
		align-items: center;
		width: 100%;
		position: relative;
	}

	.submenu-link img {
		margin-left: 10px;
		margin-top: -5px;
	}

	.submenu {
		display: none;
		flex-direction: column;
		gap: 12px;
		margin-top: 10px;
		padding-left: 10px;
	}

	.has-submenu:hover .submenu {
		display: flex;
	}

	.mobile-btn {
		margin-top: 25px;
		border: none;
		font-family: inherit;
		padding: 19px;
		width: 200px;
		height: 58px;
		background: #d74307;
		font-weight: 600;
		text-align: center;
		color: #fbfbfb;
	}
}

@media (max-width: 480px) {
	.header-phone {
		display: none;
	}
}
/*FOOTER*/
.footer {
	margin-top: 160px;
	background: #2e2e2e;
	color: #fff;
	padding: 110px 0 110px;
}

.footer a {
	color: #fff;
	text-decoration: none;
	font-weight: 400;
}

.footer__top {
	display: flex;
	justify-content: space-between;
	gap: 40px;
	flex-wrap: wrap;
}

.footer__logo {
	background: #2e2e2e;
	width: 153px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 40px;
	font-size: 16px;
	color: #000;
}

.footer__menu {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 20px;
	color: #fbfbfb;
}

.footer__socials {
	display: flex;
	gap: 20px;
	margin-bottom: 40px;
}

.footer__socials a {
	transition: opacity 0.2s ease;
}

.footer__socials a:hover {
	opacity: 0.5;
}

.footer__socials img {
	filter: brightness(0) invert(1);
}

.footer__info p {
	margin-bottom: 20px;
	color: #fbfbfb;
	font-weight: 400;
}

.footer__btn {
	border: none;
	padding: 19px 62px;
	width: 320px;
	height: 63px;
	background: #fbfbfb;
	font-weight: 600;
	text-align: center;
	color: #1f1f1f;
	font-family: inherit;
	font-size: inherit;
	margin-top: 40px;
	margin-bottom: 32px;
}
.footer__btn:hover {
	background: #2e2e2e;
	color: #fff;
	font-weight: 700;
	border: 1px solid #fff;
}
.footer__bottom {
	margin-top: 24px;
	border-top: 1px solid #999999;
	padding-top: 30px;
}

.footer__bottom-menu {
	display: flex;
	gap: 48px;
	flex-wrap: wrap;
	list-style: none;
	padding: 0;
	margin: 0;
	font-weight: 700;
	color: #fbfbfb;
}

@media (max-width: 768px) {
	.footer {
		padding: 60px 0;
		margin-top: 100px;
	}

	.footer__top {
		flex-direction: column;
		gap: 40px;
	}

	.footer__btn {
		width: 100%;
		max-width: 320px;
		margin-left: auto;
		margin-right: auto;
	}

	.footer__bottom-menu {
		justify-content: center;
		text-align: center;
		gap: 24px;
	}
}

@media (max-width: 768px) {
	.footer {
		padding: 80px 32px;
	}

	.footer__top {
		flex-wrap: wrap;
		flex-direction: row;
		justify-content: space-between;
		align-items: flex-start;
		text-align: left;
		gap: 40px;
	}

	.footer__logo {
		flex: 0 0 120px;
		margin: 0 0 24px 0;
	}

	.footer__menu {
		flex: 1 1 180px;
		align-items: flex-start;
		text-align: left;
		gap: 12px;
	}

	.footer__socials {
		flex: 0 0 100%;
		justify-content: flex-start;
		margin: 16px 0;
	}

	.footer__info {
		flex: 1 1 220px;
		max-width: 260px;
		text-align: left;
	}

	.footer__bottom-menu {
		justify-content: flex-start;
		gap: 24px;
		text-align: left;
	}
}
@media (max-width: 400px) {
	.footer {
		padding: 40px 0;
		margin-top: 80px;
	}

	.footer__top {
		display: flex;
		flex-direction: column;
		gap: 32px;
		position: relative;
	}

	.footer__logo {
		margin-bottom: 20px;
	}

	.footer__socials {
		position: absolute;
		top: 0;
		right: 0;
		display: flex;
		gap: 16px;
	}

	.footer__menu {
		display: flex;
		flex-direction: column;
		gap: 12px;
		margin-bottom: 24px;
	}

	.footer__btn {
		order: 2;
		width: 100%;
		margin: 24px 0;
		padding: 16px;
		font-size: 14px;
		text-align: center;
	}

	.footer__info p {
		font-size: 14px;
		line-height: 1.4;
		margin-bottom: 16px;
	}

	.footer__bottom {
		border-top: 1px solid #555;
		padding-top: 24px;
		margin-top: 24px;
	}

	.footer__bottom-menu {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
		font-size: 14px;
		font-weight: 600;
	}
}
