/**
 * Services Pro — оформление витрины.
 * Изолированный слой: все правила под префиксом .sv-
 * Цвета берутся из CSS-переменных, которые задаются в настройках модуля.
 */

:root {
	--sv-primary: #2563eb;
	--sv-accent: #f97316;
	--sv-dark: #0f172a;
	--sv-muted: #f1f5f9;
	--sv-radius: 14px;
	--sv-btn-radius: 14px;
	--sv-border: rgba(15, 23, 42, .1);
	--sv-text: #1e293b;
	--sv-text-soft: #64748b;
	--sv-shadow: 0 4px 20px rgba(15, 23, 42, .07);
	--sv-shadow-lg: 0 18px 40px rgba(15, 23, 42, .12);
}

.sv {
	color: var(--sv-text);
	line-height: 1.6;
}

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

.sv img {
	max-width: 100%;
	height: auto;
}

/* ------------------------------------------------------------------ */
/* Секции                                                              */
/* ------------------------------------------------------------------ */

.sv-section {
	position: relative;
	padding: 44px 0;
}

.sv-section--pad-none   { padding: 0; }
.sv-section--pad-small  { padding: 22px 0; }
.sv-section--pad-normal { padding: 44px 0; }
.sv-section--pad-large  { padding: 76px 0; }

.sv-section--bg-light {
	background: var(--sv-muted);
	border-radius: var(--sv-radius);
	padding-left: 26px;
	padding-right: 26px;
}

.sv-section--bg-accent {
	background: var(--sv-primary);
	background: linear-gradient(135deg, var(--sv-primary), color-mix(in srgb, var(--sv-primary) 65%, #000));
	color: #fff;
	border-radius: var(--sv-radius);
	padding-left: 26px;
	padding-right: 26px;
}

.sv-section--bg-dark {
	background: var(--sv-dark);
	color: #fff;
	border-radius: var(--sv-radius);
	padding-left: 26px;
	padding-right: 26px;
}

.sv-section--bg-accent .sv-section__title,
.sv-section--bg-dark .sv-section__title,
.sv-section--bg-accent .sv-section__subtitle,
.sv-section--bg-dark .sv-section__subtitle {
	color: #fff;
}

.sv-section--full {
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding-left: 5vw;
	padding-right: 5vw;
	border-radius: 0;
}

.sv-section__head {
	margin-bottom: 26px;
	max-width: 760px;
}

.sv-section__title {
	font-size: 30px;
	line-height: 1.25;
	font-weight: 700;
	margin: 0 0 8px;
	color: var(--sv-dark);
}

.sv-section__subtitle {
	font-size: 16px;
	color: var(--sv-text-soft);
	margin: 0;
}

/* ------------------------------------------------------------------ */
/* Сетка                                                               */
/* ------------------------------------------------------------------ */

.sv-grid {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(var(--sv-cols, 3), minmax(0, 1fr));
}

@media (max-width: 991px) {
	.sv-grid { grid-template-columns: repeat(min(var(--sv-cols, 3), 2), minmax(0, 1fr)); }
}

@media (max-width: 640px) {
	.sv-grid { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------------ */
/* Кнопки                                                              */
/* ------------------------------------------------------------------ */

.sv-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 13px 26px;
	border-radius: var(--sv-btn-radius);
	border: 1px solid transparent;
	background: var(--sv-primary);
	color: #fff !important;
	font-weight: 600;
	font-size: 15px;
	text-decoration: none !important;
	cursor: pointer;
	transition: .18s ease;
	line-height: 1.2;
}

.sv-btn:hover {
	filter: brightness(1.08);
	transform: translateY(-1px);
	box-shadow: 0 10px 24px rgba(37, 99, 235, .25);
}

.sv-btn--accent { background: var(--sv-accent); }

.sv-btn--ghost {
	background: transparent;
	border-color: var(--sv-border);
	color: var(--sv-dark) !important;
}

.sv-btn--ghost:hover {
	border-color: var(--sv-primary);
	color: var(--sv-primary) !important;
	box-shadow: none;
}

.sv-btn--light {
	background: #fff;
	color: var(--sv-dark) !important;
}

.sv-btn--block {
	display: flex;
	width: 100%;
}

.sv-btn--lg {
	padding: 16px 34px;
	font-size: 16px;
}

/* ------------------------------------------------------------------ */
/* Hero                                                                */
/* ------------------------------------------------------------------ */

.sv-hero {
	position: relative;
	border-radius: var(--sv-radius);
	overflow: hidden;
	background: var(--sv-dark);
	color: #fff;
	display: flex;
	align-items: center;
	margin-bottom: 30px;
}

.sv-hero--small  { min-height: 260px; }
.sv-hero--medium { min-height: 380px; }
.sv-hero--large  { min-height: 520px; }
.sv-hero--full   { min-height: calc(100vh - 160px); }

.sv-hero__bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
}

.sv-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(100deg, rgba(15, 23, 42, .92), rgba(15, 23, 42, .35));
}

.sv-hero__inner {
	position: relative;
	padding: 46px 40px;
	width: 100%;
	max-width: 820px;
}

.sv-hero--center { justify-content: center; }
.sv-hero--center .sv-hero__inner { text-align: center; margin: 0 auto; }
.sv-hero--right { justify-content: flex-end; }
.sv-hero--right .sv-hero__inner { text-align: right; }

.sv-hero__pretitle {
	text-transform: uppercase;
	letter-spacing: .12em;
	font-size: 12px;
	font-weight: 700;
	opacity: .85;
	margin-bottom: 12px;
	display: block;
	color: var(--sv-accent);
}

.sv-hero__title {
	font-size: 40px;
	line-height: 1.15;
	font-weight: 800;
	margin: 0 0 14px;
	color: #fff;
}

.sv-hero__text {
	font-size: 17px;
	opacity: .9;
	margin-bottom: 22px;
}

.sv-hero__price {
	display: inline-flex;
	align-items: baseline;
	gap: 10px;
	background: rgba(255, 255, 255, .12);
	border: 1px solid rgba(255, 255, 255, .2);
	border-radius: var(--sv-radius);
	padding: 10px 18px;
	margin-bottom: 22px;
	font-size: 22px;
	font-weight: 700;
	backdrop-filter: blur(6px);
}

.sv-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.sv-hero__bullets {
	list-style: none;
	padding: 0;
	margin: 26px 0 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px 26px;
}

.sv-hero__bullets li {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	opacity: .92;
}

.sv-hero__bullets i { color: var(--sv-accent); }

@media (max-width: 640px) {
	.sv-hero__inner { padding: 30px 22px; }
	.sv-hero__title { font-size: 27px; }
}

/* Простая шапка, когда hero-блок не добавлен */

.sv-head {
	display: grid;
	grid-template-columns: 1.2fr .8fr;
	gap: 28px;
	align-items: start;
	margin-bottom: 30px;
}

@media (max-width: 860px) {
	.sv-head { grid-template-columns: 1fr; }
}

.sv-head__title {
	font-size: 32px;
	font-weight: 800;
	margin: 0 0 12px;
	color: var(--sv-dark);
	line-height: 1.2;
}

.sv-head__lead {
	font-size: 17px;
	color: var(--sv-text-soft);
	margin-bottom: 18px;
}

.sv-head__image img {
	width: 100%;
	border-radius: var(--sv-radius);
	box-shadow: var(--sv-shadow);
}

.sv-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	margin-bottom: 18px;
	color: var(--sv-text-soft);
	font-size: 14px;
}

