.service-hero {
	position: relative;
	margin-top: -48px;
}

.service-hero__bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	z-index: 1;
	pointer-events: none;
}

.service-hero__wrapper {
	position: relative;
	z-index: 2;
	padding-top: 108px;
	padding-bottom: 146px;
}

.service-hero__title {
	color: #FBF6F0;
	font-weight: 300;
	font-size: 94px;
	line-height: 106px;
	letter-spacing: 0%;
}

.service-hero__subtitle {
	margin-top: 70px;
	color: #FBF6F0;
	font-weight: 300;
	font-size: 48px;
	line-height: 64px;
	letter-spacing: 0%;
}

.service-hero__title strong,
.service-hero__subtitle strong {
	font-weight: 400;
}

/* DESCRIPTION BLOCK */
.description-block {
    padding: 60px 0;
}

.description-text {
    font-size: clamp(16px, 1.8vw, 20px);
    line-height: 1.8;
    color: var(--color-text);
    max-width: 720px;
    font-weight: 400;
}

.description-text p+p {
    margin-top: 24px;
}

.description-text strong {
    font-weight: 500;
}

/* SECTION: LIST ITEMS (bracket style) */
.section-list {
    margin-top: 155px;
}

.section-list__wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: var(--grid-gap);
}

.section-label {
    display: none;
    font-size: 13px;
    font-weight: 500;
    opacity: 0.5;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-subtitle {
	max-width: 350px;
	margin-bottom: 62px;
}

.section-title {
	font-weight: 400;
	text-wrap: balance;
}

/* BRACKET STYLE */
.bracket-list {
	grid-column: span 2; 
    position: relative;
}

.bracket-item {
    display: flex;
    align-items: baseline;
    padding-top: 35px;
	padding-bottom: 35px;
	border-bottom: 3px solid #444444;
    position: relative;
    transition: 0.3s ease;
}

.bracket-item:first-child {
	padding-top: 0;
}

.bracket-item:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.bracket-text {
    line-height: 1.5;
	font-weight: 400;
	font-size: 38px;
	line-height: var(--section-title-line-height);
	letter-spacing: 0%;

}

/* RESULTS SECTION */
.results-section {
    margin-top: 150px;
}

.results-header {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: var(--grid-gap);
}

.results-section .section-subtitle {
	grid-column: span 2; 
	margin-bottom: 0;
	max-width: 100%;
	font-weight: 300;
	font-size: 48px;
	line-height: 64px;
	letter-spacing: 0%;

}

.results-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: var(--grid-gap);
	margin-top: 60px;
}

.result-card {
	display: flex;
	flex-direction: column;
	align-items: space-between;
	justify-content: flex-start;
	gap: 70px;
	
    background: rgba(68, 68, 68, 0.12);
    border-radius: var(--radius-main);
    padding-top: 54px;
	padding-bottom: 45px;
	padding-left: 50px;
	padding-right: 34px;
    position: relative;
    overflow: hidden;
    transition: 0.3s ease;
}

.results-grid > :nth-child(4):last-child {
    grid-column: span 3; /* Занимает всю строку (3 колонки) */
}

.results-grid > :nth-child(5):last-child {
    grid-column: span 2; /* Занимает оставшиеся 2 колонки */
}

.result-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.result-card img {
	width: 40px;
	height: 40px;
}


.result-card p {
	margin-top: auto;
	
	font-weight: 300;
	font-size: 38px;
	line-height: 48px;
	letter-spacing: 0%;
    color: var(--color-text);

	text-wrap: balance;
}


/* SERVICE CASES */
.service-cases {
	margin-top: 150px;
}

.service-cases__wrapper {
	display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: var(--grid-gap);
}

.service-cases__right {
	grid-column: span 2; 
	display: flex;
	border-radius: var(--radius-main);
	overflow: hidden;
} 

.service-cases__slider {
	position: relative;
  	overflow: hidden;
  	width: 100%;
  	height: auto;
  	aspect-ratio: 2 / 1;
}

/* PROCESS SECTION */
.process-section {
    margin-top: 150px;
}

.process-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: var(--grid-gap);
}

