/* ===========================================================================
   FreelanceLo - публична част на сайта
   Начало, За нас, Блог, Статия, Контакти

   Самостоятелни шрифтове, без CDN. Кирилицата и латиницата са в отделни
   файлове с unicode-range - браузърът сваля само каквото му трябва.
   ======================================================================== */

@font-face {
	font-family: Manrope;
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("../fonts/manrope-600-cyrillic.woff2") format("woff2");
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
	font-family: Manrope;
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("../fonts/manrope-600-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+2122, U+2191, U+2193, U+2212, U+2215;
}

@font-face {
	font-family: Manrope;
	font-style: normal;
	font-weight: 800;
	font-display: swap;
	src: url("../fonts/manrope-800-cyrillic.woff2") format("woff2");
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
	font-family: Manrope;
	font-style: normal;
	font-weight: 800;
	font-display: swap;
	src: url("../fonts/manrope-800-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+2122, U+2191, U+2193, U+2212, U+2215;
}

@font-face {
	font-family: InterSite;
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/inter-400-cyrillic.woff2") format("woff2");
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
	font-family: InterSite;
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/inter-400-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+2122, U+2191, U+2193, U+2212, U+2215;
}

@font-face {
	font-family: InterSite;
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("../fonts/inter-600-cyrillic.woff2") format("woff2");
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
	font-family: InterSite;
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("../fonts/inter-600-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+2122, U+2191, U+2193, U+2212, U+2215;
}

:root {
	/* Основа */
	--bg: #070a14;
	--bg-2: #0b1020;
	--surface: #0f1628;
	--card: #141c30;
	--card-hi: #1a2440;
	--border: #233049;
	--border-hi: #33436b;

	/* Текст */
	--fg: #f6f8fc;
	--fg-2: #c3cddf;
	--muted: #8a97b1;

	/* Акценти */
	--gold: #f5a524;
	--gold-2: #ffc96b;
	--emerald: #34d399;
	--violet: #8b7cf8;
	--rose: #fb7185;

	/* Сияния */
	--glow-gold: 0 0 0 1px rgba(245, 165, 36, .25), 0 18px 60px -20px rgba(245, 165, 36, .45);
	--glow-soft: 0 24px 70px -30px rgba(0, 0, 0, .9);

	/* Форма */
	--r-sm: 10px;
	--r: 16px;
	--r-lg: 24px;
	--r-xl: 32px;

	/* Ритъм */
	--pad: clamp(20px, 5vw, 40px);
	--maxw: 1200px;

	/* Движение */
	--t: 220ms cubic-bezier(.4, 0, .2, 1);

	color-scheme: dark;
}

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

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--fg);
	font-family: InterSite, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	font-size: 17px;
	line-height: 1.65;
	font-feature-settings: "cv05" 1, "ss03" 1;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

/* Фонът живее зад всичко и не прихваща кликове. */
body::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: -2;
	background:
		radial-gradient(60rem 40rem at 12% -8%, rgba(139, 124, 248, .18), transparent 60%),
		radial-gradient(48rem 36rem at 92% 4%, rgba(245, 165, 36, .14), transparent 62%),
		radial-gradient(42rem 30rem at 50% 108%, rgba(52, 211, 153, .10), transparent 65%);
	pointer-events: none;
}

/* Фина шумова текстура - вади плоския градиент от „евтино". */
body::after {
	content: "";
	position: fixed;
	inset: 0;
	z-index: -1;
	opacity: .035;
	pointer-events: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, h3, h4, h5 {
	font-family: Manrope, InterSite, system-ui, sans-serif;
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -.025em;
	margin: 0 0 .5em;
	text-wrap: balance;
}

h1 { font-size: clamp(2.3rem, 6.4vw, 4.6rem); }
h2 { font-size: clamp(1.8rem, 4.2vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2.3vw, 1.6rem); }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

a {
	color: var(--gold-2);
	text-decoration: none;
	transition: color var(--t);
}

a:hover { color: var(--gold); }

img, svg { max-width: 100%; height: auto; display: block; }

:focus-visible {
	outline: 2px solid var(--gold);
	outline-offset: 3px;
	border-radius: 4px;
}

/* ---------------------------------------------------------------- Структура */

.wrap {
	width: 100%;
	max-width: var(--maxw);
	margin-inline: auto;
	padding-inline: var(--pad);
}

.section {
	padding-block: 50px;
	position: relative;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: Manrope, sans-serif;
	font-size: .76rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--gold);
	margin-bottom: 18px;
}

.eyebrow::before {
	content: "";
	width: 22px;
	height: 1px;
	background: currentColor;
	opacity: .7;
}

.lead {
	font-size: clamp(1.05rem, 1.9vw, 1.3rem);
	color: var(--fg-2);
	max-width: 62ch;
}

.center { text-align: center; }
.center .lead { margin-inline: auto; }
.center .eyebrow { justify-content: center; }

/* ---------------------------------------------------------------- Шапка */

.topbar {
	position: sticky;
	top: 0;
	z-index: 50;
	backdrop-filter: blur(16px) saturate(160%);
	background: rgba(7, 10, 20, .72);
	border-bottom: 1px solid transparent;
	transition: border-color var(--t), background var(--t);
}

.topbar.is-stuck {
	border-bottom-color: var(--border);
	background: rgba(7, 10, 20, .9);
}

.topbar__inner {
	display: flex;
	align-items: center;
	gap: 28px;
	height: 72px;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 11px;
	font-family: Manrope, sans-serif;
	font-weight: 800;
	font-size: 1.14rem;
	letter-spacing: -.02em;
	color: var(--fg);
}

.brand:hover { color: var(--fg); }

/* Знакът е вграден SVG - носи си формата и цвета сам. */

.brand .fsht-mark {
	flex: 0 0 auto;
	border-radius: 10px;
	box-shadow: 0 6px 20px -8px rgba(245, 165, 36, .55);
}

.brand__name { white-space: nowrap; }

.nav {
	display: flex;
	gap: 4px;
	margin-left: auto;
}

.nav a {
	padding: 9px 14px;
	border-radius: var(--r-sm);
	color: var(--fg-2);
	font-size: .94rem;
	font-weight: 500;
	transition: background var(--t), color var(--t);
}

.nav a:hover,
.nav a[aria-current="page"] {
	background: rgba(255, 255, 255, .06);
	color: var(--fg);
}

.nav a[aria-current="page"] { font-weight: 600; }

.burger {
	display: none;
	margin-left: auto;
	width: 42px;
	height: 42px;
	border: 1px solid var(--border);
	background: var(--surface);
	border-radius: var(--r-sm);
	color: var(--fg);
	cursor: pointer;
	padding: 0;
	place-items: center;
}

/* ---------------------------------------------------------------- Бутони */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	min-height: 48px;
	padding: 0 24px;
	border: 1px solid transparent;
	border-radius: var(--r-sm);
	font-family: Manrope, sans-serif;
	font-size: .97rem;
	font-weight: 700;
	cursor: pointer;
	white-space: nowrap;
	transition: transform var(--t), box-shadow var(--t), background var(--t), border-color var(--t), color var(--t);
}