.sv-meta i { color: var(--sv-primary); margin-right: 6px; }

.sv-badge {
	display: inline-block;
	background: var(--sv-accent);
	color: #fff;
	border-radius: 999px;
	padding: 4px 13px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .02em;
}

/* Панель цены */

.sv-pricebox {
	border: 1px solid var(--sv-border);
	border-radius: var(--sv-radius);
	padding: 22px;
	background: #fff;
	box-shadow: var(--sv-shadow);
}

.sv-pricebox__label {
	font-size: 13px;
	color: var(--sv-text-soft);
	margin-bottom: 4px;
}

.sv-pricebox__value {
	font-size: 30px;
	font-weight: 800;
	color: var(--sv-dark);
	line-height: 1.1;
}

.sv-pricebox__old {
	text-decoration: line-through;
	color: var(--sv-text-soft);
	font-size: 16px;
	margin-left: 8px;
	font-weight: 500;
}

.sv-pricebox__unit {
	font-size: 14px;
	color: var(--sv-text-soft);
	margin-top: 4px;
}

.sv-pricebox .sv-btn { margin-top: 16px; }

.sv-pricebox__note {
	margin-top: 10px;
	font-size: 12px;
	color: var(--sv-text-soft);
	text-align: center;
}

/* ------------------------------------------------------------------ */
/* Карточки услуг                                                      */
/* ------------------------------------------------------------------ */

.sv-card {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--sv-border);
	border-radius: var(--sv-radius);
	background: #fff;
	overflow: hidden;
	transition: .2s ease;
	height: 100%;
	position: relative;
}

.sv-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--sv-shadow-lg);
	border-color: transparent;
}

.sv-card__image {
	display: block;
	position: relative;
	overflow: hidden;
	background: var(--sv-muted);
	aspect-ratio: 3 / 2;
}

.sv-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: .4s ease;
}

.sv-card:hover .sv-card__image img { transform: scale(1.05); }

.sv-card__badge {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 2;
}

.sv-card__body {
	padding: 18px;
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
}

