@font-face {
	font-family: 'Avenir Next Cyr';
	src: url('../fonts/subset-AvenirNextCyr-Regular.woff2') format('woff2');
	font-weight: 400;
	font-display: swap;
}

@font-face {
	font-family: 'Avenir Next Cyr';
	src: url('../fonts/subset-AvenirNextCyr-Bold.woff2') format('woff2');
	font-weight: 700;
	font-display: swap;
}

:root {
	--ink: #10151c;
	--ink-soft: #4a5566;
	--surface: #ffffff;
	--surface-alt: #f4f6fa;
	--line: #e3e8f0;
	--accent: #ff5b23;
	--accent-dark: #e0430e;
	--accent-soft: #fff1ec;
	--brand: #1c9a8b;
	--radius: 18px;
	--shadow-sm: 0 2px 10px rgba(16, 21, 28, .06);
	--shadow-md: 0 12px 34px rgba(16, 21, 28, .1);
	--shadow-lg: 0 24px 60px rgba(16, 21, 28, .16);
}

body {
	font-family: 'Avenir Next Cyr', system-ui, -apple-system, 'Segoe UI', sans-serif;
	color: var(--ink);
	background: var(--surface);
	-webkit-font-smoothing: antialiased;
}

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

.section {
	padding: 64px 0;
}

.section--alt {
	background: var(--surface-alt);
}

.section-title {
	font-weight: 700;
	font-size: clamp(1.5rem, 4.5vw, 2.35rem);
	line-height: 1.15;
	letter-spacing: -.02em;
	margin-bottom: 12px;
}

.section-lead {
	color: var(--ink-soft);
	font-size: 1.05rem;
	line-height: 1.6;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--accent);
	background: var(--accent-soft);
	border-radius: 999px;
	padding: 7px 16px;
	margin-bottom: 18px;
}

/* Кнопки */
.btn-cta {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 60px;
	padding: 18px 40px;
	font-family: inherit;
	font-weight: 700;
	font-size: 1.06rem;
	line-height: 1.2;
	letter-spacing: .01em;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
	color: #fff;
	background: linear-gradient(135deg, #ff6a35 0%, var(--accent) 45%, var(--accent-dark) 100%);
	border: 0;
	border-radius: 999px;
	cursor: pointer;
	overflow: hidden;
	box-shadow: 0 10px 24px rgba(255, 91, 35, .3), inset 0 1px 0 rgba(255, 255, 255, .28);
	transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

/* Мʼякий блиск, що пробігає по кнопці при наведенні */
.btn-cta::before {
	content: '';
	position: absolute;
	inset: 0 auto 0 -60%;
	width: 45%;
	background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .38), transparent);
	transform: skewX(-18deg);
	transition: left .55s ease;
}

.btn-cta i {
	font-size: 1.05em;
	transition: transform .18s ease;
}

.btn-cta:hover,
.btn-cta:focus-visible {
	color: #fff;
	transform: translateY(-3px);
	box-shadow: 0 18px 36px rgba(255, 91, 35, .42), inset 0 1px 0 rgba(255, 255, 255, .32);
	filter: saturate(1.06);
}

.btn-cta:hover::before {
	left: 115%;
}

.btn-cta:hover i {
	transform: translateX(4px);
}

.btn-cta:focus-visible {
	outline: 3px solid rgba(255, 91, 35, .45);
	outline-offset: 3px;
}

.btn-cta:active {
	transform: translateY(-1px);
	box-shadow: 0 8px 18px rgba(255, 91, 35, .34);
}

/* Варіанти розміру */
.btn-cta--lg {
	min-height: 66px;
	padding: 20px 52px;
	font-size: 1.14rem;
}

.btn-cta--sm {
	min-height: 48px;
	padding: 13px 28px;
	font-size: .98rem;
	gap: 8px;
}

.btn-cta--block {
	width: 100%;
}

/* Липкая панель */
.sticky-bar {
	position: fixed;
	inset: auto 0 0 0;
	z-index: 1030;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 12px 20px;
	background: rgba(255, 255, 255, .92);
	backdrop-filter: blur(12px);
	border-top: 1px solid var(--line);
	transform: translateY(110%);
	transition: transform .3s ease;
}