.btn--gold {
	background: linear-gradient(145deg, var(--gold-2), var(--gold));
	color: #1a1205;
	box-shadow: 0 10px 30px -12px rgba(245, 165, 36, .75);
}

.btn--gold:hover {
	color: #1a1205;
	transform: translateY(-2px);
	box-shadow: 0 16px 42px -12px rgba(245, 165, 36, .9);
}

.btn--ghost {
	background: rgba(255, 255, 255, .04);
	border-color: var(--border-hi);
	color: var(--fg);
}

.btn--ghost:hover {
	background: rgba(255, 255, 255, .09);
	border-color: var(--gold);
	color: var(--fg);
	transform: translateY(-2px);
}

.btn--lg { min-height: 56px; padding: 0 32px; font-size: 1.04rem; }
.btn--block { width: 100%; }

.btn-row {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 32px;
}

.center .btn-row { justify-content: center; }

/* ---------------------------------------------------------------- Карти */

.card {
	background: linear-gradient(180deg, var(--card) 0%, var(--bg-2) 100%);
	border: 1px solid var(--border);
	border-radius: var(--r-lg);
	padding: 30px;
	box-shadow: var(--glow-soft);
}

/* Светлинно петно, което следва курсора. Чисто CSS, стойностите идат от JS. */
.card--spot {
	position: relative;
	overflow: hidden;
	transition: border-color var(--t), transform var(--t);
}

.card--spot::before {
	content: "";
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity var(--t);
	background: radial-gradient(22rem 22rem at var(--mx, 50%) var(--my, 0%), rgba(245, 165, 36, .13), transparent 70%);
	pointer-events: none;
}

.card--spot:hover {
	border-color: var(--border-hi);
	transform: translateY(-3px);
}

.card--spot:hover::before { opacity: 1; }

.grid {
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}

.icn {
	width: 46px;
	height: 46px;
	border-radius: 13px;
	display: grid;
	place-items: center;
	margin-bottom: 18px;
	background: rgba(245, 165, 36, .1);
	border: 1px solid rgba(245, 165, 36, .22);
	color: var(--gold);
}

.icn svg { width: 22px; height: 22px; }
.icn--emerald { background: rgba(52, 211, 153, .1); border-color: rgba(52, 211, 153, .22); color: var(--emerald); }
.icn--violet { background: rgba(139, 124, 248, .1); border-color: rgba(139, 124, 248, .22); color: var(--violet); }

.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .96rem; }

/* Карта, която заема целия ред на решетката.

   Решетката е `auto-fit, minmax(290px, 1fr)` - при 1200 px широчина се
   нарежда на три колони. Четири карти значи 3 + 1, а последната виси сама в
   едната трета и изглежда като недовършен ред. Тази карта заема целия ред и
   на широк екран се подрежда хоризонтално: заглавие отляво, текст отдясно. */
.card--wide { grid-column: 1 / -1; }

@media (min-width: 900px) {
	.card--wide {
		display: grid;
		grid-template-columns: minmax(0, 24ch) minmax(0, 1fr);
		gap: clamp(22px, 4vw, 52px);
		align-items: center;
	}

	.card--wide h3 { margin-bottom: 0; }
	.card--wide p { margin: 0; }
}

/* Водещ абзац вътре в карта: иначе `.card p` го смъква до дребен и сив. */
.card p.lead {
	color: var(--fg-2);
	font-size: clamp(1.02rem, 1.7vw, 1.22rem);
}

/* ---------------------------------------------------------------- Етикети */

.chip {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 6px 13px;
	border-radius: 999px;
	font-size: .8rem;
	font-weight: 600;
	background: rgba(255, 255, 255, .05);
	border: 1px solid var(--border);
	color: var(--fg-2);
}

.chip--gold { background: rgba(245, 165, 36, .1); border-color: rgba(245, 165, 36, .3); color: var(--gold-2); }
.chip--emerald { background: rgba(52, 211, 153, .1); border-color: rgba(52, 211, 153, .3); color: var(--emerald); }

.chip__dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: currentColor;
	box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 22%, transparent);
}

/* Пулс само за живи индикатори, не за декорация. */
.chip__dot--live { animation: pulse 2.4s ease-in-out infinite; }

@keyframes pulse {
	0%, 100% { opacity: 1; }
	50% { opacity: .35; }
}

/* ---------------------------------------------------------------- Градиентен текст */

.grad {
	background: linear-gradient(100deg, var(--gold-2) 0%, var(--gold) 38%, var(--violet) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;

	/* Без това някои букви с диакритика се режат отгоре. */
	padding-block: .06em;
}

/* ---------------------------------------------------------------- Показване при скрол */

.rise {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity .7s cubic-bezier(.16, 1, .3, 1), transform .7s cubic-bezier(.16, 1, .3, 1);
}

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

/* ---------------------------------------------------------------- Подвал */

.footer {
	border-top: 1px solid var(--border);
	background: var(--bg-2);
	padding-block: 56px 32px;
	margin-top: 40px;
}

.footer__grid {
	display: grid;
	gap: 36px;
	grid-template-columns: 1.6fr repeat(3, 1fr);
}

.footer h4 {
	font-size: .8rem;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--muted);
	font-weight: 700;
	margin-bottom: 14px;
}

.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 9px; }
.footer li a { color: var(--fg-2); font-size: .94rem; }
.footer li a:hover { color: var(--gold-2); }

.footer__bottom {
	margin-top: 40px;
	padding-top: 24px;
	border-top: 1px solid var(--border);
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	justify-content: space-between;
	color: var(--muted);
	font-size: .88rem;
}

/* ---------------------------------------------------------------- Помощни */

.mt-0 { margin-top: 0; }
.mt-3 { margin-top: 24px; }
.mt-5 { margin-top: 44px; }
.mb-0 { margin-bottom: 0; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.mono { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }

/* ---------------------------------------------------------------- Адаптивност */

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

@media (max-width: 820px) {
	.nav {
		display: none;
		position: absolute;
		top: 72px;
		left: 0;
		right: 0;
		flex-direction: column;
		gap: 2px;
		padding: 14px var(--pad) 22px;
		background: rgba(7, 10, 20, .98);
		border-bottom: 1px solid var(--border);
	}

	.nav.is-open { display: flex; }
	.nav a { padding: 13px 14px; font-size: 1rem; }
	.burger { display: grid; }
	.topbar__inner { position: relative; }
}

@media (max-width: 560px) {
	body { font-size: 16px; }
	.footer__grid { grid-template-columns: 1fr; }
	.btn { width: 100%; }
	.btn-row { flex-direction: column; }
}

/* Уважава системната настройка - анимациите са украса, не съдържание. */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }

	*,
	*::before,
	*::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
	}

	.rise { opacity: 1; transform: none; }
}

