.works-projects {
	--works-projects-space: clamp(5rem, 5.83vw, 7rem);
	--works-projects-container: min(100% - clamp(2rem, 3vw, 2.5rem), 1280px);
	--works-projects-list: min(100%, 1272px);
	--works-projects-green: #1c2b1a;
	--works-projects-accent: #c8851a;
	--works-projects-accent-dark: #a96d14;
	--works-projects-muted: #6a7282;
	--works-projects-muted-light: #99a1af;
	--works-projects-tag-bg: #f0fdf4;
	--works-projects-tag-text: #008236;
	--works-projects-card-radius: 16px;
	padding: var(--works-projects-space) 0;
	color: var(--works-projects-green);
	background: #ffffff;
}

.works-projects__container {
	width: var(--works-projects-container);
}

.works-projects__header {
	max-width: 672px;
	margin: 0 auto 64px;
	text-align: center;
}

.works-projects__eyebrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	margin: 0 0 19px;
	padding: 9px 17px;
	border: 1px solid rgba(200, 133, 26, 0.2);
	border-radius: 999px;
	color: var(--works-projects-accent-dark);
	background: rgba(200, 133, 26, 0.1);
	font-size: var(--site-font-size-14);
	font-weight: 500;
	line-height: 1.43;
}

.works-projects__title {
	max-width: 560px;
	margin: 0 auto 14px;
	font-family: var(--site-font-heading);
	font-size: clamp(2rem, 2vw, 2.4rem);
	font-weight: 800;
	line-height: 1.198;
	letter-spacing: 0;
	color: var(--works-projects-green);
}

.works-projects__subtitle {
	margin: 0;
	color: var(--works-projects-muted);
	font-size: var(--site-font-size-18);
	line-height: 1.56;
}

.works-projects__list {
	display: grid;
	width: var(--works-projects-list);
	gap: 24px;
	margin: 0 auto;
}

.project-card {
	width: 100%;
	padding: 24px;
	border-radius: var(--works-projects-card-radius);
	background: #ffffff;
	box-shadow: 0 0 3px rgba(0, 0, 0, 0.1), 0 0 2px rgba(0, 0, 0, 0.1);
}

.project-card__row {
	display: flex;
	gap: 30px;
	align-items: stretch;
	margin: 0;
}

.project-card__media-col,
.project-card__content-col {
	flex: 1 1 0;
	min-width: 0;
	padding: 0;
}

.project-card__media {
	width: 100%;
	overflow: hidden;
	border-radius: var(--works-projects-card-radius);
	background: rgba(255, 255, 255, 0);
}

.project-card__image {
	width: 100%;
	aspect-ratio: 612 / 460;
	height: auto;
	max-width: none;
	object-fit: cover;
}

.project-card__content {
	display: flex;
	height: 100%;
	min-height: 100%;
	flex-direction: column;
	justify-content: space-between;
	gap: 32px;
}

.project-card__body {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.project-card__head {
	display: grid;
	gap: 4px;
}

.project-card__title {
	margin: 0;
	font-family: var(--site-font-heading);
	font-size: clamp(1.25rem, 1.25vw, 1.5rem);
	font-weight: 800;
	line-height: 1.5;
	letter-spacing: 0;
	color: var(--works-projects-green);
}

.project-card__address {
	margin: 0;
	color: var(--works-projects-muted-light);
	font-family: "Liberation Sans", Arial, sans-serif;
	font-size: var(--site-font-size-14);
	line-height: 1.43;
}

.project-card__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.project-card__tag {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 24px;
	padding: 4px 8px;
	border-radius: 4px;
	color: var(--works-projects-tag-text);
	background: var(--works-projects-tag-bg);
	font-size: 12px;
	font-weight: 400;
	line-height: 1.33;
	white-space: nowrap;
}

.project-card__done {
	display: grid;
	gap: 8px;
}

.project-card__done-title {
	color: var(--works-projects-green);
	font-size: var(--site-font-size-14);
	line-height: 1.625;
}

.project-card__done-list {
	display: grid;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
	color: var(--works-projects-muted);
	font-size: var(--site-font-size-14);
	line-height: 1.625;
}

.project-card__done-item {
	position: relative;
	padding-left: 18px;
}

.project-card__done-item::before {
	content: "—";
	position: absolute;
	left: 0;
	top: 0;
}

.project-card__done-item::after {
	content: ";";
}

.project-card__price {
	min-width: 100%;
	color: var(--works-projects-green);
	font-family: var(--site-font-heading);
	font-size: var(--site-font-size-18);
	font-weight: 700;
	line-height: 1.56;
}

.project-card__actions {
	display: flex;
	align-items: center;
	gap: 16px;
}

.project-card__button,
.works-projects__load-more {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 58px;
	border: 0;
	border-radius: 14px;
	color: #ffffff;
	background: var(--works-projects-accent);
	font-family: var(--site-font-base);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.48;
	letter-spacing: 0.04em;
	box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.1);
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.project-card__button {
	padding: 16px 32px;
}

.project-card__button:hover,
.works-projects__load-more:hover {
	background: #d49224;
	transform: translateY(-1px);
}

.project-card__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--works-projects-accent);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.48;
	letter-spacing: 0.04em;
	white-space: nowrap;
	transition: color 0.2s ease;
}

.project-card__link:hover {
	color: #d49224;
}

.project-card__link-icon {
	width: 18px;
	height: 18px;
	max-width: none;
	object-fit: contain;
}

.works-projects__pagination {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	width: var(--works-projects-list);
	margin: 24px auto 0;
}

.works-projects__load-more {
	min-width: 193px;
	padding: 16px 32px;
	box-shadow: none;
}

.works-projects__pages {
	display: flex;
	width: 100%;
	align-items: center;
	justify-content: center;
	padding: 0 12px;
}

.works-projects__page {
	display: inline-flex;
	min-width: 38px;
	height: 40px;
	align-items: center;
	justify-content: center;
	padding: 2px 15px;
	border: 2px solid transparent;
	border-radius: 8px;
	color: var(--works-projects-muted);
	font-family: var(--site-font-heading);
	font-size: var(--site-font-size-18);
	font-weight: 700;
	line-height: 1.56;
	text-align: center;
}

.works-projects__page + .works-projects__page {
	margin-left: 10px;
}

.works-projects__page.is-current {
	border-color: var(--works-projects-accent);
	color: var(--works-projects-accent);
}

@media (max-width: 991.98px) {
	.works-projects__header {
		margin-bottom: clamp(2.5rem, 6vw, 4rem);
	}

	.project-card__row {
		flex-direction: column;
		gap: 24px;
	}

	.project-card__content {
		gap: 28px;
	}
}

@media (max-width: 575.98px) {
	.works-projects {
		padding: clamp(4rem, 16vw, 5rem) 0;
	}

	.works-projects__title {
		font-size: clamp(1.75rem, 9vw, 2rem);
	}

	.project-card {
		padding: 16px;
	}

	.project-card__actions {
		align-items: stretch;
		flex-direction: column;
	}

	.project-card__button,
	.project-card__link {
		width: 100%;
		justify-content: center;
	}

	.works-projects__pages {
		flex-wrap: wrap;
		row-gap: 8px;
	}

	.works-projects__page + .works-projects__page {
		margin-left: 6px;
	}
}