.sv-card__icon {
	width: 48px;
	height: 48px;
	border-radius: 12px;
	background: #eff6ff;
	background: color-mix(in srgb, var(--sv-primary) 12%, #fff);
	color: var(--sv-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	margin-bottom: 12px;
}

.sv-card__title {
	font-size: 17px;
	font-weight: 700;
	margin: 0 0 8px;
	line-height: 1.35;
}

.sv-card__title a {
	color: var(--sv-dark);
	text-decoration: none;
}

.sv-card__title a:hover { color: var(--sv-primary); }

.sv-card__text {
	color: var(--sv-text-soft);
	font-size: 14px;
	margin-bottom: 14px;
	flex: 1 1 auto;
}

.sv-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-top: auto;
	padding-top: 12px;
	border-top: 1px solid var(--sv-border);
}

.sv-card__price {
	font-weight: 800;
	color: var(--sv-dark);
	font-size: 17px;
}

.sv-card__price small {
	display: block;
	font-weight: 400;
	color: var(--sv-text-soft);
	font-size: 12px;
	text-decoration: line-through;
}

/* Категории */

.sv-cat {
	display: flex;
	gap: 14px;
	align-items: center;
	padding: 18px;
	border: 1px solid var(--sv-border);
	border-radius: var(--sv-radius);
	background: #fff;
	text-decoration: none !important;
	color: inherit;
	transition: .18s ease;
	height: 100%;
}

.sv-cat:hover {
	border-color: var(--sv-primary);
	box-shadow: var(--sv-shadow);
	transform: translateY(-2px);
}

.sv-cat__icon {
	width: 54px;
	height: 54px;
	flex: 0 0 54px;
	border-radius: 14px;
	background: #eff6ff;
	background: color-mix(in srgb, var(--sv-primary) 12%, #fff);
	color: var(--sv-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	overflow: hidden;
}

.sv-cat__icon img { width: 100%; height: 100%; object-fit: cover; }

.sv-cat__name {
	font-weight: 700;
	color: var(--sv-dark);
	margin-bottom: 2px;
}

.sv-cat__meta {
	font-size: 13px;
	color: var(--sv-text-soft);
}

/* ------------------------------------------------------------------ */
/* Преимущества                                                        */
/* ------------------------------------------------------------------ */

.sv-feature {
	padding: 22px;
	border-radius: var(--sv-radius);
	background: #fff;
	border: 1px solid var(--sv-border);
	height: 100%;
	transition: .18s ease;
}

.sv-feature:hover { box-shadow: var(--sv-shadow); transform: translateY(-2px); }

.sv-feature--plain { border: 0; background: transparent; padding: 0; }
.sv-feature--plain:hover { box-shadow: none; transform: none; }

.sv-feature--inline { display: flex; gap: 14px; align-items: flex-start; }

.sv-feature__icon {
	width: 52px;
	height: 52px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	color: var(--sv-primary);
	background: #eff6ff;
	background: color-mix(in srgb, var(--sv-primary) 12%, #fff);
	margin-bottom: 14px;
	flex: 0 0 52px;
}

.sv-feature--icon-circle .sv-feature__icon { border-radius: 50%; }
.sv-feature--icon-square .sv-feature__icon { border-radius: 12px; }
.sv-feature--icon-none .sv-feature__icon { background: none; width: auto; height: auto; font-size: 28px; }

.sv-feature--inline .sv-feature__icon { margin-bottom: 0; }

.sv-feature__icon img { width: 100%; height: 100%; object-fit: contain; }

.sv-feature__num {
	font-size: 34px;
	font-weight: 800;
	color: #93c5fd;
	color: color-mix(in srgb, var(--sv-primary) 35%, #fff);
	line-height: 1;
	margin-bottom: 10px;
}

.sv-feature__title {
	font-weight: 700;
	font-size: 17px;
	margin: 0 0 6px;
	color: var(--sv-dark);
}

.sv-feature__text {
	color: var(--sv-text-soft);
	font-size: 14px;
	margin: 0;
}

.sv-section--bg-dark .sv-feature,
.sv-section--bg-accent .sv-feature {
	background: rgba(255, 255, 255, .08);
	border-color: rgba(255, 255, 255, .16);
}

.sv-section--bg-dark .sv-feature__title,
.sv-section--bg-accent .sv-feature__title { color: #fff; }

.sv-section--bg-dark .sv-feature__text,
.sv-section--bg-accent .sv-feature__text { color: rgba(255, 255, 255, .8); }

/* ------------------------------------------------------------------ */
/* Этапы                                                               */
/* ------------------------------------------------------------------ */

.sv-step {
	position: relative;
	padding: 22px;
	background: #fff;
	border: 1px solid var(--sv-border);
	border-radius: var(--sv-radius);
	height: 100%;
}

.sv-step__num {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--sv-primary);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	margin-bottom: 14px;
}

.sv-step__title { font-weight: 700; margin: 0 0 6px; color: var(--sv-dark); }
.sv-step__text  { color: var(--sv-text-soft); font-size: 14px; margin: 0; }

.sv-step__duration {
	display: inline-block;
	margin-top: 10px;
	font-size: 12px;
	color: var(--sv-primary);
	background: #eff6ff;
	background: color-mix(in srgb, var(--sv-primary) 10%, #fff);
	border-radius: 999px;
	padding: 3px 10px;
}

.sv-steps--timeline { display: block; position: relative; padding-left: 34px; }

.sv-steps--timeline:before {
	content: '';
	position: absolute;
	left: 19px;
	top: 10px;
	bottom: 10px;
	width: 2px;
	background: var(--sv-border);
}

.sv-steps--timeline .sv-step {
	border: 0;
	background: transparent;
	padding: 0 0 26px 0;
}

.sv-steps--timeline .sv-step__num {
	position: absolute;
	left: -34px;
	top: 0;
	margin: 0;
	box-shadow: 0 0 0 5px #fff;
}

.sv-steps--arrows .sv-step:after {
	content: '';
	position: absolute;
	right: -13px;
	top: 50%;
	width: 22px;
	height: 22px;
	transform: translateY(-50%) rotate(45deg);
	border-top: 2px solid var(--sv-border);
	border-right: 2px solid var(--sv-border);
	background: #fff;
	display: none;
}

@media (min-width: 992px) {
	.sv-steps--arrows .sv-step:after { display: block; }
	.sv-steps--arrows .sv-step:last-child:after { display: none; }
}

/* ------------------------------------------------------------------ */
/* Тарифы                                                              */
/* ------------------------------------------------------------------ */

.sv-plan {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--sv-border);
	border-radius: var(--sv-radius);
	padding: 26px 22px;
	background: #fff;
	height: 100%;
	position: relative;
	transition: .2s ease;
}

.sv-plan:hover { box-shadow: var(--sv-shadow-lg); transform: translateY(-3px); }

.sv-plan--highlight {
	border-color: var(--sv-primary);
	box-shadow: 0 14px 40px rgba(37, 99, 235, .18);
}

.sv-plan--highlight:before {
	content: '';
	position: absolute;
	inset: -1px;
	border-radius: var(--sv-radius);
	border: 2px solid var(--sv-primary);
	pointer-events: none;
}

.sv-plan__badge {
	position: absolute;
	top: -12px;
	left: 50%;
	transform: translateX(-50%);
	background: var(--sv-accent);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	padding: 5px 14px;
	border-radius: 999px;
	white-space: nowrap;
}

.sv-plan__name {
	font-size: 19px;
	font-weight: 700;
	color: var(--sv-dark);
	margin: 0 0 10px;
}

.sv-plan__price {
	font-size: 30px;
	font-weight: 800;
	color: var(--sv-dark);
	line-height: 1.1;
}

.sv-plan__old {
	text-decoration: line-through;
	color: var(--sv-text-soft);
	font-size: 15px;
	font-weight: 500;
	margin-left: 8px;
}

.sv-plan__note {
	color: var(--sv-text-soft);
	font-size: 13px;
	margin-top: 4px;
}

.sv-plan__text {
	color: var(--sv-text-soft);
	font-size: 14px;
	margin: 14px 0 0;
}

.sv-plan__features {
	list-style: none;
	padding: 0;
	margin: 18px 0;
	flex: 1 1 auto;
}

.sv-plan__features li {
	position: relative;
	padding: 7px 0 7px 26px;
	font-size: 14px;
	border-bottom: 1px dashed var(--sv-border);
}

.sv-plan__features li:before {
	content: '';
	position: absolute;
	left: 0;
	top: 10px;
	width: 15px;
	height: 15px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%2316a34a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 8.5l3.5 3.5 7.5-8'/%3E%3C/svg%3E") center/contain no-repeat;
}

.sv-plan__features li.is-off {
	color: var(--sv-text-soft);
	text-decoration: line-through;
}

.sv-plan__features li.is-off:before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23cbd5e1' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M4 4l8 8M12 4l-8 8'/%3E%3C/svg%3E");
}

/* ------------------------------------------------------------------ */
/* Прайс-таблица                                                       */
/* ------------------------------------------------------------------ */

.sv-price-table {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
	border-radius: var(--sv-radius);
	overflow: hidden;
	border: 1px solid var(--sv-border);
}

.sv-price-table th {
	background: var(--sv-muted);
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: var(--sv-text-soft);
	padding: 12px 16px;
	text-align: left;
}

.sv-price-table td {
	padding: 13px 16px;
	border-top: 1px solid var(--sv-border);
	font-size: 15px;
	vertical-align: middle;
}

.sv-price-table--striped tbody tr:nth-child(even) td { background: rgba(15, 23, 42, .02); }

.sv-price-table tr.is-group td {
	background: var(--sv-muted);
	font-weight: 700;
	color: var(--sv-dark);
	text-transform: uppercase;
	font-size: 13px;
	letter-spacing: .04em;
}

.sv-price-table .sv-price-cell {
	font-weight: 700;
	white-space: nowrap;
	text-align: right;
}

.sv-price-search {
	margin-bottom: 14px;
	max-width: 340px;
}

.sv-input,
.sv-select,
.sv-textarea {
	width: 100%;
	border: 1px solid var(--sv-border);
	border-radius: var(--sv-btn-radius);
	padding: 12px 15px;
	font-size: 15px;
	background: #fff;
	color: var(--sv-text);
	transition: .15s ease;
	font-family: inherit;
}

.sv-input:focus,
.sv-select:focus,
.sv-textarea:focus {
	outline: none;
	border-color: var(--sv-primary);
	box-shadow: 0 0 0 3px rgba(37, 99, 235, .18);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--sv-primary) 18%, transparent);
}

.sv-textarea { min-height: 110px; resize: vertical; }

@media (max-width: 640px) {
	.sv-price-table thead { display: none; }
	.sv-price-table td { display: block; border-top: 0; padding: 6px 16px; }
	.sv-price-table tr { display: block; border-top: 1px solid var(--sv-border); padding: 10px 0; }
	.sv-price-table .sv-price-cell { text-align: left; }
}

/* ------------------------------------------------------------------ */
/* Калькулятор                                                         */
/* ------------------------------------------------------------------ */

.sv-calc {
	background: #fff;
	border: 1px solid var(--sv-border);
	border-radius: var(--sv-radius);
	padding: 26px;
	box-shadow: var(--sv-shadow);
}

.sv-calc__field { margin-bottom: 18px; }

.sv-calc__label {
	display: block;
	font-weight: 600;
	margin-bottom: 8px;
	font-size: 14px;
}

.sv-calc__options {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.sv-calc__option {
	position: relative;
	cursor: pointer;
}

.sv-calc__option input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.sv-calc__option span {
	display: inline-block;
	border: 1px solid var(--sv-border);
	border-radius: var(--sv-btn-radius);
	padding: 9px 16px;
	font-size: 14px;
	transition: .15s ease;
	background: #fff;
}

.sv-calc__option input:checked + span {
	border-color: var(--sv-primary);
	background: #eff6ff;
	background: color-mix(in srgb, var(--sv-primary) 10%, #fff);
	color: var(--sv-primary);
	font-weight: 600;
}

.sv-calc__range { display: flex; align-items: center; gap: 14px; }
.sv-calc__range input[type="range"] { flex: 1 1 auto; accent-color: var(--sv-primary); }

.sv-calc__range-value {
	min-width: 84px;
	text-align: center;
	font-weight: 700;
	background: var(--sv-muted);
	border-radius: var(--sv-btn-radius);
	padding: 8px 10px;
}

.sv-calc__result {
	margin-top: 22px;
	padding: 20px;
	border-radius: var(--sv-radius);
	background: var(--sv-dark);
	color: #fff;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.sv-calc__result-label { font-size: 14px; opacity: .8; }

.sv-calc__total {
	font-size: 30px;
	font-weight: 800;
	line-height: 1.1;
}

.sv-calc__note {
	font-size: 12px;
	color: var(--sv-text-soft);
	margin-top: 10px;
}

/* ------------------------------------------------------------------ */
/* FAQ                                                                 */
/* ------------------------------------------------------------------ */

.sv-faq__item {
	border: 1px solid var(--sv-border);
	border-radius: var(--sv-radius);
	background: #fff;
	margin-bottom: 10px;
	overflow: hidden;
}

.sv-faq__q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 17px 20px;
	cursor: pointer;
	font-weight: 600;
	font-size: 16px;
	color: var(--sv-dark);
	user-select: none;
	transition: .15s ease;
}

.sv-faq__q:hover { color: var(--sv-primary); }

.sv-faq__q i { transition: .2s ease; color: var(--sv-primary); flex: 0 0 auto; }

.sv-faq__item.is-open .sv-faq__q i { transform: rotate(180deg); }

.sv-faq__a {
	display: none;
	padding: 0 20px 20px;
	color: var(--sv-text-soft);
}

.sv-faq__item.is-open .sv-faq__a { display: block; }

/* ------------------------------------------------------------------ */
/* Галерея, видео, документы, логотипы                                 */
/* ------------------------------------------------------------------ */

.sv-gallery__item {
	display: block;
	border-radius: var(--sv-radius);
	overflow: hidden;
	position: relative;
	background: var(--sv-muted);
}

.sv-gallery__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: .35s ease;
}

.sv-gallery__item:hover img { transform: scale(1.06); }

.sv-ratio-1x1  { aspect-ratio: 1 / 1; }
.sv-ratio-4x3  { aspect-ratio: 4 / 3; }
.sv-ratio-16x9 { aspect-ratio: 16 / 9; }
.sv-ratio-3x4  { aspect-ratio: 3 / 4; }

.sv-gallery__caption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 26px 14px 12px;
	background: linear-gradient(transparent, rgba(15, 23, 42, .8));
	color: #fff;
	font-size: 14px;
}

.sv-video {
	position: relative;
	border-radius: var(--sv-radius);
	overflow: hidden;
	background: #000;
	cursor: pointer;
}

.sv-video img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: .3s; }
.sv-video:hover img { opacity: 1; }

.sv-video__play {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
}

.sv-video__play span {
	width: 74px;
	height: 74px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .92);
	color: var(--sv-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 26px;
	padding-left: 5px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
	transition: .2s ease;
}

.sv-video:hover .sv-video__play span { transform: scale(1.08); }

.sv-video iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.sv-video__title { margin-top: 10px; font-size: 14px; color: var(--sv-text-soft); }

.sv-logo {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 18px;
	border: 1px solid var(--sv-border);
	border-radius: var(--sv-radius);
	background: #fff;
	height: 100%;
	min-height: 92px;
}

.sv-logo--gray img { filter: grayscale(1); opacity: .65; transition: .2s ease; }
.sv-logo--gray:hover img { filter: none; opacity: 1; }

.sv-doc {
	display: block;
	border: 1px solid var(--sv-border);
	border-radius: var(--sv-radius);
	background: #fff;
	overflow: hidden;
	text-decoration: none !important;
	color: inherit;
	transition: .18s ease;
	height: 100%;
}

.sv-doc:hover { box-shadow: var(--sv-shadow-lg); transform: translateY(-2px); }

.sv-doc__image {
	aspect-ratio: 3 / 4;
	background: var(--sv-muted);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--sv-text-soft);
	font-size: 40px;
	overflow: hidden;
}

