/*
 * Cooperation page hero.
 * The source image has a 3:1 aspect ratio and remains the only banner image.
 */
#main > .banner-animated.fullscreen-banner.arbitrary-banner {
	position: relative;
	box-sizing: border-box;
	height: min(33.333vw, 640px);
	min-height: 360px;
	overflow: hidden;
	background-image:
		linear-gradient(90deg, rgba(8, 7, 6, 0.86) 0%, rgba(8, 7, 6, 0.58) 34%, rgba(8, 7, 6, 0.08) 64%),
		url("/cooperation/images/cooperation-banner.webp") !important;
	background-position: center center !important;
	background-size: cover !important;
	background-repeat: no-repeat !important;
	border: 0;
}

#main > .banner-animated.fullscreen-banner.arbitrary-banner .tb {
	height: 100%;
}

#main > .banner-animated.fullscreen-banner.arbitrary-banner .image {
	display: none !important;
}

#main > .banner-animated.fullscreen-banner.arbitrary-banner .text-wrap {
	box-sizing: border-box;
	width: 52%;
	padding: 0 28px 0 0;
	overflow: visible;
	color: #f5f1ea;
	vertical-align: middle;
	text-shadow: 0 2px 18px rgba(0, 0, 0, 0.48);
}

#main > .banner-animated.fullscreen-banner.arbitrary-banner .text-wrap h1 {
	max-width: 650px;
	max-height: none;
	margin: 0 0 18px;
	overflow: visible;
	color: #fff;
	font-family: "Montserrat", Arial, sans-serif;
	font-size: clamp(24px, 1.8vw, 34px);
	font-weight: 500;
	line-height: 1.2;
}

#main > .banner-animated.fullscreen-banner.arbitrary-banner .text-wrap p {
	max-width: 620px;
	max-height: none;
	margin: 0;
	overflow: visible;
	color: #f1ebe1;
	font-family: "Montserrat", Arial, sans-serif;
	font-size: clamp(14px, 0.95vw, 18px);
	line-height: 1.45;
}

@media (max-width: 1024px) {
	#main > .banner-animated.fullscreen-banner.arbitrary-banner {
		height: clamp(360px, 52vw, 500px);
		background-position: 54% center !important;
	}

	#main > .banner-animated.fullscreen-banner.arbitrary-banner .text-wrap {
		width: 62%;
		padding-right: 20px;
	}
}

@media (max-width: 700px) {
	#main > .banner-animated.fullscreen-banner.arbitrary-banner {
		height: clamp(380px, 112vw, 520px);
		min-height: 0;
		margin-bottom: 18px;
		background-image:
			linear-gradient(180deg, rgba(8, 7, 6, 0.88) 0%, rgba(8, 7, 6, 0.5) 35%, rgba(8, 7, 6, 0.04) 66%),
			url("/cooperation/images/cooperation-banner.webp") !important;
		background-position: 53% center !important;
	}

	#main > .banner-animated.fullscreen-banner.arbitrary-banner .limiter,
	#main > .banner-animated.fullscreen-banner.arbitrary-banner .tb {
		height: 100%;
	}

	#main > .banner-animated.fullscreen-banner.arbitrary-banner .tb {
		display: flex;
		align-items: flex-start;
	}

	#main > .banner-animated.fullscreen-banner.arbitrary-banner .text-wrap {
		display: block;
		width: min(82%, 390px);
		margin: 0 !important;
		padding: 24px 18px 0 !important;
	}

	#main > .banner-animated.fullscreen-banner.arbitrary-banner .text-wrap h1 {
		max-height: none;
		margin-bottom: 8px;
		font-size: clamp(19px, 5.5vw, 24px);
		line-height: 1.2;
	}

	#main > .banner-animated.fullscreen-banner.arbitrary-banner .text-wrap p {
		font-size: clamp(12px, 3.5vw, 14px);
		line-height: 1.4;
	}
}

@media (max-width: 380px) {
	#main > .banner-animated.fullscreen-banner.arbitrary-banner {
		height: 420px;
	}

	#main > .banner-animated.fullscreen-banner.arbitrary-banner .text-wrap {
		width: 88%;
		padding: 20px 14px 0 !important;
	}
}

/* Cooperation page content */
.cooperationContent {
	--cooperation-gold: #d3a150;
	--cooperation-gold-soft: #e0be82;
	--cooperation-panel: #171717;
	--cooperation-panel-light: #1d1d1d;
	--cooperation-border: rgba(222, 190, 135, 0.2);
	--cooperation-text: #f2eee7;
	--cooperation-muted: #aaa49a;
	padding: 34px 0 72px;
	color: var(--cooperation-text);
	font-family: "Montserrat", Arial, sans-serif;
}

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