/* Печат: без тъмен фон и без декорации. */
@media print {
	body { background: #fff; color: #000; }
	body::before, body::after { display: none; }
	.topbar, .footer, .btn-row { display: none; }
}

/* Етикет само за екранни четци - видим е за тях, не за окото. */

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}
/* ---------------------------------------------------------------- Герой */

.hero {
	position: relative;
	padding-block: clamp(56px, 9vw, 110px) clamp(60px, 10vw, 120px);
	overflow: hidden;
}

/* Мрежа, която изтлява надолу - дава дълбочина без да се натрапва. */
.hero__grid {
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image:
		linear-gradient(to right, rgba(255, 255, 255, .05) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(255, 255, 255, .05) 1px, transparent 1px);
	background-size: 68px 68px;
	mask-image: radial-gradient(70% 55% at 50% 22%, #000 0%, transparent 100%);
	-webkit-mask-image: radial-gradient(70% 55% at 50% 22%, #000 0%, transparent 100%);
	pointer-events: none;
}

.hero__inner {
	display: grid;
	gap: clamp(36px, 5vw, 64px);
	grid-template-columns: 1.05fr .95fr;
	align-items: center;
}

.hero h1 {
	font-size: clamp(2.3rem, 6.4vw, 3.5rem);
	margin-bottom: 20px;
}

/* Цената не е бележка под линия: човекът, който е дошъл да я види, трябва да
   я прочете, без да приближава страницата. */
.hero__price {
	margin-top: 20px;
	font-size: clamp(1.02rem, 1.7vw, 1.16rem);
	line-height: 1.55;
	color: var(--fg-2);
	max-width: 48ch;
}

.hero__price b {
	color: var(--gold-2);
	font-weight: 800;
	white-space: nowrap;
}

.center .hero__price { margin-inline: auto; }

.hero__sub {
	font-size: clamp(1.06rem, 1.9vw, 1.28rem);
	color: var(--fg-2);
	max-width: 54ch;
}

.hero__trust {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 30px;
}

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

.calc {
	background: linear-gradient(180deg, var(--card-hi) 0%, var(--bg-2) 100%);
	border: 1px solid var(--border-hi);
	border-radius: var(--r-xl);
	padding: 28px;
	box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .95), var(--glow-gold);
}

.calc__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 22px;
}

.calc__head h3 { margin: 0; font-size: 1.14rem; }

.calc__field { margin-bottom: 20px; }

.calc__field label {
	display: block;
	font-size: .86rem;
	font-weight: 600;
	color: var(--fg-2);
	margin-bottom: 9px;
}

.calc__input {
	display: flex;
	align-items: center;
	gap: 10px;
	background: var(--bg);
	border: 1px solid var(--border-hi);
	border-radius: var(--r-sm);
	padding: 0 16px;
	transition: border-color var(--t), box-shadow var(--t);
}

.calc__input:focus-within {
	border-color: var(--gold);
	box-shadow: 0 0 0 3px rgba(245, 165, 36, .16);
}

.calc__input input {
	flex: 1;
	min-width: 0;
	background: none;
	border: 0;
	color: var(--fg);
	font-family: Manrope, sans-serif;
	font-size: 1.7rem;
	font-weight: 800;
	padding: 14px 0;
	font-variant-numeric: tabular-nums;
}

.calc__input input:focus { outline: none; }

/* Стрелките на number полето развалят оформлението. */
.calc__input input::-webkit-outer-spin-button,
.calc__input input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.calc__input input[type="number"] { -moz-appearance: textfield; appearance: textfield; }

.calc__cur {
	font-family: Manrope, sans-serif;
	font-size: 1.3rem;
	font-weight: 700;
	color: var(--muted);
}

.calc__range {
	-webkit-appearance: none;
	appearance: none;
	width: 100%;
	height: 6px;
	border-radius: 999px;
	background: var(--border-hi);
	margin-top: 16px;
	cursor: pointer;
}

.calc__range::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: linear-gradient(145deg, var(--gold-2), var(--gold));
	border: 2px solid var(--bg);
	box-shadow: 0 2px 12px rgba(245, 165, 36, .7);
	cursor: pointer;
}

.calc__range::-moz-range-thumb {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--gold);
	border: 2px solid var(--bg);
	cursor: pointer;
}

.calc__rows { border-top: 1px solid var(--border); padding-top: 18px; }

.calc__row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 14px;
	padding: 9px 0;
	font-size: .96rem;
}

.calc__row span { color: var(--muted); }
.calc__row b { font-weight: 600; font-variant-numeric: tabular-nums; }
.calc__row--neg b { color: var(--rose); }

.calc__total {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 14px;
	margin-top: 14px;
	padding-top: 18px;
	border-top: 1px solid var(--border);
}

.calc__total span { font-family: Manrope, sans-serif; font-weight: 700; }

.calc__total strong {
	font-family: Manrope, sans-serif;
	font-size: clamp(1.7rem, 3.4vw, 2.3rem);
	font-weight: 800;
	color: var(--emerald);
	font-variant-numeric: tabular-nums;
	letter-spacing: -.02em;
}

.calc__note {
	margin-top: 16px;
	font-size: .8rem;
	color: var(--muted);
	line-height: 1.5;
}

/* ---------------------------------------------------------------- Бягащи професии */

.marquee {
	border-block: 1px solid var(--border);
	background: var(--bg-2);
	padding-block: 18px;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee__track {
	display: flex;
	gap: 44px;
	width: max-content;
	animation: slide 42s linear infinite;
}

.marquee:hover .marquee__track { animation-play-state: paused; }

.marquee__item {
	display: inline-flex;
	align-items: center;
	gap: 11px;
	font-family: Manrope, sans-serif;
	font-weight: 700;
	font-size: 1.02rem;
	color: var(--muted);
	white-space: nowrap;
}

.marquee__item::before {
	content: "";
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--gold);
	opacity: .6;
}

