.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 248, 243, 0.94);
	backdrop-filter: blur(18px);
	border-bottom: 1px solid var(--color-line);
}

.site-header__top {
	border-bottom: 1px solid var(--color-line);
}

.site-header__inner {
	width: min(100% - 40px, var(--container));
	margin: 0 auto;
}

.site-header__inner--top,
.site-header__inner--main {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.site-header__inner--top {
	min-height: 38px;
}

.site-header__inner--main {
	min-height: 82px;
}

.site-header__tagline,
.site-header__phone {
	color: var(--color-muted);
	font-size: var(--fz-sm);
}

.site-header__phone {
	font-weight: 700;
}

.site-header__logo {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	flex: 0 0 auto;
}

.site-header__logo-image {
	width: 58px;
	height: 58px;
	object-fit: contain;
}

.site-header__logo-text {
	font-size: var(--fz-sm);
	font-weight: 800;
	line-height: 1.15;
	text-transform: uppercase;
}

.site-header__nav {
	flex: 1 1 auto;
}

.site-header__menu {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
}

.site-header__menu-link {
	color: var(--color-muted);
	font-size: var(--fz-sm);
	font-weight: 700;
	white-space: nowrap;
}

.site-header__menu-link:hover {
	color: var(--color-accent-dark);
}

.site-header__menu-item--catalog {
	position: relative;
}

.site-header__menu-button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
}

.site-header__menu-button::after {
	content: "";
	width: 8px;
	height: 8px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
}

.site-header__catalog {
	position: absolute;
	top: calc(100% + 14px);
	left: 50%;
	z-index: 70;
	display: grid;
	grid-template-columns: repeat(2, minmax(180px, 1fr));
	gap: 6px;
	width: 420px;
	border: 1px solid var(--color-line);
	border-radius: var(--radius-md);
	background: var(--color-surface);
	padding: 14px;
	box-shadow: var(--shadow-soft);
	opacity: 0;
	pointer-events: none;
	transform: translate(-50%, 8px);
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.site-header__menu-item--catalog:hover .site-header__catalog,
.site-header__menu-item--catalog.is-open .site-header__catalog {
	opacity: 1;
	pointer-events: auto;
	transform: translate(-50%, 0);
}

.site-header__catalog-link {
	display: flex;
	align-items: center;
	min-height: 42px;
	border-radius: var(--radius-sm);
	color: var(--color-muted);
	font-size: var(--fz-sm);
	font-weight: 700;
	padding: 0 12px;
}

.site-header__catalog-link:hover {
	background: var(--color-surface-soft);
	color: var(--color-accent-dark);
}

.site-header__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	border-radius: 999px;
	background: var(--color-text);
	color: #ffffff;
	font-size: var(--fz-sm);
	font-weight: 800;
	padding: 0 20px;
	white-space: nowrap;
}

.site-header__burger {
	display: none;
	width: 44px;
	height: 44px;
	border-radius: var(--radius-sm);
	background: var(--color-surface);
	box-shadow: var(--shadow-soft);
}

.site-header__burger-line {
	display: block;
	width: 20px;
	height: 2px;
	margin: 4px auto;
	background: var(--color-text);
}

.mobile-menu {
	position: fixed;
	inset: 0;
	z-index: 80;
	display: none;
}

.mobile-menu.is-open {
	display: block;
}

.mobile-menu__overlay {
	position: absolute;
	inset: 0;
	background: rgba(44, 33, 29, 0.38);
}

.mobile-menu__panel {
	position: absolute;
	top: 0;
	right: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background: var(--color-bg);
	padding: 24px;
	box-shadow: -18px 0 60px rgba(44, 33, 29, 0.18);
}

.mobile-menu__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.mobile-menu__title {
	font-weight: 800;
	text-transform: uppercase;
}

.mobile-menu__close {
	width: 44px;
	height: 44px;
	border-radius: var(--radius-sm);
	background: var(--color-surface);
	font-size: 1.8rem;
	line-height: 1;
}

.mobile-menu__nav,
.mobile-menu__contacts {
	display: grid;
	gap: 8px;
	margin-top: 24px;
}

.mobile-menu__link,
.mobile-menu__contact {
	display: flex;
	align-items: center;
	min-height: 46px;
	border-bottom: 1px solid var(--color-line);
	color: var(--color-text);
	font: inherit;
	font-weight: 700;
	text-align: left;
}

.mobile-menu__catalog-toggle {
	justify-content: space-between;
	width: 100%;
}

.mobile-menu__catalog-toggle::after {
	content: "";
	width: 9px;
	height: 9px;
	margin-right: 4px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
	transition: transform 0.2s ease;
}

