.project-page {
	--project-accent: #ffb800;
	--project-graphite: #1f2326;
	--project-muted: #6e7479;
	--project-line: rgba(31, 35, 38, 0.1);
	--project-soft: #f5f4f1;
	--project-card: #ffffff;
	--project-radius: 8px;
	--project-shadow: 0 18px 46px rgba(23, 27, 31, 0.1);
	background:
		linear-gradient(180deg, #fbfbfa 0, #ffffff 420px),
		#ffffff;
	color: var(--project-graphite);
	overflow-x: clip;
	overflow-y: visible;
	padding: 120px max(20px, calc((100vw - 1180px) / 2)) 52px;
}

.project-page *,
.project-page *::before,
.project-page *::after {
	box-sizing: border-box;
}
@media (min-width: 992px) {
	nav.navbar-fixed {
		z-index: 100000;
	}

	nav .navigation-main,
	nav .navigation-main .floating-menu,
	nav .navigation-main .floating-menu > ul,
	nav .navigation-main .floating-menu > ul > li {
		overflow: visible;
	}

	nav .navigation-main .floating-menu .sub-menu {
		top: 100%;
		z-index: 100001;
		padding-top: 22px;
	}

	nav .navigation-main .floating-menu .sub-menu::before {
		top: 0;
		height: 22px;
	}
}
.project-page__breadcrumbs {
	align-items: center;
	color: #8a9095;
	display: flex;
	flex-wrap: wrap;
	font-size: 13px;
	gap: 8px;
	line-height: 1.5;
	margin: 0 0 16px;
}

.project-page__breadcrumbs a {
	color: #60666b;
	text-decoration: none;
	transition: color 0.2s ease;
}

.project-page__breadcrumbs a:hover {
	color: var(--project-graphite);
}

.project-page__eyebrow {
	align-items: center;
	color: var(--project-graphite);
	display: inline-flex;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	line-height: 1.4;
	margin-bottom: 12px;
	text-transform: uppercase;
}

.project-page__eyebrow::before {
	background: var(--project-accent);
	content: "";
	display: inline-block;
	height: 2px;
	margin-right: 10px;
	width: 34px;
}

.project-page__button {
	align-items: center;
	border-radius: 4px;
	display: inline-flex;
	font-size: 13px;
	font-weight: 600;
	justify-content: center;
	line-height: 1.35;
	min-height: 48px;
	padding: 14px 22px;
	text-align: center;
	text-decoration: none;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.project-page__button:hover {
	text-decoration: none;
	transform: translateY(-1px);
}

.project-page__button--primary {
	background: var(--project-accent);
	border: 1px solid var(--project-accent);
	color: #171717;
}

.project-page__button--primary:hover,
.project-page__button--primary:focus {
	background: #f0aa00;
	border-color: #f0aa00;
	color: #171717;
}

.project-page__button--ghost {
	background: transparent;
	border: 1px solid rgba(31, 35, 38, 0.18);
	color: var(--project-graphite);
}

.project-page__button--ghost:hover,
.project-page__button--ghost:focus {
	border-color: var(--project-graphite);
	color: var(--project-graphite);
}

.project-hero {
	align-items: center;
	display: grid;
	gap: clamp(28px, 4vw, 56px);
	grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
	margin-bottom: clamp(24px, 3.4vw, 38px);
	min-height: 0;
}

.project-hero__content {
	max-width: 540px;
}

.project-hero__title {
	color: var(--project-graphite);
	font-size: clamp(36px, 4vw, 56px);
	font-weight: 600;
	letter-spacing: 0;
	line-height: 1.04;
	margin: 0 0 18px;
}

.project-hero__lead {
	color: #53595e;
	font-size: clamp(17px, 1.45vw, 20px);
	line-height: 1.75;
	margin: 0 0 22px;
	max-width: 620px;
}

.project-hero__facts {
	border-bottom: 1px solid var(--project-line);
	border-top: 1px solid var(--project-line);
	display: grid;
	gap: 0;
	margin: 0 0 24px;
}

.project-hero__fact {
	display: grid;
	gap: 8px;
	grid-template-columns: minmax(110px, 0.42fr) minmax(0, 1fr);
	padding: 13px 0;
}

.project-hero__fact + .project-hero__fact {
	border-top: 1px solid var(--project-line);
}

.project-hero__fact span {
	color: #8a9095;
	font-size: 13px;
	line-height: 1.5;
}

.project-hero__fact strong {
	color: var(--project-graphite);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.5;
}

.project-hero__fact--price strong {
	font-size: 18px;
}

.project-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.project-hero__media {
	min-width: 0;
	position: relative;
}

.project-hero__image-link {
	background: var(--project-soft);
	border-radius: var(--project-radius);
	box-shadow: var(--project-shadow);
	display: block;
	min-height: 390px;
	overflow: hidden;
	position: relative;
	text-decoration: none;
}

.project-hero__image-link img {
	display: block;
	height: 100%;
	inset: 0;
	object-fit: cover;
	position: absolute;
	width: 100%;
}

.project-hero__photo-badge {
	backdrop-filter: blur(14px);
	background: rgba(255, 255, 255, 0.86);
	border-radius: 999px;
	bottom: 22px;
	box-shadow: 0 10px 26px rgba(17, 20, 22, 0.1);
	color: var(--project-graphite);
	font-size: 13px;
	font-weight: 600;
	left: 22px;
	padding: 11px 16px;
	position: absolute;
}

.project-section {
	margin-bottom: clamp(28px, 3.5vw, 42px);
}

.project-section__header {
	margin-bottom: 18px;
	max-width: 720px;
}

.project-section__header h2,
.project-details__content h2,
.project-info-tabs h2,
.project-cta h2 {
	color: var(--project-graphite);
	font-size: clamp(26px, 2.6vw, 36px);
	font-weight: 600;
	letter-spacing: 0;
	line-height: 1.16;
	margin: 0;
}

.project-hero__thumbs {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	margin-top: 12px;
}

.project-hero__thumb {
	aspect-ratio: 1 / 0.68;
	background: var(--project-soft);
	border-radius: var(--project-radius);
	border: 2px solid transparent;
	display: block;
	overflow: hidden;
	position: relative;
	transition: border-color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.project-hero__thumb--active {
	border-color: var(--project-accent);
}

.project-hero__thumb:hover {
	opacity: 0.9;
	transform: translateY(-1px);
}

.project-hero__thumb img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.project-details {
	align-items: start;
	display: grid;
	gap: clamp(22px, 3.4vw, 38px);
	grid-template-columns: minmax(0, 1fr) minmax(300px, 630px);
}

.project-details__content {
	max-width: 780px;
}

.project-details__text {
	color: #3f4549;
	font-size: 17px;
	line-height: 1.72;
	margin-top: 14px;
}

.project-details__text > *:first-child {
	margin-top: 0;
}

.project-details__text > *:last-child {
	margin-bottom: 0;
}

.project-details__text p,
.project-details__text ul,
.project-details__text ol {
	margin: 0 0 20px;
}

.project-details__text img {
	border-radius: var(--project-radius);
	height: auto;
	max-width: 100%;
}

.project-info-tabs {
	background: #f4f2ec;
	border: 1px solid rgba(31, 35, 38, 0.08);
	border-radius: var(--project-radius);
	box-shadow: 0 14px 36px rgba(20, 24, 28, 0.05);
	padding: 22px;
	position: sticky;
	top: 110px;
}

.project-info-tabs h2 {
	color: #252a28;
	font-size: 22px;
	margin: 0 0 16px;
}

.project-info-tabs__control {
	display: none;
}

.project-info-tabs__nav {
	background: rgba(255, 255, 255, 0.64);
	border: 1px solid rgba(31, 35, 38, 0.08);
	border-radius: 6px;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-bottom: 16px;
	padding: 4px;
}

.project-info-tabs__tab {
	border-radius: 4px;
	color: #716b5c;
	cursor: pointer;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.35;
	padding: 10px 12px;
	text-align: center;
	transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.project-info-tabs__tab:hover {
	color: #252a28;
}

#project-info-specs:checked ~ .project-info-tabs__nav .project-info-tabs__tab--specs,
#project-info-materials:checked ~ .project-info-tabs__nav .project-info-tabs__tab--materials {
	background: #ffffff;
	box-shadow: 0 8px 20px rgba(20, 24, 28, 0.07);
	color: #252a28;
}

.project-info-tabs__panel {
	display: none;
}

#project-info-specs:checked ~ .project-info-tabs__panel--specs,
#project-info-materials:checked ~ .project-info-tabs__panel--materials {
	display: block;
}

.project-info-table {
	background: #ffffff;
	border: 1px solid rgba(31, 35, 38, 0.08);
	border-collapse: separate;
	border-radius: 6px;
	border-spacing: 0;
	margin: 0;
	overflow: hidden;
	table-layout: fixed;
	width: 100%;
}

.project-info-table th,
.project-info-table td {
	border-bottom: 1px solid rgba(31, 35, 38, 0.08);
	font-size: 14px;
	line-height: 1.45;
	padding: 14px 16px;
	text-align: left;
	vertical-align: top;
}

.project-info-table tr:last-child th,
.project-info-table tr:last-child td {
	border-bottom: 0;
}

.project-info-table th {
	color: #77705f;
	font-weight: 500;
	width: 42%;
}

.project-info-table td {
	color: #252a28;
	font-weight: 600;
	overflow-wrap: anywhere;
}

.project-info-tabs__empty {
	background: #ffffff;
	border: 1px solid rgba(31, 35, 38, 0.08);
	border-radius: 6px;
	color: #77705f;
	line-height: 1.65;
	margin: 0;
	padding: 16px;
}

.project-cta {
	align-items: center;
	background: #202427;
	border-radius: var(--project-radius);
	color: #ffffff;
	display: grid;
	gap: 28px;
	grid-template-columns: minmax(0, 1fr) auto;
	margin: clamp(4px, 1.4vw, 14px) 0 0;
	padding: clamp(24px, 3.2vw, 36px);
}

.project-cta .project-page__eyebrow,
.project-cta h2 {
	color: #ffffff;
}

.project-cta p {
	color: rgba(255, 255, 255, 0.72);
	font-size: 16px;
	line-height: 1.65;
	margin: 14px 0 0;
	max-width: 680px;
}

.project-cta__contacts {
	align-items: flex-start;
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-width: 240px;
}

.project-cta__contacts a:not(.project-page__button) {
	color: rgba(255, 255, 255, 0.82);
	font-size: 15px;
	text-decoration: none;
}

.project-cta__contacts a:not(.project-page__button):hover {
	color: #ffffff;
}

@media (max-width: 1200px) {
	.project-page {
		padding-left: 28px;
		padding-right: 28px;
	}

	.project-hero {
		grid-template-columns: minmax(0, 0.95fr) minmax(390px, 1.05fr);
	}

	.project-hero__image-link {
		min-height: 370px;
	}

}

@media (max-width: 992px) {
	.project-hero,
	.project-details,
	.project-cta {
		grid-template-columns: 1fr;
	}

	.project-hero {
		min-height: 0;
	}

	.project-hero__content {
		max-width: 760px;
	}

	.project-hero__image-link {
		min-height: 380px;
	}

	.project-hero__thumbs {
		grid-template-columns: repeat(5, minmax(54px, 1fr));
	}

	.project-info-tabs {
		position: static;
	}

	.project-cta__contacts {
		min-width: 0;
	}

}

@media (max-width: 767px) {
	.project-page {
		padding: 28px 20px 48px;
	}

	.project-page__breadcrumbs {
		margin-bottom: 24px;
	}

	.project-hero {
		gap: 22px;
		margin-bottom: 30px;
	}

	.project-hero__lead,
	.project-details__text {
		font-size: 16px;
		line-height: 1.72;
	}

	.project-hero__fact {
		grid-template-columns: 1fr;
	}

	.project-hero__actions,
	.project-page__button {
		width: 100%;
	}

	.project-hero__image-link {
		min-height: 320px;
	}

	.project-section {
		margin-bottom: 32px;
	}

	.project-info-tabs {
		padding: 22px;
	}

	.project-cta {
		padding: 28px 22px;
	}
}

@media (max-width: 480px) {
	.project-page {
		padding-left: 16px;
		padding-right: 16px;
	}

	.project-page__button {
		min-height: 46px;
		padding-left: 16px;
		padding-right: 16px;
	}

	.project-hero__image-link {
		min-height: 270px;
	}

	.project-hero__thumbs {
		gap: 8px;
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.project-hero__photo-badge {
		bottom: 14px;
		left: 14px;
	}

	.project-info-table th,
	.project-info-table td {
		display: block;
		width: 100%;
	}

	.project-info-table th {
		border-bottom: 0;
		padding-bottom: 4px;
	}

	.project-info-table td {
		padding-top: 0;
	}
}

@media (max-width: 375px) {
	.project-page {
		padding-left: 14px;
		padding-right: 14px;
	}

	.project-hero__image-link {
		min-height: 240px;
	}

	.project-info-tabs__nav {
		grid-template-columns: 1fr;
	}
}