@keyframes slide {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

/* ---------------------------------------------------------------- Числа */

.stats {
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.stat {
	text-align: center;
	padding: 26px 18px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--r);
}

.stat__n {
	font-family: Manrope, sans-serif;
	font-size: clamp(1.9rem, 4vw, 2.7rem);
	font-weight: 800;
	letter-spacing: -.03em;
	line-height: 1;
	margin-bottom: 8px;
	font-variant-numeric: tabular-nums;
}

.stat__l { font-size: .88rem; color: var(--muted); }

/* ---------------------------------------------------------------- Макет на продукта */

.mock {
	background: var(--bg-2);
	border: 1px solid var(--border-hi);
	border-radius: var(--r-lg);
	overflow: hidden;
	box-shadow: 0 50px 110px -50px rgba(0, 0, 0, 1);
}

.mock__bar {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 13px 18px;
	background: var(--surface);
	border-bottom: 1px solid var(--border);
}

.mock__dot { width: 11px; height: 11px; border-radius: 50%; background: var(--border-hi); }
.mock__dot:nth-child(1) { background: #fb7185; }
.mock__dot:nth-child(2) { background: var(--gold); }
.mock__dot:nth-child(3) { background: var(--emerald); }

.mock__url {
	margin-left: 12px;
	font-size: .8rem;
	color: var(--muted);
	font-family: ui-monospace, "SF Mono", Menlo, monospace;
}

.mock__body { padding: 22px; }

/* Kanban вътре в макета */
.kan {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(3, 1fr);
}

.kan__col {
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: var(--r);
	padding: 13px;
	min-height: 180px;
}

.kan__h {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: .82rem;
	font-weight: 700;
	color: var(--fg-2);
	margin-bottom: 12px;
}

.kan__h span {
	background: rgba(255, 255, 255, .07);
	border-radius: 999px;
	padding: 1px 8px;
	font-size: .74rem;
	color: var(--muted);
}

.kan__card {
	background: var(--card);
	border: 1px solid var(--border);
	border-left: 3px solid var(--gold);
	border-radius: var(--r-sm);
	padding: 11px 12px;
	margin-bottom: 9px;
	font-size: .86rem;
	line-height: 1.4;
}

.kan__card:last-child { margin-bottom: 0; }
.kan__card--emerald { border-left-color: var(--emerald); }
.kan__card--violet { border-left-color: var(--violet); }

.kan__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 8px;
	font-size: .74rem;
	color: var(--muted);
}

/* ---------------------------------------------------------------- Цени */

.toggle {
	display: inline-flex;
	gap: 4px;
	padding: 5px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 999px;
	margin-bottom: 34px;
}

.toggle button {
	border: 0;
	background: none;
	color: var(--fg-2);
	font-family: Manrope, sans-serif;
	font-size: .92rem;
	font-weight: 700;
	padding: 10px 22px;
	border-radius: 999px;
	cursor: pointer;
	transition: background var(--t), color var(--t);
}

.toggle button.is-on {
	background: linear-gradient(145deg, var(--gold-2), var(--gold));
	color: #1a1205;
}

.price {
	max-width: 460px;
	margin-inline: auto;
	background: linear-gradient(180deg, var(--card-hi) 0%, var(--bg-2) 100%);
	border: 1px solid rgba(245, 165, 36, .34);
	border-radius: var(--r-xl);
	padding: 38px 32px;
	box-shadow: var(--glow-gold), 0 40px 90px -45px rgba(0, 0, 0, .95);
	position: relative;
}

.price__amount {
	display: flex;
	align-items: baseline;
	justify-content: center;
	gap: 8px;
	margin: 20px 0 6px;
}

.price__n {
	font-family: Manrope, sans-serif;
	font-size: clamp(3rem, 8vw, 4.4rem);
	font-weight: 800;
	letter-spacing: -.04em;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}

.price__per { color: var(--muted); font-size: 1.02rem; }

.price__save {
	display: block;
	min-height: 1.4em;
	color: var(--emerald);
	font-size: .9rem;
	font-weight: 600;
}

.price ul {
	list-style: none;
	margin: 28px 0;
	padding: 0;
	text-align: left;
}

.price li {
	display: flex;
	align-items: flex-start;
	gap: 11px;
	padding: 8px 0;
	font-size: .96rem;
	color: var(--fg-2);
}

.price li svg {
	flex: 0 0 auto;
	width: 19px;
	height: 19px;
	margin-top: 3px;
	color: var(--emerald);
}

/* ---------------------------------------------------------------- Блог */

.post-feat {
	display: grid;
	gap: clamp(26px, 4vw, 46px);
	grid-template-columns: 1.15fr .85fr;
	align-items: center;
	background: linear-gradient(180deg, var(--card) 0%, var(--bg-2) 100%);
	border: 1px solid var(--border);
	border-radius: var(--r-xl);
	padding: clamp(26px, 4vw, 44px);
	box-shadow: var(--glow-soft);
}

.post-feat__art {
	aspect-ratio: 4 / 3;
	border-radius: var(--r);
	border: 1px solid var(--border);
	background:
		radial-gradient(18rem 14rem at 70% 20%, rgba(245, 165, 36, .3), transparent 65%),
		radial-gradient(16rem 14rem at 20% 80%, rgba(139, 124, 248, .3), transparent 65%),
		var(--bg);
	display: grid;
	place-items: center;
	position: relative;
	overflow: hidden;
}

.post-feat__art::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(to right, rgba(255, 255, 255, .05) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(255, 255, 255, .05) 1px, transparent 1px);
	background-size: 34px 34px;
}

.post-feat__art b {
	position: relative;
	font-family: Manrope, sans-serif;
	font-size: clamp(2.4rem, 7vw, 4rem);
	font-weight: 800;
	letter-spacing: -.04em;
	color: rgba(255, 255, 255, .9);
}

.posts {
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.post {
	display: flex;
	flex-direction: column;
	background: linear-gradient(180deg, var(--card) 0%, var(--bg-2) 100%);
	border: 1px solid var(--border);
	border-radius: var(--r-lg);
	overflow: hidden;
	transition: transform var(--t), border-color var(--t);
}

.post:hover { transform: translateY(-4px); border-color: var(--border-hi); }

.post__top {
	height: 116px;
	border-bottom: 1px solid var(--border);
	display: grid;
	place-items: center;
	font-family: Manrope, sans-serif;
	font-weight: 800;
	font-size: 1.5rem;
	letter-spacing: -.03em;
	color: rgba(255, 255, 255, .82);
}

.post__top--a { background: radial-gradient(14rem 10rem at 30% 20%, rgba(245, 165, 36, .3), transparent 70%), var(--bg); }
.post__top--b { background: radial-gradient(14rem 10rem at 70% 30%, rgba(52, 211, 153, .3), transparent 70%), var(--bg); }
.post__top--c { background: radial-gradient(14rem 10rem at 40% 70%, rgba(139, 124, 248, .3), transparent 70%), var(--bg); }
.post__top--d { background: radial-gradient(14rem 10rem at 60% 40%, rgba(251, 113, 133, .28), transparent 70%), var(--bg); }

.post__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.post__body h3 { font-size: 1.1rem; margin-bottom: 9px; }
.post__body p { color: var(--muted); font-size: .92rem; flex: 1; }

.post__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 18px;
	font-size: .82rem;
	color: var(--muted);
}

/* ---------------------------------------------------------------- Контакти */