.process-block {
	grid-column: span 2;
	display: flex;
	flex-direction: column;
	gap: 64px;
}

.process-step {
	display: flex;
	width: 100%;
	gap: 120px;
}

.process-step:last-child {
    margin-bottom: 0;
}

.process-step:hover {
    border-color: var(--border-color)
}

.process-step-num {
	font-weight: 300;
	font-size: var(--section-title-size);
	line-height: var(--section-title-line-height);
	letter-spacing: 0%;
}

.process-step p {
	font-weight: 300;
	font-size: var(--section-title-size);
	line-height: var(--section-title-line-height);
	letter-spacing: 0%;
	text-align: left;

}

.process-section .section-title {
	font-weight: 400;
}

/* Decorative elements */
.decorative-line {
    width: 60px;
    height: 2px;
    background: var(--color-text);
    opacity: 0.15;
    margin: 40px 0;
}

/* Visual showcase */
.visual-showcase {
    padding: 60px 0 80px;
}

.showcase-wrapper {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    position: relative;
    overflow: hidden;
}

.showcase-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 40px;
    background: radial-gradient(ellipse, rgba(0, 0, 0, 0.06) 0%, transparent 70%);
    filter: blur(10px);
}

.showcase-svg {
    max-width: 100%;
}


.callback__subtitle {
	max-width: 650px;
}

.callback__subtitle p {
	max-width: 100%;
}

.projects {
	margin-top: 155px;
}

.projects__grid {
    gap: var(--grid-gap);
}

.project-card_small .project-card__media {
	height: var(--project-small-media-height);
	aspect-ratio: auto;
}

.project-card_small img {
	height: 100%;
	object-fit: cover;
	object-position: center;
	aspect-ratio: auto;
}

.project-card {order: 1 !important;}
.project-card:last-child {display: none;}

@media (max-width: 1800px) {
	.service-hero__wrapper {padding-top: 95px; padding-bottom: 130px;}
	.service-hero__title {font-size: 76px; line-height: 92px;}
	.service-hero__subtitle {font-size: 40px; line-height: 56px;}
	
	.project-card__name {font-size: 44px; padding-right: 40px;}
	.project-card_small .project-card__info::after {top: 0; height: 44px;}
	
	.result-card p {font-size: 32px; line-height: 42px;}
	.process-step p {padding-right: 5%;}

	.bracket-text {padding-right: 20%;}
}

@media (max-width: 1700px) {
	.project-card__name {font-size: 40px;}
}

@media (max-width: 1600px) {
	.service-hero__wrapper {padding-top: 80px; padding-bottom: 120px;}
	.service-hero__title {font-size: 70px; line-height: 82px;}
	.service-hero__subtitle {font-size: 34px; line-height: 50px;}
	
	.section-list {margin-top: 120px;}
	.bracket-item {padding-top: 25px; padding-bottom: 25px;}
	.bracket-text {font-size: 34px;}
	
	.projects {margin-top: 120px;}
	.project-card__name {font-size: 36px;}
	.project-card_small .project-card__info::after {height: 40px;}
	
	.results-section {margin-top: 120px;}
	.result-card p {font-size: 28px; line-height: 38px;}
	
	.service-cases {margin-top: 120px;}
	
	.process-section {margin-top: 120px;}
	.process-step {gap: 100px;}
}

@media (max-width: 1500px) {
	
}

@media (max-width: 1400px) {
	.service-hero__wrapper {padding-top: 70px; padding-bottom: 100px;}
	.service-hero__title {font-size: 60px; line-height: 80px;}
	.service-hero__subtitle {font-size: 30px; line-height: 43px;}
	
	.section-list {margin-top: 110px;}
	.bracket-item {padding-top: 25px; padding-bottom: 25px;}
	.bracket-text {font-size: 30px;}
	
	.projects {margin-top: 110px;}
	.project-card__name {font-size: 36px;}
	.project-card_small .project-card__info::after {height: 36px;}
	
	.results-section {margin-top: 110px;}
	.results-section .section-subtitle {font-size: 34px; line-height: 44px;}
	.result-card {padding: 34px; padding-bottom: 30px; gap: 50px;}
	.result-card p {font-size: 24px; line-height: 34px;}
	
	.service-cases {margin-top: 110px;}
	
	.process-section {margin-top: 110px;}
	.process-block {gap: 50px;}
	.process-step {gap: 90px;}
}

