.rfe-section,
.rfe-section * {
	box-sizing: border-box;
}

.rfe-section {
	--rfe-purple: #6c4bea;
	--rfe-yellow: #ffc928;
	--rfe-ink: #16162b;
	position: relative;
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding: 88px 24px;
	overflow: hidden;
	background-color: #fff;
	font-family: inherit;
}

.rfe-section::before,
.rfe-section::after {
	display: none;
}

.rfe-inner {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 1440px;
	margin: 0 auto;
}

.rfe-header {
	max-width: 1030px;
	margin: 0 auto 44px;
	text-align: center;
}

.rfe-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	min-height: 43px;
	padding: 9px 19px;
	margin-bottom: 19px;
	border: 2px solid var(--rfe-purple);
	border-radius: 999px;
	background: rgba(255, 255, 255, .94);
	color: var(--rfe-purple);
	font-size: 15px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: .01em;
	box-shadow: 0 10px 30px rgba(55, 38, 118, .07);
}

.rfe-badge-icon,
.rfe-badge-icon svg,
.rfe-badge-icon i {
	display: inline-flex;
	width: 1.05em;
	height: 1.05em;
	font-size: 1.05em;
	color: currentColor;
	fill: currentColor;
}

.rfe-heading {
	margin: 0;
	color: var(--rfe-ink);
	font-size: clamp(38px, 4.55vw, 68px);
	font-weight: 850;
	line-height: 1.04;
	letter-spacing: -.045em;
}

.rfe-subheading {
	max-width: 820px;
	margin: 20px auto 0;
	color: #62627a;
	font-size: clamp(17px, 1.45vw, 21px);
	font-weight: 500;
	line-height: 1.55;
}

.rfe-main {
	display: grid;
	align-items: stretch;
	gap: 34px;
}

.rfe-main.has-panel {
	grid-template-columns: minmax(0, 430px) minmax(0, 1fr);
}

.rfe-main.no-panel {
	grid-template-columns: minmax(0, 1fr);
}

.rfe-panel {
	position: relative;
	min-height: 100%;
	padding: 38px 38px 34px;
	overflow: hidden;
	border-radius: 34px;
	background: linear-gradient(145deg, #7150ee 0%, #5531d7 72%, #4627bd 100%);
	box-shadow: 0 28px 70px rgba(62, 39, 153, .25);
	color: #fff;
}

.rfe-panel::after {
	content: "";
	position: absolute;
	left: 28px;
	right: 28px;
	bottom: 28px;
	height: 1px;
	background: rgba(255, 255, 255, .17);
}

.rfe-panel-question {
	position: absolute;
	right: -14px;
	top: -70px;
	color: rgba(255, 255, 255, .09);
	font-size: 270px;
	font-weight: 950;
	line-height: 1;
	transform: rotate(8deg);
	pointer-events: none;
}

.rfe-panel-orbit {
	position: absolute;
	border: 2px solid rgba(255, 255, 255, .13);
	border-radius: 50%;
	pointer-events: none;
}

.rfe-panel-orbit-one {
	width: 190px;
	height: 190px;
	right: -80px;
	bottom: 85px;
}

.rfe-panel-orbit-two {
	width: 120px;
	height: 120px;
	right: -45px;
	bottom: 120px;
}

.rfe-panel-eyebrow {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 20px;
	color: rgba(255, 255, 255, .82);
	font-size: 13px;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: .09em;
	text-transform: uppercase;
}

.rfe-panel-eyebrow span {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--rfe-yellow);
	box-shadow: 0 0 0 7px rgba(255, 201, 40, .16);
}

.rfe-panel-title {
	position: relative;
	z-index: 2;
	margin: 0;
	max-width: 340px;
	color: #fff;
	font-size: clamp(28px, 2.25vw, 38px);
	font-weight: 850;
	line-height: 1.11;
	letter-spacing: -.035em;
}

.rfe-panel-text {
	position: relative;
	z-index: 2;
	margin: 18px 0 0;
	max-width: 340px;
	color: rgba(255, 255, 255, .82);
	font-size: 17px;
	font-weight: 500;
	line-height: 1.58;
}

.rfe-panel-image {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	min-height: 210px;
	margin: 18px -22px 30px;
}

.rfe-panel-image img {
	display: block;
	width: auto;
	max-width: 100%;
	max-height: 250px;
	object-fit: contain;
	filter: drop-shadow(0 18px 26px rgba(25, 16, 91, .26));
}