.contact {
	display: grid;
	gap: clamp(26px, 4vw, 48px);
	grid-template-columns: 1fr .85fr;
	align-items: start;
}

.field { margin-bottom: 18px; }

.field label {
	display: block;
	font-size: .88rem;
	font-weight: 600;
	color: var(--fg-2);
	margin-bottom: 8px;
}

.field input,
.field select,
.field textarea {
	width: 100%;
	background: var(--bg);
	border: 1px solid var(--border-hi);
	border-radius: var(--r-sm);
	color: var(--fg);
	font-family: inherit;
	font-size: 1rem;
	padding: 13px 15px;
	transition: border-color var(--t), box-shadow var(--t);
}

.field textarea { resize: vertical; min-height: 130px; }

.field input:focus,
.field select:focus,
.field textarea:focus {
	outline: none;
	border-color: var(--gold);
	box-shadow: 0 0 0 3px rgba(245, 165, 36, .16);
}

.field__hint { font-size: .8rem; color: var(--muted); margin-top: 6px; }

.info-row {
	display: flex;
	gap: 15px;
	padding: 17px 0;
	border-bottom: 1px solid var(--border);
}

.info-row:last-child { border-bottom: 0; }
.info-row__ic { flex: 0 0 auto; color: var(--gold); margin-top: 2px; }
.info-row__ic svg { width: 21px; height: 21px; }
.info-row b { display: block; font-size: .95rem; margin-bottom: 2px; }
.info-row span { font-size: .92rem; color: var(--muted); }

/* Акордеон за въпросите - без JavaScript. */
.faq { border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; }
.faq details { border-bottom: 1px solid var(--border); }
.faq details:last-child { border-bottom: 0; }

.faq summary {
	padding: 18px 22px;
	cursor: pointer;
	font-family: Manrope, sans-serif;
	font-weight: 700;
	font-size: 1rem;
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	transition: background var(--t);
}

.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: rgba(255, 255, 255, .035); }

.faq summary::after {
	content: "+";
	font-size: 1.4rem;
	font-weight: 400;
	color: var(--gold);
	flex: 0 0 auto;
	line-height: 1;
}

.faq details[open] summary::after { content: "-"; }
.faq details[open] summary { background: rgba(255, 255, 255, .035); }

.faq__a { padding: 0 22px 20px; color: var(--muted); font-size: .95rem; }

/* ---------------------------------------------------------------- Банер за преглед */

.preview-flag {
	background: linear-gradient(90deg, rgba(245, 165, 36, .16), rgba(139, 124, 248, .16));
	border-bottom: 1px solid rgba(245, 165, 36, .3);
	padding: 9px var(--pad);
	text-align: center;
	font-size: .84rem;
	color: var(--gold-2);
	font-weight: 600;
}

/* ---------------------------------------------------------------- Адаптивност */

@media (max-width: 1000px) {
	.hero__inner,
	.post-feat,
	.contact { grid-template-columns: 1fr; }

	.post-feat__art { order: -1; aspect-ratio: 16 / 9; }
	.kan { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
	.calc { padding: 22px; }
	.calc__input input { font-size: 1.4rem; }
	.price { padding: 30px 22px; }
	.toggle button { padding: 10px 16px; font-size: .86rem; }
}

@media (prefers-reduced-motion: reduce) {
	.marquee__track { animation: none; }
}

/* ===========================================================================
   Статия - типографията на четивния текст

   Редакторът пише обикновен HTML: заглавия, абзаци, списъци, цитати.
   Затова стиловете са по елемент, не по клас - иначе всяко ново съдържание
   ще иска нов клас, който авторът не знае, че трябва да сложи.
   ======================================================================== */

.article {
	max-width: 72ch;
	margin-inline: auto;
	font-size: 1.08rem;
	line-height: 1.78;
	color: var(--fg-2);
}

.article > * + * { margin-top: 1.15em; }

.article h2,
.article h3,
.article h4 {
	color: var(--fg);
	margin-top: 2em;
	margin-bottom: .6em;
	scroll-margin-top: 90px;
}

.article h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.article h3 { font-size: clamp(1.2rem, 2.2vw, 1.45rem); }

.article a {
	text-decoration: underline;
	text-decoration-color: rgba(245, 165, 36, .45);
	text-underline-offset: 3px;
}

.article a:hover { text-decoration-color: var(--gold); }

.article strong { color: var(--fg); font-weight: 600; }

.article ul,
.article ol { padding-left: 1.3em; }

.article li { margin-bottom: .5em; }
.article li::marker { color: var(--gold); }

.article blockquote {
	margin-inline: 0;
	padding: 2px 0 2px 22px;
	border-left: 3px solid var(--gold);
	color: var(--fg);
	font-size: 1.1em;
}

.article img,
.article figure img {
	border-radius: var(--r);
	border: 1px solid var(--border);
}

.article figcaption {
	margin-top: .6em;
	font-size: .86rem;
	color: var(--muted);
	text-align: center;
}

.article code {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 6px;
	padding: .12em .4em;
	font-size: .88em;
	font-family: ui-monospace, "SF Mono", Menlo, monospace;
}

.article pre {
	background: var(--bg-2);
	border: 1px solid var(--border);
	border-radius: var(--r);
	padding: 18px;
	overflow-x: auto;
	font-size: .88rem;
}

.article pre code { background: none; border: 0; padding: 0; }

.article hr {
	border: 0;
	border-top: 1px solid var(--border);
	margin-block: 2.4em;
}

.article table {
	width: 100%;
	border-collapse: collapse;
	font-size: .95rem;
}

.article th,
.article td {
	border: 1px solid var(--border);
	padding: 10px 13px;
	text-align: left;
}

.article th { background: var(--surface); color: var(--fg); font-weight: 600; }

/* Шапка на статията */

.entry-head {
	max-width: 72ch;
	margin-inline: auto;
	margin-bottom: 34px;
	text-align: center;
}

.entry-head h1 { font-size: clamp(1.9rem, 4.6vw, 3.1rem); margin-bottom: 18px; }

.entry-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 18px;
	justify-content: center;
	color: var(--muted);
	font-size: .9rem;
}

.entry-cover {
	max-width: 960px;
	margin: 0 auto 40px;
	border-radius: var(--r-lg);
	overflow: hidden;
	border: 1px solid var(--border);
}

/* Лента с напредъка на четенето */

.read-bar {
	position: fixed;
	top: 0;
	left: 0;
	height: 3px;
	width: 0;
	z-index: 60;
	background: linear-gradient(90deg, var(--gold), var(--violet));
	transition: width .1s linear;
}

/* Навигация между статии */

.post-nav {
	display: grid;
	gap: 16px;
	grid-template-columns: 1fr 1fr;
	max-width: 900px;
	margin: 56px auto 0;
}