.sv-doc__image img { width: 100%; height: 100%; object-fit: cover; }

.sv-doc__body { padding: 12px 14px; }
.sv-doc__title { font-weight: 600; font-size: 14px; color: var(--sv-dark); }
.sv-doc__text { font-size: 12px; color: var(--sv-text-soft); }

/* ------------------------------------------------------------------ */
/* Цифры, цитата                                                       */
/* ------------------------------------------------------------------ */

.sv-number { text-align: center; padding: 18px 10px; }

.sv-number__icon { font-size: 26px; color: var(--sv-primary); margin-bottom: 10px; }

.sv-number__value {
	font-size: 42px;
	font-weight: 800;
	line-height: 1;
	color: var(--sv-dark);
	letter-spacing: -.02em;
}

.sv-number__label { color: var(--sv-text-soft); font-size: 14px; margin-top: 8px; }

.sv-section--bg-dark .sv-number__value,
.sv-section--bg-accent .sv-number__value { color: #fff; }

.sv-section--bg-dark .sv-number__label,
.sv-section--bg-accent .sv-number__label { color: rgba(255, 255, 255, .8); }

.sv-quote {
	display: flex;
	gap: 22px;
	align-items: flex-start;
	background: var(--sv-muted);
	border-radius: var(--sv-radius);
	padding: 28px;
	border-left: 4px solid var(--sv-primary);
}

.sv-quote__photo {
	width: 84px;
	height: 84px;
	border-radius: 50%;
	object-fit: cover;
	flex: 0 0 84px;
}

.sv-quote__text {
	font-size: 18px;
	font-style: italic;
	color: var(--sv-dark);
	margin-bottom: 12px;
	line-height: 1.55;
}

.sv-quote__author { font-weight: 700; }
.sv-quote__position { color: var(--sv-text-soft); font-size: 13px; }

/* ------------------------------------------------------------------ */
/* CTA и формы                                                         */
/* ------------------------------------------------------------------ */

.sv-cta {
	border-radius: var(--sv-radius);
	padding: 36px;
	background: var(--sv-dark);
	background: linear-gradient(120deg, var(--sv-dark), color-mix(in srgb, var(--sv-primary) 70%, #000));
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 26px;
	flex-wrap: wrap;
	position: relative;
	overflow: hidden;
}

.sv-cta__bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	opacity: .18;
}

.sv-cta__body { position: relative; flex: 1 1 340px; }

.sv-cta__title {
	font-size: 26px;
	font-weight: 800;
	margin: 0 0 8px;
	color: #fff;
}

.sv-cta__text { opacity: .9; margin: 0; }

.sv-cta__actions { position: relative; flex: 0 0 auto; }

.sv-cta__note { font-size: 12px; opacity: .75; margin-top: 8px; }

.sv-cta--inline {
	background: var(--sv-muted);
	color: var(--sv-text);
}

.sv-cta--inline .sv-cta__title { color: var(--sv-dark); }

.sv-cta--split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 30px;
	align-items: center;
}

@media (max-width: 860px) {
	.sv-cta--split { grid-template-columns: 1fr; }
}

/* Форма */

.sv-form {
	background: #fff;
	border-radius: var(--sv-radius);
	padding: 26px;
	border: 1px solid var(--sv-border);
	box-shadow: var(--sv-shadow);
	color: var(--sv-text);
}

.sv-form--plain { border: 0; box-shadow: none; padding: 0; background: transparent; }

.sv-form__title {
	font-size: 21px;
	font-weight: 700;
	margin: 0 0 6px;
	color: var(--sv-dark);
}

.sv-form__text { color: var(--sv-text-soft); font-size: 14px; margin-bottom: 18px; }

.sv-form__grid {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: 14px;
}

.sv-form__field { grid-column: span 12; }

.sv-form__field--6 { grid-column: span 6; }
.sv-form__field--4 { grid-column: span 4; }
.sv-form__field--3 { grid-column: span 3; }
.sv-form__field--8 { grid-column: span 8; }

@media (max-width: 640px) {
	.sv-form__field { grid-column: span 12 !important; }
}

.sv-form__label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 6px;
	color: var(--sv-text);
}