.rfe-panel-pills {
	position: relative;
	z-index: 2;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 34px 0 68px;
}

.rfe-panel-pills span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	padding: 8px 15px;
	border: 1px solid rgba(255, 255, 255, .22);
	border-radius: 999px;
	background: rgba(255, 255, 255, .12);
	color: #fff;
	font-size: 14px;
	font-weight: 750;
	line-height: 1;
	backdrop-filter: blur(8px);
}

.rfe-panel-pills span:nth-child(2) {
	background: var(--rfe-yellow);
	border-color: var(--rfe-yellow);
	color: #292012;
	transform: rotate(-2deg);
}

.rfe-panel-note {
	position: absolute;
	z-index: 3;
	left: 38px;
	right: 38px;
	bottom: 38px;
	display: flex;
	align-items: center;
	gap: 10px;
	color: rgba(255, 255, 255, .82);
	font-size: 14px;
	font-weight: 650;
	line-height: 1.4;
}

.rfe-panel-note-dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--rfe-yellow);
	box-shadow: 0 0 0 6px rgba(255, 201, 40, .13);
	flex: 0 0 9px;
}

.rfe-accordion {
	display: flex;
	flex-direction: column;
	gap: 14px;
	min-width: 0;
}

.rfe-item {
	position: relative;
	overflow: hidden;
	border: 1px solid rgba(79, 55, 165, .09);
	border-radius: 24px;
	background: #fff;
	box-shadow: 0 14px 42px rgba(55, 39, 114, .08);
	transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease, background .25s ease;
}

.rfe-item::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 5px;
	background: var(--rfe-yellow);
	transform: scaleY(0);
	transform-origin: center;
	transition: transform .25s ease;
}

.rfe-item:hover {
	transform: translateY(-2px);
	border-color: rgba(108, 75, 234, .28);
	background: #f8f6ff;
	box-shadow: 0 20px 48px rgba(55, 39, 114, .12);
}

/* Фирменное hover-состояние. Явные правила защищают кнопку от глобальных стилей темы. */
.rfe-section .rfe-question:hover,
.rfe-section .rfe-question:focus,
.rfe-section .rfe-question:active {
	border: 0 !important;
	background: transparent !important;
	color: inherit !important;
	box-shadow: none !important;
}

.rfe-item:not(.is-open):hover .rfe-number {
	background: var(--rfe-purple);
	color: #fff;
}

.rfe-item:not(.is-open):hover .rfe-toggle-icon {
	background: var(--rfe-yellow);
}

.rfe-item:not(.is-open):hover .rfe-toggle-icon::before,
.rfe-item:not(.is-open):hover .rfe-toggle-icon::after {
	background: #2d2515;
}

.rfe-item:hover .rfe-question-text {
	color: var(--rfe-ink);
}

.rfe-item.is-open {
	border-color: color-mix(in srgb, var(--rfe-purple) 22%, transparent);
	box-shadow: 0 22px 52px rgba(74, 50, 169, .14);
}

.rfe-item.is-open::before {
	transform: scaleY(1);
}

.rfe-question {
	position: relative;
	display: flex;
	align-items: center;
	gap: 18px;
	width: 100%;
	min-height: 88px;
	padding: 22px;
	border: 0;
	background: transparent;
	text-align: left;
	cursor: pointer;
	font: inherit;
}

.rfe-question:focus-visible {
	outline: 3px solid color-mix(in srgb, var(--rfe-purple) 35%, transparent);
	outline-offset: -4px;
	border-radius: inherit;
}

.rfe-number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	flex: 0 0 44px;
	border-radius: 15px;
	background: #f0ecff;
	color: var(--rfe-purple);
	font-size: 14px;
	font-weight: 850;
	line-height: 1;
	letter-spacing: .02em;
	transition: background .25s ease, color .25s ease, transform .25s ease;
}

.rfe-item.is-open .rfe-number {
	background: var(--rfe-yellow);
	color: #2b2414;
	transform: rotate(-3deg);
}

.rfe-question-text {
	min-width: 0;
	flex: 1 1 auto;
	color: var(--rfe-ink);
	font-size: clamp(18px, 1.4vw, 22px);
	font-weight: 780;
	line-height: 1.28;
	letter-spacing: -.018em;
}

.rfe-toggle-icon {
	position: relative;
	display: inline-flex;
	width: 44px;
	height: 44px;
	flex: 0 0 44px;
	border-radius: 50%;
	background: var(--rfe-purple);
	box-shadow: 0 9px 22px rgba(79, 51, 190, .24);
	transition: transform .3s ease, background .25s ease;
}

