/*
 * Service page template (approved version A): hero, sticky side column (table of contents + CTA),
 * content sections, FAQ, other services. Breakpoints follow the site: mobile <= 767, tablet 768-1024,
 * desktop >= 1025. Interactive selectors are nested under .ta-sp to beat hello-elementor's reset.css.
 */

.ta-sp {
	--ta-sp-ink: #292566;
	--ta-sp-text: #292b43;
	--ta-sp-muted: #53516c;
	--ta-sp-accent: #0062fe;
	--ta-sp-accent-hover: #0054d9;
	--ta-sp-line: #dedfe6;
	--ta-sp-soft: #f3f6ff;
	--ta-sp-warn: #b4531a;
	--ta-sp-ok: #1b7f4b;
	--ta-sp-header: 150px;

	display: block;
	background: #fff;
	color: var(--ta-sp-text);
	font-family: Heebo, sans-serif;
	font-size: 16px;
	line-height: 1.75;
	direction: rtl;
	text-align: right;
	outline: none;
}

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

.ta-sp__wrap {
	max-width: 1140px;
	margin-inline: auto;
	padding-inline: 24px;
}

/* Hero */
.ta-sp__hero {
	padding-block: 28px 32px;
	background: linear-gradient(180deg, var(--ta-sp-soft), #fff);
}

.ta-sp__hero .ta-sp__wrap {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.ta-sp__crumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 13px;
	line-height: 20px;
	color: var(--ta-sp-muted);
}

.ta-sp__crumbs li + li::before {
	content: "\203A";
	margin-inline-end: 6px;
	color: var(--ta-sp-muted);
}

.ta-sp .ta-sp__crumbs a {
	color: var(--ta-sp-muted);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.ta-sp .ta-sp__crumbs a:hover {
	color: var(--ta-sp-ink);
}

.ta-sp__eyebrow {
	margin: 4px 0 0;
	font-size: 14px;
	line-height: 20px;
	font-weight: 500;
	letter-spacing: 0.02em;
	color: var(--ta-sp-accent);
}

.ta-sp__h1 {
	margin: 0;
	font-family: Alef, sans-serif;
	font-weight: 700;
	font-size: 36px;
	line-height: 1.15;
	color: var(--ta-sp-ink);
	text-wrap: balance;
}

.ta-sp__intro {
	max-width: 82ch;
	font-size: 17px;
	line-height: 1.8;
}

.ta-sp__intro p,
.ta-sp__prose p {
	margin: 0 0 12px;
}

.ta-sp__intro p:last-child,
.ta-sp__prose > *:last-child {
	margin-bottom: 0;
}

/* Body */
.ta-sp__body {
	display: flex;
	flex-direction: column;
	gap: 28px;
	padding-block: 8px 56px;
}

.ta-sp__side {
	display: flex;
	flex-direction: column;
	gap: 16px;
	min-width: 0;
}

.ta-sp__toc {
	border: 1px solid var(--ta-sp-line);
	border-radius: 16px;
	padding: 12px;
}

.ta-sp__toc-title {
	margin: 0 0 4px;
	padding-inline: 12px;
	font-size: 13px;
	line-height: 20px;
	font-weight: 500;
	color: var(--ta-sp-muted);
}

.ta-sp__toc ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.ta-sp .ta-sp__toc a {
	display: flex;
	align-items: center;
	min-height: 44px;
	padding: 8px 12px;
	border-radius: 10px;
	color: var(--ta-sp-ink);
	font-weight: 500;
	font-size: 15px;
	line-height: 1.4;
	text-decoration: none;
}

.ta-sp .ta-sp__toc a:hover {
	background: var(--ta-sp-soft);
	color: var(--ta-sp-ink);
}

.ta-sp .ta-sp__toc a[aria-current="true"] {
	background: var(--ta-sp-soft);
	box-shadow: inset -3px 0 0 var(--ta-sp-accent);
}

.ta-sp__cta {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 22px;
	border-radius: 16px;
	background: var(--ta-sp-ink);
	color: #fff;
}

.ta-sp__cta-title {
	margin: 0;
	font-family: Alef, sans-serif;
	font-weight: 700;
	font-size: 20px;
	line-height: 1.3;
	color: #fff;
}

.ta-sp__cta-text {
	margin: 0 0 4px;
	font-size: 14px;
	line-height: 1.6;
	color: #c9c7e6;
}

.ta-sp a.ta-sp__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	padding: 0 24px;
	border-radius: 25px;
	border: 1px solid var(--ta-sp-accent);
	background: var(--ta-sp-accent);
	color: #fff;
	font-family: Alef, sans-serif;
	font-weight: 700;
	font-size: 16px;
	line-height: 20px;
	text-decoration: none;
	transition: background-color 0.15s ease;
}

.ta-sp a.ta-sp__btn:hover,
.ta-sp a.ta-sp__btn:focus {
	background-color: var(--ta-sp-accent-hover);
	border-color: var(--ta-sp-accent-hover);
	color: #fff;
}

.ta-sp__main {
	display: flex;
	flex-direction: column;
	gap: 44px;
	min-width: 0;
}

.ta-sp__sec {
	display: flex;
	flex-direction: column;
	gap: 16px;
	scroll-margin-top: calc(var(--ta-sp-header) + 16px);
}

.ta-sp__h2 {
	margin: 0;
	font-family: Alef, sans-serif;
	font-weight: 700;
	font-size: 26px;
	line-height: 1.25;
	color: var(--ta-sp-ink);
	text-wrap: balance;
}

.ta-sp__h3,
.ta-sp__prose h3 {
	margin: 0 0 8px;
	font-family: Alef, sans-serif;
	font-weight: 700;
	font-size: 20px;
	line-height: 1.3;
	color: var(--ta-sp-ink);
}

.ta-sp__prose h3:not(:first-child) {
	margin-top: 20px;
}

.ta-sp__prose ul {
	margin: 0 0 12px;
	padding-inline-start: 22px;
}

.ta-sp__prose li {
	margin-bottom: 6px;
}

.ta-sp__cols {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 16px;
}

.ta-sp__card {
	padding: 22px;
	border: 1px solid var(--ta-sp-line);
	border-radius: 16px;
	background: #fff;
	min-width: 0;
}

.ta-sp__card--tint {
	border-color: var(--ta-sp-soft);
	background: var(--ta-sp-soft);
}

/* Lists with icons (risk points and checks) */
.ta-sp .ta-sp__list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.ta-sp .ta-sp__list li {
	position: relative;
	margin: 0;
	padding-inline-start: 30px;
}

.ta-sp .ta-sp__list li::before {
	content: "";
	position: absolute;
	inset-inline-start: 0;
	top: 0.35em;
	width: 18px;
	height: 18px;
	background-repeat: no-repeat;
	background-size: 18px 18px;
}

.ta-sp .ta-sp__list--point li::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b4531a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4l9 16H3z'/%3E%3Cpath d='M12 10v4M12 17.5v.01'/%3E%3C/svg%3E");
}