@media (max-width: 1300px) {
	.service-hero__wrapper {padding-top: 60px; padding-bottom: 90px;}
	.service-hero__title {font-size: 52px; line-height: 64px;}
	.service-hero__subtitle {font-size: 26px; line-height: 40px;}
	
	.section-list {margin-top: 100px;}
	.bracket-item {padding-top: 25px; padding-bottom: 25px; padding-right: 10%;}
	.bracket-text {font-size: 28px;}
	
	.projects {margin-top: 100px;}
	.project-card__name {font-size: 32px;}
	.project-card_small .project-card__info::after {height: 32px;}
	
	.results-section {margin-top: 100px;}
	.results-section .section-subtitle {font-size: 32px;}
	.result-card p {font-size: 20px; line-height: 30px;}
	
	.service-cases {margin-top: 100px;}
	
	.process-section {margin-top: 100px;}
	.process-step {gap: 80px;}
}

@media (max-width: 1100px) {
	.service-hero__wrapper {padding-top: 60px; padding-bottom: 90px;}
	.service-hero__title {font-size: 46px; line-height: 60px;}
	.service-hero__subtitle {font-size: 22px; line-height: 36px;}
	
	.section-list {margin-top: 90px;}
	.section-subtitle br {display: none;}
	.bracket-item {padding-top: 20px; padding-bottom: 20px; padding-right: 10%;}
	.bracket-text {font-size: 24px;}
	
	.projects {margin-top: 90px;}
	.project-card__name {font-size: 28px;}
	.project-card_small .project-card__info::after {height: 28px;}
	
	.results-section {margin-top: 90px;}
	.results-section .section-subtitle {font-size: 32px;line-height: 40px;}
	.result-card p {font-size: 18px; line-height: 28px;}
	
	.service-cases {margin-top: 90px;}
	
	.process-section {margin-top: 90px;}
	.process-block {gap: 30px;}
	.process-step {gap: 70px;}
}

@media (max-width: 920px) {
	.service-hero__wrapper {padding-top: 50px; padding-bottom: 70px;}
	.service-hero__title {font-size: 42px; line-height: 50px;}
	.service-hero__subtitle {font-size: 20px; line-height: 30px;}
	
	.section-list {margin-top: 70px;}
	.bracket-item {padding-top: 20px; padding-bottom: 20px; padding-right: 10%;}
	.bracket-text {font-size: 18px; padding-right: 0%;}
	
	.projects {margin-top: 70px;}
	.project-card__name {font-size: 22px;}
	.project-card_small .project-card__info::after {height: 22px;}
	
	.results-section {margin-top: 70px;}
	.results-section .section-subtitle {font-size: 22px;line-height: 30px;}
	.result-card p {font-size: 16px; line-height: 26px;}
	
	.service-cases {margin-top: 70px;}
	
	.process-section {margin-top: 70px;}
	.process-step {gap: 50px;}
	.process-step p {padding-right: 0%;}
	
	body {padding-top: 78px;}
	.service-hero {margin-top: 0;}
	.header__wrapper {padding-top: 30px; max-height: 78px;}
}