.mobile-menu__catalog-toggle[aria-expanded="true"]::after {
	transform: rotate(225deg) translate(-2px, -2px);
}

.mobile-menu__catalog-list {
	display: grid;
	padding: 4px 0 10px 18px;
	background: var(--color-surface-soft);
}

.mobile-menu__catalog-list[hidden] {
	display: none;
}

.mobile-menu__catalog-link {
	display: flex;
	align-items: center;
	min-height: 42px;
	border-bottom: 1px solid var(--color-line);
	color: var(--color-muted);
	font-size: var(--fz-sm);
	font-weight: 700;
}

.site-footer {
	background: var(--color-text);
	color: #ffffff;
}

.site-footer__inner {
	width: min(100% - 40px, var(--container));
	margin: 0 auto;
	padding: 56px 0 26px;
}

.site-footer__grid {
	display: grid;
	grid-template-columns: 1.2fr repeat(3, 1fr);
	gap: 34px;
}

.site-footer__logo-image {
	width: 58px;
	height: 58px;
	object-fit: contain;
}

.site-footer__text,
.site-footer__item,
.site-footer__copy,
.site-footer__policy {
	color: rgba(255, 255, 255, 0.72);
}

.site-footer__text {
	max-width: 280px;
	margin-top: 18px;
}

.site-footer__title {
	display: block;
	font-weight: 800;
	margin-bottom: 16px;
}

.site-footer__list {
	display: grid;
	gap: 10px;
}

.site-footer__link:hover,
.site-footer__policy:hover {
	color: #ffffff;
}

.site-footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	margin-top: 46px;
	padding-top: 24px;
}

.lead-form {
	display: grid;
	gap: 16px;
	border: 1px solid var(--color-line);
	border-radius: var(--radius-lg);
	background: var(--color-surface);
	padding: 28px;
	box-shadow: var(--shadow-soft);
}

.lead-form__trap {
	position: absolute;
	left: -10000px;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

.lead-form__head {
	display: grid;
	gap: 8px;
	margin-bottom: 6px;
}

.lead-form__title {
	font-size: var(--fz-lg);
	font-weight: 800;
	line-height: 1.2;
}

.lead-form__text,
.lead-form__label,
.lead-form__consent-text,
.lead-form__status {
	color: var(--color-muted);
	font-size: var(--fz-sm);
}

.lead-form__field {
	display: grid;
	gap: 8px;
}

.lead-form__input,
.lead-form__textarea {
	width: 100%;
	border: 1px solid var(--color-line);
	border-radius: var(--radius-sm);
	background: var(--color-bg);
	color: var(--color-text);
	padding: 14px 16px;
}

.lead-form__textarea {
	min-height: 120px;
}

.lead-form__consent {
	display: grid;
	grid-template-columns: 20px 1fr;
	gap: 10px;
	align-items: start;
}

.lead-form__checkbox {
	width: 18px;
	height: 18px;
	margin-top: 3px;
	accent-color: var(--color-accent);
}

.lead-form__consent-text a {
	color: var(--color-accent-dark);
	text-decoration: underline;
}

.lead-form__button {
	width: 100%;
}

.lead-form__status {
	color: var(--color-success);
}

.lead-modal {
	position: fixed;
	inset: 0;
	z-index: 120;
	display: grid;
	place-items: center;
	padding: 20px;
}

.lead-modal[hidden] {
	display: none;
}

.lead-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(44, 33, 29, 0.58);
}

.lead-modal__dialog {
	position: relative;
	width: min(100%, 520px);
	max-height: calc(100vh - 40px);
	overflow: auto;
}

.lead-modal__close {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 2;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--color-surface-soft);
}

.lead-modal__close::before,
.lead-modal__close::after {
	position: absolute;
	top: 17px;
	left: 10px;
	width: 16px;
	height: 2px;
	border-radius: 2px;
	background: var(--color-text);
	content: "";
}

.lead-modal__close::before {
	transform: rotate(45deg);
}

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

.lead-modal .lead-form {
	padding-top: 54px;
}

.cookie-note {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 90;
	width: min(420px, calc(100% - 48px));
}

.cookie-note__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	border: 1px solid var(--color-line);
	border-radius: var(--radius-md);
	background: var(--color-surface);
	padding: 16px;
	box-shadow: var(--shadow-soft);
}

.cookie-note__text {
	color: var(--color-muted);
	font-size: var(--fz-sm);
}

.cookie-note__link {
	color: var(--color-accent-dark);
	font-weight: 800;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.cookie-note__button {
	min-height: 42px;
	border-radius: 999px;
	background: var(--color-text);
	color: #ffffff;
	font-weight: 800;
	padding: 0 18px;
}