.rfe-toggle-icon::before,
.rfe-toggle-icon::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 16px;
	height: 2px;
	border-radius: 2px;
	background: #fff;
	transform: translate(-50%, -50%);
	transition: transform .28s ease, opacity .28s ease;
}

.rfe-toggle-icon::after {
	transform: translate(-50%, -50%) rotate(90deg);
}

.rfe-item.is-open .rfe-toggle-icon {
	transform: rotate(180deg);
	background: var(--rfe-yellow);
}

.rfe-item.is-open .rfe-toggle-icon::before,
.rfe-item.is-open .rfe-toggle-icon::after {
	background: #2d2515;
}

.rfe-item.is-open .rfe-toggle-icon::after {
	opacity: 0;
	transform: translate(-50%, -50%) rotate(0deg);
}

.rfe-answer {
	overflow: hidden;
	transition: max-height .36s cubic-bezier(.2,.75,.25,1), opacity .28s ease;
}

.rfe-answer[hidden] {
	display: block;
	max-height: 0;
	opacity: 0;
}

.rfe-answer-inner {
	padding: 0 76px 24px 78px;
	color: #62627a;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.68;
}

.rfe-answer-inner p {
	margin: 0 0 12px;
}

.rfe-answer-inner p:last-child {
	margin-bottom: 0;
}

.rfe-decor {
	position: absolute;
	z-index: 1;
	pointer-events: none;
}

.rfe-decor-one {
	width: 92px;
	height: 92px;
	right: 5%;
	top: 14%;
	background-image: radial-gradient(var(--rfe-purple) 2.3px, transparent 2.3px);
	background-size: 13px 13px;
	opacity: .17;
	transform: rotate(10deg);
}

.rfe-decor-two {
	width: 34px;
	height: 34px;
	left: 6%;
	top: 31%;
	border: 8px solid var(--rfe-yellow);
	border-radius: 11px;
	opacity: .75;
	transform: rotate(22deg);
}

@media (max-width: 1024px) {
	.rfe-section {
		padding: 72px 22px;
	}

	.rfe-main.has-panel {
		grid-template-columns: minmax(0, 330px) minmax(0, 1fr) !important;
	}

	.rfe-panel {
		padding: 32px 28px 30px;
	}

	.rfe-panel-note {
		left: 28px;
		right: 28px;
		bottom: 34px;
	}

	.rfe-answer-inner {
		padding-right: 66px;
		padding-left: 72px;
	}
}

@media (max-width: 767px) {
	.rfe-section {
		padding: 60px 16px;
	}

	.rfe-header {
		margin-bottom: 30px;
		text-align: left;
	}

	.rfe-badge {
		margin-bottom: 15px;
	}

	.rfe-heading {
		font-size: clamp(34px, 11vw, 48px);
	}

	.rfe-subheading {
		margin-top: 15px;
		font-size: 17px;
	}

	.rfe-main.has-panel {
		grid-template-columns: 1fr !important;
		gap: 18px;
	}

	.rfe-panel {
		min-height: 390px;
		padding: 28px 24px 28px;
		border-radius: 28px;
	}

	.rfe-panel-title {
		max-width: 85%;
		font-size: 30px;
	}

	.rfe-panel-text {
		max-width: 88%;
		font-size: 16px;
	}

	.rfe-panel-pills {
		margin-bottom: 76px;
	}

	.rfe-panel-note {
		left: 24px;
		right: 24px;
		bottom: 28px;
	}

	.rfe-accordion {
		gap: 11px;
	}

	.rfe-item {
		border-radius: 21px;
	}

	.rfe-question {
		gap: 12px;
		min-height: 78px;
		padding: 17px 16px;
	}

	.rfe-number {
		width: 39px;
		height: 39px;
		flex-basis: 39px;
		border-radius: 13px;
		font-size: 12px;
	}

	.rfe-question-text {
		font-size: 17px;
		line-height: 1.3;
	}

	.rfe-toggle-icon {
		width: 39px;
		height: 39px;
		flex-basis: 39px;
	}

	.rfe-answer-inner {
		padding: 0 18px 21px 67px;
		font-size: 15px;
		line-height: 1.62;
	}

	.rfe-decor-one,
	.rfe-decor-two {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.rfe-item,
	.rfe-number,
	.rfe-toggle-icon,
	.rfe-toggle-icon::before,
	.rfe-toggle-icon::after,
	.rfe-answer {
		transition: none !important;
	}
}