.sticky-bar.is-visible {
	transform: translateY(0);
}

.sticky-bar__price {
	font-weight: 700;
	line-height: 1.1;
}

.sticky-bar__price small {
	display: block;
	font-weight: 400;
	color: var(--ink-soft);
	text-decoration: line-through;
}

/* Hero */
.hero {
	position: relative;
	overflow: hidden;
	padding: 56px 0 72px;
	color: #fff;
	background:
		radial-gradient(120% 90% at 15% 0%, #21384d 0%, transparent 60%),
		linear-gradient(160deg, #131b26 0%, #0b1017 100%);
}

.hero::after {
	content: '';
	position: absolute;
	width: 520px;
	height: 520px;
	right: -160px;
	top: -140px;
	background: radial-gradient(circle, rgba(255, 91, 35, .32) 0%, transparent 68%);
	pointer-events: none;
}

.hero__title {
	font-weight: 700;
	font-size: clamp(1.9rem, 6vw, 3.4rem);
	line-height: 1.06;
	letter-spacing: -.03em;
}

.hero__text {
	color: rgba(255, 255, 255, .74);
	font-size: 1.06rem;
	line-height: 1.6;
	max-width: 46ch;
}

.hero__media {
	position: relative;
	z-index: 1;
}

.hero__media img {
	border-radius: 24px;
	filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .45));
}

.hero__trust {
	list-style: none;
	padding: 0;
	margin: 26px 0 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px 22px;
	color: rgba(255, 255, 255, .8);
	font-size: .94rem;
}

.hero__trust i {
	color: var(--accent);
	margin-right: 6px;
}

/* Цена */
.price-card {
	display: inline-flex;
	align-items: center;
	gap: 22px;
	padding: 16px 26px;
	border-radius: var(--radius);
	background: rgba(255, 255, 255, .07);
	border: 1px solid rgba(255, 255, 255, .14);
}

.price-card--light {
	background: var(--surface);
	border-color: var(--line);
	box-shadow: var(--shadow-sm);
}

.price-card__label {
	font-size: .8rem;
	letter-spacing: .04em;
	text-transform: uppercase;
	opacity: .7;
}

.price-card__old {
	font-size: 1.25rem;
	text-decoration: line-through;
	opacity: .6;
}

.price-card__new {
	font-size: 2rem;
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
}

.price-card__save {
	display: inline-block;
	margin-top: 4px;
	font-size: .82rem;
	font-weight: 700;
	color: var(--accent);
}

/* Фича-блоки */
.feature-row {
	align-items: center;
	gap: 32px 48px;
}

.feature-media {
	position: relative;
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow-md);
	background: var(--surface-alt);
}

.feature-media img {
	display: block;
	width: 100%;
}

.feature-num {
	display: inline-grid;
	place-content: center;
	width: 44px;
	height: 44px;
	border-radius: 14px;
	font-weight: 700;
	color: var(--accent);
	background: var(--accent-soft);
	margin-bottom: 16px;
}

.feature-title {
	font-weight: 700;
	font-size: 1.3rem;
	margin-bottom: 10px;
}

.feature-text {
	color: var(--ink-soft);
	line-height: 1.65;
	margin: 0;
}

/* Характеристики */
.spec-list {
	list-style: none;
	padding: 0;
	margin: 0;
	border-top: 1px solid var(--line);
}

.spec-list li {
	display: flex;
	justify-content: space-between;
	gap: 18px;
	padding: 14px 4px;
	border-bottom: 1px solid var(--line);
	font-size: .98rem;
}

.spec-list dt,
.spec-list__key {
	color: var(--ink-soft);
}

.spec-list__val {
	font-weight: 700;
	text-align: right;
}

/* Отзывы */
.rating-block {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px 20px;
	margin-bottom: 34px;
	color: var(--ink-soft);
}

.rating-block__score {
	font-size: 2.4rem;
	font-weight: 700;
	color: var(--ink);
	line-height: 1;
}

.stars {
	color: #ffb400;
	font-size: 1.05rem;
	letter-spacing: 2px;
}

.review-card {
	height: 100%;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
}

.review-card__img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.review-card__body {
	padding: 20px;
}