@media (max-width: 768px) {
	.service-hero {width: calc(100% + 56px); margin-left: -28px; padding-top: 30px; padding-bottom: 44px; border-radius: 0;}
	.service-hero__wrapper {padding: 0 28px}
	.service-hero__title {font-size: 32px; line-height: 38px; text-wrap: balance;}
	.service-hero__title br {display: none;}
	.service-hero__subtitle {font-size: 18px; line-height: 24px; margin-top: 28px; text-wrap: balance; padding-right: 15%;}
	.service-hero__subtitle br {display: none;}
	
	.section-list {margin-top: 56px;}
	.section-list__wrapper {grid-template-columns: 1fr; gap: 30px;}
	.section-title {margin-bottom: 0;}
	.section-title br {display: none;}
	.section-subtitle {margin-bottom: 0px;}
	.section-subtitle:empty {display: none;}
	.section-subtitle br {display: none;}
	
	.section-list .section-subtitle {margin-top: 30px; max-width: 100%;}
	
	.bracket-list {margin-top: 0px;}
	.bracket-item {padding: 15px 0; border-width: 1px;}
	.bracket-text {font-size: 14px;}
	
	.projects {margin-top: 50px;}
	.projects__grid {row-gap: 35px;}
	.projects__grid + .btn {margin-top: 43px;}
	.projects .project-card_small .project-card__name {font-size: 20px; line-height: 24px; padding-right: 0;}
	.project-card:last-child {display: flex;}
	
	.results-section {margin-top: 50px;}
	.results-header {grid-template-columns: 1fr; gap: 30px;}
	.results-section .section-subtitle {font-size: 18px; line-height: 24px; margin-bottom: 0px; margin-top: 0;}
	.results-grid {margin-top: 33px; grid-template-columns: 1fr 1fr;}
	.result-card {padding-top: 17px; padding-left: 16px; padding-right: 20px; padding-bottom: 11px; gap: 30px;}
	.result-card img {width: 14px; height: 14px;}
	.result-card p {font-size: 14px; line-height: 18px; text-wrap: balance; padding-right: 0;}
	.result-card p br {display: none;}
	.results-grid > :nth-child(5):last-child {gap: 45px;}
	.results-grid > :nth-child(5):last-child p {padding-right: 40%;}
	
	.page-170 .result-card:nth-child(1) {order: 1;}
	.page-170 .result-card:nth-child(2) {order: 4;}
	.page-170 .result-card:nth-child(3) {order: 3;}
	.page-170 .result-card:nth-child(4) {order: 2;}
	.page-170 .result-card:nth-child(5) {order: 5;}
	.page-170 .result-card:nth-child(2) p {padding-right: 0;}

	.page-281 .result-card:nth-child(1) {order: 1;}
	.page-281 .result-card:nth-child(2) {order: 2;}
	.page-281 .result-card:nth-child(3) {order: 6;}
	.page-281 .result-card:nth-child(4) {order: 4;}
	.page-281 .result-card:nth-child(5) {order: 5;}
	.page-281 .result-card:nth-child(6) {order: 3;}

	
	.service-cases {margin-top: 50px;}
	.service-cases__wrapper {grid-template-columns: 1fr; gap: 0;}
	
	.process-section {margin-top: 50px;}
	.process-wrapper {grid-template-columns: 1fr; gap: 30px;}
	.process-block {padding-left: 16px; gap: 24px;}
	.process-step {gap: 10px;}
	.process-step-num {min-width: 19px; font-size: 18px; line-height: 24px;}
	.process-step p {font-size: 18px; line-height: 24px; text-wrap: normal;}
	
	.callback {margin-top: 50px;}
	.callback__title {margin-bottom: 10px;}
	.callback__subtitle p {text-wrap: balance;}
	.form {margin: 30px 0;}
	
	.footer {margin-top: 60px;}

	.mob-btn {padding-top: 0;}

	.page-170 .section-subtitle br {display: block;}
}


@media (max-width: 400px) {
	.projects .project-card_small .project-card__name {font-size: 18px; line-height: 22px;}
	.result-card p {padding-right: 12%;}
	.result-card {padding-top: 15px; padding-left: 12px; padding-bottom: 15px; padding-right: 12px}

	.page-170 .result-card:nth-child(2) {padding-right: 10px;}
	.page-170 .result-card:nth-child(5):last-child p {padding-right: 10px;}

	.page-207 .section-list.bracket-section:nth-child(3) .bracket-list .bracket-item:nth-child(4) {padding-right: 30%;}
	.page-207 .result-card p {padding-right: 0px}
	.page-207 .result-card:last-child {padding-right: 5px;}

	
}

.results-section .section-subtitle,
.process-section .section-subtitle,
.projects .project-card__name,
.projects .project-card_small .project-card__name {
	font-size: var(--section-title-size);
	line-height: var(--section-title-line-height);
}

.projects .project-card_small .project-card__info::after {
	top: 0;
	height: var(--section-title-line-height);
	background-position: center;
}
