/* ============================================================
   Сторінка Parteneri (B2B).
   ============================================================ */

.b2b-page {
	color: var(--pc-bark);
	font-family: var(--font-body);
}

.b2b-page a {
	color: inherit;
	text-decoration: none;
}

@keyframes b2bUp {
	from {
		opacity: 0;
		transform: translateY(28px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.b2b-page .btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 15px 34px;
	border: none;
	border-radius: 100px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	cursor: pointer;
	transition: all 0.4s var(--ease);
}

.b2b-page .btn svg {
	width: 16px;
	height: 16px;
	transition: transform 0.3s;
}

.b2b-page .btn:hover svg {
	transform: translateX(3px);
}

.b2b-page .btn-gold {
	background: var(--pc-gold);
	color: var(--pc-espresso);
	box-shadow: 0 8px 28px rgba(200, 164, 94, 0.3);
}

.b2b-page .btn-gold:hover {
	background: var(--pc-gold-light);
	transform: translateY(-2px);
}

.b2b-page .btn-outline {
	border: 1.5px solid rgba(245, 234, 214, 0.2);
	background: transparent;
	color: var(--pc-crema);
}

.b2b-page .btn-outline:hover {
	border-color: var(--pc-gold);
	color: var(--pc-gold);
	transform: translateY(-2px);
}

/* ─────────────── HERO ─────────────── */

.b2b-hero {
	position: relative;
	padding: 160px 0 100px;
	overflow: hidden;
	background: var(--pc-espresso);
}

.b2b-hero__noise {
	position: absolute;
	inset: 0;
	opacity: 0.5;
	pointer-events: none;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
}

.b2b-hero__glow {
	position: absolute;
	top: -80px;
	right: -100px;
	width: 500px;
	height: 400px;
	pointer-events: none;
	background: radial-gradient(ellipse, rgba(200, 164, 94, 0.1), transparent 70%);
}

.b2b-hero__inner {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 60px;
	align-items: center;
	max-width: var(--pc-shell);
	margin: 0 auto;
	padding: 0 var(--pc-gutter);
}

.b2b-hero .label {
	opacity: 0;
	animation: b2bUp 0.7s 0.1s var(--ease) forwards;
}

.b2b-hero__title {
	margin-bottom: 20px;
	color: var(--pc-crema);
	font-family: var(--font-display);
	font-size: clamp(40px, 5.5vw, 60px);
	font-weight: 700;
	line-height: 1.08;
	opacity: 0;
	animation: b2bUp 0.8s 0.2s var(--ease) forwards;
}

.b2b-hero__title em {
	color: var(--pc-gold);
	font-style: italic;
}

.b2b-hero__sub {
	max-width: 480px;
	margin-bottom: 36px;
	color: var(--pc-stone);
	font-size: 17px;
	font-weight: 300;
	line-height: 1.75;
	opacity: 0;
	animation: b2bUp 0.8s 0.35s var(--ease) forwards;
}

.b2b-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	opacity: 0;
	animation: b2bUp 0.8s 0.5s var(--ease) forwards;
}

.b2b-hero__stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	opacity: 0;
	animation: b2bUp 0.8s 0.55s var(--ease) forwards;
}

.b2b-hstat {
	padding: 28px 16px;
	border: 1px solid rgba(245, 234, 214, 0.06);
	border-radius: 20px;
	background: rgba(245, 234, 214, 0.04);
	text-align: center;
}

.b2b-hstat__num {
	margin-bottom: 6px;
	color: var(--pc-gold);
	font-family: var(--font-display);
	font-size: 36px;
	font-weight: 700;
	line-height: 1;
}

.b2b-hstat__label {
	color: var(--pc-stone);
	font-size: 12px;
	font-weight: 300;
}

@media (max-width: 900px) {
	.b2b-hero {
		padding: 140px 0 80px;
	}

	.b2b-hero__inner {
		grid-template-columns: 1fr;
		padding: 0 var(--pc-gutter-sm);
	}
}

@media (max-width: 480px) {
	.b2b-hero__stats {
		grid-template-columns: 1fr;
	}

	.b2b-hero__actions {
		flex-direction: column;
	}
}

/* ─────────────── ПЕРЕВАГИ ─────────────── */

.b2b-ben-sec {
	padding: 120px 0;
	background: var(--pc-latte);
}