.sv-form__label span { color: #ef4444; }

.sv-form__help { font-size: 12px; color: var(--sv-text-soft); margin-top: 4px; }

.sv-form__error {
	font-size: 12px;
	color: #ef4444;
	margin-top: 4px;
	display: none;
}

.sv-form__field.has-error .sv-form__error { display: block; }
.sv-form__field.has-error .sv-input,
.sv-form__field.has-error .sv-select,
.sv-form__field.has-error .sv-textarea { border-color: #ef4444; }

.sv-form__check { display: flex; align-items: flex-start; gap: 9px; font-size: 13px; color: var(--sv-text-soft); }
.sv-form__check input { margin-top: 3px; }
.sv-form__check a { color: var(--sv-primary); }

.sv-form__hp { position: absolute; left: -9999px; opacity: 0; height: 0; }

.sv-form__alert {
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #b91c1c;
	border-radius: var(--sv-btn-radius);
	padding: 11px 15px;
	margin-bottom: 14px;
	font-size: 14px;
	display: none;
}

.sv-form__success { text-align: center; padding: 24px 10px; }

.sv-form__success i {
	font-size: 54px;
	color: #16a34a;
	margin-bottom: 14px;
	display: block;
}

.sv-form__success-title { font-size: 21px; font-weight: 700; margin-bottom: 8px; color: var(--sv-dark); }
.sv-form__success-text { color: var(--sv-text-soft); }

.sv-form.is-loading { opacity: .6; pointer-events: none; }

/* Модальное окно */

.sv-modal {
	position: fixed;
	inset: 0;
	z-index: 10500;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

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

.sv-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, .62);
	backdrop-filter: blur(2px);
}

.sv-modal__dialog {
	position: relative;
	width: 100%;
	max-width: 520px;
	max-height: 92vh;
	overflow-y: auto;
	background: #fff;
	border-radius: var(--sv-radius);
	box-shadow: 0 30px 70px rgba(0, 0, 0, .35);
	animation: sv-pop .22s ease;
}

@keyframes sv-pop {
	from { transform: translateY(14px) scale(.98); opacity: 0; }
	to   { transform: none; opacity: 1; }
}

.sv-modal__close {
	position: absolute;
	top: 10px;
	right: 12px;
	background: none;
	border: 0;
	font-size: 26px;
	line-height: 1;
	color: var(--sv-text-soft);
	cursor: pointer;
	z-index: 2;
}

.sv-modal__close:hover { color: var(--sv-dark); }

.sv-modal__body { padding: 8px; }

/* Липкая панель цены */

.sv-sticky {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 900;
	background: #fff;
	border-top: 1px solid var(--sv-border);
	box-shadow: 0 -8px 30px rgba(15, 23, 42, .1);
	padding: 12px 18px;
	display: none;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.sv-sticky.is-visible { display: flex; }

.sv-sticky__name { font-weight: 700; color: var(--sv-dark); }
.sv-sticky__price { color: var(--sv-text-soft); font-size: 14px; }

@media (max-width: 640px) {
	.sv-sticky__name { display: none; }
}

/* ------------------------------------------------------------------ */
/* Кейсы                                                               */
/* ------------------------------------------------------------------ */

.sv-case {
	display: block;
	border-radius: var(--sv-radius);
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--sv-border);
	text-decoration: none !important;
	color: inherit;
	transition: .2s ease;
	height: 100%;
}

.sv-case:hover { box-shadow: var(--sv-shadow-lg); transform: translateY(-3px); }

.sv-case__image { aspect-ratio: 4 / 3; overflow: hidden; background: var(--sv-muted); }
.sv-case__image img { width: 100%; height: 100%; object-fit: cover; transition: .4s ease; }
.sv-case:hover .sv-case__image img { transform: scale(1.05); }

.sv-case__body { padding: 16px 18px; }
.sv-case__client { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--sv-primary); font-weight: 700; }
.sv-case__title { font-weight: 700; font-size: 17px; margin: 6px 0; color: var(--sv-dark); }
.sv-case__text { color: var(--sv-text-soft); font-size: 14px; }