.cooperationContent h2,
.cooperationContent h3,
.cooperationContent p {
	margin-top: 0;
}

.cooperationContent h2,
.cooperationContent h3 {
	color: var(--cooperation-text);
	font-family: "Montserrat", Arial, sans-serif;
}

.cooperationIntro,
.cooperationSection,
.cooperationCta {
	margin-bottom: 64px;
}

.cooperationIntro {
	max-width: 1040px;
	padding: 28px 0 10px;
}

.cooperationEyebrow {
	margin-bottom: 12px;
	color: var(--cooperation-gold);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.15em;
	line-height: 1.4;
	text-transform: uppercase;
}

.cooperationIntro h2,
.cooperationSectionHeading h2,
.cooperationCta h2 {
	margin-bottom: 18px;
	font-size: clamp(28px, 3vw, 46px);
	font-weight: 500;
	line-height: 1.16;
}

.cooperationLead {
	max-width: 920px;
	margin-bottom: 26px;
	color: #d3cec5;
	font-size: 18px;
	line-height: 1.75;
}

.cooperationTrust {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.cooperationTrust span {
	position: relative;
	padding: 10px 15px 10px 32px;
	color: #d8d2c9;
	font-size: 13px;
	line-height: 1.4;
	background: rgba(255, 255, 255, 0.025);
	border: 1px solid var(--cooperation-border);
	border-radius: 999px;
}

.cooperationTrust span::before {
	position: absolute;
	top: 50%;
	left: 14px;
	width: 7px;
	height: 7px;
	background: var(--cooperation-gold);
	border-radius: 50%;
	content: "";
	transform: translateY(-50%);
}

.cooperationSectionHeading {
	max-width: 900px;
	margin-bottom: 30px;
}

.cooperationSectionHeading p,
.cooperationCta > div:first-child > p {
	max-width: 780px;
	margin-bottom: 0;
	color: var(--cooperation-muted);
	font-size: 16px;
	line-height: 1.7;
}

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

.cooperationBenefit {
	position: relative;
	min-height: 178px;
	padding: 24px 25px;
	overflow: hidden;
	background:
		linear-gradient(145deg, rgba(255, 255, 255, 0.025), transparent 65%),
		var(--cooperation-panel);
	border: 1px solid var(--cooperation-border);
	border-radius: 10px;
}

.cooperationBenefit h3 {
	margin-bottom: 13px;
	font-size: 20px;
	font-weight: 500;
	line-height: 1.35;
}

.cooperationBenefit p {
	margin-bottom: 0;
	color: var(--cooperation-muted);
	font-size: 15px;
	line-height: 1.6;
}

.cooperationAudience {
	padding: 42px;
	background:
		linear-gradient(135deg, rgba(211, 161, 80, 0.08), transparent 45%),
		#141414;
	border: 1px solid var(--cooperation-border);
	border-radius: 12px;
}

.cooperationAudienceGrid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1px;
	overflow: hidden;
	background: var(--cooperation-border);
	border: 1px solid var(--cooperation-border);
	border-radius: 8px;
}

.cooperationAudienceGrid > div {
	display: flex;
	flex-direction: column;
	gap: 9px;
	min-height: 132px;
	padding: 25px;
	background: var(--cooperation-panel);
}

.cooperationAudienceGrid strong {
	color: var(--cooperation-text);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.4;
}

.cooperationAudienceGrid span {
	color: var(--cooperation-muted);
	font-size: 13px;
	line-height: 1.6;
}

