*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	min-height: 100vh;
}

img,
picture,
svg,
video {
	display: block;
	max-width: 100%;
}

button,
input,
textarea,
select {
	font: inherit;
	color: inherit;
}

button {
	cursor: pointer;
	border: none;
	background: none;
}

a {
	color: inherit;
	text-decoration: none;
}

ul,
ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

h1,
h2,
h3,
h4,
p {
	margin: 0;
}

table {
	border-collapse: collapse;
}

/* ZIK — вёрстка по Figma: 1920 (margin 177, gutter 10), 1440 (50), mobile 390 */
:root {
	--color-bg: #f6f5fa;
	--color-surface: #ffffff;
	--color-text: #1a1a1a;
	--color-text-muted: #6b6b6b;
	--color-border: #e0e0e6;
	--color-accent: #e85d04;
	--color-accent-hover: #cf5203;
	--color-table-head: #fde9d9;
	--color-error: #ff3b30;
	--modal-backdrop: rgba(39, 49, 59, 0.45);
	--modal-radius: 20px;
	--modal-width: 775px;
	--modal-pad: 60px;
	--modal-gap: 40px;
	--modal-title-size: 52px;
	--modal-title-lh: 1.1;
	--modal-title-font: "Exo 2", sans-serif;
	--modal-title-align: center;
	--modal-field-radius: 20px;
	--modal-field-gap: 12px;
	--modal-input-size: 20px;
	--modal-input-lh: 1.4;
	--modal-input-pad-y: 26px;
	--modal-input-pad-x: 20px;
	--modal-input-track: 0;
	--modal-input-bg: #f6f5fa;
	--modal-input-placeholder: #758693;
	--modal-input-color: #373737;
	--modal-title-color: #27313b;
	--modal-btn-bg: #ff7700;
	--modal-btn-bg-hover: #e56a00;
	--modal-btn-radius: 12px;
	--modal-btn-size: 20px;
	--modal-btn-weight: 600;
	--modal-btn-pad-y: 22px;
	--modal-btn-track: 0;
	--modal-legal-size: 18px;
	--modal-legal-weight: 400;
	--modal-legal-track: -0.03em;
	--modal-legal-color: #000000;
	--modal-link-color: #ff7700;
	--modal-error: #d42a2a;
	--modal-error-size: 18px;
	--modal-error-track: -0.03em;
	--modal-close: 32px;
	--modal-close-top: 28px;
	--modal-close-right: 28px;
	--modal-close-stroke: 4px;
	--layout-margin: 177px;
	--layout-gutter: 10px;
	--layout-content-max: 1566px;
	--section-y: clamp(48px, 5vw, 88px);
	--radius-sm: 4px;
	--radius-md: 8px;
	--shadow-modal: 0 24px 48px rgba(0, 0, 0, 0.12);
	--font-ui: "Manrope", system-ui, sans-serif;
	--color-ink: #27313b;
	--color-muted-link: #758693;
	--color-orange: #ff7700;
}

@media (max-width: 1919px) {
	:root {
		--layout-margin: 50px;
		--layout-content-max: 1340px;
	}
}

@media (max-width: 767px) {
	:root {
		--layout-margin: 16px;
		--layout-content-max: 100%;
		--section-y: 40px;
	}
}

@media (min-width: 2880px) {
	:root {
		--layout-margin: 300px;
		--layout-content-max: 2280px;
	}
}

body {
	font-family: var(--font-ui);
	font-size: 16px;
	line-height: 1.4;
	color: var(--color-text);
	background: var(--color-bg);
}

.app {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.main {
	flex: 1;
}

.container {
	width: min(calc(100% - 2 * var(--layout-margin)), var(--layout-content-max));
	margin-inline: auto;
}

/* Typography (UI-kit) */
.text_l {
	font-size: clamp(18px, 1.15vw, 22px);
	line-height: 1.4;
	font-weight: 400;
}

.text_m {
	font-size: clamp(16px, 1vw, 18px);
	line-height: 1.35;
}

.text_s {
	font-size: 14px;
	line-height: 1.4;
}

.text_desc {
	font-size: 12px;
	line-height: 1.2;
	color: var(--color-text-muted);
}

h1,
.h1 {
	font-size: clamp(32px, 3.2vw, 56px);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.02em;
}

h2,
.h2,
.section__title {
	font-size: clamp(26px, 2.4vw, 40px);
	font-weight: 600;
	line-height: 1.2;
}

h3,
.h3 {
	font-size: clamp(20px, 1.6vw, 28px);
	font-weight: 500;
	line-height: 1.25;
}

h4,
.h4 {
	font-size: clamp(18px, 1.25vw, 22px);
	font-weight: 500;
	line-height: 1.3;
}

.site__heading :is(h1, h2, h3, h4) {
	margin-bottom: 60px;
}

@media (max-width: 767px) {
	.site__heading :is(h1, h2, h3, h4) {
		margin-bottom: 30px;
	}
}

.prose {
	font-size: clamp(16px, 1vw, 18px);
	line-height: 1.5;
}

.prose p + p {
	margin-top: 1em;
}

.prose ul {
	list-style: none;
	margin: 1em 0;
}

.prose ul li {
	position: relative;
	padding-left: 1.25em;
	margin-bottom: 0.5em;
}

.prose ul li::before {
	content: "—";
	position: absolute;
	left: 0;
	color: var(--color-accent);
}

.prose ol {
	list-style: decimal;
	margin: 1em 0;
	padding-left: 1.25em;
}

.prose ol li {
	margin-bottom: 0.5em;
}

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 14px 28px;
	border-radius: var(--radius-sm);
	font-size: 16px;
	font-weight: 500;
	line-height: 1;
	white-space: nowrap;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn_primary {
	background: var(--color-accent);
	color: #fff;
}

.btn_primary:hover {
	background: var(--color-accent-hover);
}

.btn_secondary {
	background: transparent;
	color: var(--color-text);
	border: 1px solid var(--color-border);
}

.btn_secondary:hover {
	border-color: var(--color-accent);
	color: var(--color-accent);
}

@media (max-width: 767px) {

	.btn {
		width: 100%;
	}
}

/* Header, footer, calc button.
   Боковые поля — .container / --layout-margin (177, 50, 16, с 2880 — 300).
   Внутренний ряд шапки 1440 не помещается уже ~1300px, поэтому до 1319
   шапка и подвал мобильные. Пустой низ компонента шапки — отступ до
   следующей секции, сквозь него виден фон страницы #f6f5fa. */
.header {
	margin-bottom: 32px;
	font-family: var(--font-ui);
	color: var(--color-ink);
}

.header__bar {
	padding-block: 30px;
	background: #fff;
}

.header__bar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.header__lead {
	display: flex;
	align-items: center;
	gap: 100px;
	min-width: 0;
}

.header__logo img {
	width: 140px;
	height: 53px;
	max-width: none;
}

.header__menu {
	display: flex;
	align-items: center;
	gap: 40px;
}

.header__menu a {
	font-size: 18px;
	font-weight: 400;
	line-height: 25px;
	letter-spacing: -0.03em;
	color: var(--color-ink);
}

.header__menu a:hover {
	color: var(--color-orange);
}

.header__aside {
	display: flex;
	align-items: center;
	gap: 20px;
	flex: none;
}

.header__contacts {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 8px;
	font-size: 18px;
	font-weight: 600;
	line-height: 25px;
	letter-spacing: -0.03em;
	color: var(--color-orange);
	white-space: nowrap;
}

.header__contacts a:hover,
.header__mobile-phone:hover {
	color: #e56a00;
}

.header__mobile,
.header__burger {
	display: none;
}

@media (max-width: 1919px) {
	.header {
		margin-bottom: 30px;
	}

	.header__bar {
		padding-block: 20px;
	}

	.header__lead {
		gap: 80px;
	}

	.header__logo img {
		width: 116px;
		height: 44px;
	}

	.header__menu {
		gap: 32px;
	}
}

@media (max-width: 1319px) {
	.header {
		margin-bottom: 20px;
	}

	.header__bar {
		padding-block: 20px;
	}

	.header__nav,
	.header__aside {
		display: none;
	}

	.header__logo img {
		width: 94px;
		height: 36px;
	}

	.header__mobile {
		display: flex;
		align-items: center;
		gap: 12px;
	}

	.header__mobile-phone {
		font-size: 14px;
		font-weight: 500;
		line-height: 20px;
		letter-spacing: 0;
		color: var(--color-orange);
		white-space: nowrap;
	}

	.header__burger {
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		width: 29px;
		height: 19px;
		padding: 0;
		flex: none;
	}

	.header__burger span {
		display: block;
		height: 3px;
		border-radius: 20px;
		background: var(--color-orange);
	}
}

@media (min-width: 2880px) {
	.header {
		margin-bottom: 60px;
	}

	.header__bar {
		padding-block: 30px;
	}

	.header__lead {
		gap: 100px;
	}

	.header__logo img {
		width: 226px;
		height: 85px;
	}

	.header__menu {
		gap: 60px;
	}

	.header__menu a {
		font-size: 22px;
		line-height: 30px;
	}

	.header__aside {
		gap: 32px;
	}

	.header__contacts {
		font-size: 22px;
		font-weight: 400;
		line-height: 30px;
	}
}

.calc-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border-radius: 12px;
	background: var(--color-orange);
	color: #fff;
	box-shadow: inset 0 0 0 1px #fff;
	font-family: var(--font-ui);
	font-weight: 600;
	letter-spacing: -0.03em;
	white-space: nowrap;
}

.calc-btn:hover {
	background: #e56a00;
}

.calc-btn__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
}

.calc-btn_header {
	height: 53px;
	padding: 0 14px 0 8px;
	font-size: 18px;
	line-height: 25px;
}

.calc-btn_header .calc-btn__icon {
	width: 37px;
	height: 37px;
}

@media (max-width: 1319px) {

	.calc-btn_icon {
		width: 39px;
		height: 38px;
		padding: 6px;
		border-radius: 8px;
		justify-content: center;
	}

	.calc-btn_icon .icon-calc {
		width: 27px;
		height: 26px;
	}
}

@media (min-width: 2880px) {

	.calc-btn_header {
		height: 69px;
		font-size: 22px;
		font-weight: 400;
		line-height: 30px;
	}
}

.calc-btn_footer {
	height: 62px;
	padding: 0 14px 0 8px;
	font-size: 20px;
	font-weight: 600;
	line-height: 27px;
	letter-spacing: 0;
}

.calc-btn_footer .calc-btn__icon {
	width: 46px;
	height: 46px;
}

@media (max-width: 1919px) {

	.calc-btn_footer {
		font-size: 18px;
		line-height: 25px;
		letter-spacing: -0.03em;
	}
}

@media (max-width: 1319px) {

	.calc-btn_footer {
		font-size: 18px;
		line-height: 25px;
		letter-spacing: -0.03em;
	}
}

@media (min-width: 2880px) {

	.calc-btn_footer {
		width: 366px;
		justify-content: center;
		font-size: 22px;
		line-height: 30px;
		letter-spacing: -0.03em;
	}
}

.calc-btn_menu {
	width: 100%;
	height: 53px;
	justify-content: center;
	padding: 0 14px 0 8px;
	font-size: 18px;
	line-height: 25px;
}

.calc-btn_menu .calc-btn__icon {
	width: 37px;
	height: 37px;
}

.icon-calc {
	display: block;
	width: 23px;
	height: 23px;
}

.icon-calc_lg {
	width: 27px;
	height: 26px;
}

/* Footer */
.footer {
	margin-top: auto;
	background: #fff;
	font-family: var(--font-ui);
	color: var(--color-ink);
}

.footer__inner {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	padding-block: 111px;
}

.footer__brand {
	display: flex;
	flex-direction: column;
	gap: 40px;
	width: 256px;
	flex: none;
}

.footer__logo img {
	width: 256px;
	height: 97px;
	max-width: none;
}

.footer__policies {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.footer__policies a {
	font-size: 16px;
	font-weight: 300;
	line-height: 1.4;
	color: var(--color-muted-link);
	white-space: nowrap;
}

.footer__policies a:hover,
.footer__links a:hover,
.footer__contacts a:hover {
	color: var(--color-orange);
}

.footer__main {
	display: flex;
	align-items: flex-start;
	gap: 142px;
	flex: none;
}

.footer__cols {
	display: flex;
	align-items: flex-start;
	gap: 57px;
}

.footer__col {
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.footer__col:first-child {
	width: 256px;
}

.footer__col-title {
	font-size: 20px;
	font-weight: 600;
	line-height: 27px;
	color: var(--color-ink);
	white-space: nowrap;
}

.footer__links {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.footer__links a {
	font-size: 18px;
	font-weight: 400;
	line-height: 1.4;
	letter-spacing: -0.03em;
	color: var(--color-muted-link);
	white-space: nowrap;
}

.footer__action {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 40px;
}

.footer__contacts {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	font-size: 20px;
	font-weight: 600;
	line-height: 27px;
	color: var(--color-ink);
	white-space: nowrap;
}

@media (max-width: 1919px) {
	.footer__inner {
		padding-block: 100px;
	}

	.footer__logo img {
		width: 213px;
		height: 80px;
	}

	.footer__policies {
		gap: 12px;
	}

	.footer__policies a {
		white-space: normal;
	}

	.footer__main {
		gap: 104px;
	}

	.footer__cols {
		gap: 46px;
	}

	.footer__col {
		gap: 32px;
	}

	.footer__col:first-child {
		width: 213px;
	}

	.footer__col-title {
		font-size: 18px;
		line-height: 25px;
		letter-spacing: -0.03em;
	}

	.footer__links a {
		font-size: 16px;
		font-weight: 300;
		letter-spacing: 0;
	}

	.footer__action {
		gap: 32px;
	}

	.footer__contacts {
		font-size: 18px;
		line-height: 25px;
		letter-spacing: -0.03em;
	}
}

@media (max-width: 1319px) {
	.footer__inner {
		flex-direction: column;
		gap: 60px;
		padding-block: 50px;
	}

	.footer__brand {
		display: contents;
	}

	.footer__logo {
		order: 1;
	}

	.footer__logo img {
		width: 247px;
		height: 93px;
	}

	.footer__main {
		order: 2;
		flex-direction: column;
		align-items: stretch;
		gap: 40px;
		width: 100%;
	}

	.footer__cols {
		flex-direction: column;
		gap: 40px;
		width: 100%;
	}

	.footer__col,
	.footer__col:first-child {
		gap: 20px;
		width: 100%;
	}

	.footer__col-title {
		font-size: 20px;
		line-height: 27px;
		letter-spacing: 0;
	}

	.footer__links {
		gap: 8px;
	}

	.footer__links a {
		font-size: 18px;
		font-weight: 400;
		letter-spacing: -0.03em;
	}

	.footer__action {
		gap: 32px;
	}

	.footer__contacts {
		font-size: 20px;
		font-weight: 600;
		line-height: 27px;
		letter-spacing: 0;
	}

	.footer__policies {
		order: 3;
		gap: 12px;
	}

	.footer__policies a {
		white-space: normal;
	}
}

@media (min-width: 2880px) {
	.footer__inner {
		padding-block: 111px 90px;
	}

	.footer__main {
		gap: 214px;
	}

	.footer__cols {
		gap: 86px;
	}

	.footer__col {
		gap: 40px;
	}

	.footer__col:first-child {
		width: 256px;
	}

	.footer__col-title {
		font-size: 22px;
		line-height: 30px;
		letter-spacing: -0.03em;
	}

	.footer__links {
		gap: 12px;
	}

	.footer__links a {
		font-size: 20px;
		font-weight: 400;
		letter-spacing: 0;
	}

	.footer__action {
		gap: 40px;
	}

	.footer__contacts {
		font-size: 22px;
		line-height: 30px;
		letter-spacing: -0.03em;
	}

	.footer__policies {
		gap: 20px;
	}

	.footer__policies a {
		white-space: nowrap;
	}
}

/* Sections */
.section {
	padding-block: var(--section-y);
}

.section__title {
	margin-bottom: clamp(24px, 3vw, 40px);
}

/* Project grid — 3 col */
.project-grid__items {
	display: grid;
	gap: var(--layout-gutter);
}

.project-grid__items_cols-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-grid__items_cols-4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Responsive grids */
@media (max-width: 1439px) {
	.project-grid__items_cols-3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.project-grid__items_cols-3,
	.project-grid__items_cols-4 {
		grid-template-columns: 1fr;
	}
}

.project-card {
	position: relative;
	display: block;
	border-radius: var(--radius-md);
	overflow: hidden;
	min-height: 280px;
}

.project-card__media {
	position: absolute;
	inset: 0;
}

.project-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: grayscale(0.15);
	transition: filter 0.35s ease, transform 0.35s ease;
}

.project-card:hover .project-card__media img {
	filter: grayscale(0);
	transform: scale(1.03);
}

.project-card__body {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 8px;
	padding: 24px;
	background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.75) 100%);
	color: #fff;
}