.post-nav a {
	display: block;
	padding: 20px 22px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--r);
	color: var(--fg);
	transition: border-color var(--t), transform var(--t);
}

.post-nav a:hover { border-color: var(--gold); transform: translateY(-2px); color: var(--fg); }
.post-nav small { display: block; color: var(--muted); font-size: .8rem; margin-bottom: 5px; }
.post-nav b { font-family: Manrope, sans-serif; font-size: .98rem; font-weight: 700; }
.post-nav .is-next { text-align: right; }

@media (max-width: 640px) {
	.post-nav { grid-template-columns: 1fr; }
	.post-nav .is-next { text-align: left; }
}

/* Пагинация на списъка */

.pager-nav {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 44px;
}

.pager-nav .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding-inline: 12px;
	border: 1px solid var(--border);
	border-radius: var(--r-sm);
	background: var(--surface);
	color: var(--fg-2);
	font-weight: 600;
	transition: border-color var(--t), color var(--t);
}

.pager-nav .page-numbers:hover { border-color: var(--gold); color: var(--fg); }

.pager-nav .page-numbers.current {
	background: linear-gradient(145deg, var(--gold-2), var(--gold));
	border-color: transparent;
	color: #1a1205;
}

/* Съобщение при празен списък */

.empty-note {
	text-align: center;
	padding: 70px 20px;
	color: var(--muted);
}

/* ---------------------------------------------------------------------------
   Зона за вход в шапката

   Стои ИЗВЪН менюто: състоянието ѝ зависи от това дали човекът е влязъл, а
   менюто се управлява от админ панела. Затова и на телефон не се скрива
   заедно с връзките - входът трябва да е под ръка винаги.
   ------------------------------------------------------------------------ */

.nav-auth {
	display: flex;
	align-items: center;
	gap: 8px;
	flex: 0 0 auto;
}

.nav-auth__link {
	padding: 9px 14px;
	border-radius: var(--r-sm);
	color: var(--fg-2);
	font-size: .94rem;
	font-weight: 500;
	white-space: nowrap;
	transition: background var(--t), color var(--t);
}

.nav-auth__link:hover {
	background: rgba(255, 255, 255, .06);
	color: var(--fg);
}

/* Влязъл потребител: инициали и път към таблото. */

.nav-auth__user {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 6px 15px 6px 6px;
	border: 1px solid var(--border-hi);
	border-radius: 999px;
	background: rgba(255, 255, 255, .04);
	color: var(--fg);
	font-family: Manrope, InterSite, sans-serif;
	font-size: .9rem;
	font-weight: 700;
	white-space: nowrap;
	transition: border-color var(--t), background var(--t);
}

.nav-auth__user:hover {
	border-color: var(--gold);
	background: rgba(245, 165, 36, .1);
	color: var(--fg);
}

.nav-auth__avatar {
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	flex: 0 0 30px;
	border-radius: 50%;
	background: linear-gradient(145deg, var(--gold-2), var(--gold));
	color: #1a1205;
	font-size: .76rem;
	font-weight: 800;
	letter-spacing: .02em;
}

.btn--sm {
	min-height: 40px;
	padding: 0 18px;
	font-size: .9rem;
}

/* Менюто се отмества вляво, за да остане зоната за вход най-вдясно. */

.topbar__inner .nav { margin-left: auto; }

@media (max-width: 1000px) {
	.nav-auth__name { display: none; }
	.nav-auth__user { padding-right: 6px; }
}

@media (max-width: 820px) {
	/* Бургерът е последен в реда, входът остава до него. */
	.topbar__inner .nav { margin-left: 0; }
	.nav-auth { margin-left: auto; }
	.nav-auth__link { padding: 9px 10px; }
}

@media (max-width: 420px) {
	.nav-auth .btn--sm { display: none; }
}

/* ===========================================================================
   Вход, регистрация, смяна на парола

   Тези екрани идват от плъгина и носят класовете на Bootstrap, защото вътре
   в приложението живеят върху Boron. Тук Bootstrap го няма, затова нужните
   класове получават дом - но САМО вътре в `.fsh-auth-wrap`, за да не се
   превърне това в половин дизайн-система.
   ======================================================================== */

.fsh-auth-wrap {
	position: relative;
	display: grid;
	place-items: center;
	min-height: calc(100vh - 72px - 160px);
	padding-block: clamp(36px, 7vw, 72px);
	overflow: hidden;
}

.fsh-auth-wrap .wrap { width: 100%; }

/* Центриране без решетката на Bootstrap. */

.fsh-auth-wrap .row {
	display: flex;
	justify-content: center;
}

.fsh-auth-wrap [class*="col-"] {
	width: 100%;
	max-width: 440px;
}

/* Двете колони ---------------------------------------------------------

   Картата от 440 px стигаше за вход, но регистрацията има осем реда и
   бутонът „Създай профил" падаше под екрана. Сега картата е широка, вътре
   има две части, а полетата се нареждат по две на ред. Височината пада с
   около една трета и действието остава видимо без скрол.
   ===================================================================== */

.fsh-auth-wrap .fsh-auth__col {
	max-width: 980px;
}

.fsh-auth-wrap .fsh-auth__grid {
	display: grid;
	gap: clamp(24px, 3vw, 46px);
	align-items: start;
}

@media (min-width: 900px) {
	.fsh-auth-wrap .fsh-auth__grid {
		grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
	}

	/* Чертата стои само когато двете части наистина са една до друга. */
	.fsh-auth-wrap .fsh-auth__main {
		border-left: 1px solid var(--border);
		padding-left: clamp(24px, 3vw, 46px);
	}
}

.fsh-auth-wrap .fsh-auth__aside p {
	max-width: 36ch;
	margin-bottom: 18px;
}

.fsh-auth-wrap .fsh-auth__list {
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: .92rem;
	color: var(--fg-2);
}

.fsh-auth-wrap .fsh-auth__list li {
	position: relative;
	padding-left: 24px;
	margin-bottom: 10px;
	line-height: 1.45;
}

/* Отметка, нарисувана с рамка: без иконен шрифт и без картинка. */
.fsh-auth-wrap .fsh-auth__list li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: .42em;
	width: 11px;
	height: 6px;
	border-left: 2px solid var(--gold);
	border-bottom: 2px solid var(--gold);
	transform: rotate(-45deg);
}

/* Полетата по две на ред, когато има място. */
@media (min-width: 560px) {
	.fsh-auth-wrap .fsh-auth__fields {
		display: grid;
		grid-template-columns: 1fr 1fr;
		column-gap: 16px;
	}
}