.cooperationSteps {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cooperationSteps li {
	min-height: 170px;
	padding: 23px;
	background: var(--cooperation-panel-light);
	border-top: 2px solid var(--cooperation-gold);
	border-radius: 0 0 8px 8px;
}

.cooperationSteps strong {
	display: block;
	margin-bottom: 11px;
	color: var(--cooperation-text);
	font-size: 17px;
	font-weight: 500;
	line-height: 1.45;
}

.cooperationSteps p {
	margin-bottom: 0;
	color: var(--cooperation-muted);
	font-size: 14px;
	line-height: 1.65;
}

.cooperationCta {
	margin-bottom: 0;
	padding: 44px;
	background:
		linear-gradient(120deg, rgba(211, 161, 80, 0.11), transparent 55%),
		var(--cooperation-panel);
	border: 1px solid var(--cooperation-border);
	border-radius: 12px;
}

.cooperationCta h2 {
	max-width: 820px;
	font-size: clamp(27px, 2.6vw, 42px);
}

.cooperationBitrixForm {
	margin-top: 34px;
}

.cooperationFormGrid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

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

.cooperationFormLabel {
	display: block;
	margin-bottom: 8px;
	color: #d7d1c8;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.4;
}

.cooperationFormLabel span,
.cooperationFormConsent b {
	color: var(--cooperation-gold);
	font-weight: 500;
}

.cooperationFormControl input[type="text"],
.cooperationFormControl input[type="email"],
.cooperationFormControl select,
.cooperationFormControl textarea,
.cooperationFormCaptcha input[type="text"] {
	display: block;
	box-sizing: border-box;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 14px 15px;
	color: var(--cooperation-text);
	font: 14px/1.4 "Montserrat", Arial, sans-serif;
	background: #101010;
	border: 1px solid rgba(222, 190, 135, 0.25);
	border-radius: 6px;
	outline: none;
	transition: border-color 160ms ease, box-shadow 160ms ease;
}

.cooperationFormControl textarea {
	min-height: 136px;
	resize: vertical;
}

.cooperationFormControl select {
	padding-right: 40px;
	background-image:
		linear-gradient(45deg, transparent 50%, var(--cooperation-gold) 50%),
		linear-gradient(135deg, var(--cooperation-gold) 50%, transparent 50%);
	background-position:
		calc(100% - 18px) 50%,
		calc(100% - 12px) 50%;
	background-repeat: no-repeat;
	background-size: 6px 6px, 6px 6px;
	appearance: none;
	color-scheme: dark;
}

.cooperationFormControl select option {
	color: var(--cooperation-text);
	background-color: #101010;
}

.cooperationFormControl select option:checked,
.cooperationFormControl select option:hover,
.cooperationFormControl select option:focus {
	color: #17120c;
	background-color: #c58c3f;
	background-image: linear-gradient(110deg, #9b642d 0%, #c58c3f 34%, #dfb564 66%, #b57430 100%);
	box-shadow: 0 0 0 100vmax rgba(197, 140, 63, 0.92) inset;
	forced-color-adjust: none;
}

.cooperationRoleSelect {
	position: relative;
	width: 100%;
}

.cooperationFormControl .cooperationRoleNative {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
	opacity: 0;
	pointer-events: none;
}

.cooperationRoleButton {
	position: relative;
	display: block;
	box-sizing: border-box;
	width: 100%;
	margin: 0;
	padding: 14px 40px 14px 15px;
	color: var(--cooperation-text);
	font: 14px/1.4 "Montserrat", Arial, sans-serif;
	text-align: left;
	background: #101010;
	border: 1px solid rgba(222, 190, 135, .25);
	border-radius: 6px;
	outline: none;
	cursor: pointer;
	transition: border-color 160ms ease, box-shadow 160ms ease;
}

.cooperationRoleButton::after {
	position: absolute;
	top: 50%;
	right: 15px;
	width: 8px;
	height: 8px;
	margin-top: -6px;
	content: "";
	border-right: 2px solid var(--cooperation-gold);
	border-bottom: 2px solid var(--cooperation-gold);
	transform: rotate(45deg);
	transition: margin-top 160ms ease, transform 160ms ease;
}

.cooperationRoleSelect.is-open .cooperationRoleButton,
.cooperationRoleButton:focus-visible {
	border-color: var(--cooperation-gold);
	box-shadow: 0 0 0 3px rgba(211, 161, 80, .12);
}

.cooperationRoleSelect.is-open .cooperationRoleButton::after {
	margin-top: -2px;
	transform: rotate(225deg);
}

.cooperationRoleList {
	position: absolute;
	z-index: 70;
	top: calc(100% + 4px);
	right: 0;
	left: 0;
	box-sizing: border-box;
	max-height: 280px;
	margin: 0;
	padding: 4px;
	overflow-y: auto;
	background: #101010;
	border: 1px solid rgba(222, 190, 135, .38);
	border-radius: 8px;
	box-shadow: 0 16px 36px rgba(0, 0, 0, .42);
}

.cooperationRoleList[hidden] {
	display: none;
}

.cooperationRoleOption {
	display: block;
	box-sizing: border-box;
	width: 100%;
	margin: 0;
	padding: 9px 11px;
	color: var(--cooperation-text);
	font: 14px/1.35 "Montserrat", Arial, sans-serif;
	text-align: left;
	background: transparent;
	border: 0;
	border-radius: 5px;
	outline: none;
	cursor: pointer;
}

.cooperationRoleOption:hover,
.cooperationRoleOption:focus-visible,
.cooperationRoleOption[aria-selected="true"] {
	color: #17120c;
	background: linear-gradient(110deg, #9b642d 0%, #c58c3f 34%, #dfb564 66%, #b57430 100%);
}

.cooperationFormControl input:focus,
.cooperationFormControl select:focus,
.cooperationFormControl textarea:focus,
.cooperationFormCaptcha input:focus {
	border-color: var(--cooperation-gold);
	box-shadow: 0 0 0 3px rgba(211, 161, 80, 0.12);
}

.cooperationFormConsent {
	display: flex;
	align-items: flex-start;
	gap: 11px;
	color: var(--cooperation-muted);
	font-size: 12px;
	line-height: 1.55;
	cursor: pointer;
}

.cooperationFormConsent input {
	flex: 0 0 auto;
	width: 17px;
	height: 17px;
	margin: 1px 0 0;
	accent-color: var(--cooperation-gold);
}

.cooperationFormConsent a {
	color: var(--cooperation-gold-soft);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.cooperationFormFooter {
	display: flex;
	align-items: center;
	gap: 18px;
	margin-top: 24px;
}

.cooperationFormSubmit {
	min-width: 220px;
	padding: 15px 24px;
	color: #111;
	font: 600 13px/1.4 "Montserrat", Arial, sans-serif;
	letter-spacing: 0.04em;
	background: var(--cooperation-gold);
	border: 0;
	border-radius: 6px;
	cursor: pointer;
	transition: background-color 160ms ease, transform 160ms ease;
}

.cooperationFormSubmit:hover {
	background: #e0b66f;
	transform: translateY(-1px);
}

.cooperationFormSubmit:disabled {
	cursor: not-allowed;
	opacity: 0.5;
}

.cooperationFormFooter > span {
	color: var(--cooperation-muted);
	font-size: 11px;
	line-height: 1.45;
}

.cooperationFormErrors {
	margin: 0 0 20px;
	padding: 14px 16px;
	color: #ffd4cf;
	font-size: 13px;
	line-height: 1.55;
	background: rgba(166, 44, 32, 0.16);
	border: 1px solid rgba(231, 100, 86, 0.35);
	border-radius: 6px;
}

.cooperationFormErrors ul {
	margin: 0;
	padding-left: 20px;
}

.cooperationFormSuccess {
	display: flex;
	align-items: flex-start;
	gap: 18px;
	padding: 24px;
	color: var(--cooperation-text);
	background: rgba(68, 130, 82, 0.14);
	border: 1px solid rgba(119, 179, 131, 0.35);
	border-radius: 8px;
}

.cooperationFormSuccessIcon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 38px;
	width: 38px;
	height: 38px;
	color: #102315;
	font-size: 20px;
	font-weight: 700;
	background: #8fc79a;
	border-radius: 50%;
}

.cooperationFormSuccess strong {
	display: block;
	margin-bottom: 6px;
	font-size: 18px;
	font-weight: 500;
}

.cooperationFormSuccess p {
	margin: 0;
	color: #b9c8bc;
	font-size: 13px;
	line-height: 1.6;
}

.cooperationFormCaptcha {
	display: flex;
	align-items: flex-end;
	gap: 18px;
	margin-top: 18px;
}

.cooperationFormCaptcha label {
	flex: 1 1 auto;
}

.cooperationFormCaptcha label span {
	display: block;
	margin-bottom: 8px;
	color: #d7d1c8;
	font-size: 13px;
}

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

	.cooperationSteps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 700px) {
	.cooperationContent {
		padding: 22px 0 48px;
	}

	.cooperationIntro,
	.cooperationSection,
	.cooperationCta {
		margin-bottom: 42px;
	}

	.cooperationIntro {
		padding-top: 18px;
	}

	.cooperationIntro h2,
	.cooperationSectionHeading h2,
	.cooperationCta h2 {
		font-size: 27px;
		line-height: 1.2;
	}

	.cooperationLead {
		font-size: 15px;
		line-height: 1.65;
	}

	.cooperationBenefits,
	.cooperationAudienceGrid,
	.cooperationSteps {
		grid-template-columns: 1fr;
	}

	.cooperationBenefit {
		min-height: 0;
		padding: 22px 20px;
	}

	.cooperationAudience,
	.cooperationCta {
		padding: 26px 20px;
	}

	.cooperationAudienceGrid > div,
	.cooperationSteps li {
		min-height: 0;
		padding: 20px;
	}

	.cooperationFormGrid {
		grid-template-columns: 1fr;
	}

	.cooperationFormFieldWide {
		grid-column: auto;
	}

	.cooperationFormFooter,
	.cooperationFormCaptcha {
		align-items: stretch;
		flex-direction: column;
	}

	.cooperationFormSubmit {
		width: 100%;
	}
}