.project-card__title {
	font-size: 18px;
	font-weight: 500;
}

.project-card__meta {
	opacity: 0.85;
}

/* CTA strip */
.cta-strip {
	background: var(--color-surface);
	border-block: 1px solid var(--color-border);
}

.cta-strip__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding-block: clamp(32px, 4vw, 56px);
}

.cta-strip__title {
	margin-bottom: 8px;
}

.cta-strip__desc {
	color: var(--color-text-muted);
	max-width: 40ch;
}

@media (max-width: 767px) {

	.cta-strip__inner {
		flex-direction: column;
		align-items: flex-start;
	}
}

/* Spec table */
.spec-table {
	width: 100%;
	background: var(--color-surface);
	border-radius: var(--radius-md);
	overflow: hidden;
	border: 1px solid var(--color-border);
}

.spec-table th,
.spec-table td {
	padding: 14px 16px;
	text-align: left;
	font-size: 14px;
	border-bottom: 1px solid var(--color-border);
}

.spec-table th {
	background: var(--color-table-head);
	font-weight: 500;
}

.spec-table tr:last-child td {
	border-bottom: 0;
}

/* Pagination */
.pagination {
	margin-top: 40px;
}

.pagination__list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
}

.pagination__list a,
.pagination__current {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 12px;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sm);
	font-size: 14px;
	font-weight: 500;
}

.pagination__current {
	border-color: var(--color-accent);
	color: var(--color-accent);
}

/* Forms */
.field {
	display: block;
	margin-bottom: 16px;
}

.field__label {
	display: block;
	margin-bottom: 6px;
	font-size: 14px;
	font-weight: 500;
}

.field__input {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sm);
	background: var(--color-surface);
}

.field__input:focus {
	outline: 2px solid rgba(232, 93, 4, 0.35);
	border-color: var(--color-accent);
}

.field_checkbox {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 13px;
	color: var(--color-text-muted);
}

.field_checkbox input {
	margin-top: 3px;
}

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Modal — lead (Figma «Рассчитать проект») */
body.modal-open {
	overflow: hidden;
}

.modal {
	position: fixed;
	inset: 0;
	z-index: 200;
}

.modal[hidden] {
	display: none !important;
}

.modal_lead:not([hidden]) {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	overflow: auto;
	background: var(--modal-backdrop);
	font-family: Manrope, sans-serif;
}

.modal__dialog {
	position: relative;
	box-sizing: border-box;
	width: min(var(--modal-width), 100%);
	flex: none;
	background: #fff;
	border-radius: var(--modal-radius);
	box-shadow: none;
}

.modal_lead .modal__dialog {
	display: flex;
	flex-direction: column;
	gap: var(--modal-gap);
	padding: var(--modal-pad);
}

.modal_lead .modal__title {
	margin: 0;
	text-align: var(--modal-title-align);
	font-family: var(--modal-title-font);
	font-size: var(--modal-title-size);
	font-weight: 600;
	line-height: var(--modal-title-lh);
	letter-spacing: 0;
	color: var(--modal-title-color);
}

.modal__close {
	position: absolute;
	top: var(--modal-close-top);
	right: var(--modal-close-right);
	display: flex;
	align-items: center;
	justify-content: center;
	width: var(--modal-close);
	height: var(--modal-close);
	padding: 0;
	color: var(--modal-title-color);
	background: transparent;
}

.modal__close-icon {
	display: block;
	width: 100%;
	height: 100%;
}

.modal__close-icon path {
	stroke-width: var(--modal-close-stroke);
}

.modal__close:hover {
	color: var(--modal-btn-bg);
}

.modal_lead .lead-form_modal {
	display: flex;
	flex-direction: column;
	gap: var(--modal-gap);
}

.modal_lead .lead-form__fields,
.modal_lead .lead-form__footer {
	display: flex;
	flex-direction: column;
	gap: var(--modal-field-gap);
}

.modal_lead .field {
	display: flex;
	flex-direction: column;
	gap: var(--modal-field-gap);
	margin-bottom: 0;
}

.modal_lead .field__input {
	box-sizing: border-box;
	width: 100%;
	min-height: calc(var(--modal-input-pad-y) * 2 + var(--modal-input-size) * var(--modal-input-lh));
	margin: 0;
	padding: var(--modal-input-pad-y) var(--modal-input-pad-x);
	border: 0;
	border-radius: var(--modal-field-radius);
	background: var(--modal-input-bg);
	font-family: inherit;
	font-size: var(--modal-input-size);
	font-weight: 400;
	line-height: var(--modal-input-lh);
	letter-spacing: var(--modal-input-track);
	color: var(--modal-input-color);
	box-shadow: none;
}

.modal_lead .field__input::placeholder {
	color: var(--modal-input-placeholder);
	opacity: 1;
}

.modal_lead .field__textarea_compact {
	min-height: calc(var(--modal-input-pad-y) * 2 + var(--modal-input-size) * var(--modal-input-lh) * 2);
	resize: none;
}

.modal_lead .field_fill .field__input:focus {
	outline: none;
	box-shadow: none;
}

.modal_lead .field_has-error .field__input,
.modal_lead .field_has-error .field__input:focus {
	box-shadow: inset 0 0 0 2px var(--modal-error);
	background: var(--modal-input-bg);
}

.modal_lead .field__error {
	display: block;
	margin-top: 0;
	font-size: var(--modal-error-size);
	font-weight: 400;
	line-height: 1.4;
	letter-spacing: var(--modal-error-track);
	color: var(--modal-error);
}

.modal_lead .field__error[hidden] {
	display: none;
}

.modal_lead .lead-form__submit,
.modal_lead .lead-form__submit.btn_primary {
	width: 100%;
	min-height: 0;
	padding: var(--modal-btn-pad-y) 32px;
	border-radius: var(--modal-btn-radius);
	background: var(--modal-btn-bg);
	font-family: inherit;
	font-size: var(--modal-btn-size);
	font-weight: var(--modal-btn-weight);
	line-height: 1.4;
	letter-spacing: var(--modal-btn-track);
	color: #fff;
}

.modal_lead .lead-form__submit:hover,
.modal_lead .lead-form__submit.btn_primary:hover {
	background: var(--modal-btn-bg-hover);
}

.modal_lead .lead-form__legal {
	margin: 0;
	text-align: left;
	font-size: var(--modal-legal-size);
	font-weight: var(--modal-legal-weight);
	line-height: 1.4;
	letter-spacing: var(--modal-legal-track);
	color: var(--modal-legal-color);
}

.modal_lead .lead-form__legal a {
	color: var(--modal-link-color);
	text-decoration: none;
}

.modal_lead .lead-form__legal a:hover {
	text-decoration: underline;
}

/* Макет 1440 — вместе с вёрсткой страницы до 1919px */
@media (max-width: 1919px) {
	:root {
		--modal-title-size: 46px;
		--modal-input-size: 18px;
		--modal-input-track: -0.03em;
		--modal-btn-size: 18px;
		--modal-btn-track: -0.03em;
		--modal-legal-size: 16px;
		--modal-legal-weight: 300;
		--modal-legal-track: 0;
		--modal-error-size: 16px;
		--modal-error-track: 0;
	}
}

/* Макет 2880 — только когда вьюпорт действительно широкий */
@media (min-width: 2880px) {
	:root {
		--modal-width: 1019px;
		--modal-pad: 80px;
		--modal-gap: 60px;
		--modal-title-size: 76px;
		--modal-input-size: 22px;
		--modal-input-track: -0.03em;
		--modal-btn-size: 22px;
		--modal-btn-track: -0.03em;
		--modal-legal-size: 20px;
		--modal-legal-weight: 400;
		--modal-legal-track: 0;
		--modal-error-size: 20px;
		--modal-error-track: 0;
		--modal-close: 40px;
		--modal-close-top: 38px;
		--modal-close-right: 38px;
	}
}

@media (max-width: 767px) {
	:root {
		--modal-width: 350px;
		--modal-pad: 20px;
		--modal-gap: 32px;
		--modal-title-size: 26px;
		--modal-title-lh: 1.24;
		--modal-title-font: Roboto, sans-serif;
		--modal-title-align: left;
		--modal-input-size: 16px;
		--modal-input-pad-y: 20px;
		--modal-input-track: 0;
		--modal-btn-size: 16px;
		--modal-btn-weight: 400;
		--modal-btn-pad-y: 20px;
		--modal-btn-track: 0;
		--modal-legal-size: 16px;
		--modal-legal-weight: 300;
		--modal-legal-track: 0;
		--modal-error-size: 16px;
		--modal-error-track: 0;
		--modal-close: 23px;
		--modal-close-top: 25px;
		--modal-close-right: 22px;
		--modal-close-stroke: 3px;
	}

	.modal_lead:not([hidden]) {
		padding: 20px;
	}
}

/* Mobile menu — кадр «меню mobile», 390×613, фон #f6f5fa */
body.menu-open {
	overflow: hidden;
}

.mobile-menu {
	position: fixed;
	inset: 0;
	z-index: 150;
	overflow: auto;
	padding: 60px 40px 109px;
	background: #f6f5fa;
	font-family: var(--font-ui);
	color: var(--color-ink);
}

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

/* Выезжает справа (scripts/mobile-menu.js ставит is-open). */
.mobile-menu {
	transform: translateX(100%);
	transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.mobile-menu.is-open {
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	.mobile-menu {
		transition: none;
	}
}

.mobile-menu__close {
	position: absolute;
	top: 20px;
	right: 20px;
	width: 23px;
	height: 23px;
	padding: 0;
	color: var(--color-ink);
}

.mobile-menu__close svg {
	display: block;
	width: 22px;
	height: 22px;
}

.mobile-menu__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 60px;
}

.mobile-menu__nav ul {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 32px;
}

.mobile-menu__nav a {
	font-size: 18px;
	font-weight: 500;
	line-height: 25px;
	letter-spacing: -0.03em;
	color: var(--color-ink);
}

.mobile-menu__nav a:hover {
	color: var(--color-orange);
}

.mobile-menu__action {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
	width: 100%;
}

.mobile-menu__contacts {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	font-size: 18px;
	font-weight: 600;
	line-height: 25px;
	letter-spacing: -0.03em;
	color: var(--color-orange);
}

/* UI kit page */
.ui-kit section {
	padding-block: 40px;
	border-bottom: 1px solid var(--color-border);
}

.ui-kit__swatches {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.ui-kit__swatch {
	width: 80px;
	height: 48px;
	border-radius: var(--radius-sm);
	border: 1px solid var(--color-border);
}

/* Герой. Один скелет на два блока: `hero_promo` — промо главной,
   `hero_page` — герой внутренней страницы (категория, подраздел, услуги).
   База — кадр 1920 (окно 1320–2879). 1440: ≤1919px, mobile: ≤1319px
   (как шапка; коллаж 1440 уже не собирается), 2880: ≥2880px.
   Размеры и координаты — доли сцены, вырез фото — clip-path из boolean union
   макета. Значения токенов живут на модификаторе: у промо и внутреннего героя
   они разные на одном и том же брейкпоинте. */
.hero {
	font-family: var(--font-ui);
	color: #fff;
}

.hero_promo {
	--stage-w: 1558;
	--stage-h: 722;
	--photo-h: 100%;
	--clip: url("#hero-clip-promo-1920");
	--shade-w: 61.9%;
	--copy-left: 3.851%;
	--copy-top: 18.006%;
	--copy-w: 41.27%;
	--lead-w: 91.3%;
	--title-size: 60px;
	--lead-size: 20px;
	--lead-lh: 1.4;
	--lead-track: 0;
	--price-w: 23.043%;
	--price-h: 50.97%;
	--price-bottom: 0;
	--price-pad: 60px 40px 40px;
	--price-gap: 33px;
	--price-label-size: 20px;
	--price-label-lh: 1.4;
	--price-label-track: 0;
	--price-num-size: 52px;
	--price-num-lh: 1.1;
	--price-row-pad: 12px;
	--price-row-gap: 12px;
	--btn-size: 18px;
	--btn-weight: 600;
	--btn-h: 53px;
	--cards-w: 49.872%;
	--cards-bottom: 1.108%;
	--cards-gap: 10px;
	--card-pad: 32px;
	--card-gap: 28px;
	--card-title-size: 22px;
	--card-title-lh: 1.26;
	--card-title-track: 0;
	--card-text-size: 16px;
	--card-link-size: 16px;
	--card-link-weight: 500;
}

/* Внутренний герой: фото с вырезом в правом нижнем углу и плашка цены в вырезе.
   Затемнения на фото в кадрах 1920/1440/2880 нет, на mobile — плоская заливка.
   Текстовый блок выровнен по вертикальному центру: в макете у страниц с
   двухстрочным заголовком он опущен ровно на полстроки. */
.hero_page {
	--stage-w: 1566;
	--stage-h: 580;
	--photo-h: 100%;
	--clip: url("#hero-clip-page-1920");
	--copy-left: 3.831%;
	--copy-top: 37.241%;
	--copy-w: 56.96%;
	--title-w: 71.188%;
	--lead-w: 69.619%;
	--title-size: 60px;
	--lead-size: 20px;
	--lead-lh: 1.4;
	--lead-track: 0;
	--price-w: 24.138%;
	--price-h: 45.345%;
	--price-bottom: 0;
	--price-pad: 40px;
	--price-gap: 33px;
	--price-main-gap: 12px;
	--price-label-size: 20px;
	--price-label-lh: 1.4;
	--price-label-track: 0;
	--price-num-size: 52px;
	--price-num-lh: 1.1;
	--price-row-pad: 0;
	--price-row-gap: 12px;
	--btn-size: 18px;
	--btn-weight: 400;
	--btn-h: 53px;
	--btn-color: #2a2a2a;
	padding-bottom: 80px;
}

.hero_page .hero__copy {
	transform: translateY(-50%);
}

.hero_page .hero__shade {
	display: none;
}

/* Вторая кнопка «Подробнее» есть только в мобильном кадре. */
.hero_page .hero__btn_ghost {
	display: none;
}

.hero__stage {
	position: relative;
	aspect-ratio: var(--stage-w) / var(--stage-h);
}

.hero__visual {
	position: absolute;
	inset: 0;
}

.hero__photo {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: var(--photo-h);
	clip-path: var(--clip);
}

.hero__photo img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center center;
}