/* По-плътен ритъм, за да се събере на екран от 900 px височина. */
.fsh-auth-wrap .fsh-auth__grid .mb-3 { margin-bottom: 14px; }
.fsh-auth-wrap .fsh-auth__meta { font-size: .88rem; }
.fsh-auth-wrap .fsh-auth__switch { margin-top: 18px; font-size: .92rem; }
.fsh-auth-wrap .fsh-oauth { margin-top: 16px; }
.fsh-auth-wrap .fsh-oauth__sep { margin-bottom: 12px; }

/* Разделителят „или".

   Мостът fsh-bridge.css НЕ се зарежда на тези страници: зависи от стила на
   таблото, който на публичен екран го няма, и WordPress мълчаливо пропуска
   файла. Затова разделителят е описан тук изцяло, а не само с цвят. */
.fsh-auth-wrap .fsh-oauth__sep {
	display: flex;
	align-items: center;
	gap: 14px;
	color: var(--muted);
	font-size: .82rem;
	text-transform: uppercase;
	letter-spacing: .08em;
}

.fsh-auth-wrap .fsh-oauth__sep::before,
.fsh-auth-wrap .fsh-oauth__sep::after {
	content: "";
	flex: 1 1 auto;
	height: 1px;
	background: var(--border);
}

.fsh-auth-wrap .fsh-oauth .googlesitekit-sign-in-with-google__frontend-output-button {
	display: flex;
	justify-content: center;
}

/* Картата */

.fsh-auth-wrap .card {
	background: linear-gradient(180deg, var(--card-hi) 0%, var(--bg-2) 100%);
	border: 1px solid var(--border-hi);
	border-radius: var(--r-xl);
	box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .95), var(--glow-gold);
}

.fsh-auth-wrap .card-body { padding: clamp(26px, 4vw, 38px); }
.fsh-auth-wrap .p-4 { padding: clamp(26px, 4vw, 38px); }

.fsh-auth-wrap h4 {
	font-size: clamp(1.35rem, 3vw, 1.65rem);
	margin-bottom: .4em;
}

.fsh-auth-wrap .text-muted { color: var(--muted); }
.fsh-auth-wrap .text-center { text-align: center; }
.fsh-auth-wrap .fw-semibold { font-weight: 600; }

/* Полета */

.fsh-auth-wrap .form-label {
	display: block;
	font-size: .88rem;
	font-weight: 600;
	color: var(--fg-2);
	margin-bottom: 8px;
}

.fsh-auth-wrap .form-control,
.fsh-auth-wrap select,
.fsh-auth-wrap input[type="text"],
.fsh-auth-wrap input[type="email"],
.fsh-auth-wrap input[type="password"] {
	width: 100%;
	background: var(--bg);
	border: 1px solid var(--border-hi);
	border-radius: var(--r-sm);
	color: var(--fg);
	font-family: inherit;
	font-size: 1rem;
	padding: 13px 15px;
	transition: border-color var(--t), box-shadow var(--t);
}

.fsh-auth-wrap .form-control:focus,
.fsh-auth-wrap input:focus,
.fsh-auth-wrap select:focus {
	outline: none;
	border-color: var(--gold);
	box-shadow: 0 0 0 3px rgba(245, 165, 36, .16);
}

/* Отметка */

.fsh-auth-wrap .form-check {
	display: flex;
	align-items: center;
	gap: 8px;
}

.fsh-auth-wrap .form-check-input {
	/* Явни размери: Bootstrap маха вградения вид и без тях квадратчето изчезва. */
	width: 1.05em;
	min-width: 1.05em;
	height: 1.05em;
	margin: 0;
	accent-color: var(--gold);
	cursor: pointer;
}

.fsh-auth-wrap .form-check-label {
	font-size: .92rem;
	color: var(--fg-2);
	cursor: pointer;
}

/* Бутон */

.fsh-auth-wrap .btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	padding: 0 24px;
	border: 1px solid transparent;
	border-radius: var(--r-sm);
	font-family: Manrope, InterSite, sans-serif;
	font-size: 1rem;
	font-weight: 700;
	cursor: pointer;
	transition: transform var(--t), box-shadow var(--t), background var(--t);
}

.fsh-auth-wrap .btn-primary {
	background: linear-gradient(145deg, var(--gold-2), var(--gold));
	color: #1a1205;
	box-shadow: 0 10px 30px -12px rgba(245, 165, 36, .75);
}

.fsh-auth-wrap .btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 16px 42px -12px rgba(245, 165, 36, .9);
}

.fsh-auth-wrap .d-grid { display: grid; }

.fsh-auth-wrap .d-flex { display: flex; }
.fsh-auth-wrap .justify-content-between { justify-content: space-between; }
.fsh-auth-wrap .justify-content-center { justify-content: center; }

/* Отстояния - само ползваните в тези четири екрана. */

.fsh-auth-wrap .mb-0 { margin-bottom: 0; }
.fsh-auth-wrap .mb-2 { margin-bottom: .5rem; }
.fsh-auth-wrap .mb-3 { margin-bottom: 1.15rem; }
.fsh-auth-wrap .mb-4 { margin-bottom: 1.6rem; }
.fsh-auth-wrap .mt-4 { margin-top: 1.6rem; }

/* Съобщения от плъгина */

.fsh-auth-wrap .fsh-msg,
.fsh-auth-wrap .fsh-notice {
	border: 1px solid var(--border);
	border-radius: var(--r-sm);
	padding: 12px 15px;
	margin-bottom: 18px;
	font-size: .94rem;
}

.fsh-auth-wrap .fsh-msg.is-ok,
.fsh-auth-wrap .alert-success {
	color: var(--emerald);
	background: rgba(52, 211, 153, .1);
	border-color: rgba(52, 211, 153, .3);
}

.fsh-auth-wrap .fsh-msg.is-error,
.fsh-auth-wrap .alert-danger {
	color: var(--rose);
	background: rgba(251, 113, 133, .1);
	border-color: rgba(251, 113, 133, .3);
}

.fsh-auth-wrap .fsh-notice {
	background: var(--surface);
	color: var(--fg-2);
	text-align: center;
}

/* Малки екрани */

@media (max-width: 480px) {
	.fsh-auth-wrap .d-flex.justify-content-between {
		flex-direction: column;
		gap: 12px;
		align-items: flex-start;
	}
}

/* ---------------------------------------------------------------------------
   Хоризонталното меню като бутони

   Същият вид като в таблото: рамка, фон, радиус. Един език и от двете страни
   на входа.
   ------------------------------------------------------------------------ */

.topbar__inner .nav a {
	display: inline-flex;
	align-items: center;
	min-height: 42px;
	padding: 0 16px;
	border: 1px solid var(--border);
	border-radius: var(--r-sm);
	background: rgba(255, 255, 255, .04);
	color: var(--fg-2);
	font-family: Manrope, InterSite, sans-serif;
	font-size: .94rem;
	font-weight: 600;
	line-height: 1;
	white-space: nowrap;
	transition: border-color var(--t), background var(--t), color var(--t);
}

