/*!
 * Single service page (modules/functions/services-full.tpl + «service page extras» in main.tpl).
 * Behaviour: js/service-page.js. Grey at rest, red on hover / active. IranSans everywhere.
 */
.rp-sv, .rp-sv-more {
	--sv-red: #fb4848; --sv-red-2: #c62f2f; --sv-red-soft: #fff3f3;
	--sv-ink: #29292B; --sv-text: #4a4a51; --sv-muted: #6b6b72; --sv-line: #e8e8ec; --sv-soft: #f6f6f8;
	--sv-ease: cubic-bezier(.22, 1, .36, 1);
	direction: rtl; font-family: 'IranSans', sans-serif;
}
.rp-sv { padding: 0 15px 70px; color: var(--sv-ink); }
.rp-sv *, .rp-sv-more * { box-sizing: border-box; }
.rp-sv em, .rp-sv-more em { font-style: normal; color: var(--sv-red); }

/* ------------------------------------------------------------------ hero */
.rp-sv-hero {
	position: relative; isolation: isolate; overflow: hidden;
	display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
	grid-template-rows: 1fr auto auto auto auto auto auto 1fr;
	grid-template-areas: ". media" "eyebrow media" "title media" "lead media" "tags media" "cta media" "trust media" ". media";
	column-gap: 56px; margin-top: 10px; padding: 46px 48px;
	border: 1px solid var(--sv-line); border-radius: 30px;
	background: radial-gradient(620px 360px at 100% 0%, rgba(251, 72, 72, .08), transparent 70%), linear-gradient(180deg, #fff, #f8f8fa);
}
.rp-sv-hero::after {
	content: ""; position: absolute; z-index: -1; inset: 0;
	background-image: radial-gradient(rgba(41, 41, 43, .07) 1px, transparent 1px); background-size: 20px 20px;
	mask-image: linear-gradient(90deg, transparent 40%, #000);
}
.rp-sv-eyebrow { grid-area: eyebrow; display: inline-flex; align-items: center; gap: 10px; justify-self: start; font-family: 'IranSansMedium', 'IranSans', sans-serif; font-size: 13px; color: var(--sv-red); }
.rp-sv-eyebrow i { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: var(--sv-red-soft); font-size: 18px; }
.rp-sv-eyebrow i::before { margin: 0 !important; }
.rp-sv-title { grid-area: title; margin: 16px 0 12px; font-family: 'IranSansBlack', 'IranSans', sans-serif; font-weight: normal; font-size: clamp(30px, 3.1vw, 44px); line-height: 1.45; color: var(--sv-ink); }
.rp-sv-short { display: contents; }
.rp-sv-short > *:not(img):not(.svc-sum):not(.svc-tags) { display: none; }
.rp-sv-short > img {
	grid-area: media; align-self: center; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover;
	border-radius: 26px; box-shadow: 0 40px 70px -40px rgba(20, 20, 24, .55);
	filter: grayscale(1) contrast(1.04); transition: filter .7s var(--sv-ease), transform .9s var(--sv-ease);
}
.rp-sv-hero:hover .rp-sv-short > img { filter: none; transform: scale(1.012); }
.rp-sv-short .svc-sum { grid-area: lead; margin: 0 0 18px; font-size: 16.5px; line-height: 2.05; color: var(--sv-text); text-wrap: pretty; }
.rp-sv-short .svc-tags { grid-area: tags; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; padding: 0; list-style: none; }
.rp-sv-short .svc-tags li {
	padding: 6px 13px; border: 1px solid var(--sv-line); border-radius: 999px; background: #fff;
	font-size: 12.5px; color: var(--sv-muted); transition: border-color .25s, color .25s;
}
.rp-sv-short .svc-tags li:hover { border-color: var(--sv-red); color: var(--sv-red); }
.rp-sv-cta { grid-area: cta; display: flex; flex-wrap: wrap; gap: 10px; }
.rp-sv-trust { grid-area: trust; display: flex; gap: 0; margin: 28px 0 0; padding: 22px 0 0; list-style: none; border-top: 1px solid var(--sv-line); }
.rp-sv-trust li { display: flex; flex-direction: column; padding-left: 26px; margin-left: 26px; border-left: 1px solid var(--sv-line); }
.rp-sv-trust li:last-child { border-left: 0; margin-left: 0; padding-left: 0; }
.rp-sv-trust b { font-family: 'IranSansBlack', 'IranSans', sans-serif; font-weight: normal; font-size: 21px; color: var(--sv-ink); }
.rp-sv-trust span { font-size: 12.5px; color: var(--sv-muted); }

/* buttons */
.rp-sv-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px;
	border-radius: 15px; border: 1px solid transparent; font-family: 'IranSansBold', 'IranSans', sans-serif; font-size: 15px;
	text-decoration: none !important; cursor: pointer;
	transition: background-color .25s, color .25s, border-color .25s, box-shadow .35s;
}
.rp-sv-btn i { transition: transform .35s var(--sv-ease); }
.rp-sv-btn--primary { background: var(--sv-ink); color: #fff !important; }
.rp-sv-btn--primary:hover { background: var(--sv-red); box-shadow: 0 18px 32px -18px rgba(251, 72, 72, .85); }
.rp-sv-btn--primary:hover i { transform: translateX(-4px); }
.rp-sv-btn--ghost { background: #fff; border-color: var(--sv-line); color: var(--sv-ink) !important; }
.rp-sv-btn--ghost i { color: var(--sv-red); }
.rp-sv-btn--ghost:hover { border-color: var(--sv-ink); }
.rp-sv a:focus-visible, .rp-sv button:focus-visible, .rp-sv-more a:focus-visible { outline: 2px solid var(--sv-red); outline-offset: 3px; }

/* ------------------------------------------------------------------ body: aside + article */
.rp-sv-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 48px; margin-top: 56px; align-items: start; }
.rp-sv-aside { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 14px; }

.rp-sv-toc { padding: 20px 20px 14px; border: 1px solid var(--sv-line); border-radius: 20px; background: #fff; }
.rp-sv-toc > p { margin: 0 0 10px; font-family: 'IranSansBold', 'IranSans', sans-serif; font-size: 13px; color: var(--sv-ink); }
.rp-sv-toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.rp-sv-toc li { counter-increment: toc; }
.rp-sv-toc a {
	position: relative; display: flex; gap: 10px; padding: 8px 12px 8px 4px; border-radius: 10px;
	font-size: 13px; line-height: 1.7; color: var(--sv-muted) !important; text-decoration: none !important;
	transition: color .25s, background-color .25s;
}
.rp-sv-toc a::before { content: counter(toc, persian); flex: 0 0 auto; font-family: 'IranSansBold', 'IranSans', sans-serif; color: #b4b4bb; transition: color .25s; }
.rp-sv-toc a::after { content: ""; position: absolute; right: 0; top: 10px; bottom: 10px; width: 2px; border-radius: 2px; background: var(--sv-red); transform: scaleY(0); transition: transform .3s var(--sv-ease); }
.rp-sv-toc a:hover { color: var(--sv-ink) !important; background: var(--sv-soft); }
.rp-sv-toc a.is-active { color: var(--sv-ink) !important; background: var(--sv-red-soft); }
.rp-sv-toc a.is-active::before { color: var(--sv-red); }
.rp-sv-toc a.is-active::after { transform: none; }

.rp-sv-card { position: relative; overflow: hidden; isolation: isolate; padding: 22px; border-radius: 20px; background: #1d1d20; color: #fff; }
.rp-sv-card::before { content: ""; position: absolute; z-index: -1; width: 260px; height: 260px; left: -120px; top: -130px; border-radius: 50%; background: radial-gradient(closest-side, rgba(251, 72, 72, .4), transparent); }
.rp-sv-card h2 { margin: 0 0 6px; font-family: 'IranSansBlack', 'IranSans', sans-serif; font-weight: normal; font-size: 18px; color: #fff; }
.rp-sv-card p { margin: 0 0 16px; font-size: 13px; line-height: 1.95; color: #c3c3ca; }
.rp-sv-card .rp-sv-btn { width: 100%; min-height: 48px; background: #fff; color: var(--sv-ink) !important; }
.rp-sv-card .rp-sv-btn:hover { background: var(--sv-red); color: #fff !important; }
.rp-sv-tel { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; font-family: 'IranSansBold', 'IranSans', sans-serif; font-size: 15px; color: #fff !important; text-decoration: none !important; opacity: .85; transition: opacity .25s; }
.rp-sv-tel i { color: var(--sv-red); }
.rp-sv-tel:hover { opacity: 1; }

.rp-sv-price {
	display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--sv-line); border-radius: 16px; background: #fff;
	color: var(--sv-ink) !important; text-decoration: none !important; transition: border-color .25s, box-shadow .3s;
}
.rp-sv-price > i:first-child { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 11px; background: var(--sv-soft); color: #8b8b93; transition: background-color .25s, color .25s; }
.rp-sv-price span { flex: 1; font-family: 'IranSansBold', 'IranSans', sans-serif; font-size: 13.5px; line-height: 1.6; }
.rp-sv-price small { display: block; font-family: 'IranSans', sans-serif; font-size: 11.5px; color: var(--sv-muted); }
.rp-sv-price > i:last-child { color: #b4b4bb; transition: color .25s, transform .35s var(--sv-ease); }
.rp-sv-price:hover { border-color: #f3b9b9; box-shadow: 0 16px 30px -22px rgba(251, 72, 72, .6); }
.rp-sv-price:hover > i:first-child { background: var(--sv-red); color: #fff; }
.rp-sv-price:hover > i:last-child { color: var(--sv-red); transform: translateX(-3px); }

.rp-sv-files { padding: 16px 18px; border: 1px dashed #d6d6dc; border-radius: 16px; font-size: 13px; }
.rp-sv-files > p { margin: 0 0 8px; font-family: 'IranSansBold', 'IranSans', sans-serif; color: var(--sv-ink); }
.rp-sv-files a { color: var(--sv-red) !important; }

/* article: the service text from the editor (cleaned up by js/service-page.js) */
.rp-sv-body { min-width: 0; font-size: 15.5px; line-height: 2.1; color: var(--sv-text); }
.rp-sv-body > ul:first-child, .rp-sv-body > ul:first-child > li { margin: 0; padding: 0; list-style: none; }
.rp-sv-body img[src="IMAGE-HERE"], .rp-sv-body img:not([src]) { display: none !important; }
.rp-sv-body img { max-width: 100%; height: auto; border-radius: 18px; filter: grayscale(1); transition: filter .6s var(--sv-ease); }
.rp-sv-body img:hover { filter: none; }
.rp-sv-body h2, .rp-sv-body h3, .rp-sv-body h4 { color: var(--sv-ink) !important; font-weight: normal; }
.rp-sv-body h2 { margin: 40px 0 14px; font-family: 'IranSansBlack', 'IranSans', sans-serif; font-size: 25px; line-height: 1.7; scroll-margin-top: 110px; }
.rp-sv-body h2 span { color: var(--sv-red) !important; }
.rp-sv-body h3 { margin: 0 0 12px; font-family: 'IranSansBold', 'IranSans', sans-serif; font-size: 19.5px; line-height: 1.7; scroll-margin-top: 110px; }
.rp-sv-body p { margin: 0 0 14px; }
.rp-sv-body strong, .rp-sv-body b { color: var(--sv-ink); font-family: 'IranSansBold', 'IranSans', sans-serif; font-weight: normal; }
.rp-sv-body a { color: var(--sv-red); }
.rp-sv-body [style*="color"] { color: inherit !important; }
.rp-sv-body h2 [style*="color"], .rp-sv-body .fr-text-red { color: var(--sv-red) !important; }
.rp-sv-body ul ul, .rp-sv-sec ul { margin: 0; padding: 0; list-style: none; }
.rp-sv-body ul ul > li, .rp-sv-sec ul > li { position: relative; margin: 0 0 8px; padding-right: 32px; }
.rp-sv-body ul ul > li::before, .rp-sv-sec ul > li::before {
	content: "\f00c"; position: absolute; right: 0; top: 7px; width: 20px; height: 20px; display: grid; place-items: center;
	border-radius: 50%; background: var(--sv-red-soft); color: var(--sv-red); font: normal 9px/1 FontAwesome;
}
/* the intro (first heading) */
.rp-sv-body .rp-sv-intro { margin: 0 0 18px; font-size: clamp(22px, 2.1vw, 28px); line-height: 1.75; }
.rp-sv-body .rp-sv-intro br { display: none; }
/* each sub-heading becomes a card */
.rp-sv-sec {
	position: relative; margin: 0 0 14px; padding: 24px 26px 16px; border: 1px solid var(--sv-line); border-radius: 22px; background: #fff;
	scroll-margin-top: 110px; transition: border-color .3s, box-shadow .4s var(--sv-ease);
}
.rp-sv-sec:hover { border-color: #ececf0; box-shadow: 0 24px 46px -34px rgba(20, 20, 24, .45); }
.rp-sv-sec-n { position: absolute; left: 22px; top: 20px; font-family: 'IranSansBlack', 'IranSans', sans-serif; font-size: 30px; line-height: 1; color: transparent; -webkit-text-stroke: 1px #dcdce1; transition: -webkit-text-stroke-color .3s; }
.rp-sv-sec:hover .rp-sv-sec-n { -webkit-text-stroke-color: var(--sv-red); }
.rp-sv-sec h3 { padding-left: 46px; }
.rp-sv-sec > *:last-child { margin-bottom: 8px; }
.rp-sv-reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--sv-ease), transform .7s var(--sv-ease), border-color .3s, box-shadow .4s var(--sv-ease); }
.rp-sv-reveal.is-in { opacity: 1; transform: none; }

/* ------------------------------------------------------------------ section heads (process, FAQ, extras) */
.rp-sv-head { margin: 0 0 28px; }
.rp-sv-kicker { display: inline-flex; align-items: center; gap: 8px; font-family: 'IranSansMedium', 'IranSans', sans-serif; font-size: 13px; color: var(--sv-red); }
.rp-sv-kicker::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--sv-red); }
.rp-sv-head h2, .rp-sv-more-head h2 { margin: 8px 0 0; font-family: 'IranSansBlack', 'IranSans', sans-serif; font-weight: normal; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.5; color: var(--sv-ink); }

/* process */
.rp-sv-process { margin-top: 80px; }
.rp-sv-steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.rp-sv-steps li { position: relative; padding: 26px 22px 22px; border: 1px solid var(--sv-line); border-radius: 22px; background: #fff; transition: border-color .3s, transform .4s var(--sv-ease), box-shadow .4s var(--sv-ease); }
.rp-sv-steps li:hover { border-color: #f3b9b9; transform: translateY(-4px); box-shadow: 0 24px 40px -30px rgba(251, 72, 72, .55); }
.rp-sv-steps li > i { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: var(--sv-soft); color: #8b8b93; font-size: 20px; transition: background-color .3s, color .3s; }
.rp-sv-steps li:hover > i { background: var(--sv-red); color: #fff; }
.rp-sv-step-n { position: absolute; left: 20px; top: 16px; font-family: 'IranSansBlack', 'IranSans', sans-serif; font-size: 34px; line-height: 1; color: transparent; -webkit-text-stroke: 1px #dcdce1; }
.rp-sv-steps h3 { margin: 18px 0 6px; font-family: 'IranSansBold', 'IranSans', sans-serif; font-weight: normal; font-size: 16.5px; color: var(--sv-ink); }
.rp-sv-steps p { margin: 0; font-size: 13px; line-height: 1.95; color: var(--sv-muted); }
.rp-sv-steps li:not(:last-child)::after {
	content: "\f104"; position: absolute; left: -12px; top: 38px; z-index: 1; width: 22px; height: 22px; display: grid; place-items: center;
	border-radius: 50%; background: #fff; border: 1px solid var(--sv-line); color: #b4b4bb; font: normal 13px/1 FontAwesome;
}

/* FAQ */
.rp-sv-faq { margin-top: 56px; }
.rp-sv-faq-list { display: flex; flex-direction: column; gap: 10px; }
.rp-sv-faq-item { border: 1px solid var(--sv-line); border-radius: 18px; background: #fff; transition: border-color .35s, box-shadow .35s; }
.rp-sv-faq-item.is-open { border-color: rgba(251, 72, 72, .35); box-shadow: 0 18px 36px -26px rgba(251, 72, 72, .5); }
.rp-sv-faq-q {
	display: flex; align-items: center; gap: 16px; width: 100%; padding: 18px 22px; border: 0; background: none; text-align: right;
	font-family: 'IranSansBold', 'IranSans', sans-serif; font-size: 15px; line-height: 1.8; color: var(--sv-ink); cursor: pointer;
}
.rp-sv-faq-q span { flex: 1; }
.rp-sv-faq-q i { position: relative; flex: 0 0 30px; height: 30px; border-radius: 50%; background: var(--sv-soft); transition: background-color .3s, transform .4s var(--sv-ease); }
.rp-sv-faq-q i::before, .rp-sv-faq-q i::after { content: ""; position: absolute; top: 50%; left: 50%; width: 11px; height: 2px; margin: -1px 0 0 -5.5px; border-radius: 2px; background: var(--sv-ink); transition: background-color .3s, transform .4s var(--sv-ease); }
.rp-sv-faq-q i::after { transform: rotate(90deg); }
.rp-sv-faq-q:hover i { background: #ececf0; }
.rp-sv-faq-item.is-open .rp-sv-faq-q i { background: var(--sv-red); transform: rotate(180deg); }
.rp-sv-faq-item.is-open .rp-sv-faq-q i::before, .rp-sv-faq-item.is-open .rp-sv-faq-q i::after { background: #fff; }
.rp-sv-faq-item.is-open .rp-sv-faq-q i::after { transform: rotate(0deg); }
.rp-sv-faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--sv-ease); }
.rp-sv-faq-a > div { overflow: hidden; padding: 0 22px; font-size: 14.5px; line-height: 2.05; color: var(--sv-text); }
.rp-sv-faq-a p { margin: 0; }
.rp-sv-faq-item.is-open .rp-sv-faq-a { grid-template-rows: 1fr; }
.rp-sv-faq-item.is-open .rp-sv-faq-a > div { padding-bottom: 18px; }
.no-js .rp-sv-faq-a, .rp-sv-faq:not(.is-ready) .rp-sv-faq-a { grid-template-rows: 1fr; }

/* ------------------------------------------------------------------ extras: related works + other services (dark band) */
.rp-pf.rp-sv-more { padding: 76px 0 70px; }
.rp-sv-more .rp-sv-kicker { color: var(--sv-red); }
.rp-sv-more-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.rp-sv-more-head h2 { color: #fff; }
.rp-sv-all { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; font-size: 13.5px; color: #fff !important; text-decoration: none !important; transition: background-color .25s, border-color .25s; white-space: nowrap; }
.rp-sv-all:hover { background: var(--sv-red); border-color: var(--sv-red); }
.rp-sv-related-grid.rp-pf-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 250px; }
.rp-sv-related-grid .rp-pf-client { max-height: 24px; opacity: 1; }
.rp-sv-related + .rp-sv-others { margin-top: 64px; }
.rp-sv-mini-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
@media (min-width: 768px) and (max-width: 1199px) {
	.rp-sv-mini-list { grid-template-columns: repeat(5, minmax(0, 1fr)); }
	.rp-sv-mini { flex-direction: column; align-items: flex-start; padding: 16px; font-size: 13.5px; }
	.rp-sv-mini-go { display: none; }
}
@media (min-width: 1200px) { .rp-sv-mini-list { grid-template-columns: repeat(5, minmax(0, 1fr)); } .rp-sv-mini { padding: 14px; gap: 10px; font-size: 13.5px; } .rp-sv-mini > i:first-child { flex-basis: 38px; height: 38px; } }
.rp-sv-mini {
	display: flex; align-items: center; gap: 12px; padding: 16px 18px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 18px;
	background: rgba(255, 255, 255, .03); color: #fff !important; text-decoration: none !important;
	font-family: 'IranSansBold', 'IranSans', sans-serif; font-size: 14px; line-height: 1.6;
	transition: background-color .3s, border-color .3s, transform .4s var(--sv-ease);
}
.rp-sv-mini > i:first-child { flex: 0 0 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: rgba(255, 255, 255, .07); color: #a9a9b1; font-size: 19px; transition: background-color .3s, color .3s; }
.rp-sv-mini > i:first-child::before { margin: 0 !important; }
.rp-sv-mini span { flex: 1; }
.rp-sv-mini-go { color: #77777f; transition: color .3s, transform .35s var(--sv-ease); }
.rp-sv-mini:hover { background: rgba(251, 72, 72, .08); border-color: rgba(251, 72, 72, .45); transform: translateY(-3px); }
.rp-sv-mini:hover > i:first-child { background: var(--sv-red); color: #fff; }
.rp-sv-mini:hover .rp-sv-mini-go { color: var(--sv-red); transform: translateX(-4px); }

/* ------------------------------------------------------------------ tablet / phone */
@media (max-width: 991px) {
	.rp-sv-hero {
		grid-template-columns: 1fr; grid-template-rows: none; padding: 26px 22px 28px; border-radius: 24px;
		grid-template-areas: "media" "eyebrow" "title" "lead" "tags" "cta" "trust";
	}
	.rp-sv-short > img { aspect-ratio: 16 / 10; margin-bottom: 22px; border-radius: 18px; }
	.rp-sv-layout { grid-template-columns: 1fr; gap: 28px; margin-top: 36px; }
	.rp-sv-aside { position: static; order: 2; }
	.rp-sv-toc { display: none; }
	.rp-sv-steps { grid-template-columns: 1fr 1fr; }
	.rp-sv-steps li:nth-child(2)::after { display: none; }
	.rp-sv-related-grid.rp-pf-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 210px; }
	.rp-sv-related-grid .rp-pf-item:nth-child(n+3) { display: none; }
}
@media (max-width: 575px) {
	.rp-sv { padding: 0 0 50px; }
	.rp-sv-title { font-size: 27px; }
	.rp-sv-short .svc-sum { font-size: 15px; }
	.rp-sv-cta .rp-sv-btn { flex: 1 1 100%; }
	.rp-sv-trust li { padding-left: 14px; margin-left: 14px; }
	.rp-sv-trust b { font-size: 17px; }
	.rp-sv-sec { padding: 20px 18px 12px; }
	.rp-sv-steps { grid-template-columns: 1fr; }
	.rp-sv-steps li::after { display: none; }
	.rp-sv-more-head { flex-direction: column; align-items: flex-start; }
	.rp-sv-related-grid.rp-pf-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
	.rp-sv-related-grid .rp-pf-item:nth-child(n+3) { display: block; }
}
@media (prefers-reduced-motion: reduce) {
	.rp-sv *, .rp-sv-more * { animation: none !important; transition: none !important; }
	.rp-sv-reveal { opacity: 1; transform: none; }
}

/* opening lines of the text + long TOC + page spacing */
.rp-sv-body .rp-sv-pre { margin: 0 0 6px; font-family: 'IranSansMedium', 'IranSans', sans-serif; font-size: 14px; line-height: 1.8; color: var(--sv-red) !important; }
.rp-sv-body .rp-sv-pre::before { content: ""; display: inline-block; width: 18px; height: 2px; margin-left: 8px; vertical-align: middle; border-radius: 2px; background: var(--sv-red); }
.rp-sv-toc ol { max-height: calc(100vh - 520px); min-height: 130px; overflow: auto; scrollbar-width: thin; }
.services-area:has(.rp-sv) { padding-top: 34px; padding-bottom: 0; }

/* footer CTA band on service pages: the section above is dark, so the band sits fully on dark with even space above/below (no white strip) */
body .rp-ftcta { padding: 8px 0 0; background: linear-gradient(180deg, #151517, #121214); }
.rp-pf.rp-sv-more { padding-bottom: 64px; }

/* price link: coloured so it stands out (red tint at rest, solid red on hover) */
.rp-sv-price { border-color: rgba(251, 72, 72, .35); background: linear-gradient(135deg, #fff5f5, #fff 70%); box-shadow: 0 14px 28px -22px rgba(251, 72, 72, .55); }
.rp-sv-price > i:first-child { background: var(--sv-red); color: #fff; }
.rp-sv-price small { color: var(--sv-red); }
.rp-sv-price > i:last-child { color: var(--sv-red); }
.rp-sv-price:hover { border-color: var(--sv-red); background: var(--sv-red); color: #fff !important; box-shadow: 0 18px 34px -18px rgba(251, 72, 72, .85); }
.rp-sv-price:hover small, .rp-sv-price:hover > i:last-child { color: #fff; }
.rp-sv-price:hover > i:first-child { background: #fff; color: var(--sv-red); }

/* ---- brief card: homepage-style button (rp-fx: red square grows, label swaps) + red glow that follows the mouse */
.rp-sv-card { --mx: 70%; --my: 0%; }
.rp-sv-card::after {
	content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; pointer-events: none;
	background: radial-gradient(260px circle at var(--mx) var(--my), rgba(251, 72, 72, .42), transparent 70%);
	transition: opacity .35s ease;
}
.rp-sv-card:hover::after { opacity: 1; }
.rp-sv-card::before { transition: opacity .35s ease; }
.rp-sv-card:hover::before { opacity: .35; }
.rp-sv-fx {
	--ct-red: #fb4848;
	position: relative; display: flex; align-items: center; justify-content: space-between; width: 100%; height: 52px;
	padding: 0 20px 0 7px; overflow: hidden; isolation: isolate; border-radius: 14px;
	background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
	font-family: 'IranSansBold', 'IranSans', sans-serif; font-size: 15px; color: #fff !important; text-decoration: none !important;
}
.rp-sv-fx .rp-fx-alt { white-space: nowrap; }
.rp-sv-fx:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* process step numbers turn red on hover (light mode too) */
.rp-sv-step-n { transition: -webkit-text-stroke-color .3s; }
.rp-sv-steps li:hover .rp-sv-step-n { -webkit-text-stroke-color: var(--sv-red); }

/* ================= hero buttons (service pages): one-shot hover effects
   «شروع همکاری»: magnetic pull (js/service-page.js) + a red light sweep + the arrow "launches" out and back.
   «درخواست فوری»: the bolt sparks twice + a red line runs once around the border + red label. */
@property --sv-trace { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.rp-sv-cta .rp-sv-btn { position: relative; overflow: hidden; isolation: isolate; transition: transform .35s cubic-bezier(.22, 1, .36, 1), box-shadow .35s, background-color .25s, color .25s, border-color .25s; will-change: transform; }

/* primary: keep its colour (no usual red fill), add the sweep */
.rp-sv-cta .rp-sv-btn--primary:hover { background: var(--sv-ink); box-shadow: 0 18px 34px -16px rgba(251, 72, 72, .6); }
.rp-sv-cta .rp-sv-btn--primary::after {
	content: ""; position: absolute; z-index: -1; top: -20%; bottom: -20%; left: -70%; width: 45%;
	background: linear-gradient(100deg, transparent, rgba(251, 72, 72, .75), transparent);
	transform: skewX(-20deg); pointer-events: none;
}
.rp-sv-cta .rp-sv-btn--primary:hover::after { animation: rpSvSweep .85s cubic-bezier(.22, 1, .36, 1) both; }
.rp-sv-cta .rp-sv-btn--primary:hover i { animation: rpSvLaunch .7s cubic-bezier(.22, 1, .36, 1) both; }
@keyframes rpSvSweep { from { left: -70%; } to { left: 130%; } }
@keyframes rpSvLaunch {
	0% { transform: translateX(0); opacity: 1; }
	40% { transform: translateX(-30px); opacity: 0; }
	41% { transform: translateX(26px); opacity: 0; }
	100% { transform: translateX(0); opacity: 1; }
}

/* urgent: spark + border trace */
.rp-sv-cta .rp-sv-btn--ghost:hover { border-color: transparent; color: var(--sv-red) !important; }
.rp-sv-cta .rp-sv-btn--ghost::before {
	content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2px; pointer-events: none;
	background: conic-gradient(from 200deg, var(--sv-red) var(--sv-trace), transparent 0);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
	mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
	opacity: 0;
}
.rp-sv-cta .rp-sv-btn--ghost:hover::before { opacity: 1; animation: rpSvTrace .75s cubic-bezier(.4, 0, .2, 1) forwards; }
.rp-sv-cta .rp-sv-btn--ghost:hover i { animation: rpSvSpark .55s steps(1, end) both; }
@keyframes rpSvTrace { from { --sv-trace: 0deg; } to { --sv-trace: 360deg; } }
@keyframes rpSvSpark {
	0% { opacity: 1; text-shadow: 0 0 10px rgba(251, 72, 72, .9); transform: scale(1.25); }
	20% { opacity: .15; text-shadow: none; transform: scale(1); }
	40% { opacity: 1; text-shadow: 0 0 12px rgba(251, 72, 72, 1); transform: scale(1.2); }
	60% { opacity: .3; text-shadow: none; transform: scale(1); }
	80%, 100% { opacity: 1; text-shadow: 0 0 6px rgba(251, 72, 72, .6); transform: scale(1.08); }
}
@media (prefers-reduced-motion: reduce) {
	.rp-sv-cta .rp-sv-btn, .rp-sv-cta .rp-sv-btn::before, .rp-sv-cta .rp-sv-btn::after, .rp-sv-cta .rp-sv-btn i { animation: none !important; transform: none !important; }
	.rp-sv-cta .rp-sv-btn--ghost:hover { border-color: var(--sv-red); }
}
