

/* Start:/bitrix/templates/floor/components/bitrix/news.detail/hd_portfolio_detail/style.css?178924997219170*/
.hd-project-detail,
.hd-project-detail * {
	box-sizing: border-box;
}

.hd-project-detail {
	width: 100%;
	padding: 20px 0 80px;
	color: #252522;
}

.hd-project-detail__back {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin-bottom: 35px;
	color: #74716b;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .04em;
	text-decoration: none;
	text-transform: uppercase;
}

.hd-project-detail__back:hover {
	color: #e6004f;
	text-decoration: none;
}

.hd-project-detail__header {
	display: grid;
	grid-template-columns: minmax(0, 1.45fr) minmax(310px, .55fr);
	gap: clamp(40px, 7vw, 100px);
	align-items: end;
	margin-bottom: 42px;
}

.hd-project-detail__eyebrow,
.hd-project-detail__section-label,
.hd-project-detail__cta-label {
	margin-bottom: 14px;
	color: #d90049;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .13em;
	line-height: 1.4;
	text-transform: uppercase;
}

.hd-project-detail__title {
	max-width: 880px;
	margin: 0;
	color: #222220;
	font-size: clamp(42px, 5.6vw, 78px);
	font-weight: 520;
	letter-spacing: -.055em;
	line-height: .98;
}

.hd-project-detail__lead {
	max-width: 760px;
	margin-top: 27px;
	color: #6a6862;
	font-size: 17px;
	line-height: 1.75;
}

.hd-project-detail__lead p:last-child {
	margin-bottom: 0;
}

.hd-project-detail__facts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 21px 18px;
	margin: 0;
	padding: 27px;
	border: 1px solid rgba(34, 34, 32, .1);
	background: #f8f6f2;
}

.hd-project-detail__fact {
	min-width: 0;
}

.hd-project-detail__fact dt {
	margin: 0 0 6px;
	color: #9a968e;
	font-size: 9px;
	font-weight: 800;
	letter-spacing: .11em;
	line-height: 1.4;
	text-transform: uppercase;
}

.hd-project-detail__fact dd {
	margin: 0;
	color: #292925;
	font-size: 14px;
	font-weight: 650;
	line-height: 1.45;
}

.hd-project-detail__cover {
	position: relative;
	overflow: hidden;
	min-height: 480px;
	margin-bottom: 80px;
	background: #e7e2d9;
}

.hd-project-detail__cover picture {
	display: block;
	width: 100%;
	height: 100%;
}

.hd-project-detail__cover img {
	display: block;
	width: 100%;
	height: min(72vh, 820px);
	min-height: 480px;
	object-fit: cover;
}

