/* Рекрутинговый лендинг /dlya-sidelok/ — стиль career-портала, аудитория 45+ */
.dlya-sidelok {
	--ds-ink: #27314a;
	--ds-muted: #5c5c5c;
	--ds-accent: #d1416b;
	--ds-accent-dark: #b8355a;
	--ds-soft: #fff7f8;
	--ds-line: #f0d4dc;
	--ds-bg: #f6f4f5;
	--ds-white: #fff;
	color: var(--ds-ink);
	background: var(--ds-white);
	font-family: Montserrat, Onest, system-ui, sans-serif;
	overflow-x: clip;
}

.dlya-sidelok__container {
	width: min(100% - 2rem, 72rem);
	margin: 0 auto;
}

.dlya-sidelok__container--narrow {
	width: min(100% - 2rem, 44rem);
}

/* —— Hero —— */
.dlya-sidelok__hero {
	position: relative;
	isolation: isolate;
	min-height: min(78vh, 40rem);
	display: flex;
	align-items: flex-end;
	padding: 4.5rem 0 3.25rem;
	color: var(--ds-white);
	animation: ds-hero-in 0.7s ease-out both;
}

.dlya-sidelok__hero-media {
	position: absolute;
	inset: 0;
	z-index: -1;
	overflow: hidden;
}

.dlya-sidelok__hero-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 62% center;
	transform: scale(1.04);
	animation: ds-hero-zoom 12s ease-out both;
}

.dlya-sidelok__hero-shade {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(24, 28, 40, 0.82) 0%, rgba(24, 28, 40, 0.55) 48%, rgba(24, 28, 40, 0.28) 100%),
		linear-gradient(180deg, rgba(24, 28, 40, 0.2) 0%, rgba(24, 28, 40, 0.55) 100%);
}

.dlya-sidelok__hero-content {
	width: min(100% - 2rem, 40rem);
	margin-left: max(1rem, calc((100% - 72rem) / 2 + 1rem));
	margin-right: auto;
}

.dlya-sidelok__brand {
	margin: 0 0 0.85rem;
	font-size: clamp(1rem, 1.8vw, 1.125rem);
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: 0.01em;
	color: #ffd0dc;
}

.dlya-sidelok__title {
	margin: 0 0 1rem;
	font-size: clamp(2.25rem, 6vw, 3.75rem);
	font-weight: 700;
	line-height: 1.08;
	letter-spacing: -0.03em;
	color: var(--ds-white);
}

.dlya-sidelok__lead {
	margin: 0 0 1.75rem;
	max-width: 34rem;
	font-size: clamp(1.0625rem, 2vw, 1.25rem);
	font-weight: 500;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.9);
}

.dlya-sidelok__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.dlya-sidelok .dlya-sidelok__btn,
.dlya-sidelok .btn__pink,
.dlya-sidelok .btn__pink-outline {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-height: 3.125rem !important;
	height: auto !important;
	padding: 0.8rem 1.6rem !important;
	border-radius: 2rem !important;
	font-size: 1.0625rem !important;
	font-weight: 600 !important;
	line-height: 1.2 !important;
	text-decoration: none !important;
	box-shadow: none !important;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.dlya-sidelok .btn__pink {
	background: var(--ds-accent) !important;
	color: #fff !important;
	border: none !important;
}

.dlya-sidelok .btn__pink:hover {
	background: var(--ds-accent-dark) !important;
	color: #fff !important;
	transform: translateY(-1px);
}

.dlya-sidelok .btn__pink-outline {
	background: #fff !important;
	color: var(--ds-ink) !important;
	border: 1px solid var(--ds-line) !important;
}

.dlya-sidelok .btn__pink-outline:hover {
	border-color: var(--ds-accent) !important;
	color: var(--ds-accent) !important;
}

.dlya-sidelok .dlya-sidelok__btn--ghost {
	background: rgba(255, 255, 255, 0.12) !important;
	color: #fff !important;
	border: 1px solid rgba(255, 255, 255, 0.45) !important;
	backdrop-filter: blur(6px);
}

.dlya-sidelok .dlya-sidelok__btn--ghost:hover {
	background: rgba(255, 255, 255, 0.22) !important;
	border-color: #fff !important;
	color: #fff !important;
}

/* —— Sections —— */
.dlya-sidelok__section {
	padding: 3.5rem 0;
}

.dlya-sidelok__section--soft {
	background: var(--ds-bg);
}

.dlya-sidelok__section--cta {
	padding: 2.25rem 0 3rem;
	background: var(--ds-soft);
}

.dlya-sidelok__section-head {
	margin: 0 0 1.75rem;
	max-width: 40rem;
}

.dlya-sidelok__section-head--center {
	max-width: none;
	text-align: left;
	margin-bottom: 1.25rem;
}

.dlya-sidelok__h2 {
	margin: 0 0 0.65rem;
	font-size: clamp(1.75rem, 3.5vw, 2.5rem);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.025em;
	color: var(--ds-ink);
}

.dlya-sidelok__h3 {
	margin: 0 0 0.5rem;
	font-size: clamp(1.25rem, 2.2vw, 1.5rem);
	font-weight: 700;
	line-height: 1.25;
	color: var(--ds-ink);
}

.dlya-sidelok__section-lead {
	margin: 0;
	font-size: 1.125rem;
	font-weight: 500;
	line-height: 1.5;
	color: var(--ds-muted);
}

/* Formats */
.dlya-sidelok__formats {
	list-style: none;
	margin: 0 0 2rem;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem;
}

.dlya-sidelok__format {
	padding: 1.35rem 1.25rem;
	border-radius: 1.25rem;
	background: var(--ds-soft);
	border: 1px solid transparent;
	transition: border-color 0.2s ease, transform 0.25s ease;
}

.dlya-sidelok__format:hover {
	border-color: var(--ds-line);
	transform: translateY(-2px);
}

.dlya-sidelok__format strong {
	display: block;
	margin: 0 0 0.45rem;
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.3;
	color: var(--ds-ink);
}

.dlya-sidelok__format p {
	margin: 0;
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.45;
	color: var(--ds-muted);
}

.dlya-sidelok__band-photo {
	margin: 0;
	border-radius: 1.5rem;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	background: #e8e4e6;
}

.dlya-sidelok__band-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 22%;
	display: block;
}