.b2b-ben-sec__inner {
	max-width: var(--pc-shell);
	margin: 0 auto;
	padding: 0 var(--pc-gutter);
}

.b2b-ben-sec__header {
	margin-bottom: 64px;
	text-align: center;
}

.b2b-ben-sec__header .sdesc {
	margin: 0 auto;
}

.b2b-ben-sec__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.b2b-ben {
	padding: 36px 28px;
	border: 1.5px solid transparent;
	border-radius: 20px;
	background: var(--pc-white);
	transition: all 0.5s var(--ease);
}

.b2b-ben:hover {
	border-color: rgba(200, 164, 94, 0.12);
	transform: translateY(-6px);
	box-shadow: 0 12px 40px rgba(13, 9, 6, 0.1);
}

.b2b-ben__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	margin-bottom: 20px;
	border-radius: 16px;
	background: var(--pc-gold-dim);
	transition: transform 0.4s var(--spring);
}

.b2b-ben:hover .b2b-ben__icon {
	transform: scale(1.1) rotate(-3deg);
}

.b2b-ben__icon svg {
	width: 24px;
	height: 24px;
	fill: none;
	stroke: var(--pc-gold);
	stroke-width: 1.5;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.b2b-ben__title {
	margin-bottom: 10px;
	color: var(--pc-espresso);
	font-family: var(--font-display);
	font-size: 20px;
	font-weight: 700;
}

.b2b-ben__desc {
	color: var(--pc-stone);
	font-size: 14px;
	font-weight: 300;
	line-height: 1.7;
}

@media (max-width: 768px) {
	.b2b-ben-sec {
		padding: 80px 0;
	}

	.b2b-ben-sec__inner {
		padding: 0 var(--pc-gutter-sm);
	}

	.b2b-ben-sec__grid {
		grid-template-columns: 1fr;
		max-width: 440px;
		margin: 0 auto;
	}
}

/* ─────────────── ПРОЦЕС ─────────────── */

.b2b-proc {
	padding: 120px 0;
	background: var(--pc-white);
}

.b2b-proc__inner {
	max-width: 900px;
	margin: 0 auto;
	padding: 0 var(--pc-gutter);
}

.b2b-proc__header {
	margin-bottom: 64px;
	text-align: center;
}

.b2b-steps {
	position: relative;
	display: flex;
	flex-direction: column;
}

.b2b-steps__line {
	position: absolute;
	top: 32px;
	bottom: 32px;
	left: 27px;
	width: 2px;
	background: linear-gradient(to bottom, var(--pc-gold), rgba(200, 164, 94, 0.1));
}

.b2b-step {
	position: relative;
	display: flex;
	gap: 28px;
	padding: 28px 0;
}

.b2b-step__num {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	min-width: 56px;
	height: 56px;
	border: 2px solid var(--pc-gold);
	border-radius: 50%;
	background: var(--pc-latte);
	color: var(--pc-gold);
	font-family: var(--font-display);
	font-size: 22px;
	font-weight: 700;
	transition: all 0.4s var(--ease);
}

.b2b-step:hover .b2b-step__num {
	background: var(--pc-gold);
	color: var(--pc-espresso);
}

.b2b-step__title {
	margin-bottom: 8px;
	color: var(--pc-espresso);
	font-family: var(--font-display);
	font-size: 22px;
	font-weight: 700;
}

.b2b-step__desc {
	color: var(--pc-stone);
	font-size: 15px;
	font-weight: 300;
	line-height: 1.7;
}

@media (max-width: 768px) {
	.b2b-proc {
		padding: 80px 0;
	}

	.b2b-proc__inner {
		padding: 0 var(--pc-gutter-sm);
	}
}

/* ─────────────── ФОРМА ─────────────── */

.b2b-form-sec {
	position: relative;
	padding: 120px 0;
	overflow: hidden;
	background: var(--pc-espresso);
}

.b2b-form-sec__glow {
	position: absolute;
	top: -150px;
	left: 50%;
	width: 700px;
	height: 400px;
	transform: translateX(-50%);
	pointer-events: none;
	background: radial-gradient(ellipse, rgba(200, 164, 94, 0.07), transparent 70%);
}

.b2b-form-sec__inner {
	position: relative;
	z-index: 2;
	max-width: 700px;
	margin: 0 auto;
	padding: 0 var(--pc-gutter);
}

.b2b-form-sec__header {
	margin-bottom: 52px;
	text-align: center;
}

.b2b-form-sec__header .sdesc {
	margin: 0 auto;
}

.b2b-form-card {
	padding: 48px 40px;
	border: 1px solid rgba(245, 234, 214, 0.06);
	border-radius: 24px;
	background: rgba(245, 234, 214, 0.03);
}

.b2b-form__fields {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-bottom: 28px;
}

.b2b-form__field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.b2b-form__field--full {
	grid-column: 1 / -1;
}

.b2b-form__field label {
	color: var(--pc-stone);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.b2b-input,
.b2b-select,
.b2b-textarea {
	width: 100%;
	padding: 14px 16px;
	border: 1px solid rgba(245, 234, 214, 0.1);
	border-radius: 12px;
	background: rgba(245, 234, 214, 0.04);
	color: var(--pc-crema);
	font-family: var(--font-body);
	font-size: 15px;
	font-weight: 400;
	outline: none;
	transition: all 0.3s;
	-webkit-appearance: none;
	appearance: none;
}

.b2b-input::placeholder,
.b2b-textarea::placeholder {
	color: rgba(245, 234, 214, 0.3);
}

.b2b-input:focus,
.b2b-select:focus,
.b2b-textarea:focus {
	border-color: var(--pc-gold);
	background: rgba(200, 164, 94, 0.04);
}

.b2b-textarea {
	min-height: 80px;
	resize: vertical;
}

.b2b-select {
	padding-right: 40px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238a7565' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	cursor: pointer;
}

.b2b-select option {
	background: var(--pc-espresso);
	color: var(--pc-crema);
}

.b2b-form__submit {
	width: 100%;
	padding: 17px;
	border: none;
	border-radius: 14px;
	background: var(--pc-gold);
	color: var(--pc-espresso);
	font-family: var(--font-body);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	cursor: pointer;
	transition: all 0.4s var(--ease);
}

.b2b-form__submit:hover {
	background: var(--pc-gold-light);
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(200, 164, 94, 0.3);
}

.b2b-form__success {
	display: none;
	padding: 48px 24px;
	text-align: center;
}

.b2b-form__success.show {
	display: block;
	animation: b2bUp 0.6s var(--ease);
}

.b2b-form__success h3 {
	margin-bottom: 12px;
	color: var(--pc-crema);
	font-family: var(--font-display);
	font-size: 28px;
}

.b2b-form__success p {
	color: var(--pc-stone);
	font-size: 15px;
	line-height: 1.6;
}

@media (max-width: 768px) {
	.b2b-form-sec {
		padding: 80px 0;
	}

	.b2b-form-sec__inner {
		padding: 0 var(--pc-gutter-sm);
	}

	.b2b-form-card {
		padding: 32px 20px;
	}

	.b2b-form__fields {
		grid-template-columns: 1fr;
	}
}

/* ─────────────── FAQ ─────────────── */

.b2b-faq {
	padding: 120px 0;
	background: var(--pc-latte);
}

.b2b-faq__inner {
	max-width: 740px;
	margin: 0 auto;
	padding: 0 var(--pc-gutter);
}

.b2b-faq__header {
	margin-bottom: 52px;
	text-align: center;
}

.faq-item {
	padding: 24px 0;
	border-bottom: 1px solid rgba(200, 164, 94, 0.1);
}

.faq-item__q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
	padding: 0;
	border: none;
	background: none;
	color: var(--pc-espresso);
	font-family: var(--font-display);
	font-size: 19px;
	font-weight: 700;
	text-align: left;
	cursor: pointer;
}

.faq-item__q svg {
	flex-shrink: 0;
	width: 20px;
	min-width: 20px;
	height: 20px;
	fill: none;
	stroke: var(--pc-gold);
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
	transition: transform 0.3s;
}

.faq-item__q.open svg {
	transform: rotate(45deg);
}

.faq-item__a {
	max-height: 0;
	padding-top: 0;
	overflow: hidden;
	color: var(--pc-stone);
	font-size: 15px;
	font-weight: 300;
	line-height: 1.7;
	transition: max-height 0.4s var(--ease), padding 0.4s;
}

.faq-item__a.open {
	max-height: 300px;
	padding-top: 16px;
}

@media (max-width: 768px) {
	.b2b-faq {
		padding: 80px 0;
	}

	.b2b-faq__inner {
		padding: 0 var(--pc-gutter-sm);
	}
}