.ta-sp .ta-sp__list--check li::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b7f4b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}

/* FAQ */
.ta-sp__faq {
	border-top: 1px solid var(--ta-sp-line);
}

.ta-sp__qa {
	border-bottom: 1px solid var(--ta-sp-line);
	scroll-margin-top: calc(var(--ta-sp-header) + 16px);
}

.ta-sp__qa summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 60px;
	padding-block: 12px;
	list-style: none;
	cursor: pointer;
}

.ta-sp__qa summary::-webkit-details-marker {
	display: none;
}

.ta-sp__qa summary::after {
	content: "+";
	flex: none;
	font: 400 26px/1 Heebo, sans-serif;
	color: var(--ta-sp-accent);
}

.ta-sp__qa[open] summary::after {
	content: "\2212";
}

.ta-sp__qa summary:focus-visible {
	outline: 2px solid var(--ta-sp-ink);
	outline-offset: 2px;
	border-radius: 6px;
}

.ta-sp__q {
	margin: 0;
	font-family: Alef, sans-serif;
	font-weight: 700;
	font-size: 18px;
	line-height: 1.4;
	color: var(--ta-sp-ink);
}

.ta-sp__a {
	padding-bottom: 18px;
}

/* Other services */
.ta-sp__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ta-sp a.ta-sp__chip {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 18px;
	border: 1px solid var(--ta-sp-line);
	border-radius: 999px;
	background: #fff;
	color: var(--ta-sp-ink);
	font-size: 15px;
	text-decoration: none;
}

.ta-sp a.ta-sp__chip:hover {
	background: var(--ta-sp-soft);
	color: var(--ta-sp-ink);
}

.ta-sp a:focus-visible {
	outline: 2px solid var(--ta-sp-ink);
	outline-offset: 3px;
}

@media (min-width: 768px) {
	.ta-sp__wrap {
		padding-inline: 48px;
	}

	.ta-sp__hero {
		padding-block: 36px 36px;
	}

	.ta-sp__h1 {
		font-size: 44px;
	}

	.ta-sp__h2 {
		font-size: 28px;
	}

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

@media (min-width: 1025px) {
	.ta-sp__body {
		display: grid;
		grid-template-columns: 290px minmax(0, 1fr);
		gap: 48px;
		align-items: start;
	}

	.ta-sp__side {
		position: sticky;
		top: calc(var(--ta-sp-header) + 16px);
	}
}

@media (prefers-reduced-motion: reduce) {
	.ta-sp a.ta-sp__btn {
		transition: none;
	}
}