.review-card__avatar {
	width: 42px;
	height: 42px;
	display: grid;
	place-content: center;
	border-radius: 50%;
	background: var(--surface-alt);
	color: var(--ink-soft);
}

.review-card__name {
	font-weight: 700;
	margin: 0;
	line-height: 1.2;
}

.review-card__date {
	color: var(--ink-soft);
	font-size: .84rem;
}

.review-card__text {
	margin: 0;
	color: var(--ink);
	line-height: 1.6;
}

.reviews-slider .carousel-control-prev,
.reviews-slider .carousel-control-next {
	width: 44px;
	height: 44px;
	top: 50%;
	transform: translateY(-50%);
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 50%;
	box-shadow: var(--shadow-sm);
	opacity: 1;
}

.reviews-slider .carousel-control-prev {
	left: -6px;
}

.reviews-slider .carousel-control-next {
	right: -6px;
}

.reviews-slider .carousel-control-prev-icon,
.reviews-slider .carousel-control-next-icon {
	width: 18px;
	height: 18px;
	filter: invert(1) grayscale(1);
}

.reviews-slider .carousel-indicators {
	position: static;
	margin: 24px 0 0;
}

.reviews-slider .carousel-indicators [data-bs-target] {
	width: 9px;
	height: 9px;
	border: 0;
	border-radius: 50%;
	background: var(--line);
	opacity: 1;
}

.reviews-slider .carousel-indicators .active {
	background: var(--accent);
	width: 26px;
	border-radius: 999px;
}

/* Шаги заказа */
.step-card {
	height: 100%;
	padding: 26px 22px;
	border-radius: var(--radius);
	background: var(--surface);
	border: 1px solid var(--line);
	box-shadow: var(--shadow-sm);
	transition: transform .2s ease, box-shadow .2s ease;
}

.step-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-md);
}

.step-card__icon {
	display: inline-grid;
	place-content: center;
	width: 52px;
	height: 52px;
	margin-bottom: 16px;
	border-radius: 16px;
	font-size: 1.35rem;
	color: #fff;
	background: linear-gradient(135deg, var(--brand) 0%, #157a6e 100%);
}

.step-card__num {
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--accent);
}

.step-card__title {
	font-weight: 700;
	font-size: 1.1rem;
	margin: 6px 0 8px;
}

.step-card__text {
	margin: 0;
	color: var(--ink-soft);
	font-size: .95rem;
	line-height: 1.55;
}

