/* Главная: Вопрос-Ответ и Способы оплаты — в стиле карточек Ajax */

h4.zag-index:has(+ .reckon-ask) {
	background: none;
	border: 0;
	padding: 6px 0 14px;
	margin: 8px 0 4px;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.35;
	text-align: left;
	color: #c23736;
	font-family: verdana, sans-serif;
}

.reckon-ask {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0 0 8px;
	counter-reset: faq-home;
}

.reckon-ask__item {
	margin-bottom: 0;
	border: 1px solid #e4e4e4;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
	overflow: hidden;
	counter-increment: faq-home;
	transition: border-color .18s ease, box-shadow .18s ease;
}

.reckon-ask__item:hover {
	border-color: #e8c4c3;
	box-shadow: 0 6px 16px rgba(194, 55, 54, .1);
}

.reckon-ask__item * {
	transition: none;
}

.reckon-ask__item-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 16px 14px 0;
	background: #fff;
	cursor: pointer;
}

.reckon-ask__item-top::before {
	content: counter(faq-home, decimal-leading-zero);
	flex: 0 0 58px;
	align-self: stretch;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: -14px 0 -14px 0;
	padding: 14px 0;
	color: #c23736;
	font-size: 20px;
	font-weight: 700;
	line-height: 1;
	font-variant-numeric: tabular-nums;
	font-family: verdana, sans-serif;
	background: #fffaf9;
	border-right: 1px solid #f0f0f0;
}

.reckon-ask__item-top p {
	flex: 1 1 auto;
	width: auto;
	margin: 0;
	color: #2f2f2f;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.45;
	font-family: verdana, sans-serif;
}

.reckon-ask__item-top div {
	flex: 0 0 28px;
	width: 28px;
	height: 28px;
	border: 0;
	border-radius: 50%;
	background: #fff7f7;
	box-shadow: inset 0 0 0 1px #f0d6d5;
	position: relative;
	transform: none;
}

.reckon-ask__item-top div::before,
.reckon-ask__item-top div::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	background: #c23736;
	border-radius: 1px;
}

.reckon-ask__item-top div::before {
	width: 10px;
	height: 2px;
	margin: -1px 0 0 -5px;
}

.reckon-ask__item-top div::after {
	width: 2px;
	height: 10px;
	margin: -5px 0 0 -1px;
}

.reckon-ask__item-text {
	padding: 0 16px 0 58px;
	height: 0;
	overflow: hidden;
	background: #fff;
}

.reckon-ask__item p:last-child {
	padding: 0;
}

.reckon-ask__item-text p {
	margin: 0;
	padding: 0 0 16px;
	color: #4e4e4e;
	font-size: 12px;
	line-height: 1.55;
	font-family: verdana, sans-serif;
}

.reckon-ask__item-top.active {
	background: #fff;
}

.reckon-ask__item-top.active + .reckon-ask__item-text {
	overflow: visible;
	padding: 0 16px 2px 58px;
	height: auto;
	border-top: 1px solid #f4f0f0;
}

.reckon-ask__item-top.active + .reckon-ask__item-text p {
	padding: 12px 0 16px;
}

.reckon-ask__item-top.active div {
	background: #c23736;
	box-shadow: none;
	transform: none;
}

.reckon-ask__item-top.active div::before,
.reckon-ask__item-top.active div::after {
	background: #fff;
}

.reckon-ask__item-top.active div::after {
	display: none;
}

.reckon-ask__item:has(.reckon-ask__item-top.active) {
	border-color: #e8c4c3;
	box-shadow: 0 8px 18px rgba(194, 55, 54, .12);
}

.pay {
	max-width: none;
	margin: 8px 0 22px;
	padding: 0;
	text-align: left;
	color: #4e4e4e;
}

.pay > div:nth-child(1) {
	background: none;
	border: 0;
	padding: 6px 0 14px;
	margin: 8px 0 4px;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.35;
	text-align: left;
	color: #c23736;
	font-family: verdana, sans-serif;
}

.pay .container {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 10px;
	justify-content: stretch;
}

.pay .card {
	width: auto;
	height: auto;
	min-height: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	gap: 10px;
	padding: 18px 12px 16px;
	text-align: center;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: .02em;
	text-transform: uppercase;
	color: #2f2f2f;
	background: #fff;
	border: 1px solid #e4e4e4;
	border-radius: 8px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
	box-sizing: border-box;
	transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
	font-family: verdana, sans-serif;
}

.pay .card br {
	display: none;
}