/* Benefits */
.dlya-sidelok__split {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr);
	gap: 2.5rem;
	align-items: start;
}

.dlya-sidelok__benefits {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem 1.25rem;
}

.dlya-sidelok__benefit {
	padding: 1.1rem 0;
	border-top: 1px solid #e5e0e2;
}

.dlya-sidelok__benefit strong {
	display: block;
	margin: 0 0 0.35rem;
	font-size: 1.0625rem;
	font-weight: 700;
	line-height: 1.35;
	color: var(--ds-ink);
}

.dlya-sidelok__benefit p {
	margin: 0;
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.5;
	color: var(--ds-muted);
}

.dlya-sidelok__split-media {
	margin: 0;
	position: sticky;
	top: 1.5rem;
	border-radius: 1.5rem;
	overflow: hidden;
	background: #111;
	aspect-ratio: 1;
}

.dlya-sidelok__split-media img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

/* Steps + MAX */
.dlya-sidelok__steps {
	list-style: none;
	margin: 0 0 2rem;
	padding: 0;
	counter-reset: ds-step;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
}

.dlya-sidelok__steps li {
	counter-increment: ds-step;
	display: grid;
	gap: 0.35rem;
	padding: 1.35rem 1.25rem 1.35rem 1.25rem;
	position: relative;
	border-radius: 1.25rem;
	background: var(--ds-bg);
	min-height: 9rem;
}

.dlya-sidelok__steps li::before {
	content: counter(ds-step);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	margin-bottom: 0.35rem;
	border-radius: 999px;
	background: var(--ds-accent);
	color: #fff;
	font-size: 1rem;
	font-weight: 700;
}

.dlya-sidelok__steps strong {
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--ds-ink);
}

.dlya-sidelok__steps span {
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.45;
	color: var(--ds-muted);
}

.dlya-sidelok__max {
	display: grid;
	grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.1fr);
	gap: 1.5rem;
	align-items: center;
	padding: 1.25rem 1.5rem;
	border-radius: 1.5rem;
	background: var(--ds-soft);
	border: 1px solid var(--ds-line);
}

.dlya-sidelok__max-media {
	margin: 0;
	max-width: 16rem;
}

.dlya-sidelok__max-media img {
	width: 100%;
	height: auto;
	display: block;
}

.dlya-sidelok__max-copy p {
	margin: 0;
	font-size: 1.0625rem;
	font-weight: 500;
	line-height: 1.5;
	color: var(--ds-muted);
}

/* Cities */
.dlya-sidelok__cities {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
}

.dlya-sidelok__cities li {
	padding: 0.7rem 1.15rem;
	border-radius: 999px;
	background: var(--ds-white);
	border: 1px solid #e8e4e6;
	font-size: 1.0625rem;
	font-weight: 600;
	color: var(--ds-ink);
}

/* FAQ */
.dlya-sidelok__faq {
	display: grid;
	gap: 0.65rem;
}

.dlya-sidelok__faq-item {
	border-radius: 1rem;
	background: var(--ds-bg);
	border: 1px solid transparent;
	padding: 0.15rem 0.25rem;
	transition: border-color 0.2s ease;
}

.dlya-sidelok__faq-item[open] {
	border-color: var(--ds-line);
	background: var(--ds-soft);
}