.sv-case__meta {
	display: flex;
	gap: 16px;
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid var(--sv-border);
	font-size: 13px;
	color: var(--sv-text-soft);
}

/* Слайдер До/После */

.sv-ba {
	position: relative;
	overflow: hidden;
	border-radius: var(--sv-radius);
	user-select: none;
	touch-action: none;
}

.sv-ba img { display: block; width: 100%; }

.sv-ba__after {
	position: absolute;
	inset: 0;
	width: 50%;
	overflow: hidden;
}

.sv-ba__after img {
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	width: auto;
	max-width: none;
}

.sv-ba__handle {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 3px;
	background: #fff;
	cursor: ew-resize;
	box-shadow: 0 0 12px rgba(0, 0, 0, .4);
}

.sv-ba__handle:after {
	content: '';
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f172a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l-5 6 5 6M15 6l5 6-5 6'/%3E%3C/svg%3E") center/20px no-repeat;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: #fff;
	color: var(--sv-dark);
	display: flex;
	align-items: center;
	justify-content: center;
}

.sv-ba__label {
	position: absolute;
	top: 12px;
	padding: 4px 12px;
	background: rgba(15, 23, 42, .7);
	color: #fff;
	border-radius: 999px;
	font-size: 12px;
}

.sv-ba__label--before { left: 12px; }
.sv-ba__label--after  { right: 12px; }

