.about-front-section {
	position: relative;
}

.about-front-section .container {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(40px, 6vw, 76px);
}

.about-front-section__visual-column,
.about-front-section__content {
	min-width: 0;
}

.about-front-section__eyebrow {
	display: block;
	margin-bottom: 9px;
	color: rgba(255, 255, 255, 0.42);
	font-size: 10px;
	line-height: 1;
	text-transform: uppercase;
}

.about-front-section__title {
	width: 100%;
	margin: 0;
	color: var(--white);
	font-family: var(--secondary-font);
	font-size: clamp(22px, 1.9vw, 28px);
	font-weight: 600;
	line-height: 0.98;
	letter-spacing: -0.035em;
	text-align: center;
	text-transform: uppercase;
}

.about-front-section__title span {
	display: block;
	white-space: nowrap;
}

.about-front-section__title span:last-child {
	transform: translateX(clamp(-70px, -5vw, -20px));
}

.about-front-section__images {
	position: relative;
	overflow: hidden;
	width: 100%;
	aspect-ratio: 1.55;
	margin-top: clamp(28px, 4vw, 58px);
	border-radius: 2px;
	background: rgba(255, 255, 255, 0.025);
}

.about-front-section__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	object-fit: contain;
	transform: scale(0.985);
	transition: opacity 350ms ease, transform 600ms ease;
}

.about-front-section__image.is-active {
	opacity: 1;
	transform: scale(1);
}

.about-front-section__content {
	display: flex;
	flex-direction: column;
	gap: clamp(26px, 3vw, 42px);
}

.about-front-section__intro {
	max-width: 610px;
	margin: 0;
	color: rgba(255, 255, 255, 0.78);
	font-size: clamp(13px, 1.1vw, 16px);
	line-height: 1.35;
}

.about-front-section__services {
	margin: 0;
	padding: 0;
	list-style: none;
}

.about-front-section__service {
	margin: 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.28);
	transition: border-color 250ms ease;
}

.about-front-section__service:has(.about-front-section__service-button:hover),
.about-front-section__service:has(.about-front-section__service-button:focus-visible),
.about-front-section__service:has(.about-front-section__service-button.is-selected) {
	border-color: var(--white);
}

.about-front-section__service-button {
	width: 100%;
	padding: clamp(12px, 1.2vw, 18px) 0;
	border: 0;
	color: rgba(255, 255, 255, 0.48);
	background: transparent;
	font: inherit;
	font-size: clamp(13px, 1.15vw, 16px);
	line-height: 1.15;
	text-align: left;
	cursor: pointer;
	transition: color 250ms ease, padding-left 350ms ease;
}

.about-front-section__service-button:hover,
.about-front-section__service-button:focus-visible,
.about-front-section__service-button.is-selected {
	padding-left: clamp(16px, 2vw, 30px);
	color: var(--white);
}

.about-front-section__service-button:focus-visible {
	outline: 1px solid var(--white);
	outline-offset: 3px;
}

@container section (min-width: 900px) {
	.about-front-section .container {
		grid-template-columns: repeat(2, 1fr);
		gap: clamp(48px, 7.4vw, 112px);
	}
}

@container section (max-width: 899.99px) {
	.about-front-section__images {
		max-width: 680px;
	}
}

@container section (max-width: 539.99px) {
	.about-front-section__title {
		font-size: clamp(16px, 5vw, 20px);
	}

	.about-front-section__service-button {
		line-height: 1.25;
	}
}

@media (prefers-reduced-motion: reduce) {
	.about-front-section__image,
	.about-front-section__service-button,
	.about-front-section__service {
		transition: none;
	}
}

/* Мобильные: заголовок переносится по словам и не сдвигается за край экрана */
@media (max-width: 767px) {
	.about-front-section__title span {
		white-space: normal;
	}

	.about-front-section__title span:last-child {
		transform: none;
	}

	.about-front-section__title {
		text-wrap: balance;
	}
}