.hero__shade {
	position: absolute;
	inset: 0 auto 0 0;
	width: var(--shade-w);
	background: linear-gradient(to left, rgba(7, 13, 16, 0) 36%, rgba(7, 13, 16, 0.5) 100%);
	pointer-events: none;
}

.hero__copy {
	position: absolute;
	z-index: 1;
	left: var(--copy-left);
	top: var(--copy-top);
	width: var(--copy-w);
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.hero__title {
	max-width: var(--title-w, none);
	font-family: "Exo 2", sans-serif;
	font-weight: 600;
	font-size: var(--title-size);
	line-height: 1;
	letter-spacing: 0;
	color: #fff;
}

.hero__title-accent {
	color: #ffa600;
}

.hero__lead {
	max-width: var(--lead-w);
	font-weight: 400;
	font-size: var(--lead-size);
	line-height: var(--lead-lh);
	letter-spacing: var(--lead-track);
	color: #fff;
}

.hero__break {
	display: inline;
}

.hero__price {
	position: absolute;
	z-index: 1;
	right: 0;
	bottom: var(--price-bottom);
	width: var(--price-w);
	min-height: var(--price-h);
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	gap: var(--price-gap);
	padding: var(--price-pad);
	border-radius: 20px;
	background: #4a4038;
	box-sizing: border-box;
}

.hero__price-main {
	display: flex;
	flex-direction: column;
	gap: var(--price-main-gap, 8px);
}

.hero__price-label,
.hero__price-unit {
	font-weight: 400;
	font-size: var(--price-label-size);
	line-height: var(--price-label-lh);
	letter-spacing: var(--price-label-track);
	color: #fff;
}

.hero__price-row {
	display: flex;
	align-items: center;
	gap: var(--price-row-gap);
	padding-block: var(--price-row-pad);
}

.hero__price-num {
	font-family: "Exo 2", sans-serif;
	font-weight: 600;
	white-space: nowrap;
	font-size: var(--price-num-size);
	line-height: var(--price-num-lh);
	letter-spacing: 0;
	color: #fff;
}

.hero__price-actions {
	display: flex;
	flex-direction: column;
	gap: 13px;
}

.hero__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: var(--btn-h);
	padding: 16px 32px;
	border-radius: 12px;
	border: 1px solid transparent;
	font-family: var(--font-ui);
	font-size: var(--btn-size);
	font-weight: var(--btn-weight);
	line-height: 1.4;
	letter-spacing: -0.03em;
	text-align: center;
}

.hero__btn_fill {
	background: #fff;
	color: var(--btn-color, #17202a);
}

.hero__btn_fill:hover {
	background: #f4f4f4;
}

.hero__btn_ghost {
	background: transparent;
	border-color: #fff;
	color: #fff;
}

.hero__btn_ghost:hover {
	background: rgba(255, 255, 255, 0.08);
}

.hero__cards {
	position: absolute;
	z-index: 1;
	left: 0;
	bottom: var(--cards-bottom);
	width: var(--cards-w);
	display: flex;
	align-items: stretch;
	gap: var(--cards-gap);
}

.promo-card {
	flex: 1 1 0;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: var(--card-gap);
	min-width: 0;
	padding: var(--card-pad);
	border-radius: 20px;
	background: #fff;
	color: #2a2a2a;
}

.promo-card__text {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.promo-card__title {
	font-weight: 600;
	font-size: var(--card-title-size);
	line-height: var(--card-title-lh);
	letter-spacing: var(--card-title-track);
	color: #2a2a2a;
}

.promo-card__desc {
	font-weight: 300;
	font-size: var(--card-text-size);
	line-height: 1.4;
	color: #758693;
}

.promo-card__more {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	align-self: flex-start;
	font-weight: var(--card-link-weight);
	font-size: var(--card-link-size);
	line-height: 1.26;
	color: #2a2a2a;
}

.promo-card__more:hover {
	color: var(--color-orange);
}

.promo-card__arrow {
	flex: none;
	width: 14px;
	height: 8px;
}

.hero__defs {
	position: absolute;
	width: 0;
	height: 0;
	overflow: hidden;
}

@media (max-width: 1919px) {
	.hero_promo {
		--stage-w: 1341;
		--stage-h: 722;
		--photo-h: 92.7978%;
		--clip: url("#hero-clip-promo-1440");
		--shade-w: 77%;
		--copy-left: 2.983%;
		--copy-top: 19.806%;
		--copy-w: 41.536%;
		--lead-w: 100%;
		--title-size: 52px;
		--lead-size: 18px;
		--lead-lh: 1.4;
		--lead-track: -0.03em;
		--price-w: 25.354%;
		--price-h: 47.091%;
		--price-bottom: 8.033%;
		--price-pad: 40px 32px 40px;
		--price-label-size: 18px;
		--price-label-lh: 1.4;
		--price-label-track: -0.03em;
		--price-num-size: 46px;
		--btn-weight: 400;
		--cards-w: 54.885%;
		--cards-bottom: 7.202%;
		--card-pad: 20px;
		--card-title-size: 20px;
		--card-title-lh: 1.25;
	}

	.hero_page {
		--stage-w: 1341;
		--stage-h: 493;
		--clip: url("#hero-clip-page-1440");
		--copy-left: 2.983%;
		--copy-top: 49.189%;
		--copy-w: 41.536%;
		--title-w: 98.743%;
		--lead-w: 100%;
		--title-size: 52px;
		--lead-size: 18px;
		--lead-lh: 1.366;
		--lead-track: -0.03em;
		--price-w: 24.31%;
		--price-h: 55.578%;
		--price-pad: 40px 32px;
		--price-main-gap: 8px;
		--price-label-size: 18px;
		--price-label-track: -0.03em;
		--price-num-size: 46px;
		--price-row-pad: 12px;
		--btn-color: #17202a;
		padding-bottom: 100px;
	}
}

@media (min-width: 2880px) {
	.hero_promo {
		--stage-w: 2280;
		--stage-h: 861;
		--photo-h: 100%;
		--clip: url("#hero-clip-promo-2880");
		--shade-w: 72.6%;
		--copy-left: 3.509%;
		--copy-top: 17.073%;
		--copy-w: 39.474%;
		--lead-w: 92.4%;
		--title-size: 84px;
		--lead-size: 22px;
		--lead-lh: 1.36;
		--lead-track: -0.03em;
		--price-w: 20.395%;
		--price-h: 48.781%;
		--price-bottom: 0;
		--price-pad: 60px 60px 44px;
		--price-label-size: 22px;
		--price-label-lh: 1.36;
		--price-label-track: -0.03em;
		--price-num-size: 76px;
		--btn-size: 22px;
		--btn-weight: 400;
		--btn-h: 62px;
		--cards-w: 43.07%;
		--cards-bottom: 0;
		--cards-gap: 20px;
		--card-pad: 40px;
		--card-gap: 40px;
		--card-title-size: 28px;
		--card-title-lh: 1.26;
		--card-text-size: 20px;
		--card-link-size: 20px;
		--card-link-weight: 600;
	}

	.hero_page {
		--stage-w: 2280;
		--stage-h: 720;
		--clip: url("#hero-clip-page-2880");
		--copy-left: 3.509%;
		--copy-top: 40.556%;
		--copy-w: 38.947%;
		--title-w: none;
		--lead-w: 93.694%;
		--title-size: 84px;
		--lead-size: 22px;
		--lead-lh: 1.366;
		--lead-track: -0.03em;
		--price-w: 22.325%;
		--price-h: 50.139%;
		--price-pad: 60px;
		--price-main-gap: 8px;
		--price-label-size: 22px;
		--price-label-lh: 1.366;
		--price-label-track: -0.03em;
		--price-num-size: 76px;
		--price-row-pad: 12px;
		--btn-size: 22px;
		--btn-h: 62px;
		--btn-color: #17202a;
		padding-bottom: 140px;
	}

	.hero__copy {
		gap: 32px;
	}

	.hero__break {
		display: block;
	}

	.promo-card__title {
		letter-spacing: -0.012em;
	}

	.promo-card:first-child {
		flex: 473 1 0;
	}

	.promo-card:last-child {
		flex: 489 1 0;
	}

	.promo-card__text {
		gap: 12px;
	}
}

@media (max-width: 1319px) {
	.hero .container {
		width: 100%;
		max-width: none;
	}

	/* Внутренний герой на mobile: фото и плашка — взаимная фигура.
	   Кадр 390: фото 0–345 с вырезом слева внизу, плашка 305–549 с вырезом
	   справа вверху, между ними зазор 10. Сетка делит фигуру на три полосы,
	   фото занимает первые две, плашка — вторую и третью. */
	.hero_page {
		padding-bottom: 40px;
	}

	.hero_page .hero__stage {
		container-type: inline-size;
		aspect-ratio: auto;
	}

	.hero_page .hero__visual {
		position: relative;
		inset: auto;
		display: grid;
		grid-template-columns: 1fr;
		grid-template-rows: minmax(0, 305fr) minmax(0, 40fr) minmax(0, 204fr);
		aspect-ratio: 390 / 549;
	}

	.hero_page .hero__photo {
		position: relative;
		grid-row: 1 / 3;
		grid-column: 1;
		width: auto;
		height: auto;
		clip-path: url("#hero-clip-page-mobile");
	}

	.hero_page .hero__shade {
		display: block;
		width: 100%;
		background: rgba(0, 0, 0, 0.46);
	}

	.hero_page .hero__copy {
		position: relative;
		grid-row: 1;
		grid-column: 1;
		left: auto;
		top: auto;
		width: auto;
		align-self: start;
		z-index: 1;
		transform: none;
		padding: 10cqi 5.128cqi 0;
		gap: 5.128cqi;
		--title-size: 8.205cqi;
		--title-w: none;
		--lead-size: 4.103cqi;
		--lead-lh: 1.4;
		--lead-track: 0;
		--lead-w: 96.286%;
	}

	.hero_page .hero__price {
		position: relative;
		z-index: 2;
		grid-row: 2 / 4;
		grid-column: 1;
		right: auto;
		bottom: auto;
		width: auto;
		height: 100%;
		min-height: 0;
		gap: 5.128cqi;
		padding: 5.128cqi 5.128cqi 5.897cqi;
		border-radius: 0;
		clip-path: url("#hero-clip-page-mobile-price");
		--price-main-gap: 2.051cqi;
		--price-label-size: 4.103cqi;
		--price-label-lh: 1.4;
		--price-label-track: 0;
		--price-num-size: 8.205cqi;
		--price-num-lh: 1;
		--price-row-pad: 0;
		--price-row-gap: 2.051cqi;
		--btn-size: 4.615cqi;
		--btn-weight: 600;
		--btn-h: 13.59cqi;
	}

	.hero_page .hero__price-actions {
		gap: 3.333cqi;
	}

	.hero_page .hero__btn {
		padding: 4.103cqi 8.205cqi;
		border-radius: 3.077cqi;
	}

	.hero_page .hero__btn_ghost {
		display: flex;
	}

	/* Доли кадра 390: 1cqi = 1% ширины блока, на 390px это 3.9px. */
	.hero_promo .hero__stage {
		container-type: inline-size;
		display: flex;
		flex-direction: column;
		gap: 5.128cqi;
		aspect-ratio: auto;
		padding-bottom: 5.128cqi;
	}

	.hero_promo .hero__visual {
		position: relative;
		inset: auto;
		display: grid;
		grid-template-columns: 1fr;
		grid-template-rows: minmax(0, 266fr) minmax(0, 60fr) minmax(0, 184fr);
		aspect-ratio: 390 / 510;
	}

	.hero_promo .hero__photo {
		position: relative;
		grid-row: 1 / 3;
		grid-column: 1;
		width: auto;
		height: auto;
		aspect-ratio: auto;
		border-radius: 0;
		overflow: visible;
		clip-path: url("#hero-clip-promo-mobile");
	}

	.hero_promo .hero__photo img {
		object-position: 72% 42%;
	}

	.hero_promo .hero__shade {
		width: 100%;
		background: linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0) 62%);
	}

	.hero_promo .hero__copy {
		position: relative;
		grid-row: 1;
		grid-column: 1;
		left: auto;
		top: auto;
		width: auto;
		align-self: start;
		z-index: 1;
		padding: 7.692cqi 5.128cqi 0;
		gap: 5.128cqi;
		--title-size: 8.205cqi;
		--lead-size: 4.103cqi;
		--lead-lh: 1.4;
		--lead-track: 0;
		--lead-w: 100%;
	}

	.hero_promo .hero__price {
		position: relative;
		z-index: 2;
		grid-row: 2 / 4;
		grid-column: 1;
		right: auto;
		bottom: auto;
		width: auto;
		height: 100%;
		min-height: 0;
		margin-top: 0;
		align-self: stretch;
		justify-content: flex-start;
		gap: 5.128cqi;
		padding: 5.128cqi 5.128cqi 0;
		border-radius: 0;
		clip-path: url("#hero-clip-promo-mobile-price");
		--price-label-size: 4.103cqi;
		--price-label-lh: 1.4;
		--price-label-track: 0;
		--price-num-size: 8.205cqi;
		--price-num-lh: 1;
		--price-row-pad: 0;
		--price-row-gap: 2.051cqi;
		--btn-size: 4.615cqi;
		--btn-weight: 600;
		--btn-h: 13.59cqi;
	}

	.hero_promo .hero__price-main {
		gap: 2.051cqi;
	}

	.hero_promo .hero__price-actions {
		gap: 3.333cqi;
	}

	.hero_promo .hero__btn {
		padding: 4.103cqi 8.205cqi;
		border-radius: 3.077cqi;
	}

	.hero_promo .hero__cards {
		position: static;
		width: auto;
		flex-direction: column;
		gap: 2.564cqi;
		padding-inline: 5.128cqi;
	}

	.promo-card {
		flex: none;
		gap: 5.128cqi;
		padding: 5.128cqi;
		border-radius: 5.128cqi;
		--card-title-size: 4.615cqi;
		--card-title-lh: 1.25;
		--card-title-track: -0.03em;
		--card-text-size: 4.103cqi;
		--card-link-size: 4.103cqi;
		--card-link-weight: 500;
	}

	.promo-card__text {
		gap: 2.051cqi;
	}

	.promo-card__more {
		gap: 1.795cqi;
	}

	.promo-card__arrow {
		width: 3.59cqi;
		height: 2.051cqi;
	}
}