/* ------------------------------------------------------------------ */
/* SEO-текст, служебное                                                */
/* ------------------------------------------------------------------ */

.sv-seotext { position: relative; color: var(--sv-text-soft); font-size: 15px; }

.sv-seotext__inner { overflow: hidden; transition: max-height .3s ease; }

.sv-seotext.is-collapsed .sv-seotext__inner:after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 38px;
	height: 70px;
	background: linear-gradient(transparent, #fff);
	pointer-events: none;
}

.sv-seotext__toggle {
	background: none;
	border: 0;
	color: var(--sv-primary);
	font-weight: 600;
	cursor: pointer;
	padding: 10px 0 0;
}

.sv-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 20px;
	padding: 12px 16px;
	background: var(--sv-muted);
	border-radius: var(--sv-radius);
}

.sv-toolbar__group { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--sv-text-soft); }

.sv-toolbar select {
	border: 1px solid var(--sv-border);
	border-radius: var(--sv-btn-radius);
	padding: 7px 12px;
	background: #fff;
	font-size: 14px;
}

.sv-empty {
	text-align: center;
	padding: 60px 20px;
	color: var(--sv-text-soft);
	background: var(--sv-muted);
	border-radius: var(--sv-radius);
}

.sv-empty i { font-size: 44px; display: block; margin-bottom: 14px; opacity: .5; }

.sv-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }

.sv-tag {
	font-size: 13px;
	background: var(--sv-muted);
	border-radius: 999px;
	padding: 5px 14px;
	color: var(--sv-text-soft);
	text-decoration: none !important;
}

.sv-tag:hover { background: var(--sv-primary); color: #fff !important; }

.sv-content img { border-radius: var(--sv-radius); }
.sv-content h2 { font-size: 25px; font-weight: 700; margin: 26px 0 12px; color: var(--sv-dark); }
.sv-content h3 { font-size: 20px; font-weight: 700; margin: 22px 0 10px; color: var(--sv-dark); }
.sv-content ul { padding-left: 20px; }
.sv-content li { margin-bottom: 6px; }

/* Анимация появления */

.sv-anim {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity .5s ease, transform .5s ease;
}

.sv-anim.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	.sv-anim { opacity: 1; transform: none; transition: none; }
	.sv-card:hover, .sv-btn:hover, .sv-case:hover { transform: none; }
}

/* ------------------------------------------------------------------ */
/* Слайдер вместо сетки                                                */
/* ------------------------------------------------------------------ */

.sv-slider { position: relative; }

.sv-slider__viewport {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - (var(--sv-cols, 3) - 1) * 18px) / var(--sv-cols, 3));
	gap: 18px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	padding-bottom: 6px;
	scrollbar-width: thin;
	-webkit-overflow-scrolling: touch;
}

.sv-slider__viewport > * { scroll-snap-align: start; min-width: 0; }

.sv-slider__viewport::-webkit-scrollbar { height: 6px; }
.sv-slider__viewport::-webkit-scrollbar-track { background: var(--sv-muted); border-radius: 999px; }
.sv-slider__viewport::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 999px; }
.sv-slider__viewport:hover::-webkit-scrollbar-thumb { background: var(--sv-primary); }

@media (max-width: 991px) {
	.sv-slider__viewport { grid-auto-columns: calc((100% - 18px) / 2); }
}

@media (max-width: 640px) {
	.sv-slider__viewport { grid-auto-columns: 88%; }
}

.sv-slider__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid var(--sv-border);
	background: #fff;
	color: var(--sv-dark);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 3;
	box-shadow: 0 6px 20px rgba(15, 23, 42, .14);
	transition: .15s ease;
	font-size: 16px;
	padding: 0;
}

.sv-slider__nav:hover { background: var(--sv-primary); color: #fff; border-color: var(--sv-primary); }
.sv-slider__nav[disabled] { opacity: 0; pointer-events: none; }

.sv-slider__nav--prev { left: -18px; }
.sv-slider__nav--next { right: -18px; }

@media (max-width: 1199px) {
	.sv-slider__nav--prev { left: 4px; }
	.sv-slider__nav--next { right: 4px; }
}

.sv-slider__dots {
	display: flex;
	justify-content: center;
	gap: 7px;
	margin-top: 14px;
}

.sv-slider__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	border: 0;
	padding: 0;
	background: #cbd5e1;
	cursor: pointer;
	transition: .15s ease;
}

.sv-slider__dot.is-active { background: var(--sv-primary); width: 22px; border-radius: 999px; }

/* Обёртка модулей на страницах магазина */

.sv-module--boxed { max-width: 1200px; margin-left: auto; margin-right: auto; padding-left: 15px; padding-right: 15px; }

/* HTML из редактора внутри компактных карточек */
.sv-feature__text.sv-content p,
.sv-step__text.sv-content p,
.sv-plan__text.sv-content p { margin: 0 0 8px; }

.sv-feature__text.sv-content p:last-child,
.sv-step__text.sv-content p:last-child,
.sv-plan__text.sv-content p:last-child { margin-bottom: 0; }

.sv-quote__text.sv-content p { margin: 0 0 10px; }
.sv-quote__text.sv-content p:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------------ */
/* Собственные значки: не зависят от Font Awesome                       */
/* ------------------------------------------------------------------ */

.sv-play {
	display: block;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 11px 0 11px 18px;
	border-color: transparent transparent transparent currentColor;
	margin-left: 4px;
}

.sv-caret {
	display: inline-block;
	width: 9px;
	height: 9px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	transition: transform .2s ease;
	flex: 0 0 auto;
	margin-top: -4px;
}

.sv-faq__item.is-open .sv-caret { transform: rotate(-135deg); margin-top: 3px; }

.sv-chevron {
	display: block;
	width: 10px;
	height: 10px;
	border-left: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
}

.sv-chevron--left  { transform: rotate(45deg); margin-left: 3px; }
.sv-chevron--right { transform: rotate(-135deg); margin-right: 3px; }

.sv-video__stub {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #1e293b, #0f172a);
	color: rgba(255, 255, 255, .35);
	text-transform: uppercase;
	letter-spacing: .18em;
	font-size: 13px;
	font-weight: 700;
}

.sv-video--vk .sv-video__stub     { background: linear-gradient(135deg, #2787f5, #0f172a); }
.sv-video--rutube .sv-video__stub { background: linear-gradient(135deg, #ef0f9a, #0f172a); }

/* Вставленный модуль магазина: гасим внешние отступы темы */
.sv-embed > *:first-child { margin-top: 0; }
.sv-embed > *:last-child { margin-bottom: 0; }
.sv-embed .container,
.sv-embed .container-fluid { width: auto; max-width: none; padding-left: 0; padding-right: 0; }