/* Форма заказа */
.order-section {
	color: #fff;
	background:
		radial-gradient(110% 80% at 85% 10%, #22384c 0%, transparent 58%),
		linear-gradient(160deg, #131b26 0%, #0b1017 100%);
}

.order-card {
	background: var(--surface);
	color: var(--ink);
	border-radius: 24px;
	padding: 32px;
	box-shadow: var(--shadow-lg);
}

.order-card .form-label {
	font-weight: 700;
	font-size: .9rem;
	margin-bottom: 6px;
}

.order-card .form-control,
.order-card .form-select {
	padding: 14px 16px;
	border-radius: 14px;
	border-color: var(--line);
	background-color: var(--surface-alt);
	font-size: 1rem;
}

.order-card .form-control:focus,
.order-card .form-select:focus {
	background-color: var(--surface);
	border-color: var(--accent);
	box-shadow: 0 0 0 4px rgba(255, 91, 35, .14);
}

.order-note {
	font-size: .85rem;
	color: var(--ink-soft);
}

.order-status {
	display: none;
	margin-top: 16px;
	padding: 14px 16px;
	border-radius: 14px;
	font-size: .95rem;
}

.order-status.is-error {
	display: block;
	color: #8d1f0b;
	background: var(--accent-soft);
}

.order-status.is-success {
	display: block;
	color: #0f5d53;
	background: #e6f6f3;
}

.order-card button[disabled] {
	opacity: .7;
	cursor: progress;
}

/* Екран подяки замість форми */
.order-thanks {
	text-align: center;
	padding: 18px 4px;
}

.order-thanks__icon {
	display: inline-grid;
	place-content: center;
	width: 66px;
	height: 66px;
	margin-bottom: 18px;
	border-radius: 50%;
	font-size: 2rem;
	color: #fff;
	background: linear-gradient(135deg, var(--brand) 0%, #157a6e 100%);
	box-shadow: 0 12px 26px rgba(28, 154, 139, .32);
}

.order-thanks__title {
	font-weight: 700;
	font-size: 1.4rem;
	margin-bottom: 10px;
}

.order-thanks__text {
	margin: 0;
	color: var(--ink-soft);
	line-height: 1.6;
}

/* Промо-строка */
.promo-line {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: .9rem;
	color: rgba(255, 255, 255, .72);
}

.promo-line--dark {
	color: var(--ink-soft);
}

/* Плашка про cookie */
.cookie-bar {
	position: fixed;
	z-index: 1040;
	left: 20px;
	right: 20px;
	bottom: 20px;
	max-width: 720px;
	margin: 0 auto;
	display: flex;
	align-items: flex-start;
	gap: 18px;
	padding: 20px 24px;
	border-radius: 20px;
	background: rgba(19, 27, 38, .97);
	backdrop-filter: blur(14px);
	border: 1px solid rgba(255, 255, 255, .12);
	box-shadow: 0 24px 60px rgba(0, 0, 0, .38);
	color: rgba(255, 255, 255, .78);
	opacity: 0;
	transform: translateY(24px);
	transition: opacity .3s ease, transform .3s ease;
}

.cookie-bar.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.cookie-bar__icon {
	flex: 0 0 auto;
	display: grid;
	place-content: center;
	width: 44px;
	height: 44px;
	border-radius: 14px;
	font-size: 1.35rem;
	color: var(--accent);
	background: rgba(255, 91, 35, .14);
}

.cookie-bar__body {
	flex: 1 1 auto;
	min-width: 0;
}

.cookie-bar__title {
	margin: 0 0 6px;
	font-weight: 700;
	font-size: 1.02rem;
	color: #fff;
}

.cookie-bar__text {
	margin: 0;
	font-size: .92rem;
	line-height: 1.55;
}

.cookie-bar__links {
	margin: 10px 0 0;
	font-size: .82rem;
	color: rgba(255, 255, 255, .5);
}

.cookie-bar__links a {
	color: rgba(255, 255, 255, .68);
	text-decoration: none;
	border-bottom: 1px solid rgba(255, 255, 255, .25);
}

.cookie-bar__links a:hover {
	color: #fff;
	border-bottom-color: #fff;
}

.cookie-bar__actions {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 8px;
}

.cookie-bar__more {
	font-size: .85rem;
	font-weight: 700;
	text-align: center;
	text-decoration: none;
	color: rgba(255, 255, 255, .6);
}

.cookie-bar__more:hover {
	color: #fff;
}

/* Поки плашка на екрані, липку кнопку не показуємо */
body.has-cookie-bar .sticky-bar {
	transform: translateY(110%);
}

@media (max-width: 767.98px) {
	.cookie-bar {
		left: 12px;
		right: 12px;
		bottom: 12px;
		flex-wrap: wrap;
		gap: 14px;
		padding: 18px;
	}

	.cookie-bar__icon {
		width: 38px;
		height: 38px;
		font-size: 1.15rem;
	}

	.cookie-bar__body {
		flex: 1 1 100%;
		order: 2;
	}

	.cookie-bar__actions {
		flex: 1 1 100%;
		order: 3;
		flex-direction: row;
		align-items: center;
		gap: 14px;
	}

	.cookie-bar__actions .btn-cta--sm {
		flex: 1 1 auto;
	}

	.cookie-bar__text {
		font-size: .88rem;
	}
}

/* Юридичні сторінки */
.legal-header {
	padding: 40px 0 32px;
	color: #fff;
	background:
		radial-gradient(110% 90% at 12% 0%, #21384d 0%, transparent 62%),
		linear-gradient(160deg, #131b26 0%, #0b1017 100%);
}

.legal-header__back {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: .92rem;
	font-weight: 700;
	text-decoration: none;
	color: rgba(255, 255, 255, .75);
	transition: color .18s ease;
}

.legal-header__back:hover {
	color: #fff;
}

.legal-header__title {
	margin: 18px 0 8px;
	font-weight: 700;
	font-size: clamp(1.6rem, 4.5vw, 2.4rem);
	line-height: 1.15;
	letter-spacing: -.02em;
}

.legal-header__meta {
	margin: 0;
	font-size: .9rem;
	color: rgba(255, 255, 255, .6);
}

.legal-body {
	padding: 56px 0 72px;
}

.legal-content {
	max-width: 760px;
	margin: 0 auto;
	color: var(--ink);
	font-size: 1rem;
	line-height: 1.75;
}

.legal-content h2 {
	margin: 40px 0 14px;
	font-weight: 700;
	font-size: 1.35rem;
	line-height: 1.25;
	letter-spacing: -.01em;
}

.legal-content h2:first-child {
	margin-top: 0;
}

.legal-content h3 {
	margin: 28px 0 10px;
	font-weight: 700;
	font-size: 1.08rem;
}

.legal-content p {
	margin: 0 0 16px;
	color: var(--ink-soft);
}

.legal-content strong,
.legal-content b {
	color: var(--ink);
}

/* .legal-content a {
	color: var(--accent-dark);
	text-underline-offset: 3px;
} */

.legal-content ul,
.legal-content ol {
	margin: 0 0 18px;
	padding-left: 22px;
	color: var(--ink-soft);
}

.legal-content li {
	margin-bottom: 8px;
}

.legal-content ul {
	list-style: none;
	padding-left: 0;
}

.legal-content ul li {
	position: relative;
	padding-left: 26px;
}

.legal-content ul li::before {
	content: '';
	position: absolute;
	left: 6px;
	top: .62em;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--accent);
}

.legal-content ol li::marker {
	font-weight: 700;
	color: var(--ink);
}

.legal-content hr {
	margin: 32px 0;
	border: 0;
	border-top: 1px solid var(--line);
}

.legal-content table {
	width: 100%;
	margin: 0 0 20px;
	border-collapse: collapse;
	font-size: .95rem;
}

.legal-content th,
.legal-content td {
	padding: 12px 14px;
	border: 1px solid var(--line);
	text-align: left;
	vertical-align: top;
}

.legal-content th {
	background: var(--surface-alt);
	font-weight: 700;
}

/* Виділений блок з важливою інформацією */
.legal-callout {
	margin: 0 0 28px;
	padding: 20px 22px;
	border-radius: var(--radius);
	border-left: 4px solid var(--accent);
	background: var(--accent-soft);
	color: var(--ink);
}

.legal-callout p:last-child {
	margin-bottom: 0;
}

.legal-cta {
	margin-top: 44px;
	padding: 28px;
	border-radius: var(--radius);
	background: var(--surface-alt);
	border: 1px solid var(--line);
	text-align: center;
}

.legal-cta p {
	margin: 0 0 18px;
	color: var(--ink-soft);
}

@media (max-width: 575.98px) {
	.legal-body {
		padding: 40px 0 56px;
	}

	.legal-content {
		font-size: .98rem;
	}

	.legal-content h2 {
		font-size: 1.2rem;
		margin-top: 32px;
	}

	.legal-content table {
		display: block;
		overflow-x: auto;
	}
}

/* Футер */
.site-footer {
	padding: 40px 0 96px;
	background: #0b1017;
	color: rgba(255, 255, 255, .6);
	font-size: .9rem;
}

.site-footer a {
	color: rgba(255, 255, 255, .78);
	text-decoration: none;
}

.site-footer a:hover {
	color: #fff;
	text-decoration: underline;
}

@media (max-width: 575.98px) {
	.section {
		padding: 48px 0;
	}

	.btn-cta,
	.btn-cta--lg {
		width: 100%;
		min-height: 58px;
		padding: 17px 24px;
		font-size: 1.02rem;
		white-space: normal;
	}

	.btn-cta--sm {
		width: auto;
		min-height: 46px;
		padding: 12px 22px;
		font-size: .95rem;
	}

	.price-card {
		width: 100%;
		justify-content: space-between;
		gap: 14px;
		padding: 14px 18px;
	}

	.order-card {
		padding: 22px;
	}

	.reviews-slider .carousel-control-prev,
	.reviews-slider .carousel-control-next {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	* {
		animation: none !important;
		transition: none !important;
	}
}