.hd-project-detail__cover-placeholder {
	display: flex;
	min-height: 560px;
	flex-direction: column;
	justify-content: space-between;
	padding: clamp(30px, 5vw, 70px);
	background:
		radial-gradient(
			circle at 82% 20%,
			rgba(230, 0, 79, .14),
			transparent 32%
		),
		linear-gradient(135deg, #ece7df, #dcd5ca);
}

.hd-project-detail__cover-placeholder span {
	color: rgba(34, 34, 32, .25);
	font-size: clamp(50px, 9vw, 140px);
	font-weight: 700;
	letter-spacing: -.07em;
	line-height: .8;
}

.hd-project-detail__cover-placeholder strong {
	max-width: 430px;
	color: #3d3b36;
	font-size: clamp(22px, 3vw, 38px);
	font-weight: 550;
	line-height: 1.15;
}

.hd-project-detail__introduction {
	display: grid;
	grid-template-columns: minmax(150px, .35fr) minmax(0, 1.65fr);
	gap: 40px;
	max-width: 980px;
	margin: 0 auto 80px;
}

.hd-project-detail__introduction-text {
	color: #4f4d48;
	font-size: clamp(18px, 2vw, 25px);
	line-height: 1.65;
}

.hd-project-detail__story {
	max-width: 1000px;
	margin: 0 auto 95px;
	border-top: 1px solid rgba(34, 34, 32, .12);
}

.hd-project-detail__story-section {
	display: grid;
	grid-template-columns: 100px minmax(0, 1fr);
	gap: 35px;
	padding: 42px 0;
	border-bottom: 1px solid rgba(34, 34, 32, .12);
}

.hd-project-detail__story-number {
	color: #e6004f;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .13em;
}

.hd-project-detail__story-content h2,
.hd-project-detail__section-heading h2,
.hd-project-detail__materials h2,
.hd-project-detail__cta h2 {
	margin: 0;
	color: #242421;
	font-size: clamp(28px, 3vw, 43px);
	font-weight: 540;
	letter-spacing: -.04em;
	line-height: 1.08;
}

.hd-project-detail__rich-text {
	max-width: 780px;
	margin-top: 18px;
	color: #63615c;
	font-size: 16px;
	line-height: 1.8;
}

.hd-project-detail__rich-text p:last-child,
.hd-project-detail__rich-text ul:last-child,
.hd-project-detail__rich-text ol:last-child {
	margin-bottom: 0;
}

.hd-project-detail__rich-text ul,
.hd-project-detail__rich-text ol {
	padding-left: 22px;
}

.hd-project-detail__section-heading {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 30px;
	margin-bottom: 31px;
}

.hd-project-detail__section-heading > span {
	color: #8b877f;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.hd-project-detail__gallery-section {
	margin-bottom: 95px;
}

.hd-project-detail__gallery {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 18px;
}

.hd-project-detail__gallery-item {
	position: relative;
	grid-column: span 4;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: #e7e2d9;
}

.hd-project-detail__gallery-item--wide {
	grid-column: span 8;
	aspect-ratio: 16 / 9;
}

.hd-project-detail__gallery-item img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .45s ease;
}

.hd-project-detail__gallery-item:hover img {
	transform: scale(1.025);
}

.hd-project-detail__gallery-item span {
	position: absolute;
	right: 12px;
	bottom: 12px;
	left: 12px;
	padding: 10px 12px;
	background: rgba(25, 25, 24, .76);
	color: #fff;
	font-size: 11px;
	line-height: 1.45;
	backdrop-filter: blur(8px);
}

.hd-project-detail__materials {
	display: grid;
	grid-template-columns: minmax(230px, .7fr) minmax(0, 1.3fr);
	gap: clamp(40px, 7vw, 90px);
	margin-bottom: 95px;
	padding: clamp(35px, 5vw, 65px);
	background: #f7f4ef;
}

.hd-project-detail__materials ul {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 28px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hd-project-detail__materials li {
	position: relative;
	padding: 15px 0 15px 21px;
	border-bottom: 1px solid rgba(34, 34, 32, .1);
	color: #54514b;
	font-size: 14px;
	line-height: 1.55;
}

.hd-project-detail__materials li::before {
	position: absolute;
	top: 24px;
	left: 0;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #e6004f;
	content: "";
}

.hd-project-detail__before {
	margin-bottom: 95px;
}

.hd-project-detail__before-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.hd-project-detail__before-grid a {
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: #e7e2d9;
}

.hd-project-detail__before-grid img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: saturate(.75);
	transition:
		transform .4s ease,
		filter .4s ease;
}

.hd-project-detail__before-grid a:hover img {
	filter: saturate(1);
	transform: scale(1.02);
}

.hd-project-detail__cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 45px;
	padding: clamp(34px, 5vw, 65px);
	background:
		radial-gradient(
			circle at 90% 10%,
			rgba(230, 0, 79, .22),
			transparent 32%
		),
		#262629;
	color: #fff;
}

.hd-project-detail__cta h2 {
	color: #fff;
}

.hd-project-detail__cta p {
	max-width: 690px;
	margin: 17px 0 0;
	color: rgba(255, 255, 255, .7);
	font-size: 15px;
	line-height: 1.7;
}

.hd-project-detail__cta-actions {
	display: flex;
	flex: 0 0 auto;
	flex-direction: column;
	gap: 10px;
	min-width: 215px;
}

.hd-project-detail__button {
	display: inline-flex;
	min-height: 49px;
	align-items: center;
	justify-content: center;
	padding: 12px 20px;
	border: 1px solid transparent;
	color: #fff;
	font-size: 13px;
	font-weight: 750;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
}

.hd-project-detail__button:hover {
	color: #fff;
	text-decoration: none;
}