.pay .card:hover {
	border-color: #c23736;
	background: #fff;
	box-shadow: 0 8px 18px rgba(194, 55, 54, .12);
	transform: translateY(-1px);
}

.pay .icon {
	width: 58px;
	height: 58px;
	padding: 8px;
	object-fit: contain;
	background: #fff7f7;
	border: 1px solid #f0d6d5;
	border-radius: 8px;
	box-sizing: border-box;
}

.pay h1,
.pay p {
	color: inherit;
	margin: 0;
}

@media (max-width: 733px) {
	h4.zag-index:has(+ .reckon-ask),
	.pay > div:nth-child(1) {
		font-size: 16px;
		padding-bottom: 10px;
	}

	.reckon-ask__item-top {
		padding: 12px 12px 12px 0;
		gap: 8px;
	}

	.reckon-ask__item-top::before {
		flex-basis: 46px;
		margin-top: -12px;
		margin-bottom: -12px;
		padding: 12px 0;
		font-size: 16px;
	}

	.reckon-ask__item-top p {
		font-size: 12px;
	}

	.reckon-ask__item-text,
	.reckon-ask__item-top.active + .reckon-ask__item-text {
		padding-left: 46px;
		padding-right: 12px;
	}

	.pay .container {
		grid-template-columns: 1fr 1fr;
		gap: 8px;
	}

	.pay .card {
		padding: 14px 8px 12px;
		font-size: 11px;
	}

	.pay .icon {
		width: 48px;
		height: 48px;
		padding: 6px;
	}
}

@media (max-width: 420px) {
	.pay .container {
		grid-template-columns: 1fr;
	}
}

/* Презентация компании — тизер и попап */
.pres-teaser {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
	margin: 18px 0;
	padding: 20px 24px;
	background: #fff7f7;
	border: 1px solid #e8c4c3;
	border-left: 5px solid #c23736;
	border-radius: 6px;
	box-sizing: border-box;
}

.pres-teaser-text strong {
	display: block;
	color: #c23736;
	font-size: 18px;
	line-height: 1.3;
	margin: 0 0 5px;
	font-family: verdana, sans-serif;
}

.pres-teaser-text span {
	display: block;
	font-size: 14px;
	line-height: 1.45;
	color: #4e4e4e;
	font-family: verdana, sans-serif;
}

.pres-teaser-btn {
	display: inline-block;
	flex: 0 0 auto;
	white-space: nowrap;
	background: #c23736;
	color: #fff !important;
	text-decoration: none !important;
	font-size: 14px;
	font-weight: 700;
	font-family: verdana, sans-serif;
	line-height: 1.2;
	padding: 13px 22px;
	border-radius: 4px;
	text-align: center;
	text-shadow: 0 -1px 0 #a91b1a;
}

.pres-teaser-btn:hover {
	background: #a82e2d;
	color: #fff !important;
	text-decoration: none !important;
}

.pres-modal {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 40050;
	align-items: center;
	justify-content: center;
	padding: 24px 16px;
	box-sizing: border-box;
}

.pres-modal.is-open {
	display: flex;
}

.pres-modal-bg {
	position: absolute;
	inset: 0;
	background: rgba(20, 20, 20, .62);
}

.pres-modal-box {
	position: relative;
	z-index: 1;
	width: min(1100px, calc(100vw - 32px));
	height: min(780px, calc(100vh - 48px));
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 18px 50px rgba(0, 0, 0, .32);
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.pres-modal-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 14px 10px 16px;
	background: #2a2a2a;
	color: #fff;
	font-family: verdana, sans-serif;
	font-size: 13px;
	font-weight: 700;
}

.pres-modal-bar a {
	color: #fff;
	text-decoration: underline;
	font-weight: 400;
	font-size: 12px;
}

.pres-modal-close {
	border: 0;
	background: transparent;
	color: #fff;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	padding: 0 4px;
}

.pres-modal-close:hover {
	color: #f0b3b2;
}

.pres-modal-box iframe {
	flex: 1 1 auto;
	width: 100%;
	height: 100%;
	border: 0;
	background: #ececec;
}

@media screen and (max-width: 733px) {
	.pres-teaser {
		display: block;
		padding: 18px 16px;
	}

	.pres-teaser-btn {
		display: block;
		width: 100%;
		box-sizing: border-box;
		margin-top: 12px;
	}

	.pres-modal {
		padding: 10px 8px;
	}

	.pres-modal-box {
		height: calc(100vh - 20px);
	}
}