/* Logo strip — главная 1920 / 1440 / 2880 / mobile */
.logo-strip {
	padding: 20px 0 120px;
}

.logo-strip__bar {
	display: flex;
	align-items: center;
	height: 115px;
	padding: 3px 40px;
	background: #fff;
	border-radius: 20px;
}

.logo-strip__viewport {
	flex: 1 1 auto;
	min-width: 0;
	height: 100%;
}

.logo-strip__track {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 100%;
}

.logo-strip__item {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 197px;
	width: 197px;
	/* Высота относительная — от дорожки (дорожка 100% высоты белой плашки),
	   чтобы логотипы не растягивало на других размерах плашки. */
	height: 100%;
	min-width: 0;
}

/* Логотип — в процентах от своего контейнера: 197×109 на 1920, дальше
   масштабируется вместе с контейнером, пропорции сохраняются. */
.logo-strip__item img {
	width: calc(var(--logo-w) / 197 * 100%);
	height: calc(var(--logo-h) / 109 * 100%);
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

@media (max-width: 1919px) {
	.logo-strip {
		padding: 0 0 100px;
	}
}

@media (min-width: 1920px) and (max-width: 2879px) {
	.logo-strip_category {
		padding: 0 0 60px;
	}

	.logo-strip_subcategory {
		padding: 0 0 80px;
	}
}

@media (min-width: 2880px) {
	.logo-strip {
		padding: 60px 0 140px;
	}

	.logo-strip_category,
	.logo-strip_subcategory {
		padding: 0 0 120px;
	}

	.logo-strip__bar {
		height: 160px;
	}

	.logo-strip__item {
		flex-basis: 278px;
		width: 278px;
	}
}

@media (max-width: 1319px) {
	.logo-strip {
		container-type: inline-size;
		padding: 0 0 15.385cqi;
	}

	.logo-strip .container {
		width: 100%;
		max-width: none;
	}

	.logo-strip__bar {
		height: 24.359cqi;
		padding: 0.769cqi 0.769cqi 0.769cqi 5.128cqi;
		border-radius: 5.128cqi;
	}

	.logo-strip__track {
		justify-content: flex-start;
		gap: 5.128cqi;
	}

	.logo-strip__item {
		display: none;
	}

	.logo-strip__item_mobile {
		display: flex;
		order: var(--m-order);
		flex: 0 0 27.949cqi;
		width: 27.949cqi;
		height: 14.103cqi;
	}

	.logo-strip__item_mobile img {
		width: calc(var(--logo-w-m) / 109 * 100%);
		height: calc(var(--logo-h-m) / 55 * 100%);
	}
}

/* Бегущая строка (scripts/logo-strip.js): логотипы не помещаются по ширине.
   Дорожка — два одинаковых набора, отступ после каждого логотипа, поэтому сдвиг
   на -50% приходит ровно в начало второго набора. */
.logo-strip_marquee {
	--logo-gap: 60px;
	--logo-gap-min: 10px;
	--logo-fade: 40px;
}

.logo-strip_marquee .logo-strip__viewport {
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--logo-fade), #000 calc(100% - var(--logo-fade)), transparent);
	mask-image: linear-gradient(90deg, transparent, #000 var(--logo-fade), #000 calc(100% - var(--logo-fade)), transparent);
}

.logo-strip_marquee .logo-strip__track {
	justify-content: flex-start;
	gap: 0;
	width: max-content;
	animation: logo-strip-marquee var(--marquee-duration, 40s) linear infinite;
}

.logo-strip_marquee .logo-strip__item {
	margin-inline-end: var(--logo-gap);
}

/* Замер «влезают ли логотипы»: минимально допустимый отступ между ними. */
.logo-strip_measure .logo-strip__item {
	margin-inline-end: var(--logo-gap-min);
}

@keyframes logo-strip-marquee {
	to {
		transform: translateX(-50%);
	}
}

@media (min-width: 2880px) {
	.logo-strip_marquee {
		--logo-gap: 100px;
		--logo-fade: 60px;
	}
}

/* Телефон: в бегущей строке едут все логотипы, не только отмеченные для мобильного кадра. */
@media (max-width: 1319px) {
	.logo-strip_marquee {
		--logo-gap: 5.128cqi;
		--logo-gap-min: 5.128cqi;
		--logo-fade: 5.128cqi;
	}

	.logo-strip_marquee .logo-strip__bar {
		padding-inline: 0.769cqi;
	}

	.logo-strip_marquee .logo-strip__item {
		display: flex;
		order: 0;
		flex: 0 0 27.949cqi;
		width: 27.949cqi;
		height: 14.103cqi;
	}

	.logo-strip_marquee .logo-strip__item img {
		width: calc(var(--logo-w-m, var(--logo-w) * 0.6) / 109 * 100%);
		height: calc(var(--logo-h-m, var(--logo-h) * 0.6) / 55 * 100%);
	}
}

/* Без анимации: ленту листают вручную. */
@media (prefers-reduced-motion: reduce) {
	.logo-strip_marquee .logo-strip__viewport {
		overflow-x: auto;
		-webkit-mask-image: none;
		mask-image: none;
	}

	.logo-strip_marquee .logo-strip__track {
		animation: none;
	}
}
/* Directions — главная 1920 / 1440 / 2880 / mobile */
.directions {
	padding: 0 0 120px;
	font-family: var(--font-ui);
	color: #27313b;
}

.directions__list {
	display: flex;
	align-items: stretch;
	gap: 10px;
}

.directions__card {
	position: relative;
	display: flex;
	flex-direction: column;
	flex: 1 1 0;
	gap: 40px;
	min-width: 0;
	padding: 32px;
	background: #fff;
	border-radius: 20px;
}

.directions__copy {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.directions__title {
	font-family: var(--font-ui);
	font-weight: 600;
	font-size: 24px;
	line-height: 1.2;
	letter-spacing: 0;
	color: #27313b;
}

.directions__link::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 20px;
}

.directions__link:focus-visible {
	outline: none;
}

.directions__link:focus-visible::after {
	outline: 2px solid #ff7700;
	outline-offset: 2px;
}

.directions__text {
	font-weight: 300;
	font-size: 16px;
	line-height: 1.4;
	color: #758693;
}

.directions__price {
	display: flex;
	/* Не хватает ширины — единицы целиком переносятся под цену, а не ломают число. */
	flex-wrap: wrap;
	row-gap: 4px;
	align-items: baseline;
	align-content: center;
	/* Пробел между ценой и единицами — отступом: text-node между span'ами во flex не рисуется. */
	gap: 6px;
	margin-top: auto;
	min-height: 80px;
	padding: 22px 32px;
	border-radius: 12px;
	background: #f6f5fa;
	box-shadow: inset 0 0 0 1px #fff;
	color: #27313b;
	transition: background-color 0.2s ease, color 0.2s ease;
	text-align: inherit;
	/* Над растянутой ссылкой карточки: клик по плашке — не переход. */
	position: relative;
	z-index: 1;
}

.directions__price-num {
	white-space: nowrap;
	font-weight: 800;
	font-size: 26px;
	line-height: 1.2;
}

.directions__price-unit {
	white-space: nowrap;
	font-weight: 600;
	font-size: 20px;
	line-height: 1.2;
}

/* Плашка цены становится оранжевой при наведении на карточку. */
@media (hover: hover) {
	.directions__card:hover .directions__price {
		background: #ff7700;
		color: #fff;
	}
}

@media (max-width: 1919px) {
	.directions {
		padding-bottom: 100px;
	}

	.directions__title {
		font-size: 22px;
	}

	.directions__price {
		min-height: 74px;
	}

	.directions__price-num {
		font-size: 22px;
	}

	.directions__price-unit {
		font-size: 18px;
	}
}

@media (min-width: 1320px) and (max-width: 1919px) {
	.directions__price {
		padding: 22px;
	}

	.directions__price-num {
		font-size: 20px;
	}
}

@media (min-width: 2880px) {
	.directions {
		padding-bottom: 180px;
	}

	.directions__list {
		gap: 20px;
	}

	.directions__title {
		font-size: 32px;
		line-height: 1.26;
	}

	.directions__text {
		font-size: 20px;
	}

	.directions__price {
		min-height: 88px;
		gap: 8px;
	}

	.directions__price-num {
		font-size: 32px;
	}

	.directions__price-unit {
		font-size: 22px;
	}
}

@media (max-width: 1319px) {
	.directions__list {
		flex-direction: column;
	}
}

@media (max-width: 767px) {
	.directions {
		padding-bottom: 80px;
	}

	.directions .container {
		width: calc(100% - 40px);
	}

	.directions__card {
		flex: none;
		padding: 20px;
	}

	.directions__card:first-child {
		gap: 20px;
	}
}

/* Terms — главная 1920 / 1440 / 2880 / mobile.
   Иконки абсолютные, карточка их обрезает. Стрелка на кнопке скрыта. */
.terms {
	padding-bottom: 120px;
}

.terms__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 60px;
}

.terms__title,
.terms__list {
	align-self: stretch;
	width: 100%;
}

.terms__title {
	font-family: "Exo 2", sans-serif;
	font-weight: 600;
	font-size: 52px;
	line-height: 1.1;
	color: #27313b;
}