.hd-project-detail__button--primary {
	border-color: #e6004f;
	background: #e6004f;
}

.hd-project-detail__button--primary:hover {
	border-color: #c80044;
	background: #c80044;
}

.hd-project-detail__button--secondary {
	border-color: rgba(255, 255, 255, .27);
	background: transparent;
}

.hd-project-detail__button--secondary:hover {
	border-color: rgba(255, 255, 255, .5);
	background: rgba(255, 255, 255, .06);
}

@media (max-width: 991px) {
	.hd-project-detail__header {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.hd-project-detail__facts {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.hd-project-detail__gallery-item,
	.hd-project-detail__gallery-item--wide {
		grid-column: span 6;
		aspect-ratio: 4 / 3;
	}

	.hd-project-detail__materials {
		grid-template-columns: 1fr;
	}

	.hd-project-detail__cta {
		align-items: flex-start;
		flex-direction: column;
	}

	.hd-project-detail__cta-actions {
		flex-direction: row;
		width: 100%;
	}

	.hd-project-detail__button {
		flex: 1 1 0;
	}
}

@media (max-width: 640px) {
	.hd-project-detail {
		padding: 8px 0 48px;
	}

	.hd-project-detail__back {
		margin-bottom: 26px;
	}

	.hd-project-detail__header {
		margin-bottom: 28px;
	}

	.hd-project-detail__title {
		font-size: clamp(36px, 12vw, 52px);
	}

	.hd-project-detail__lead {
		margin-top: 20px;
		font-size: 15px;
	}

	.hd-project-detail__facts {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		padding: 21px 18px;
	}

	.hd-project-detail__cover {
		min-height: 330px;
		margin-bottom: 55px;
	}

	.hd-project-detail__cover img {
		height: 62vh;
		min-height: 330px;
		max-height: 560px;
	}

	.hd-project-detail__cover-placeholder {
		min-height: 360px;
		padding: 25px 20px;
	}

	.hd-project-detail__introduction {
		grid-template-columns: 1fr;
		gap: 8px;
		margin-bottom: 55px;
	}

	.hd-project-detail__introduction-text {
		font-size: 18px;
	}

	.hd-project-detail__story {
		margin-bottom: 65px;
	}

	.hd-project-detail__story-section {
		grid-template-columns: 42px minmax(0, 1fr);
		gap: 13px;
		padding: 32px 0;
	}

	.hd-project-detail__rich-text {
		font-size: 15px;
		line-height: 1.7;
	}

	.hd-project-detail__section-heading {
		align-items: flex-start;
		flex-direction: column;
		gap: 12px;
	}

	.hd-project-detail__gallery-section,
	.hd-project-detail__materials,
	.hd-project-detail__before {
		margin-bottom: 65px;
	}

	.hd-project-detail__gallery {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.hd-project-detail__gallery-item,
	.hd-project-detail__gallery-item--wide {
		grid-column: auto;
		aspect-ratio: 4 / 3;
	}

	.hd-project-detail__materials {
		padding: 29px 20px;
	}

	.hd-project-detail__materials ul {
		grid-template-columns: 1fr;
	}

	.hd-project-detail__before-grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.hd-project-detail__cta {
		padding: 32px 21px;
	}

	.hd-project-detail__cta-actions {
		flex-direction: column;
	}

	.hd-project-detail__button {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hd-project-detail__gallery-item img,
	.hd-project-detail__before-grid img {
		transition: none;
	}
}/* =========================================================
   HOTDECOR PORTFOLIO DETAIL — mobile layout v2
   ========================================================= */

@media (max-width: 640px) {
	.hd-project-detail {
		width: 100%;
		max-width: 100%;
		padding-top: 4px;
		padding-bottom: 48px;
		overflow: hidden;
	}

	.hd-project-detail__header,
	.hd-project-detail__header-content,
	.hd-project-detail__story-content,
	.hd-project-detail__introduction-text,
	.hd-project-detail__section-heading > div,
	.hd-project-detail__cta > div {
		min-width: 0;
		max-width: 100%;
	}

	/* Возврат к списку */

	.hd-project-detail__back {
		gap: 7px;
		margin-bottom: 22px;
		font-size: 11px;
		line-height: 1.4;
		white-space: normal;
	}

	/* Заголовочная часть */

	.hd-project-detail__header {
		display: block;
		margin-bottom: 26px;
	}

	.hd-project-detail__eyebrow {
		margin-bottom: 11px;
		font-size: 10px;
		letter-spacing: .11em;
	}

	.hd-project-detail__title {
		width: 100%;
		max-width: 100%;
		margin: 0;
		font-size: clamp(31px, 9.2vw, 39px);
		font-weight: 560;
		letter-spacing: -.035em;
		line-height: 1.05;
		overflow-wrap: anywhere;
		word-break: normal;
		-webkit-hyphens: auto;
		hyphens: auto;
	}

	.hd-project-detail__lead {
		max-width: 100%;
		margin-top: 18px;
		font-size: 15px;
		line-height: 1.65;
		overflow-wrap: anywhere;
	}

	.hd-project-detail__lead p {
		margin-top: 0;
	}

	.hd-project-detail__lead p:last-child {
		margin-bottom: 0;
	}

	/* Характеристики проекта */

	.hd-project-detail__facts {
		display: block;
		width: 100%;
		margin-top: 24px;
		padding: 5px 17px;
		border-radius: 14px;
	}

	.hd-project-detail__fact {
		display: grid;
		grid-template-columns: 105px minmax(0, 1fr);
		gap: 14px;
		align-items: start;
		padding: 13px 0;
		border-bottom: 1px solid rgba(34, 34, 32, .1);
	}

	.hd-project-detail__fact:last-child {
		border-bottom: 0;
	}

	.hd-project-detail__fact dt {
		margin: 2px 0 0;
		font-size: 8px;
		line-height: 1.45;
	}

	.hd-project-detail__fact dd {
		min-width: 0;
		margin: 0;
		font-size: 13px;
		line-height: 1.5;
		text-align: left;
		overflow-wrap: anywhere;
		word-break: normal;
	}

	/* Обложка */

	.hd-project-detail__cover {
		width: 100%;
		min-height: 0;
		margin-bottom: 48px;
		border-radius: 16px;
	}

	.hd-project-detail__cover picture {
		display: block;
		width: 100%;
		height: auto;
	}

	.hd-project-detail__cover img {
		display: block;
		width: 100%;
		height: min(115vw, 500px);
		min-height: 0;
		max-height: none;
		object-fit: cover;
	}

	.hd-project-detail__cover-placeholder {
		min-height: 340px;
		padding: 25px 20px;
	}

	.hd-project-detail__cover-placeholder span {
		font-size: clamp(44px, 18vw, 72px);
	}

	.hd-project-detail__cover-placeholder strong {
		max-width: 270px;
		font-size: 23px;
		line-height: 1.2;
	}

	/* Вводный текст */

	.hd-project-detail__introduction {
		display: block;
		max-width: 100%;
		margin-bottom: 50px;
	}

	.hd-project-detail__introduction
	.hd-project-detail__section-label {
		margin-bottom: 13px;
	}

	.hd-project-detail__introduction-text {
		font-size: 17px;
		line-height: 1.65;
		overflow-wrap: anywhere;
	}

	.hd-project-detail__introduction-text p:first-child {
		margin-top: 0;
	}

	.hd-project-detail__introduction-text p:last-child {
		margin-bottom: 0;
	}

	/* Задача, работы, решения и результат */

	.hd-project-detail__story {
		width: 100%;
		max-width: 100%;
		margin-bottom: 58px;
	}

	.hd-project-detail__story-section {
		display: block;
		padding: 30px 0 32px;
	}

	.hd-project-detail__story-number {
		margin-bottom: 12px;
		font-size: 10px;
		letter-spacing: .12em;
	}

	.hd-project-detail__story-content h2 {
		max-width: 100%;
		font-size: 27px;
		letter-spacing: -.03em;
		line-height: 1.12;
		overflow-wrap: anywhere;
	}

	.hd-project-detail__rich-text {
		max-width: 100%;
		margin-top: 16px;
		font-size: 15px;
		line-height: 1.72;
		overflow-wrap: anywhere;
	}

	.hd-project-detail__rich-text p {
		margin-top: 0;
		margin-bottom: 16px;
	}

	.hd-project-detail__rich-text ul,
	.hd-project-detail__rich-text ol {
		margin-top: 14px;
		padding-left: 20px;
	}

	/* Заголовки дополнительных секций */

	.hd-project-detail__section-heading {
		display: block;
		margin-bottom: 22px;
	}

	.hd-project-detail__section-heading > span {
		display: block;
		margin-top: 10px;
		font-size: 10px;
		line-height: 1.45;
		white-space: normal;
	}

	.hd-project-detail__section-heading h2,
	.hd-project-detail__materials h2,
	.hd-project-detail__cta h2 {
		max-width: 100%;
		font-size: 28px;
		letter-spacing: -.03em;
		line-height: 1.12;
		overflow-wrap: anywhere;
	}

	/* Галерея */

	.hd-project-detail__gallery-section {
		margin-bottom: 58px;
	}

	.hd-project-detail__gallery {
		display: block;
	}

	.hd-project-detail__gallery-item,
	.hd-project-detail__gallery-item--wide {
		display: block;
		width: 100%;
		margin-bottom: 12px;
		aspect-ratio: 4 / 3;
		border-radius: 13px;
	}

	.hd-project-detail__gallery-item:last-child {
		margin-bottom: 0;
	}

	.hd-project-detail__gallery-item span {
		right: 9px;
		bottom: 9px;
		left: 9px;
		padding: 9px 10px;
		border-radius: 8px;
		font-size: 10px;
	}

	/* Материалы */

	.hd-project-detail__materials {
		display: block;
		width: 100%;
		margin-bottom: 58px;
		padding: 27px 19px;
		border-radius: 16px;
	}

	.hd-project-detail__materials > div {
		min-width: 0;
		margin-bottom: 20px;
	}

	.hd-project-detail__materials ul {
		display: block;
		width: 100%;
	}

	.hd-project-detail__materials li {
		width: 100%;
		padding: 13px 0 13px 19px;
		font-size: 13px;
		line-height: 1.55;
		overflow-wrap: anywhere;
	}

	.hd-project-detail__materials li::before {
		top: 21px;
	}

	/* Фотографии до ремонта */

	.hd-project-detail__before {
		margin-bottom: 58px;
	}

	.hd-project-detail__before-grid {
		display: block;
	}

	.hd-project-detail__before-grid a {
		display: block;
		width: 100%;
		margin-bottom: 12px;
		border-radius: 13px;
	}

	.hd-project-detail__before-grid a:last-child {
		margin-bottom: 0;
	}

	/* Нижний призыв */

	.hd-project-detail__cta {
		display: block;
		width: 100%;
		padding: 29px 20px;
		border-radius: 17px;
	}

	.hd-project-detail__cta-label {
		margin-bottom: 11px;
		font-size: 10px;
	}

	.hd-project-detail__cta p {
		max-width: 100%;
		margin-top: 15px;
		font-size: 14px;
		line-height: 1.65;
		overflow-wrap: anywhere;
	}

	.hd-project-detail__cta-actions {
		display: block;
		width: 100%;
		min-width: 0;
		margin-top: 24px;
	}

	.hd-project-detail__button {
		display: flex;
		width: 100%;
		min-height: 50px;
		margin-bottom: 10px;
		padding: 13px 16px;
		border-radius: 11px;
	}

	.hd-project-detail__button:last-child {
		margin-bottom: 0;
	}
}

/* Дополнительная настройка для очень узких экранов */

@media (max-width: 390px) {
	.hd-project-detail__title {
		font-size: 30px;
		line-height: 1.07;
	}

	.hd-project-detail__fact {
		grid-template-columns: 92px minmax(0, 1fr);
		gap: 11px;
	}

	.hd-project-detail__fact dd {
		font-size: 12px;
	}

	.hd-project-detail__story-content h2,
	.hd-project-detail__section-heading h2,
	.hd-project-detail__materials h2,
	.hd-project-detail__cta h2 {
		font-size: 25px;
	}
}@media (max-width: 640px) {
	body:has(.hd-project-detail) .bx-breadcrumb {
		display: none;
	}
}
/* End */
/* /bitrix/templates/floor/components/bitrix/news.detail/hd_portfolio_detail/style.css?178924997219170 */