.topbar__inner .nav a:hover {
	border-color: var(--gold);
	background: rgba(245, 165, 36, .1);
	color: var(--gold-2);
}

.topbar__inner .nav a[aria-current="page"] {
	border-color: rgba(245, 165, 36, .55);
	background: rgba(245, 165, 36, .12);
	color: var(--gold-2);
	font-weight: 700;
}

/* „Вход“ стои до тях - същият вид, за да не изпъква като чужд елемент. */

.nav-auth__link {
	min-height: 42px;
	display: inline-flex;
	align-items: center;
	border: 1px solid var(--border);
	background: rgba(255, 255, 255, .04);
	font-family: Manrope, InterSite, sans-serif;
	font-weight: 600;
	line-height: 1;
}

.nav-auth__link:hover {
	border-color: var(--gold);
	background: rgba(245, 165, 36, .1);
	color: var(--gold-2);
}

/* На телефон менюто пада вертикално - там бутоните заемат цялата ширина. */

@media (max-width: 820px) {
	.topbar__inner .nav { gap: 8px; }
	.topbar__inner .nav a { width: 100%; justify-content: center; min-height: 46px; }
}

/* ---------------------------------------------------------------- Съобщение
   след изпращане на контактната форма. Зелено при успех, кехлибарено при
   грешка - без червено, защото грешката тук е на посетителя, не авария. */

.form-note {
	margin: 0 0 18px;
	padding: 12px 14px;
	border: 1px solid transparent;
	border-radius: 12px;
	font-size: .92rem;
	line-height: 1.5;
}

.form-note--ok {
	border-color: rgba(52, 211, 153, .3);
	background: rgba(52, 211, 153, .1);
	color: var(--emerald);
}

.form-note--err {
	border-color: rgba(245, 165, 36, .32);
	background: rgba(245, 165, 36, .1);
	color: var(--gold-2);
}

/* ---------------------------------------------------------------- Изборът на
   норма вътре в калкулатора. Базовият .toggle е правен за двата бутона при
   цената: там е центриран и с голям отстъп отдолу. Тук трябва да заеме реда
   на полето и да не разкъсва картата. */

.toggle--3 {
	display: flex;
	width: 100%;
	margin-bottom: 8px;
}

.toggle--3 button {
	flex: 1 1 0;
	padding: 10px 6px;
	font-size: .9rem;
	text-align: center;
}

.calc__hint {
	margin: 0;
	color: var(--muted);
	font-size: .78rem;
	line-height: 1.45;
	min-height: 2.2em;
}

/* ---------------------------------------------------------------- Лентата за
   бисквитките. Стои долу вдясно, а не през цялата ширина: решението е дребно
   и не бива да затваря съдържанието, което човекът е дошъл да чете. Винаги е
   в разметката и се показва от скрипта - заради кеша на страницата. */

.cc {
	position: fixed;
	z-index: 90;
	inset-inline: 16px;
	bottom: 16px;
	margin-inline: auto;
	max-width: 640px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 18px;
	padding: 16px 18px;
	background: var(--bg-2);
	border: 1px solid var(--border-hi);
	border-radius: var(--r-lg, 16px);
	box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .95);
}

.cc[hidden] { display: none; }

.cc__text {
	flex: 1 1 280px;
	font-size: .88rem;
	line-height: 1.5;
	color: var(--fg-2);
}

.cc__text strong {
	display: block;
	color: var(--fg);
	font-family: Manrope, sans-serif;
	font-size: .95rem;
	margin-bottom: 3px;
}

.cc__btns {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	flex: 0 0 auto;
}

.cc__btns .btn { padding: 9px 16px; font-size: .88rem; }

@media (max-width: 560px) {
	.cc__btns { width: 100%; }
	.cc__btns .btn { flex: 1 1 0; justify-content: center; }
}

/* ---------------------------------------------------------------- Правните
   връзки в най-долния ред на подвала. */

.footer__legal {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 14px;
}

/* ---------------------------------------------------------------- Таблиците в
   правните страници стигат до пет колони. В колона от 72ch на телефон това
   иначе избутва цялата страница настрани. */

.article td code,
.article th code { overflow-wrap: anywhere; }

@media (max-width: 700px) {
	.article table { font-size: .82rem; }

	.article th,
	.article td { padding: 7px 8px; }
}

/* Вход и регистрация: свит подвал ------------------------------------- */

/*
 * Формата се събира в екрана, но подвалът с четирите колони добавя още
 * 400 px и връща скрола. Тук остава само долният ред с правните връзки:
 * те трябва да са на един клик от мястото, където човек приема условията.
 */

.fsht-auth .footer__grid { display: none; }

.fsht-auth .footer {
	padding-block: 18px;
	margin-top: 0;
}

.fsht-auth .footer__bottom {
	border-top: 0;
	padding-top: 0;
	margin-top: 0;
}

/* Отметката за условията: текстът е на два реда, кутийката стои на първия. */
.fsh-auth-wrap .form-check:has(#fsh-reg-terms) {
	align-items: flex-start;
}

.fsh-auth-wrap #fsh-reg-terms {
	margin-top: .22em;
}

/*
 * Последните сто пиксела. Шапката е 72 px, свитият подвал около 62 px -
 * обвивката взима точно останалото и страницата се събира в екрана.
 * `svh` е заради адресната лента на телефона, която мени `vh` при скрол.
 */
.fsht-auth .fsh-auth-wrap {
	min-height: calc(100svh - 72px - 62px);
	padding-block: clamp(20px, 3vw, 40px);
}

/*
 * Нисък екран, например лаптоп 1366x768. Същата подредба, по-стегнат ритъм:
 * по-малко разстояние между полетата, по-тясна карта отвътре, по-малко
 * заглавие. Така формата пак се събира, без да се мести нищо.
 */
@media (max-height: 820px) {
	.fsht-auth .fsh-auth-wrap { padding-block: 14px; }

	.fsht-auth .fsh-auth-wrap .card-body,
	.fsht-auth .fsh-auth-wrap .p-4 { padding: clamp(18px, 2.2vw, 26px); }

	.fsht-auth .fsh-auth-wrap h4 { font-size: 1.28rem; }
	.fsht-auth .fsh-auth-wrap .fsh-auth__aside p { margin-bottom: 12px; }
	.fsht-auth .fsh-auth-wrap .fsh-auth__list li { margin-bottom: 7px; }
	.fsht-auth .fsh-auth-wrap .fsh-auth__grid .mb-3 { margin-bottom: 10px; }
	.fsht-auth .fsh-auth-wrap .fsh-auth__switch { margin-top: 12px; }
	.fsht-auth .fsh-auth-wrap .fsh-oauth { margin-top: 12px; }
	.fsht-auth .fsh-auth-wrap .fsh-oauth__sep { margin-bottom: 8px; }
}