.terms__list {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.terms__card {
	position: relative;
	overflow: hidden;
	min-width: 0;
	padding: 60px;
	background: #fff;
	border-radius: 20px;
}

.terms__card_wide {
	grid-column: 1 / -1;
}

.terms__copy {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.terms__card:nth-child(1) .terms__copy {
	max-width: 469px;
}

.terms__card:nth-child(2) .terms__copy {
	max-width: 491px;
}

.terms__card:nth-child(2) .terms__text {
	max-width: 487px;
}

.terms__card:nth-child(3) .terms__copy {
	max-width: 814px;
}

.terms__card:nth-child(3) .terms__text {
	max-width: 733px;
}

.terms__name {
	font-family: "Exo 2", sans-serif;
	font-weight: 600;
	font-size: 32px;
	line-height: 1.2;
	color: #27313b;
}

.terms__text {
	font-family: var(--font-ui);
	font-weight: 400;
	font-size: 20px;
	line-height: 1.4;
	color: #898f95;
}

.terms__card_soft .terms__text {
	color: rgba(39, 49, 59, 0.62);
}

.terms__lb {
	display: none;
}

.terms__art {
	position: absolute;
	z-index: 0;
	pointer-events: none;
	max-width: none;
}

.terms__card:nth-child(1) .terms__art {
	top: 88px;
	right: -42.3px;
	width: 263.3px;
	height: 274.5px;
}

.terms__card:nth-child(2) .terms__art {
	top: 37px;
	right: -41.8px;
	width: 246.8px;
	height: 320.8px;
}

.terms__card:nth-child(3) .terms__art {
	top: 0;
	right: 170px;
	width: 336px;
	height: 332px;
}

.terms__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 259px;
	height: 70px;
	padding: 0 32px;
	border-radius: 12px;
	background: #ff7700;
	color: #fff;
	font-family: var(--font-ui);
	font-weight: 600;
	font-size: 20px;
	line-height: 1.2;
	letter-spacing: 0;
}

.terms__btn:hover {
	background: #e56a00;
}

@media (max-width: 1919px) {
	.terms {
		padding-bottom: 100px;
	}

	.terms__title {
		font-size: 46px;
	}

	.terms__card {
		padding: 40px;
	}

	.terms__card:nth-child(1) .terms__copy,
	.terms__card:nth-child(1) .terms__text,
	.terms__card:nth-child(2) .terms__copy,
	.terms__card:nth-child(2) .terms__text {
		max-width: 408px;
	}

	.terms__card:nth-child(3) .terms__copy,
	.terms__card:nth-child(3) .terms__text {
		max-width: 736px;
	}

	.terms__name {
		font-size: 28px;
	}

	.terms__text {
		font-size: 18px;
		line-height: calc(25 / 18);
		letter-spacing: -0.03em;
	}

	.terms__card:nth-child(1) .terms__art {
		top: 49px;
		right: -39.3px;
		width: 224.3px;
		height: 233.8px;
	}

	.terms__card:nth-child(2) .terms__art {
		top: 43px;
		right: -26px;
		width: 183px;
		height: 237.4px;
	}

	.terms__card:nth-child(3) .terms__art {
		top: 0;
		right: 152px;
		width: 253px;
		height: 250px;
	}

	.terms__btn {
		font-size: 18px;
		letter-spacing: -0.03em;
	}
}

@media (min-width: 1320px) and (max-width: 2879px) {
	.terms__lb_pair {
		display: inline;
	}
}

@media (min-width: 1920px) and (max-width: 2879px) {
	.terms__lb_fhd {
		display: inline;
	}
}

@media (min-width: 2880px) {
	.terms {
		padding-bottom: 180px;
	}

	.terms__inner {
		gap: 80px;
	}

	.terms__title {
		font-size: 76px;
	}

	.terms__list {
		gap: 40px;
	}

	.terms__card {
		padding: 80px;
	}

	.terms__copy {
		gap: 32px;
	}

	.terms__card:nth-child(1) .terms__copy,
	.terms__card:nth-child(1) .terms__text {
		max-width: 704px;
	}

	.terms__card:nth-child(2) .terms__copy,
	.terms__card:nth-child(2) .terms__text {
		max-width: 720px;
	}

	.terms__card:nth-child(3) .terms__copy,
	.terms__card:nth-child(3) .terms__text {
		max-width: 1118px;
	}

	.terms__name {
		font-size: 44px;
	}

	.terms__text {
		font-size: 24px;
		line-height: normal;
		letter-spacing: -0.03em;
	}

	.terms__card:nth-child(1) .terms__art {
		top: 36px;
		right: -59.4px;
		width: 344.4px;
		height: 359px;
	}

	.terms__card:nth-child(2) .terms__art {
		top: 29.8px;
		right: -41.4px;
		width: 286.4px;
		height: 371.4px;
	}

	.terms__card:nth-child(3) .terms__art {
		top: -27px;
		right: 278px;
		width: 443.3px;
		height: 439px;
	}

	.terms__lb_xl,
	.terms__lb_ends {
		display: inline;
	}

	.terms__btn {
		width: 358px;
		height: 74px;
		font-size: 22px;
		letter-spacing: -0.03em;
	}
}

@media (max-width: 1319px) {
	.terms {
		padding-bottom: 80px;
	}

	.terms__inner {
		gap: 40px;
	}

	.terms__title {
		font-size: 32px;
		line-height: 1;
	}

	.terms__list {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.terms__card {
		height: 420px;
		padding: 20px;
	}

	.terms__copy,
	.terms__card:nth-child(1) .terms__copy,
	.terms__card:nth-child(1) .terms__text,
	.terms__card:nth-child(2) .terms__copy,
	.terms__card:nth-child(2) .terms__text,
	.terms__card:nth-child(3) .terms__copy,
	.terms__card:nth-child(3) .terms__text {
		max-width: none;
	}

	.terms__name {
		font-size: 26px;
	}

	.terms__text {
		font-size: 16px;
		line-height: 1.4;
		letter-spacing: 0;
	}

	.terms__card:nth-child(1) .terms__art {
		top: 262px;
		right: auto;
		left: 50%;
		width: 207.1px;
		height: 215.8px;
		transform: translateX(-50%);
	}

	.terms__card:nth-child(2) .terms__art {
		top: 272px;
		right: auto;
		left: 50%;
		width: 170.7px;
		height: 221.4px;
		transform: translateX(-50%);
	}

	.terms__card:nth-child(3) .terms__art {
		top: 272px;
		right: auto;
		left: 50%;
		width: 208.8px;
		height: 206.8px;
		transform: translateX(-50%);
	}

	.terms__lb_mobile,
	.terms__lb_ends {
		display: inline;
	}
}

@media (max-width: 767px) {
	.terms .container,
	.works .container {
		width: calc(100% - 40px);
	}
}

/* Works — главная 1920 / 1440 / 2880 / mobile.
   Коллаж из четырёх фото и оранжевой карточки. Градиент снизу, на hover заливка #27313b и описание. */
.works {
	padding-bottom: 120px;
	overflow-x: clip;
}

.works__inner {
	display: flex;
	flex-direction: column;
	gap: 60px;
}

.works__title {
	font-family: "Exo 2", sans-serif;
	font-weight: 600;
	font-size: 52px;
	line-height: 1.1;
	color: #27313b;
}

.works__mosaic {
	position: relative;
	height: 888px;
}

.works__card,
.works__more {
	position: absolute;
	overflow: hidden;
	border-radius: 20px;
	text-decoration: none;
	color: #fff;
}

.works__card:focus-visible,
.works__more:focus-visible {
	outline: 2px solid #ff7700;
	outline-offset: 2px;
}

.works__photo {
	position: absolute;
	max-width: none;
	object-fit: cover;
	object-position: center;
	pointer-events: none;
}

.works__shade,
.works__veil {
	position: absolute;
	z-index: 1;
	pointer-events: none;
}

.works__shade {
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(to bottom, rgba(83, 83, 83, 0) 0%, #090b0d 100%);
}

.works__veil {
	inset: 0;
	background: #27313b;
	opacity: 0;
	transition: opacity 0.25s ease;
}

.works__copy {
	position: absolute;
	z-index: 2;
	left: 40px;
	bottom: 40px;
	display: flex;
	flex-direction: column;
	gap: 40px;
	width: calc(100% - 80px);
}

.works__head {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
}

.works__badge {
	display: inline-flex;
	padding: 13px 9px;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.79);
}

.works__badge img {
	display: block;
	width: 137px;
	height: 22px;
}

.works__name {
	font-family: "Exo 2", sans-serif;
	font-weight: 600;
	font-size: 32px;
	line-height: 1.2;
	color: #fff;
	white-space: nowrap;
}

.works__desc {
	display: none;
	font-family: var(--font-ui);
	font-weight: 300;
	font-size: 16px;
	line-height: 1.4;
	color: #fff;
}

.works__card:focus-visible .works__veil {
	opacity: 1;
}

.works__card:focus-visible .works__desc {
	display: block;
}

.works__card:nth-child(1) {
	left: 0;
	top: 0;
	width: 647px;
	height: 506px;
}

.works__card:nth-child(1) .works__photo {
	left: -199px;
	top: 0;
	width: 1036px;
	height: 506px;
}

.works__card:nth-child(1) .works__shade {
	height: 346px;
}

.works__card:nth-child(2) {
	left: 0;
	top: 516px;
	width: 647px;
	height: 372px;
}

.works__card:nth-child(2) .works__photo {
	left: 0;
	top: -10px;
	width: 689px;
	height: 430px;
}

.works__card:nth-child(2) .works__shade {
	height: 312px;
	background: linear-gradient(to bottom, rgba(83, 83, 83, 0) 6.2%, #090b0d 100%);
}

.works__card:nth-child(3) {
	left: 655px;
	top: 0;
	width: 911px;
	height: 334px;
}

.works__card:nth-child(3) .works__photo {
	left: 0;
	top: -189.3px;
	width: 911px;
	height: 608px;
}

.works__card:nth-child(3) .works__shade {
	height: 165px;
}

.works__card:nth-child(4) {
	left: 655px;
	top: 344px;
	width: 567px;
	height: 544px;
}

.works__card:nth-child(4) .works__photo {
	left: -49px;
	top: 0;
	width: 811px;
	height: 544px;
}

.works__card:nth-child(4) .works__shade {
	height: 417px;
}

.works__more {
	left: 1230px;
	top: 344px;
	width: 336px;
	height: 544px;
	background: #ff7700;
}

.works__mark {
	position: absolute;
	left: 40px;
	top: -29px;
	width: 415px;
	height: 429.8px;
	max-width: none;
	pointer-events: none;
}

.works__btn {
	position: absolute;
	left: 40px;
	right: 40px;
	bottom: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 70px;
	border-radius: 12px;
	background: #fff;
	color: #ff7700;
	font-family: var(--font-ui);
	font-weight: 600;
	font-size: 20px;
	line-height: 1.2;
	letter-spacing: 0;
}

@media (max-width: 1919px) {
	.works {
		padding-bottom: 100px;
	}

	.works__title {
		font-size: 46px;
	}

	.works__name {
		font-size: 28px;
	}

	.works__mosaic {
		height: auto;
		aspect-ratio: 1340 / 888;
	}

	.works__card:nth-child(1) {
		left: 0;
		top: 0;
		width: 41.194%;
		height: 56.982%;
	}

	.works__card:nth-child(1) .works__photo {
		left: -36.051%;
		top: 0;
		width: 187.681%;
		height: 100%;
	}

	.works__card:nth-child(1) .works__shade {
		height: 68.379%;
	}

	.works__card:nth-child(2) {
		left: 0;
		top: 58.108%;
		width: 41.194%;
		height: 41.892%;
	}

	.works__card:nth-child(2) .works__photo {
		left: 0;
		top: -2.688%;
		width: 124.819%;
		height: 115.591%;
	}

	.works__card:nth-child(2) .works__shade {
		height: 69.892%;
	}

	.works__card:nth-child(3) {
		left: 41.94%;
		top: 0;
		width: 57.985%;
		height: 37.613%;
	}

	.works__card:nth-child(3) .works__photo {
		left: 0;
		top: -56.677%;
		width: 117.246%;
		height: 182.036%;
	}

	.works__card:nth-child(3) .works__shade {
		height: 49.401%;
	}

	.works__card:nth-child(4) {
		left: 41.94%;
		top: 38.739%;
		width: 32.91%;
		height: 61.261%;
	}

	.works__card:nth-child(4) .works__photo {
		left: -11.111%;
		top: 0;
		width: 183.9%;
		height: 100%;
	}

	.works__card:nth-child(4) .works__shade {
		height: 76.654%;
	}

	.works__more {
		left: 75.597%;
		top: 38.739%;
		width: 24.328%;
		height: 61.261%;
	}

	.works__mark {
		left: 9.202%;
		top: -5.257%;
		width: 127.301%;
		height: 79.007%;
	}

	.works__btn {
		left: 10.736%;
		right: 10.736%;
		bottom: 6.618%;
		height: 12.868%;
		font-size: 18px;
		letter-spacing: -0.03em;
	}
}

@media (min-width: 1440px) {
	.works__card:hover .works__veil {
		opacity: 1;
	}

	.works__card:hover .works__desc {
		display: block;
	}
}

@media (min-width: 2880px) {
	.works {
		padding-bottom: 180px;
	}

	.works__inner {
		gap: 80px;
	}

	.works__title {
		font-size: 76px;
	}

	.works__mosaic {
		height: 1174px;
	}

	.works__copy {
		left: 60px;
		bottom: 65px;
		width: calc(100% - 120px);
	}

	.works__head {
		gap: 32px;
	}

	.works__card:nth-child(3) .works__head {
		gap: 26px;
	}

	.works__card:nth-child(4) .works__head {
		gap: 30px;
	}

	.works__badge {
		padding: 16px 9px;
	}

	.works__badge img {
		width: 187px;
		height: 30px;
	}

	.works__name {
		font-size: 44px;
	}

	.works__card:nth-child(1) {
		width: 937px;
		height: 619px;
	}

	.works__card:nth-child(1) .works__photo {
		left: -114px;
		top: 0;
		width: 1264px;
		height: 617px;
	}

	.works__card:nth-child(2) {
		top: 638px;
		width: 937px;
		height: 536px;
	}

	.works__card:nth-child(2) .works__photo {
		left: 0;
		top: -49px;
		width: 938px;
		height: 586px;
	}

	.works__card:nth-child(3) {
		left: 958px;
		width: 1321px;
		height: 485px;
	}

	.works__card:nth-child(3) .works__photo {
		left: 0;
		top: -201px;
		width: 1321px;
		height: 882px;
	}

	.works__card:nth-child(4) {
		left: 958px;
		top: 505px;
		width: 853px;
		height: 668px;
	}

	.works__card:nth-child(4) .works__photo {
		left: -50px;
		top: 0;
		width: 997px;
		height: 668px;
	}

	.works__more {
		left: 1831px;
		top: 505px;
		width: 445px;
		height: 668px;
	}

	.works__mark {
		left: 68px;
		top: -56px;
		width: 513px;
		height: 531.2px;
	}

	.works__btn {
		left: 60px;
		right: 60px;
		bottom: 60px;
		font-size: 22px;
		letter-spacing: -0.03em;
	}
}

@media (max-width: 1439px) {
	.works {
		padding-bottom: 80px;
	}

	.works .container {
		width: calc(100% - 40px);
	}

	.works__inner {
		gap: 40px;
	}

	.works__title {
		font-size: 32px;
		line-height: 1;
	}

	.works__mosaic {
		display: flex;
		flex-direction: column;
		gap: 20px;
		height: auto;
		aspect-ratio: auto;
		width: 100vw;
		margin-left: calc(50% - 50vw);
	}

	.works__card:nth-child(1),
	.works__card:nth-child(2),
	.works__card:nth-child(3),
	.works__card:nth-child(4),
	.works__more {
		position: relative;
		left: auto;
		top: auto;
		width: 100%;
	}

	.works__card:nth-child(1) {
		height: 353px;
	}

	.works__card:nth-child(2),
	.works__card:nth-child(3),
	.works__card:nth-child(4) {
		height: 354px;
	}

	.works__more {
		height: 400px;
	}

	.works__card:nth-child(1) .works__shade {
		height: 236px;
	}

	.works__card:nth-child(2) .works__shade {
		height: 242px;
	}

	.works__card:nth-child(3) .works__shade {
		height: 164px;
	}

	.works__card:nth-child(4) .works__shade {
		height: 226px;
	}

	.works__copy {
		left: 20px;
		bottom: 20px;
		width: calc(100% - 40px);
	}

	.works__head {
		gap: 16px;
	}

	.works__name {
		font-size: 26px;
		white-space: normal;
	}

	.works__badge {
		padding: 10px 9px;
	}

	.works__badge img {
		width: 107px;
		height: 17px;
	}

	.works__mark {
		left: 50%;
		top: -112px;
		width: 397px;
		height: auto;
		transform: translateX(-50%);
	}

	.works__btn {
		left: 20px;
		right: 20px;
		bottom: 20px;
		height: 70px;
		font-size: 18px;
		letter-spacing: -0.03em;
	}
}

/* News — главная 1920 / 1440 / 2880 / mobile.
   Четыре белые карточки, ряд шире контента, четвёртая выглядывает в правое поле. */
.news {
	padding-bottom: 120px;
	overflow-x: clip;
}

.news__inner {
	display: flex;
	flex-direction: column;
	gap: 60px;
}

.news__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 60px;
}

.news__title {
	margin: 0;
	font-family: "Exo 2", sans-serif;
	font-weight: 600;
	font-size: 52px;
	line-height: 1.1;
	color: #27313b;
}

.news__nav {
	display: flex;
	flex-shrink: 0;
	gap: 10px;
}

.news__arrow {
	display: inline-flex;
	padding: 0;
	border-radius: 50%;
	line-height: 0;
}

.news__arrow:focus-visible {
	outline: 2px solid #ff7700;
	outline-offset: 2px;
}

.news__arrow_prev {
	transform: rotate(180deg);
}

.news__glyph {
	display: block;
}

.news__glyph_xl {
	display: none;
}

.news__view {
	container-type: inline-size;
}

.news__track {
	display: flex;
	gap: 10px;
	transition: transform 0.35s ease;
}

.news__card {
	display: flex;
	flex: 0 0 515px;
	flex-direction: column;
	gap: 20px;
	width: 515px;
	padding-bottom: 20px;
	border-radius: 20px;
	background: #fff;
	overflow: hidden;
}

.news__media {
	position: relative;
	height: 323px;
	border-radius: 20px;
	overflow: hidden;
}

.news__photo {
	position: absolute;
	left: -109px;
	top: -53.125px;
	width: 1008px;
	height: 573px;
	max-width: none;
}

.news__body {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 0 20px;
}

.news__date,
.news__text {
	margin: 0;
	font-family: var(--font-ui);
	font-weight: 300;
	font-size: 16px;
	line-height: 1.4;
	color: #758693;
}

.news__name {
	margin: 0;
	font-family: var(--font-ui);
	font-weight: 600;
	font-size: 24px;
	line-height: 1.2;
	color: #27313b;
}

@media (max-width: 1919px) {
	.news {
		padding-bottom: 100px;
	}

	.news__title {
		font-size: 46px;
	}

	.news__card {
		flex-basis: 440px;
		width: 440px;
	}

	.news__media {
		height: 276px;
	}

	.news__name {
		font-size: 22px;
	}
}

@media (min-width: 2880px) {
	.news {
		padding-bottom: 180px;
	}

	.news__inner {
		gap: 80px;
	}

	.news__title {
		font-size: 76px;
	}

	.news__glyph_md {
		display: none;
	}

	.news__glyph_xl {
		display: block;
	}

	.news__track {
		gap: 20px;
	}

	.news__card {
		flex-basis: 747px;
		gap: 28px;
		width: 747px;
		padding-bottom: 28px;
	}

	.news__media {
		height: 468px;
	}

	.news__body {
		padding: 0 28px;
	}

	.news__date,
	.news__text {
		font-size: 20px;
	}

	.news__name {
		font-size: 32px;
		line-height: 1.26;
	}
}

@media (max-width: 1439px) {
	.news {
		padding-bottom: 80px;
	}

	.news .container {
		width: calc(100% - 40px);
	}

	.news__inner {
		gap: 40px;
	}

	.news__head {
		display: contents;
	}

	.news__title {
		font-size: 32px;
		line-height: 1;
	}

	.news__nav {
		order: 2;
		justify-content: space-between;
	}

	.news__view {
		order: 1;
	}

	.news__card {
		flex-basis: 100cqi;
		width: 100cqi;
	}

	.news__media {
		height: auto;
		aspect-ratio: 350 / 219;
	}

	.news__photo {
		left: -31.142857%;
		top: -24.257991%;
		width: 288%;
		height: 261.643836%;
	}

	.news__name {
		font-size: 22px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.news__track {
		transition: none;
	}
}

/* Reviews — главная 1920 / 1440 / 2880 / mobile.
   Три белые карточки, ряд шире контента, третья выглядывает в правое поле. */
.reviews {
	padding-bottom: 120px;
	overflow-x: clip;
}

.reviews__inner {
	display: flex;
	flex-direction: column;
	gap: 60px;
}

.reviews__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 60px;
}

.reviews__title {
	font-family: "Exo 2", sans-serif;
	font-weight: 600;
	font-size: 52px;
	line-height: 1.1;
	color: #27313b;
}

.reviews__nav {
	display: flex;
	flex-shrink: 0;
	gap: 10px;
}

.reviews__arrow {
	display: inline-flex;
	padding: 0;
	border-radius: 50%;
	line-height: 0;
}

.reviews__arrow:focus-visible {
	outline: 2px solid #ff7700;
	outline-offset: 2px;
}

.reviews__arrow_prev {
	transform: rotate(180deg);
}

.reviews__glyph {
	display: block;
}

.reviews__glyph_xl {
	display: none;
}

.reviews__view {
	container-type: inline-size;
}

.reviews__track {
	display: flex;
	align-items: center;
	gap: 10px;
	transition: transform 0.35s ease;
}

.reviews__card {
	display: flex;
	flex: 0 0 648px;
	flex-direction: column;
	gap: 32px;
	width: 648px;
	padding: 32px;
	border-radius: 20px;
	background: #fff;
}

.reviews__person {
	display: flex;
	align-items: center;
	gap: 12px;
}

.reviews__avatar {
	position: relative;
	flex: 0 0 80px;
	width: 80px;
	height: 80px;
	border-radius: 20px;
	background: #27313b;
	overflow: hidden;
}

.reviews__photo {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center top;
}

.reviews__who {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.reviews__name {
	font-family: var(--font-ui);
	font-weight: 600;
	font-size: 20px;
	line-height: 1.35;
	color: #27313b;
}

.reviews__company,
.reviews__text {
	font-family: var(--font-ui);
	font-weight: 300;
	font-size: 16px;
	line-height: 1.4;
	color: #758693;
}

.reviews__copy {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.reviews__quote {
	font-family: var(--font-ui);
	font-weight: 600;
	font-size: 24px;
	line-height: 1.2;
	color: #27313b;
}

@media (max-width: 1919px) {
	.reviews {
		padding-bottom: 100px;
	}

	.reviews__title {
		font-size: 46px;
	}

	.reviews__card {
		flex-basis: 553px;
		width: 553px;
	}

	.reviews__quote {
		font-size: 22px;
	}
}

@media (min-width: 2880px) {
	.reviews {
		padding-bottom: 180px;
	}

	.reviews__inner {
		gap: 80px;
	}

	.reviews__title {
		font-size: 76px;
	}

	.reviews__glyph_md {
		display: none;
	}

	.reviews__glyph_xl {
		display: block;
	}

	.reviews__track {
		gap: 20px;
	}

	.reviews__card {
		flex-basis: 938px;
		gap: 40px;
		width: 938px;
		padding: 40px;
	}

	.reviews__person {
		gap: 20px;
	}

	.reviews__avatar {
		flex-basis: 114px;
		width: 114px;
		height: 114px;
	}

	.reviews__name {
		font-size: 24px;
		line-height: 1.375;
		letter-spacing: -0.03em;
	}

	.reviews__company,
	.reviews__text {
		font-size: 20px;
	}

	.reviews__quote {
		font-size: 32px;
		line-height: 1.26;
	}
}

@media (max-width: 1439px) {
	.reviews {
		padding-bottom: 80px;
	}

	.reviews .container {
		width: calc(100% - 40px);
	}

	.reviews__inner {
		gap: 40px;
	}

	.reviews__head {
		display: contents;
	}

	.reviews__title {
		font-size: 32px;
		line-height: 1;
	}

	.reviews__nav {
		order: 2;
		justify-content: space-between;
	}

	.reviews__view {
		order: 1;
	}

	.reviews__card {
		flex-basis: 100cqi;
		gap: 32px;
		width: 100cqi;
		padding: 20px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.reviews__track {
		transition: none;
	}
}

/* Estimate — кадры form 1920 / 1440 / 2880 / mobile */
.estimate {
	position: relative;
	overflow: hidden;
	padding-bottom: 108px;
}

.estimate__anchor {
	position: relative;
	width: 1302px;
	max-width: 100%;
	margin-inline: auto;
}

.estimate__deco {
	position: absolute;
	z-index: 0;
	pointer-events: none;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 100% 100%;
}

.estimate__deco_left {
	left: -532px;
	top: 261px;
	width: 625px;
	height: 719px;
	background-image: url("/images/estimate-left-f1920.png");
}

.estimate__deco_truss {
	left: 1302px;
	top: -105px;
	width: 1087px;
	height: 854px;
	background-image: url("/images/estimate-truss-f1920.png");
}

.estimate__deco_beam {
	left: 964px;
	top: 575px;
	width: 403px;
	height: 368px;
	background-image: url("/images/estimate-beam-f1920.png");
}

.estimate__card {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 615px 557px;
	justify-content: space-between;
	align-items: start;
	padding: 60px;
	border-radius: 20px;
	background: #fff;
	font-family: Manrope, sans-serif;
}

.estimate__intro {
	display: flex;
	flex-direction: column;
	gap: 60px;
	width: 615px;
}

.estimate__copy {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.estimate__title {
	margin: 0;
	font-family: "Exo 2", sans-serif;
	font-weight: 600;
	font-size: 52px;
	line-height: 1.1;
	color: #27313b;
}

.estimate__lead {
	max-width: 451px;
	margin: 0;
	font-size: 20px;
	font-weight: 400;
	line-height: 1.4;
	color: #758693;
}

.estimate__legal-nl {
	display: none;
}

.estimate__person {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
}

.estimate__photo {
	width: 120px;
	height: 120px;
	border-radius: 20px;
	object-fit: cover;
	background: #27313b;
}

.estimate__who {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.estimate__name {
	margin: 0;
	font-weight: 600;
	font-size: 24px;
	line-height: 1.2;
	color: #27313b;
}

.estimate__role {
	margin: 0;
	font-size: 18px;
	font-weight: 400;
	line-height: 1.4;
	letter-spacing: -0.03em;
	color: #758693;
}

.estimate__form {
	display: flex;
	flex-direction: column;
	gap: 40px;
	width: 557px;
}

.estimate__fields,
.estimate__footer {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.estimate .field {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0;
}

.estimate .field__input {
	box-sizing: border-box;
	width: 100%;
	min-height: 80px;
	margin: 0;
	padding: 26px 20px;
	border: 0;
	border-radius: 20px;
	background: #f6f5fa;
	font-family: inherit;
	font-size: 20px;
	font-weight: 400;
	line-height: 1.4;
	letter-spacing: 0;
	color: #373737;
	box-shadow: none;
}

.estimate .field__input::placeholder {
	color: #758693;
	opacity: 1;
}

.estimate .field__input:focus {
	outline: none;
	box-shadow: none;
}

.estimate .field__textarea {
	min-height: 108px;
	resize: none;
}

.estimate .field_has-error .field__input,
.estimate .field_has-error .field__input:focus {
	box-shadow: inset 0 0 0 2px #d42a2a;
	background: #f6f5fa;
}

.estimate .field__error {
	display: block;
	margin: 0;
	font-size: 18px;
	font-weight: 400;
	line-height: 1.4;
	letter-spacing: -0.03em;
	color: #d42a2a;
}

.estimate .field__error[hidden] {
	display: none;
}

.estimate__submit {
	width: 100%;
	min-height: 71px;
	padding: 22px 32px;
	border: 0;
	border-radius: 12px;
	background: #ff7700;
	font-family: inherit;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.35;
	letter-spacing: 0;
	color: #fff;
}

.estimate__submit:hover {
	background: #e56a00;
}

.estimate__legal {
	margin: 0;
	font-size: 18px;
	font-weight: 400;
	line-height: 1.4;
	letter-spacing: -0.03em;
	color: rgba(0, 0, 0, 0.4);
}

.estimate__legal a {
	color: #ff7700;
	text-decoration: none;
}

.estimate__legal a:hover {
	text-decoration: underline;
}

@media (max-width: 1919px) {
	.estimate {
		padding-bottom: 96px;
	}

	.estimate__anchor {
		width: 1111px;
	}

	.estimate__deco_left {
		left: -363px;
		top: 323px;
		width: 523px;
		height: 601px;
		background-image: url("/images/estimate-left-f1440.png");
	}

	.estimate__deco_truss {
		left: 1014px;
		top: -83px;
		width: 955px;
		height: 750px;
		background-image: url("/images/estimate-truss-f1440.png");
	}

	.estimate__deco_beam {
		left: 829px;
		top: 538px;
		width: 339px;
		height: 310px;
		background-image: url("/images/estimate-beam-f1440.png");
	}

	.estimate__card {
		grid-template-columns: 469px 511px;
		padding: 40px;
	}

	.estimate__intro {
		width: 469px;
	}

	.estimate__title {
		font-size: 46px;
	}

	.estimate__lead {
		max-width: 383px;
		font-size: 18px;
		letter-spacing: -0.03em;
	}

	.estimate__name {
		font-size: 22px;
	}

	.estimate__role {
		font-size: 16px;
		font-weight: 300;
		letter-spacing: 0;
	}

	.estimate__form {
		width: 511px;
	}

	.estimate .field__input {
		min-height: 77px;
		font-size: 18px;
		letter-spacing: -0.03em;
	}

	.estimate .field__textarea {
		min-height: 102px;
	}

	.estimate .field__error {
		font-size: 16px;
		letter-spacing: 0;
	}

	.estimate__legal {
		font-size: 16px;
		font-weight: 300;
		letter-spacing: 0;
	}
}

@media (min-width: 2880px) {
	.estimate {
		padding-bottom: 230px;
	}

	.estimate__anchor {
		width: 1888px;
	}

	.estimate__deco_left {
		left: -737px;
		top: 162px;
		width: 711px;
		height: 818px;
		background-image: url("/images/estimate-left-f2880.png");
	}

	.estimate__deco_truss {
		left: 1935px;
		top: -98px;
		width: 1258px;
		height: 988px;
		background-image: url("/images/estimate-truss-f2880.png");
	}

	.estimate__deco_beam {
		left: 1409px;
		top: 558px;
		width: 526px;
		height: 481px;
		background-image: url("/images/estimate-beam-f2880.png");
	}

	.estimate__card {
		grid-template-columns: 768px 848px;
		padding: 80px;
	}

	.estimate__intro {
		width: 768px;
	}

	.estimate__title {
		font-size: 76px;
	}

	.estimate__lead {
		max-width: 451px;
		font-size: 20px;
		letter-spacing: 0;
	}

	.estimate__name {
		font-size: 24px;
	}

	.estimate__role {
		font-size: 18px;
		font-weight: 400;
		letter-spacing: -0.03em;
	}

	.estimate__form {
		width: 848px;
	}

	.estimate .field__input {
		min-height: 82px;
		font-size: 22px;
		line-height: 1.36;
		letter-spacing: -0.03em;
	}

	.estimate .field__textarea {
		min-height: 112px;
	}

	.estimate .field__error {
		font-size: 20px;
		letter-spacing: 0;
	}

	.estimate__submit {
		min-height: 74px;
		font-size: 22px;
		line-height: 1.36;
		letter-spacing: -0.03em;
	}

	.estimate__legal {
		font-size: 20px;
		font-weight: 400;
		letter-spacing: 0;
	}
}

@media (max-width: 1199px) {
	.estimate {
		padding-bottom: 159px;
	}

	.estimate__anchor {
		width: 100%;
	}

	.estimate__deco_left {
		left: -136px;
		top: 943px;
		width: 285px;
		height: 327px;
		background-image: url("/images/estimate-left-mobile.png");
	}

	.estimate__deco_truss {
		left: auto;
		right: -292px;
		top: 762px;
		width: 584px;
		height: 486px;
		background-image: url("/images/estimate-truss-mobile.png");
	}

	.estimate__deco_beam {
		left: auto;
		right: -157px;
		top: 537px;
		width: 339px;
		height: 310px;
		background-image: url("/images/estimate-beam-mobile.png");
	}

	.estimate__card {
		grid-template-columns: 1fr;
		gap: 60px;
		padding: 32px 20px;
		border-radius: 20px;
	}

	.estimate__intro,
	.estimate__form {
		width: auto;
	}

	.estimate__intro {
		gap: 32px;
	}

	.estimate__copy {
		gap: 12px;
	}

	.estimate__title {
		font-size: 32px;
		line-height: 1;
	}

	.estimate__lead {
		max-width: none;
		font-size: 16px;
		font-weight: 400;
		letter-spacing: 0;
	}

	.estimate__lead-break {
		display: none;
	}

	.estimate__legal-nl {
		display: block;
	}

	.estimate__person {
		flex-direction: row;
		align-items: center;
		gap: 12px;
	}

	.estimate__photo {
		width: 77px;
		height: 77px;
		flex: none;
	}

	.estimate__name {
		font-size: 20px;
		line-height: 1.35;
	}

	.estimate__role {
		font-size: 16px;
		font-weight: 300;
		letter-spacing: 0;
	}

	.estimate__form {
		gap: 32px;
	}

	.estimate .field__input {
		min-height: 77px;
		font-size: 18px;
		line-height: 1.4;
		letter-spacing: -0.03em;
	}

	.estimate .field__textarea {
		min-height: 102px;
	}

	.estimate .field__error {
		font-size: 16px;
		letter-spacing: 0;
	}

	.estimate__submit {
		min-height: 69px;
		font-size: 18px;
		font-weight: 600;
		line-height: 1.39;
		letter-spacing: -0.03em;
	}

	.estimate__legal {
		font-size: 16px;
		font-weight: 300;
		letter-spacing: 0;
	}
}

/* Breadcrumbs — кадры «Вакансии / Контакты / Проект / Список проектов»
   1920 / 1440 / 2880 / mobile. Полоса сразу под шапкой, своего фона нет.
   Разделитель — прямоугольник 2×25, он берёт цвет у крошки справа:
   перед активной оранжевый, между ссылками серый. */
.breadcrumbs {
	padding: 20px 0 40px;
	font-family: var(--font-ui);
}

.breadcrumbs__list {
	display: flex;
	align-items: center;
	gap: 20px;
	font-size: 16px;
	font-weight: 300;
	line-height: 1.4;
	color: var(--color-muted-link);
}

.breadcrumbs__item {
	display: flex;
	align-items: center;
	flex: none;
	gap: 20px;
	white-space: nowrap;
}

.breadcrumbs__item:not(:first-child)::before {
	content: "";
	flex: none;
	width: 2px;
	height: 25px;
	background: currentColor;
}

.breadcrumbs__item:last-child {
	color: var(--color-orange);
}

@media (min-width: 2880px) {
	.breadcrumbs__list {
		font-size: 20px;
	}
}

@media (max-width: 767px) {
	.breadcrumbs .container {
		width: 100%;
		max-width: none;
	}

	.breadcrumbs__list {
		gap: 10px;
		padding-inline: 20px;
		overflow-x: auto;
		scrollbar-width: none;
	}

	.breadcrumbs__list::-webkit-scrollbar {
		display: none;
	}

	.breadcrumbs__item {
		gap: 10px;
	}

	.breadcrumbs__item:not(:first-child)::before {
		width: 1px;
	}
}

/* Герой страницы «Проект». Кадры: Проект 1920 / 1440 / 2880 / mobile.
   Фото и белая карточка рядом, не коллаж `.hero`. База — 1920.
   1440: ≤1919px, столбик с ≤1319 (ряд 1440 уже не собирается рядом
   с мобильной шапкой), кегль телефона: ≤767, 2880: ≥2880px.
   Перенос заголовка только на 2880. У текста два набора переносов:
   десктоп и телефон. */
.project-hero {
	padding-bottom: 120px;
	font-family: var(--font-ui);
	color: #27313b;
}

.project-hero__row {
	display: grid;
	grid-template-columns: 775px minmax(0, 1fr);
	align-items: stretch;
	gap: 10px;
}

.project-hero__photo {
	position: relative;
	align-self: start;
	aspect-ratio: 775 / 416;
	border-radius: 20px;
	overflow: hidden;
}

.project-hero__photo img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.project-hero__card {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 40px;
	padding: 40px;
	border-radius: 20px;
	background: #fff;
}

.project-hero__year {
	font-size: 20px;
	font-weight: 400;
	line-height: 1.4;
	color: #ff7700;
}

.project-hero__copy {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.project-hero__title {
	font-family: "Exo 2", sans-serif;
	font-size: 32px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0;
	color: #27313b;
}

.project-hero__text {
	font-size: 20px;
	font-weight: 400;
	line-height: 1.4;
	letter-spacing: 0;
	color: #27313b;
}

.project-hero__br-xl,
.project-hero__br-m,
.project-hero__tail-m {
	display: none;
}

@media (max-width: 1919px) {
	.project-hero {
		padding-bottom: 100px;
	}

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

	.project-hero__text {
		font-size: 18px;
		line-height: 1.39;
		letter-spacing: -0.03em;
	}
}

@media (min-width: 2880px) {
	.project-hero {
		padding-bottom: 140px;
	}

	.project-hero__row {
		grid-template-columns: 1fr 1fr;
		gap: 20px;
	}

	.project-hero__card {
		gap: 40px;
		padding: 60px;
	}

	.project-hero__year {
		font-size: 24px;
	}

	.project-hero__title {
		font-size: 44px;
	}

	.project-hero__text {
		font-size: 24px;
	}

	.project-hero__br-xl {
		display: inline;
	}
}

@media (max-width: 1319px) {
	.project-hero__row {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 767px) {
	.project-hero {
		padding-bottom: 80px;
	}

	.project-hero .container {
		width: calc(100% - 40px);
	}

	.project-hero__card {
		gap: 32px;
		padding: 20px;
	}

	.project-hero__year {
		font-size: 16px;
	}

	.project-hero__copy {
		gap: 12px;
	}

	.project-hero__title {
		font-family: Roboto, sans-serif;
		font-size: 26px;
		line-height: 1.24;
	}

	.project-hero__text {
		font-size: 16px;
		line-height: 1.4;
		letter-spacing: 0;
	}

	.project-hero__br-m,
	.project-hero__tail-m {
		display: inline;
	}

	.project-hero__tail-d {
		display: none;
	}
}

/* Заголовок страницы «Вакансии». Кадры: Вакансии 1920 / 1440 / 2880 / mobile.
   Строка под крошками, своего фона нет. Отступ снизу — зазор до карточек
   (60 / 60 / 80 / 40). Нижний padding кадра (120 / 100 / 180 / 80) остаётся
   у карточек, они в этом кадре ниже заголовка. */
.vacancy-heading {
	padding-bottom: 60px;
}

.vacancy-heading__title {
	font-family: "Exo 2", sans-serif;
	font-weight: 600;
	font-size: 52px;
	line-height: 1.1;
	letter-spacing: 0;
	color: #27313b;
}

@media (max-width: 1919px) {
	.vacancy-heading__title {
		font-size: 46px;
	}
}

@media (min-width: 2880px) {
	.vacancy-heading {
		padding-bottom: 80px;
	}

	.vacancy-heading__title {
		font-size: 76px;
	}
}

@media (max-width: 767px) {
	.vacancy-heading {
		padding-bottom: 40px;
	}

	.vacancy-heading .container {
		width: calc(100% - 40px);
	}

	.vacancy-heading__title {
		font-size: 32px;
		line-height: 1;
	}
}

/* Текстовый блок. Кадры категории и подраздела, один и тот же.
   Белая карточка, рисунок абсолютный и обрезается карточкой (горизонтальное
   зеркало исходника). Текст прижат вправо. «точность монтажа» — #ff7700.
   Перенос после первого предложения на 1920 и 2880, на 1440 его нет,
   на телефоне три других. Снизу секции 120 и на 1440, и на 2880. */
.text-block {
	padding-bottom: 120px;
	font-family: var(--font-ui);
	color: #27313b;
}

.text-block__card {
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	min-height: 260px;
	padding: 60px;
	border-radius: 20px;
	background: #fff;
}

.text-block__art {
	position: absolute;
	left: -141px;
	top: -13px;
	width: 638.5px;
	height: 337px;
	max-width: none;
	object-fit: cover;
	transform: scaleX(-1);
	pointer-events: none;
}

.text-block__text {
	position: relative;
	z-index: 1;
	width: 928px;
	max-width: 100%;
	font-size: 20px;
	font-weight: 400;
	line-height: 1.4;
	letter-spacing: 0;
}

.text-block__accent {
	color: #ff7700;
}

.text-block__br-m {
	display: none;
}

@media (max-width: 1919px) {
	.text-block__card {
		min-height: 180px;
		padding: 40px;
	}

	.text-block__text {
		width: 782px;
		max-width: 100%;
		font-size: 18px;
		line-height: 1.39;
		letter-spacing: -0.03em;
	}

	.text-block__br {
		display: none;
	}

	.text-block__art {
		left: -7.9104%;
		top: 0;
		width: 42.3881%;
		height: auto;
		aspect-ratio: 568 / 300;
	}
}

@media (min-width: 2880px) {
	.text-block__card {
		min-height: 325px;
		padding: 80px;
	}

	.text-block__text {
		width: 1049px;
		max-width: 1049px;
		font-size: 24px;
		line-height: 33px;
		letter-spacing: -0.03em;
	}

	.text-block__br {
		display: inline;
	}

	.text-block__art {
		left: -23px;
		top: -16px;
		width: 960px;
		height: 507px;
		aspect-ratio: auto;
	}
}

@media (max-width: 767px) {
	.text-block {
		padding-bottom: 80px;
	}

	.text-block .container {
		width: calc(100% - 40px);
	}

	.text-block__card {
		align-items: flex-start;
		justify-content: flex-start;
		min-height: 410px;
		padding: 20px;
	}

	.text-block__text {
		width: 100%;
		max-width: none;
		font-size: 16px;
		line-height: 1.4;
		letter-spacing: 0;
	}

	.text-block__br-m {
		display: inline;
	}

	.text-block__art {
		left: -106px;
		top: auto;
		bottom: -147px;
		width: 568px;
		height: 300px;
		aspect-ratio: auto;
	}
}

/* Контентный блок (WYSIWYG), отдельная сущность от TextBlock.
   Разметка — один класс .content: белая карточка — это .container внутри секции,
   типографика h1–h3, абзацев и списка — потомки .content. Подклассов у блока нет.
   Кадры: 1920 (карточка 1566, padding 60, gap 40) / 1440 / 2880 / mobile.
   Маркер пункта списка — оранжевая черта 25×4 (#ff7700). */
.content {
	padding-bottom: 120px;
	font-family: var(--font-ui);
	color: #27313b;
}

.content > .container {
	display: flex;
	flex-direction: column;
	gap: 40px;
	padding: 60px;
	border-radius: 20px;
	background: #fff;
}

.content h1,
.content h2,
.content h3,
.content p,
.content ul,
.content ol,
.content li {
	margin: 0;
}

.content h1 {
	font-size: 56px;
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: 0;
}

.content h2 {
	font-size: 40px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0;
}

.content h3 {
	font-size: 28px;
	font-weight: 500;
	line-height: 1.25;
	letter-spacing: 0;
}

.content p,
.content li {
	font-size: 18px;
	font-weight: 400;
	line-height: 1.4;
	letter-spacing: 0;
}

.content ul,
.content ol {
	display: flex;
	flex-direction: column;
	gap: 40px;
	padding: 0;
	list-style: none;
}

.content li {
	display: flex;
	align-items: flex-start;
	gap: 32px;
}

.content li::before {
	content: "";
	flex: none;
	width: 25px;
	height: 4px;
	margin-top: 0.6em;
	background: var(--color-orange);
}

@media (max-width: 1919px) {
	.content > .container {
		gap: 40px;
		padding: 40px;
	}

	.content h1 {
		font-size: 46px;
	}

	.content h2 {
		font-size: 34px;
	}

	.content h3 {
		font-size: 26px;
	}

	.content p,
	.content li {
		letter-spacing: -0.03em;
	}
}

@media (min-width: 2880px) {
	.content > .container {
		gap: 60px;
		padding: 80px;
	}

	.content h1 {
		font-size: 76px;
	}

	.content h2 {
		font-size: 52px;
	}

	.content h3 {
		font-size: 36px;
	}

	.content p,
	.content li {
		font-size: 22px;
		letter-spacing: -0.03em;
	}
}

@media (max-width: 767px) {
	.content {
		padding-bottom: 80px;
	}

	.content_vacancies {
		padding-bottom: 60px;
	}

	.content > .container {
		width: calc(100% - 40px);
		gap: 32px;
		padding: 20px;
	}

	.content h1 {
		font-size: 32px;
		line-height: 1;
	}

	.content h2 {
		font-size: 26px;
	}

	.content h3 {
		font-size: 22px;
	}

	.content p,
	.content li {
		font-size: 16px;
		letter-spacing: 0;
	}

	.content ul,
	.content ol {
		gap: 24px;
	}

	.content li {
		gap: 20px;
	}
}

/* Сетка подразделов. Кадры категории 1920 / 1440 / 2880 / mobile.
   Шесть белых карточек, на десктопе три колонки, на телефоне столбик.
   Заголовок Exo 2, имя карточки Manrope SemiBold, текст Light.
   У карточек в макете нет ссылок и hover. Снизу 120, на 2880 — 180. */
.category-grid {
	padding-bottom: 120px;
	font-family: var(--font-ui);
	color: #27313b;
}

.category-grid__title {
	margin: 0 0 60px;
	font-family: "Exo 2", sans-serif;
	font-weight: 600;
	font-size: 52px;
	line-height: 1.1;
	letter-spacing: 0;
	color: #27313b;
}

.category-grid__br {
	display: none;
}

.category-grid__items {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
}

@media (max-width: 1919px) {
	.category-grid__title {
		font-size: 46px;
	}
}

@media (min-width: 2880px) {
	.category-grid {
		padding-bottom: 180px;
	}

	.category-grid__title {
		margin-bottom: 80px;
		font-size: 76px;
	}
}

@media (max-width: 767px) {
	.category-grid {
		padding-bottom: 80px;
	}

	.category-grid .container {
		width: calc(100% - 40px);
	}

	.category-grid__title {
		margin-bottom: 40px;
		font-size: 32px;
		line-height: 1;
	}

	.category-grid__br {
		display: inline;
	}

	.category-grid__items {
		grid-template-columns: 1fr;
	}
}

.category-card {
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding: 20px;
	border-radius: 20px;
	background: #fff;
	color: inherit;
	text-decoration: none;
}

.category-card__photo {
	display: block;
	aspect-ratio: 475 / 272;
	border-radius: 13px;
	overflow: hidden;
}

.category-card__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.category-card__copy {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.category-card__title {
	font-size: 24px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0;
	color: #27313b;
}

.category-card__text {
	font-size: 16px;
	font-weight: 300;
	line-height: 22px;
	letter-spacing: 0;
	color: #758693;
}

@media (max-width: 1919px) {

	.category-card__title {
		font-size: 22px;
	}
}

@media (min-width: 2880px) {

	.category-card {
		gap: 32px;
		padding: 32px;
	}

	.category-card__title {
		font-size: 32px;
		line-height: 1.26;
	}

	.category-card__text {
		font-size: 20px;
		line-height: 1.4;
	}
}

@media (max-width: 767px) {

	.category-card__title {
		font-size: 22px;
	}
}

/* Сетка услуг. Компонент services: подраздел и страница услуг.
   Четыре колонки, на телефоне столбик из четырёх карточек и кнопка «Показать все».
   Плашка цены — не ссылка. Скрытая стрелка на кнопке не рисуется. */
.service-grid {
	padding-bottom: 120px;
	font-family: var(--font-ui);
	color: #27313b;
}

.service-grid__title {
	margin: 0 0 60px;
	font-family: "Exo 2", sans-serif;
	font-weight: 600;
	font-size: 52px;
	line-height: 1.1;
	letter-spacing: 0;
	color: #27313b;
}

.service-grid__br {
	display: none;
}

.service-grid__items {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px 10px;
}

.service-grid__more {
	display: none;
}

@media (max-width: 1919px) {
	.service-grid {
		padding-bottom: 100px;
	}

	.service-grid__title {
		font-size: 46px;
	}
}

@media (min-width: 2880px) {
	.service-grid {
		padding-bottom: 180px;
	}

	.service-grid__title {
		margin-bottom: 80px;
		font-size: 76px;
	}

	.service-grid__items {
		gap: 40px 20px;
	}
}

@media (max-width: 767px) {
	.service-grid {
		padding-bottom: 80px;
	}

	.service-grid .container {
		width: calc(100% - 40px);
	}

	.service-grid__title {
		margin-bottom: 40px;
		font-size: 32px;
		line-height: 1;
	}

	.service-grid__br {
		display: inline;
	}

	.service-grid__items {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.service-grid:not(.service-grid_open) .service-card:nth-child(n + 5) {
		display: none;
	}

	.service-grid__more {
		display: flex;
		align-items: center;
		width: 100%;
		height: 70px;
		margin-top: 40px;
		padding: 0 32px;
		border: 1px solid #fff;
		border-radius: 12px;
		background: #ff7700;
		color: #fff;
		font-family: var(--font-ui);
		font-size: 18px;
		font-weight: 600;
		line-height: 1;
		letter-spacing: 0;
		text-align: left;
	}
}

.service-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding-bottom: 20px;
	border-radius: 20px;
	background: #fff;
	overflow: hidden;
}

.service-card__photo {
	width: 100%;
	height: auto;
	aspect-ratio: 384 / 240;
	border-radius: 20px;
	object-fit: cover;
}

.service-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	gap: 20px;
	padding: 0 20px;
}

.service-card__copy {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.service-card__title {
	font-size: 24px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0;
	color: #27313b;
}

.service-card__link::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 20px;
}

.service-card__link:focus-visible {
	outline: none;
}

.service-card__link:focus-visible::after {
	outline: 2px solid #ff7700;
	outline-offset: 2px;
}

.service-card__text {
	font-size: 16px;
	font-weight: 300;
	line-height: 22px;
	letter-spacing: 0;
	color: #758693;
}

.service-card__price {
	display: flex;
	align-items: center;
	min-height: 68px;
	/* Плашка цены всегда прижата к низу карточки, а не к тексту над ней. */
	margin: auto 0 0;
	padding: 12px 32px;
	border-radius: 12px;
	background: #f6f5fa;
	color: #27313b;
	text-align: inherit;
	transition: background-color 0.2s ease, color 0.2s ease;
	/* Над растянутой ссылкой карточки: клик по плашке — не переход. */
	position: relative;
	z-index: 1;
}

/* Плашка цены становится оранжевой при наведении на карточку. */
@media (hover: hover) {
	.service-card:hover .service-card__price {
		background: #ff7700;
		color: #fff;
	}
}

/* Цена и единицы — отдельными блоками, пробел между ними задан отступом. */
.service-card__price-line {
	display: flex;
	/* Не хватает ширины — единицы целиком переносятся под цену, а не ломают число. */
	flex-wrap: wrap;
	row-gap: 4px;
	align-items: baseline;
	gap: 6px;
}

.service-card__price-value {
	white-space: nowrap;
	font-size: 26px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: 0;
}

.service-card__price-unit {
	white-space: nowrap;
	font-size: 20px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0;
}

@media (max-width: 1919px) {

	.service-card__title {
		font-size: 22px;
	}

	.service-card__price {
		min-height: 74px;
	}

	.service-card__price-value {
		font-size: 22px;
	}

	.service-card__price-unit {
		font-size: 18px;
	}
}

@media (min-width: 1320px) and (max-width: 1919px) {

	.service-card__price {
		padding: 12px 22px;
	}

	.service-card__price-value {
		font-size: 20px;
	}

	.service-card__price-unit {
		font-size: 17px;
	}
}

@media (min-width: 2880px) {

	.service-card {
		gap: 28px;
		padding-bottom: 28px;
	}

	.service-card__body {
		gap: 28px;
		padding: 0 28px;
	}

	.service-card__title {
		font-size: 32px;
		line-height: 40px;
	}

	.service-card__text {
		font-size: 20px;
		line-height: 1.4;
	}

	.service-card__price {
		min-height: 88px;
	}

	.service-card__price-line {
		gap: 8px;
	}

	.service-card__price-value {
		font-size: 32px;
	}

	.service-card__price-unit {
		font-size: 22px;
	}
}

@media (max-width: 767px) {

	.service-card__title {
		font-size: 22px;
	}
}

/* Карточки вакансий. Три в ряд под заголовком страницы.
   Плашка серая, у средней оранжевая. Стрелка скрыта. Снизу 120. */
.vacancy-list {
	padding-bottom: 120px;
	font-family: var(--font-ui);
	color: #27313b;
}

.vacancy-list__items {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
}

@media (max-width: 1919px) {
	.vacancy-list {
		padding-bottom: 100px;
	}
}

@media (min-width: 2880px) {
	.vacancy-list {
		padding-bottom: 180px;
	}

	.vacancy-list__items {
		gap: 20px;
	}
}

@media (max-width: 767px) {
	.vacancy-list {
		padding-bottom: 80px;
	}

	.vacancy-list .container {
		width: calc(100% - 40px);
	}

	.vacancy-list__items {
		grid-template-columns: 1fr;
		gap: 10px;
	}
}

.vacancy-card {
	display: flex;
	flex-direction: column;
	padding: 32px;
	border-radius: 20px;
	background: #fff;
}

.vacancy-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	gap: 40px;
}

.vacancy-card__copy {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.vacancy-card__title {
	font-size: 24px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0;
	color: #27313b;
}

.vacancy-card__text {
	font-size: 16px;
	font-weight: 300;
	line-height: 22px;
	letter-spacing: 0;
	color: #758693;
}

.vacancy-card__price {
	display: flex;
	align-items: center;
	min-height: 68px;
	/* Плашка цены всегда прижата к низу карточки, а не к тексту над ней. */
	margin: auto 0 0;
	padding: 12px 32px;
	border-radius: 12px;
	background: #f6f5fa;
	color: #27313b;
	transition: background-color 0.2s ease, color 0.2s ease;
}

/* Цена и единицы — отдельными блоками, пробел между ними задан отступом. */
.vacancy-card__price-line {
	display: flex;
	/* Не хватает ширины — единицы целиком переносятся под цену, а не ломают число. */
	flex-wrap: wrap;
	row-gap: 4px;
	align-items: baseline;
	gap: 6px;
}

/* Плашка цены становится оранжевой при наведении на карточку. */
@media (hover: hover) {
	.vacancy-card:hover .vacancy-card__price {
		background: #ff7700;
		color: #fff;
	}
}

.vacancy-card__price-value {
	white-space: nowrap;
	font-size: 26px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: 0;
}

.vacancy-card__price-unit {
	white-space: nowrap;
	font-size: 20px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0;
}

@media (max-width: 1919px) {

	.vacancy-card__title {
		font-size: 22px;
	}

	.vacancy-card__price {
		min-height: 74px;
	}

	.vacancy-card__price-value {
		font-size: 22px;
	}

	.vacancy-card__price-unit {
		font-size: 18px;
	}
}

@media (min-width: 1320px) and (max-width: 1919px) {

	.vacancy-card__price {
		padding: 12px 22px;
	}

	.vacancy-card__price-value {
		font-size: 20px;
	}

	.vacancy-card__price-unit {
		font-size: 17px;
	}
}

@media (min-width: 2880px) {

	.vacancy-card__title {
		font-size: 32px;
		line-height: 40px;
	}

	.vacancy-card__text {
		font-size: 20px;
		line-height: 1.4;
	}

	.vacancy-card__price {
		min-height: 88px;
	}

	.vacancy-card__price-line {
		gap: 8px;
	}

	.vacancy-card__price-value {
		font-size: 32px;
	}

	.vacancy-card__price-unit {
		font-size: 22px;
	}
}

@media (max-width: 767px) {

	.vacancy-card {
		padding: 20px;
	}

	.vacancy-card__title {
		font-size: 22px;
	}
}

/* Галерея проекта. Пять одинаковых фото: три сверху, два снизу.
   Заголовка в кадре нет. Снизу 120. */
.project-gallery {
	padding-bottom: 120px;
}

.project-gallery__grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 10px;
}

.project-gallery__item {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 20px;
	overflow: hidden;
	cursor: zoom-in;
}

.project-gallery__item:focus-visible {
	outline: 2px solid var(--color-orange);
	outline-offset: 2px;
}

.project-gallery__photo {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.project-gallery__item:nth-child(-n + 3) {
	grid-column: span 2;
	aspect-ratio: 515 / 330;
}

.project-gallery__item:nth-child(n + 4) {
	grid-column: span 3;
	aspect-ratio: 775 / 496;
}

@media (max-width: 1919px) {

	.project-gallery {
		padding-bottom: 100px;
	}
}

@media (min-width: 2880px) {

	.project-gallery {
		padding-bottom: 140px;
	}

	.project-gallery__grid {
		gap: 20px;
	}
}

@media (max-width: 767px) {

	.project-gallery {
		padding-bottom: 80px;
	}

	.project-gallery .container {
		width: calc(100% - 40px);
	}

	.project-gallery__grid {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.project-gallery__item,
	.project-gallery__item:nth-child(-n + 3),
	.project-gallery__item:nth-child(n + 4) {
		grid-column: auto;
		aspect-ratio: 350 / 224;
	}
}

/* Контакты. Карта на всю ширину контента, белая карточка слева.
   На телефоне карточка отдельно, карта другим кадром ниже. Снизу 120. */
.contacts-block {
	padding-bottom: 120px;
	font-family: var(--font-ui);
	color: #27313b;
}

.contacts-block__panel {
	position: relative;
	border-radius: 20px;
	overflow: hidden;
}

.contacts-block__map {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	background: #e5e3df;
}

/* Промо Яндекса в углу карты: «Как добраться», «Доехать на такси», «Создать свою карту». */
.contacts-block__map [class$="-map-copyrights-promo"] {
	display: none;
}

.contacts-block__card {
	position: relative;
	z-index: 1;
	width: 581px;
	margin: 60px;
	padding: 60px;
	border-radius: 20px;
	background: #fff;
	display: flex;
	flex-direction: column;
	gap: 60px;
}

.contacts-block__title {
	font-family: "Exo 2", sans-serif;
	font-weight: 600;
	font-size: 52px;
	line-height: 1.1;
	letter-spacing: 0;
	color: #27313b;
}

.contacts-block__group {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.contacts-block__label {
	font-size: 24px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0;
	color: #27313b;
}

.contacts-block__address,
.contacts-block__line {
	font-size: 20px;
	font-weight: 400;
	line-height: 1.4;
	letter-spacing: 0;
	color: #27313b;
}

.contacts-block__line {
	white-space: pre;
}

.contacts-block__lines {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.contacts-block__line_accent {
	color: #ff7700;
	text-decoration: none;
}

.contacts-block__mob {
	display: none;
}

@media (max-width: 1919px) {

	.contacts-block {
		padding-bottom: 100px;
	}

	.contacts-block__card {
		width: 512px;
		margin: 40px;
		padding: 40px;
		gap: 40px;
	}

	.contacts-block__title {
		font-size: 46px;
	}

	.contacts-block__label {
		font-size: 22px;
	}

	.contacts-block__address,
	.contacts-block__line {
		font-size: 18px;
		line-height: 25px;
		letter-spacing: -0.03em;
	}
}

@media (min-width: 2880px) {

	.contacts-block {
		padding-bottom: 120px;
	}

	.contacts-block__card {
		width: 857px;
		margin: 80px;
		padding: 60px;
		gap: 60px;
	}

	.contacts-block__title {
		font-size: 76px;
	}

	.contacts-block__label {
		font-size: 32px;
		line-height: 40px;
	}

	.contacts-block__address,
	.contacts-block__line {
		font-size: 24px;
		line-height: 34px;
		letter-spacing: 0;
	}
}

@media (max-width: 767px) {

	.contacts-block {
		padding-bottom: 60px;
	}

	.contacts-block .container {
		width: calc(100% - 40px);
	}

	.contacts-block__panel {
		border-radius: 0;
		overflow: visible;
	}

	.contacts-block__map {
		position: static;
		width: 100vw;
		height: 416px;
		margin: 40px 0 0 calc(50% - 50vw);
	}

	.contacts-block__card {
		width: auto;
		margin: 0;
		padding: 40px;
		gap: 40px;
	}

	.contacts-block__title {
		font-family: Roboto, sans-serif;
		font-size: 32px;
		line-height: 38px;
	}

	.contacts-block__label {
		font-size: 20px;
		line-height: 27px;
	}

	.contacts-block__address,
	.contacts-block__line {
		font-size: 16px;
		line-height: 22px;
		letter-spacing: 0;
	}

	.contacts-block__address {
		line-height: 22px;
	}

	.contacts-block__lines {
		gap: 8px;
	}

	.contacts-block__desk {
		display: none;
	}

	.contacts-block__mob {
		display: inline;
	}


	.page_contacts .estimate {
		display: none;
	}
}

/* Услуги 1920: снизу у героя 120, у категории и подраздела на этом кадре 80. */
@media (min-width: 1920px) and (max-width: 2879px) {
	.hero_services {
		padding-bottom: 120px;
	}
}
/* Список проектов. Кадры 1920 / 1440 / 2880 / mobile. */
.project-list {
	padding-bottom: 120px;
}

.project-list__title {
	margin: 0 0 60px;
	font-family: "Exo 2", sans-serif;
	font-weight: 600;
	font-size: 52px;
	line-height: 1.1;
	letter-spacing: 0;
	color: #27313b;
}

.project-list__items {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
}

.project-list__card {
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding: 20px;
	background: #fff;
	border-radius: 20px;
	color: inherit;
	text-decoration: none;
}

.project-list__photo {
	width: 100%;
	height: auto;
	aspect-ratio: 477 / 273;
	object-fit: cover;
	border-radius: 13px;
}

.project-list__copy {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.project-list__name {
	font-weight: 600;
	font-size: 24px;
	line-height: 1.2;
	color: #27313b;
}

.project-list__text {
	font-weight: 300;
	font-size: 16px;
	line-height: 22px;
	color: #758693;
}

@media (max-width: 1919px) {
	.project-list {
		padding-bottom: 100px;
	}

	.project-list__title {
		font-size: 46px;
	}

	.project-list__name {
		font-size: 22px;
	}
}

@media (min-width: 2880px) {
	.project-list {
		padding-bottom: 140px;
	}

	.project-list__items {
		gap: 20px;
	}

	.project-list__card {
		gap: 32px;
		padding: 32px;
	}

	.project-list__name {
		font-size: 32px;
		line-height: 1.26;
	}

	.project-list__text {
		font-size: 20px;
		line-height: 1.4;
	}
}

@media (max-width: 767px) {
	.project-list {
		padding-bottom: 60px;
	}

	.project-list .container {
		width: calc(100% - 40px);
	}

	.project-list__title {
		margin-bottom: 40px;
		font-family: Roboto, sans-serif;
		font-size: 32px;
		line-height: 38px;
	}

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

	.project-list__card:nth-child(n + 7) {
		display: none;
	}

	.project-list__name {
		font-size: 20px;
		line-height: 27px;
	}

	.project-list__text {
		line-height: 22px;
	}
}

/* Просмотр фото во весь экран (scripts/lightbox.js). */
body.lightbox-open {
	overflow: hidden;
}

.lightbox {
	--lightbox-pad: 60px;
	--lightbox-close: 32px;
	--lightbox-close-offset: 24px;
	position: fixed;
	inset: 0;
	z-index: 200;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: var(--lightbox-pad);
	background: rgba(18, 22, 26, 0.6);
	opacity: 0;
	transition: opacity 0.2s ease;
}

.lightbox[hidden] {
	display: none;
}

.lightbox.is-open {
	opacity: 1;
}

.lightbox__img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	border-radius: 20px;
	object-fit: contain;
}

.lightbox__close {
	position: absolute;
	top: var(--lightbox-close-offset);
	right: var(--lightbox-close-offset);
	display: flex;
	align-items: center;
	justify-content: center;
	width: calc(var(--lightbox-close) + 16px);
	height: calc(var(--lightbox-close) + 16px);
	padding: 8px;
	color: #fff;
	filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.5));
	transition: color 0.2s ease;
}

.lightbox__close:hover {
	color: var(--color-orange);
}

.lightbox__close:focus-visible {
	outline: 2px solid var(--color-orange);
	outline-offset: 2px;
	border-radius: 8px;
}

.lightbox__close-icon {
	width: var(--lightbox-close);
	height: var(--lightbox-close);
}

@media (min-width: 2880px) {
	.lightbox {
		--lightbox-pad: 100px;
		--lightbox-close: 40px;
		--lightbox-close-offset: 36px;
	}
}

@media (max-width: 767px) {
	.lightbox {
		--lightbox-pad: 16px;
		--lightbox-close: 22px;
		--lightbox-close-offset: 8px;
		padding-top: 64px;
		padding-bottom: 64px;
	}

	.lightbox__img {
		border-radius: 12px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.lightbox {
		transition: none;
	}
}

/* Страница «Все блоки»: служебная подпись над каждой секцией. */
.blocks__label {
	margin-block: 40px 16px;
	padding: 8px 12px;
	border: 1px dashed var(--color-orange);
	border-radius: 8px;
	font-family: var(--font-ui);
	font-size: 14px;
	color: var(--color-orange);
	scroll-margin-top: 120px;
}