.dlya-sidelok__faq-item summary {
	cursor: pointer;
	list-style: none;
	padding: 1.05rem 1.15rem;
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.35;
	color: var(--ds-ink);
	position: relative;
	padding-right: 2.75rem;
}

.dlya-sidelok__faq-item summary::-webkit-details-marker {
	display: none;
}

.dlya-sidelok__faq-item summary::after {
	content: "";
	position: absolute;
	right: 1.15rem;
	top: 50%;
	width: 0.65rem;
	height: 0.65rem;
	border-right: 2px solid var(--ds-accent);
	border-bottom: 2px solid var(--ds-accent);
	transform: translateY(-65%) rotate(45deg);
	transition: transform 0.2s ease;
}

.dlya-sidelok__faq-item[open] summary::after {
	transform: translateY(-25%) rotate(-135deg);
}

.dlya-sidelok__faq-item p {
	margin: 0;
	padding: 0 1.15rem 1.15rem;
	font-size: 1.0625rem;
	font-weight: 500;
	line-height: 1.55;
	color: var(--ds-muted);
}

/* CTA — свой блок, без глобального .site-cta (max-width 40rem) */
.dlya-sidelok__cta {
	margin: 0;
	width: 100%;
	padding: 2rem 1.75rem;
	border-radius: 1.5rem;
	border: 1px solid var(--ds-line);
	background: var(--ds-white);
	text-align: center;
	box-sizing: border-box;
}

.dlya-sidelok__cta-title {
	margin: 0 0 0.65rem;
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.02em;
	color: var(--ds-ink);
}

.dlya-sidelok__cta-text {
	margin: 0 auto 1.35rem;
	max-width: 36rem;
	font-size: 1.0625rem;
	font-weight: 500;
	line-height: 1.5;
	color: var(--ds-muted);
}

.dlya-sidelok__cta-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: stretch;
	gap: 0.75rem;
	margin: 0;
}

.dlya-sidelok__cta-actions .dlya-sidelok__btn {
	flex: 1 1 14rem;
	max-width: 22rem;
}

.dlya-sidelok__footnote {
	margin: 1.15rem 0 0;
	font-size: 0.9875rem;
	font-weight: 500;
	line-height: 1.45;
	color: var(--ds-muted);
}

.dlya-sidelok__footnote a {
	color: var(--ds-accent);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
}

@keyframes ds-hero-in {
	from {
		opacity: 0;
		transform: translateY(12px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes ds-hero-zoom {
	from {
		transform: scale(1.08);
	}
	to {
		transform: scale(1.04);
	}
}

@media (prefers-reduced-motion: reduce) {
	.dlya-sidelok__hero,
	.dlya-sidelok__hero-img,
	.dlya-sidelok__format,
	.dlya-sidelok .btn__pink {
		animation: none !important;
		transition: none !important;
		transform: none !important;
	}
}

@media (max-width: 980px) {
	.dlya-sidelok__formats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.dlya-sidelok__split {
		grid-template-columns: 1fr;
	}

	.dlya-sidelok__split-media {
		position: static;
		max-width: 28rem;
		margin-inline: auto;
		order: -1;
	}

	.dlya-sidelok__steps {
		grid-template-columns: 1fr;
	}

	.dlya-sidelok__max {
		grid-template-columns: 1fr;
	}

	.dlya-sidelok__max-media {
		margin-inline: auto;
	}

	.dlya-sidelok__band-photo {
		aspect-ratio: 16 / 9;
	}
}

@media (max-width: 640px) {
	.dlya-sidelok__hero {
		min-height: min(72vh, 34rem);
		padding: 3.5rem 0 2.5rem;
		align-items: flex-end;
	}

	.dlya-sidelok__hero-img {
		object-position: 70% center;
	}

	.dlya-sidelok__hero-shade {
		background:
			linear-gradient(180deg, rgba(24, 28, 40, 0.25) 0%, rgba(24, 28, 40, 0.78) 55%, rgba(24, 28, 40, 0.9) 100%);
	}

	.dlya-sidelok__hero-content {
		margin-left: auto;
		margin-right: auto;
		width: min(100% - 2rem, 72rem);
	}

	.dlya-sidelok__actions {
		flex-direction: column;
	}

	.dlya-sidelok__actions .dlya-sidelok__btn {
		width: 100%;
	}

	.dlya-sidelok__formats,
	.dlya-sidelok__benefits {
		grid-template-columns: 1fr;
	}

	.dlya-sidelok__section {
		padding: 2.5rem 0;
	}

	.dlya-sidelok__cta {
		padding: 1.5rem 1.15rem;
	}

	.dlya-sidelok__cta-actions {
		flex-direction: column;
		align-items: stretch;
	}

	.dlya-sidelok__cta-actions .dlya-sidelok__btn {
		width: 100%;
		max-width: none;
	}
}
