/*
Theme Name: Rankadora
Theme URI: https://wordpress.org/
Author: Доротея Петкова
Description: Темата на Rankadora — уеб разработка и SEO. Смела, цветна и двуезична (БГ/EN) — огромна типография, стикери, бягаща лента и игриви детайли. Включва тип съдържание „Проекти“ с категории и филтър, секции „Услуги“ и „За мен“, работеща контактна форма и примерно съдържание с един клик. Всичко се настройва от Външен вид → Персонализиране.
Version: 17.3.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: portfolio-bg
Tags: portfolio, one-column, custom-colors, custom-logo, custom-menu, featured-images, responsive-layout
*/

/* ---------- Основа ---------- */
:root {
	--blue: #1438ff;
	--blue-deep: #0a26d6;
	--accent: #c6ff1a;
	--on-accent: #0a0f3d;
	--accent-text: #1438ff;
	--danger: #e5383b;
	--orange: #ff7a1a;
	--green: #17a55a;
	--yellow: #34e6ff;
	--ink: #0a0f3d;
	--ink-2: #444a72;
	--cream: #f5f7ff;
	--cream-2: #e2e7ff;
	--white: #ffffff;
	--line: var(--ink);
	--radius: 26px;
	--radius-sm: 14px;
	--pop: 6px 6px 0 var(--ink);
	--font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-head: "Oswald", "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
	--font-hand: "Caveat", "Comic Relief", "Segoe Print", cursive;
	--wrap: 1240px;
	--header-h: 96px;
}

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

html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
	margin: 0;
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.65;
	color: var(--ink);
	background: var(--cream);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

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

a { color: inherit; text-decoration-color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-text); }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1; font-weight: 700; text-transform: uppercase; letter-spacing: -0.01em; margin: 0 0 0.5em; }

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

.sr-only, .screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 16px; color: #fff; }

.container { width: min(100% - 40px, var(--wrap)); margin-inline: auto; position: relative; }
.container-narrow { width: min(100% - 40px, 760px); }
.container-wide { width: min(100% - 40px, 1320px); }
.center { text-align: center; }

/* ---------- Бутони ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 16px 30px; border-radius: 999px; border: 3px solid var(--ink);
	background: var(--accent); color: var(--on-accent); font: 800 16px/1 var(--font);
	text-decoration: none; cursor: pointer; box-shadow: 4px 4px 0 var(--ink);
	transition: transform .15s ease, box-shadow .15s ease, background .2s ease;
}
.btn:hover { color: #fff; transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn-cream { background: var(--cream); color: var(--ink); }
.btn-cream:hover { color: var(--ink); background: var(--yellow); }
.btn-outline-light { background: transparent; color: #fff; border-color: #fff; box-shadow: none; }
.btn-outline-light:hover { background: #fff; color: var(--blue); box-shadow: none; }
.btn-block { width: 100%; }

/* ---------- Хедър (плаващо хапче) ---------- */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); padding: 16px 20px; pointer-events: none; }
.admin-bar .site-header { top: 32px; }
.header-pill {
	pointer-events: auto;
	max-width: 1400px; margin-inline: auto; height: 100%;
	display: flex; align-items: center; justify-content: space-between; gap: 24px;
	padding: 0 14px 0 36px; border-radius: 999px; background: #fff;
	transition: box-shadow .3s ease;
}
.site-header.is-scrolled .header-pill { box-shadow: 0 12px 30px -12px rgba(10, 15, 61, .35); }

.brand-name { font: 700 30px/1 var(--font-head); text-transform: uppercase; letter-spacing: -0.01em; color: var(--blue); text-decoration: none; }
.brand-name:hover { color: var(--blue); }
.custom-logo { max-height: 44px; width: auto; }
.brand-hl { display: inline-block; margin-left: 2px; padding: 2px 8px 1px; border-radius: 8px; background: var(--accent); color: var(--on-accent); transform: rotate(-4deg); transition: transform .25s ease; }
.brand-name:hover .brand-hl { transform: rotate(3deg) scale(1.06); }

.site-nav { display: flex; align-items: center; gap: 36px; flex: 1; justify-content: flex-end; }
.site-nav ul { list-style: none; display: flex; gap: 26px; margin: 0 auto; padding: 0; }
.site-nav ul a { text-decoration: none; font-weight: 800; font-size: 16px; color: var(--blue); white-space: nowrap; }
.site-nav ul a:hover, .site-nav .current-menu-item > a { color: var(--accent-text); }
.header-cta { white-space: nowrap; padding: 13px 24px; border-radius: 999px; font-weight: 800; color: var(--on-accent); background: var(--accent); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.header-cta:hover { color: var(--on-accent); transform: translateY(-2px); box-shadow: 0 4px 0 var(--ink); }

.nav-toggle { display: none; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--blue); cursor: pointer; padding: 14px; }
.nav-toggle .bar { position: absolute; left: 14px; right: 14px; top: 50%; height: 2px; margin-top: -1px; background: #fff; transition: transform .25s ease; }
.nav-toggle .bar:first-of-type { transform: translateY(-4px); }
.nav-toggle .bar:last-of-type { transform: translateY(4px); }
.nav-open .nav-toggle .bar:first-of-type { transform: rotate(45deg); }
.nav-open .nav-toggle .bar:last-of-type { transform: rotate(-45deg); }

/* ---------- Точков фон ---------- */
.hero-dots {
	position: absolute; inset: 0; pointer-events: none;
	background-image: radial-gradient(rgba(255, 255, 255, .22) 1.3px, transparent 1.8px);
	background-size: 13px 13px;
	-webkit-mask-image: radial-gradient(ellipse 55% 60% at 62% 45%, #000 0%, transparent 70%);
	mask-image: radial-gradient(ellipse 55% 60% at 62% 45%, #000 0%, transparent 70%);
}

/* ---------- Начален екран ---------- */
.hero {
	position: relative; overflow: hidden;
	margin-top: calc(-1 * var(--header-h));
	padding: calc(var(--header-h) + clamp(40px, 6vw, 80px)) 0 clamp(48px, 6vw, 80px);
	background: var(--blue); color: #fff;
}

.hero-title {
	position: relative; margin: 0;
	font-size: clamp(56px, 9.2vw, 152px); line-height: .88; letter-spacing: -0.015em;
	color: #fff;
}
.hero-title .line { display: block; width: max-content; max-width: none; white-space: nowrap; }
.hero-title .line-3 { padding-left: 17%; }
.hero-title .line-4 { padding-left: 34%; }

/* Стикери с назъбен ръб */
.sticker {
	--c: var(--accent);
	position: absolute; z-index: 2;
	padding: .5em 1.05em .45em; border-radius: 999px; background: var(--c);
	font: 700 clamp(14px, 1.45vw, 21px)/1 var(--font-head); text-transform: uppercase; letter-spacing: .01em; color: var(--ink);
	white-space: nowrap; transform: rotate(var(--r, -4deg));
	box-shadow: 0 6px 0 rgba(10, 15, 61, .18);
	animation: bob 5s ease-in-out infinite;
}
.hero-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; margin: 0 0 clamp(22px, 3vw, 36px) 6px; }
.hero-tags .sticker { position: relative; }
.sticker-1 { --c: var(--accent); --r: -5deg; }
.sticker-2 { --c: var(--orange); --r: 4deg; animation-delay: -1.5s; }
.sticker-3 { --c: var(--yellow); --r: -2deg; color: var(--ink); animation-delay: -3s; }
@keyframes bob { 50% { transform: rotate(var(--r, -4deg)) translateY(-6px); } }

.spark { position: absolute; width: clamp(22px, 2.4vw, 34px); top: 42%; right: 16%; color: #fff; animation: spin 9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero-bottom { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 500px); gap: clamp(32px, 5vw, 80px); align-items: end; margin-top: clamp(36px, 4vw, 56px); }

.hero-copy { max-width: 560px; align-self: start; }
.status { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 7px 14px 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .14); font-weight: 700; font-size: 15px; }
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(198, 255, 26, .35); }
.hero-intro { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; font-weight: 600; margin: 0 0 28px; color: #fff; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Симулация на Google */
.serp-mock { --row: 68px; --gap: 10px; margin: 0; padding: 18px; border-radius: 26px; background: #fff; color: var(--ink); border: 3px solid var(--ink); box-shadow: 12px 12px 0 var(--ink); }
.serp-mock-bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; margin-bottom: 16px; border-radius: 999px; border: 2px solid var(--cream-2); font-size: 15px; }
.serp-mock-g { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--blue); color: #fff; font: 700 15px/1 var(--font); }
.serp-mock-query { flex: 1; font-weight: 600; }
.serp-mock-icon { width: 20px; height: 20px; color: var(--blue); }
.serp-mock-list { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: var(--gap); }
.serp-row { display: flex; align-items: center; gap: 14px; height: var(--row); padding: 0 14px; border-radius: 16px; background: var(--cream); }
.serp-rank { flex: 0 0 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: #fff; font: 700 18px/1 var(--font-head); color: var(--ink-2); overflow: hidden; }
.serp-lines { display: grid; gap: 7px; flex: 1; min-width: 0; }
.skel { display: block; height: 9px; border-radius: 6px; background: var(--cream-2); }
.skel-s { width: 38%; }
.skel-l { width: 86%; height: 12px; }
.serp-row--you { position: relative; z-index: 2; background: var(--yellow); border: 2px solid var(--ink); }
.serp-row--you .serp-rank { position: relative; background: var(--accent); color: var(--on-accent); }
.serp-rank-from, .serp-rank-to { grid-area: 1 / 1; }
.serp-rank-from { opacity: 0; }
.serp-url { font-size: 13px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.serp-title { font-weight: 800; font-size: 16px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.serp-mock-cap { margin: 16px 4px 2px; font-size: 14px; color: var(--ink-2); }

/* Живо търсене: JS добавя .is-ready → изписва заявката → .is-loaded → .is-climb → .is-won */
.serp-row { transition: transform 1.3s cubic-bezier(.65, 0, .2, 1); }
.serp-mock-list { transition: opacity .4s ease; }
.serp-rank-from, .serp-rank-to { transition: opacity .3s ease, transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.serp-mock.is-ready .serp-mock-list { opacity: 0; }
.serp-mock.is-ready.is-loaded .serp-mock-list { opacity: 1; }
.serp-mock.is-ready:not(.is-climb) .serp-row--you { transform: translateY(calc(3 * (var(--row) + var(--gap)))); }
.serp-mock.is-ready:not(.is-climb) .serp-row--other { transform: translateY(calc(-1 * (var(--row) + var(--gap)))); }
.serp-mock.is-ready:not(.is-won) .serp-rank-from { opacity: 1; }
.serp-mock.is-ready:not(.is-won) .serp-rank-to { opacity: 0; transform: translateY(100%); }
.serp-mock.is-won .serp-row--you .serp-rank { animation: rank-pop .5s ease both; }
.serp-mock-query::after { content: ""; display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; vertical-align: -3px; background: var(--blue); opacity: 0; }
.serp-mock.is-typing .serp-mock-query::after { opacity: 1; animation: caret .8s steps(1) infinite; }
.serp-up { position: absolute; right: -14px; top: -16px; padding: 6px 12px; border-radius: 10px; border: 2px solid var(--ink); background: var(--accent); color: var(--on-accent); font: 700 15px/1 var(--font-head); transform: rotate(6deg) scale(0); transition: transform .45s cubic-bezier(.3, 1.6, .5, 1); white-space: nowrap; }
.serp-mock.is-won .serp-up, .serp-mock:not(.is-ready) .serp-up { transform: rotate(6deg) scale(1); }
.serp-mock.is-ready:not(.is-loaded) .serp-mock-list .skel { animation: none; }
.serp-mock.is-loaded:not(.is-climb) .skel { background: linear-gradient(90deg, var(--cream-2), #fff, var(--cream-2)); background-size: 200% 100%; animation: shimmer 1s linear infinite; }
@keyframes caret { 50% { opacity: 0; } }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes rank-pop { 50% { transform: scale(1.25) rotate(-8deg); } }

/* Декоративни форми и талисман */
.hero-shape { position: absolute; z-index: 0; pointer-events: none; border-radius: 50%; }
.hero-shape--pink { width: clamp(160px, 18vw, 260px); aspect-ratio: 1; left: calc(-1 * clamp(80px, 9vw, 130px)); bottom: clamp(-130px, -9vw, -80px); background: var(--orange); }
.hero-shape--arc { width: clamp(240px, 30vw, 440px); aspect-ratio: 1; right: calc(-1 * clamp(90px, 10vw, 150px)); bottom: calc(-1 * clamp(120px, 15vw, 220px)); border: clamp(36px, 4.5vw, 64px) solid var(--accent); }
.hero-inner { position: relative; z-index: 1; }
.serp-mock { position: relative; }
.bee { position: absolute; z-index: 4; right: -48px; top: -196px; width: clamp(180px, 17vw, 250px); pointer-events: none; }
.bee svg { display: block; width: 100%; height: auto; overflow: visible; }
.bee-trail { fill: none; stroke: #fff; stroke-width: 3; stroke-dasharray: 2 10; stroke-linecap: round; opacity: .85; }
@media (prefers-reduced-motion: no-preference) {
	.bee-body { animation: bee-float 3.2s ease-in-out infinite; transform-origin: 50% 50%; }
	.bee-wing { animation: bee-wing .18s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: 50% 100%; }
}
@keyframes bee-float { 50% { transform: translate(-4px, -8px) rotate(-3deg); } }
@keyframes bee-wing { to { transform: scaleY(.82) rotate(-6deg); } }

/* ---------- Бягаща лента ---------- */
.marquee { position: relative; z-index: 3; margin: -22px -20px 0; padding: 18px 0; background: var(--yellow); border-block: 3px solid var(--ink); transform: rotate(-1.6deg); overflow: hidden; }
.marquee-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee ul { list-style: none; display: flex; margin: 0; padding: 0; }
.marquee li { display: flex; align-items: center; font: 700 clamp(22px, 2.6vw, 34px)/1 var(--font-head); text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.marquee li::after { content: "✺"; margin: 0 28px; color: var(--accent); font-size: .8em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Секции ---------- */
.section { position: relative; padding: clamp(72px, 10vw, 130px) 0; }
.section-tight { padding-top: 24px; }
.section-blue { background: var(--blue); color: #fff; overflow: hidden; }
.section-blue .section-title { color: #fff; }
.section-title { font-size: clamp(48px, 7.6vw, 112px); line-height: .9; color: var(--ink); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 24px; margin-bottom: 48px; }
.section-head .section-title { margin: 0; }
.hl { display: inline-block; padding: 0 .12em; background: var(--accent); color: var(--on-accent); border-radius: .12em; transform: rotate(-2deg); }
.hl-yellow { background: var(--yellow); color: var(--ink); }
.lead { font-size: clamp(18px, 1.6vw, 21px); max-width: 620px; }
.eyebrow { margin: 0 0 14px; font: 700 16px/1.3 var(--font); color: var(--accent-text); }

/* ---------- Филтри ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.section-head .filters { margin-top: 0; }
.filter {
	padding: 10px 20px; border-radius: 999px; border: 2px solid var(--ink);
	background: transparent; font: 800 14px/1.2 var(--font); color: var(--ink);
	cursor: pointer; text-decoration: none; transition: all .15s ease;
}
.filter:hover { background: var(--yellow); color: var(--ink); }
.filter.is-active { background: var(--ink); color: #fff; }

/* ---------- Карти с проекти ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(262px, 1fr)); gap: 34px; margin-bottom: 56px; }
.card[hidden] { display: none; }
.card-link {
	display: block; height: 100%; text-decoration: none; color: inherit;
	background: var(--white); border: 3px solid var(--ink); border-radius: var(--radius);
	overflow: hidden; box-shadow: var(--pop);
	transition: transform .2s ease, box-shadow .2s ease;
}
.card-link:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--ink); color: inherit; }
.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-bottom: 3px solid var(--ink); background: var(--cream-2); }
.card-media img, .card-placeholder { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.card-link:hover .card-media img { transform: scale(1.04); }
.card-placeholder { display: grid; place-items: center; background-color: var(--blue); background-image: radial-gradient(rgba(255, 255, 255, .25) 1.3px, transparent 1.8px); background-size: 12px 12px; }
.card-placeholder span { font: 700 130px/1 var(--font-head); color: #fff; }
.tone-red { background-color: var(--accent); }
.tone-green { background-color: var(--orange); }
.tone-yellow { background-color: var(--yellow); background-image: radial-gradient(rgba(10, 15, 61, .12) 1.3px, transparent 1.8px); }
.tone-yellow span { color: var(--ink); }
.card-arrow {
	position: absolute; top: 16px; right: 16px; width: 52px; height: 52px;
	display: grid; place-items: center; border-radius: 50%; border: 3px solid var(--ink);
	background: var(--cream); color: var(--ink); font-size: 22px; font-weight: 800;
	transform: rotate(-45deg) scale(.8); opacity: 0; transition: all .25s ease;
}
.card-link:hover .card-arrow { opacity: 1; transform: none; }
.card-body { padding: 22px 24px 26px; }
.card-cat { display: inline-block; margin: 0 0 12px; padding: 5px 12px; border-radius: 999px; background: var(--cream); border: 2px solid var(--ink); font: 700 13px/1 var(--font); }
.card-title { font-size: 27px; line-height: 1.02; margin: 0 0 10px; }
.card-excerpt { margin: 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.55; }

.empty { text-align: center; padding: 64px 24px; border: 3px dashed var(--ink); border-radius: var(--radius); }

/* ---------- Услуги ---------- */
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 48px; position: relative; }
.service {
	padding: 34px 32px 38px; border-radius: var(--radius); border: 3px solid var(--ink);
	background: var(--cream); color: var(--ink); box-shadow: var(--pop);
	transition: transform .25s ease;
}
.service { background: #fff; }
.service:hover { transform: translateY(-4px); }
.service { display: grid; grid-template-columns: 64px 1fr; column-gap: 24px; align-content: start; }
.service > :not(.service-icon) { grid-column: 2; }
.service-icon { grid-row: span 2; display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 0; border-radius: 18px; border: 3px solid var(--ink); background: var(--accent); color: var(--on-accent); box-shadow: 3px 3px 0 var(--ink); }
.service-icon svg { width: 34px; height: 34px; }
.service:nth-child(4n+2) .service-icon { background: var(--yellow); color: var(--ink); }
.service:nth-child(4n+3) .service-icon { background: var(--orange); color: var(--ink); }
.service:nth-child(4n+4) .service-icon { background: var(--blue); }
.service-num { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; border: 3px solid currentColor; font: 700 20px/1 var(--font-head); margin-bottom: 48px; }
.service h3 { font-size: clamp(26px, 2.4vw, 34px); margin: 6px 0 10px; }
.service p { margin: 0; color: var(--ink-2); line-height: 1.55; }

/* ---------- За мен ---------- */
.about { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.about-text p { font-size: 19px; color: var(--ink-2); }
.stats { display: grid; gap: 18px; }
.stat {
	display: flex; align-items: center; gap: 20px; padding: 22px 28px;
	border-radius: var(--radius); border: 3px solid var(--ink); background: var(--white); box-shadow: var(--pop);
}

.stat strong { font: 700 clamp(48px, 5vw, 68px)/1 var(--font-head); color: var(--blue); min-width: 2.4ch; }
.stat-2 strong { color: var(--accent-text); }
.stat-3 strong { color: #b85600; }
.stat span { font-weight: 800; font-size: 17px; }

/* ---------- Контакт ---------- */
.contact { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact-title { font-size: clamp(56px, 8.4vw, 128px); }
.section-blue .lead { color: rgba(255, 255, 255, .9); font-weight: 600; }
.contact-list { list-style: none; padding: 0; margin: 36px 0; display: grid; gap: 18px; }
.contact-list li { display: grid; gap: 2px; font-size: 20px; font-weight: 800; }
.contact-list span { font: 700 14px/1 var(--font); color: rgba(255,255,255,.7); }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--yellow); }

.contact-form {
	position: relative; display: grid; gap: 18px; padding: clamp(26px, 4vw, 40px);
	border-radius: var(--radius); background: var(--cream); color: var(--ink);
	border: 3px solid var(--ink); box-shadow: 10px 10px 0 var(--ink);
}
.contact-form label { display: grid; gap: 8px; font: 700 15px/1 var(--font); }
.contact-form input, .contact-form textarea {
	width: 100%; padding: 14px 16px; border-radius: var(--radius-sm);
	border: 2px solid var(--ink); background: #fff; color: var(--ink);
	font: 16px/1.5 var(--font); transition: box-shadow .15s ease;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; box-shadow: 4px 4px 0 var(--accent); }
.hp { position: absolute !important; left: -9999px; }
.form-msg { margin: 0; padding: 14px 18px; border-radius: var(--radius-sm); font-weight: 700; border: 2px solid var(--ink); }
.form-msg--ok { background: var(--green); color: #fff; }
.form-msg--err { background: var(--danger); color: #fff; }

/* ---------- Социални ---------- */
.social { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.social a { display: inline-block; padding: 9px 18px; border-radius: 999px; border: 2px solid currentColor; text-decoration: none; font-weight: 800; font-size: 14px; }
.social a:hover { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }

/* ---------- Вътрешни страници ---------- */
.page-hero {
	position: relative; overflow: hidden;
	margin-top: calc(-1 * var(--header-h));
	padding: calc(var(--header-h) + clamp(48px, 6vw, 88px)) 0 clamp(48px, 6vw, 80px);
	background: var(--blue); color: #fff;
}
.page-hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .18) 1.3px, transparent 1.8px); background-size: 13px 13px; -webkit-mask-image: radial-gradient(ellipse 50% 70% at 75% 40%, #000, transparent 70%); mask-image: radial-gradient(ellipse 50% 70% at 75% 40%, #000, transparent 70%); }
.page-hero .eyebrow { color: var(--yellow); }
.page-hero .lead { color: rgba(255, 255, 255, .9); }
.page-hero .filter { border-color: #fff; color: #fff; }
.page-hero .filter:hover { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.page-hero .filter.is-active { background: var(--cream); border-color: var(--cream); color: var(--ink); }
.page-title { font-size: clamp(52px, 8vw, 124px); line-height: .9; color: #fff; margin-bottom: .28em; }
.back { display: inline-block; margin-bottom: 28px; font-weight: 800; text-decoration: none; }
.back:hover { color: var(--yellow); }

.project-meta { display: flex; flex-wrap: wrap; gap: 16px 48px; margin: 36px 0 0; padding-top: 28px; border-top: 2px solid rgba(255, 255, 255, .35); }
.project-meta dt { font: 700 14px/1 var(--font); color: var(--yellow); }
.project-meta dd { margin: 6px 0 0; font-weight: 800; font-size: 18px; }
.project-meta a:hover { color: var(--yellow); }

.project-cover { margin-top: clamp(40px, 6vw, 72px); margin-bottom: clamp(40px, 6vw, 72px); }
.project-cover img { width: 100%; border-radius: var(--radius); border: 3px solid var(--ink); box-shadow: 10px 10px 0 var(--ink); }

.entry-content { font-size: 18px; padding-top: 48px; padding-bottom: 64px; }
.project-cover + .entry-content { padding-top: 0; }
.entry-content > * + * { margin-top: 1.2em; }
.entry-content h2 { font-size: clamp(34px, 4vw, 48px); margin-top: 1.6em; }
.entry-content h3 { font-size: 28px; margin-top: 1.5em; }
.entry-content img, .entry-content figure img { border-radius: var(--radius-sm); }
.entry-content .alignwide { width: min(100vw - 40px, 1100px); margin-left: 50%; transform: translateX(-50%); }
.entry-content .alignfull { width: 100vw; margin-left: 50%; transform: translateX(-50%); }
.entry-content blockquote { margin-left: 0; padding: 20px 26px; border-radius: var(--radius-sm); background: var(--yellow); border: 3px solid var(--ink); font-size: 21px; font-weight: 700; }
.entry-content pre { background: var(--ink); color: #fff; padding: 20px; border-radius: var(--radius-sm); overflow: auto; }
.wp-block-image figcaption, .wp-caption-text { font-size: 14px; color: var(--ink-2); text-align: center; }

.project-nav { display: flex; justify-content: space-between; gap: 24px; padding: 32px 0 72px; border-top: 3px solid var(--ink); }
.project-nav a { font: 700 22px/1.1 var(--font-head); text-transform: uppercase; text-decoration: none; }
.project-nav div:last-child { text-align: right; }
.cta .btn { margin-top: 16px; }

/* Блог */
.post-list { display: grid; gap: 24px; }
.post-item a { display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: center; padding: 20px; border-radius: var(--radius); background: #fff; border: 3px solid var(--ink); box-shadow: var(--pop); text-decoration: none; color: inherit; transition: transform .2s ease; }
.post-item a:hover { transform: translate(-3px, -3px); color: inherit; }
.post-item a:not(:has(.post-thumb)) { grid-template-columns: 1fr; }
.post-thumb img { border-radius: var(--radius-sm); aspect-ratio: 4/3; object-fit: cover; }

.pagination .nav-links { display: flex; justify-content: center; gap: 8px; }
.pagination .page-numbers { display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 12px; border-radius: 999px; border: 2px solid var(--ink); text-decoration: none; font-weight: 800; }
.pagination .page-numbers.current { background: var(--ink); color: #fff; }

/* Коментари и форми */
.comments { padding-bottom: 72px; }
.comment-list { padding-left: 0; list-style: none; }
.comment-body { padding: 20px; background: #fff; border: 2px solid var(--ink); border-radius: var(--radius-sm); margin-bottom: 16px; }
.comment-form input:not([type="submit"]):not([type="checkbox"]), .comment-form textarea, .search-form input[type="search"] {
	width: 100%; padding: 12px 14px; border: 2px solid var(--ink); border-radius: var(--radius-sm); font: 16px var(--font); background: #fff;
}
.search-form { display: flex; gap: 8px; max-width: 420px; margin: 20px auto 0; }
.search-submit { padding: 12px 20px; border-radius: 999px; border: 0; background: var(--ink); color: #fff; font-weight: 800; cursor: pointer; }

.notfound { min-height: 70vh; display: grid; place-items: center; }
.notfound .page-title { color: var(--ink); }
.notfound-code { font: 700 clamp(140px, 24vw, 280px)/.9 var(--font-head); color: var(--accent); margin: 0; }

/* ---------- Футър ---------- */
.site-footer { background: var(--ink); color: var(--cream); padding: 56px 0 32px; overflow: hidden; }
.footer-big { display: flex; flex-wrap: nowrap; }
.footer-big .ltr { display: inline-block; transition: transform .35s cubic-bezier(.3, 1.6, .5, 1), color .2s ease; }
.footer-big .ltr:hover { transform: translateY(-14%) rotate(calc((var(--i) - 4) * 3deg)); color: var(--yellow); }
.footer-big .brand-hl .ltr:hover { color: var(--ink); }
.footer-big .brand-hl { display: inline-flex; }
.footer-big .brand-hl { padding: 0 .08em; border-radius: .08em; margin-left: .02em; }
.footer-big { margin: 0 0 32px; font: 700 clamp(56px, 12vw, 200px)/.82 var(--font-head); text-transform: uppercase; letter-spacing: -0.02em; color: var(--blue); white-space: nowrap; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding-top: 24px; border-top: 2px solid rgba(248, 243, 230, .2); font-size: 15px; }
.footer-copy { margin: 0; opacity: .8; }
.footer-menu { list-style: none; display: flex; gap: 20px; margin: 0; padding: 0; }
.footer-menu a { text-decoration: none; }
.to-top { font-weight: 800; text-decoration: none; }
.to-top:hover { color: var(--yellow); }

/* ---------- Нови фонове ---------- */
.section-cream2 { background: var(--cream-2); }
.section-ink { background: var(--ink); color: var(--cream); }
.section-ink .section-title { color: #fff; }
.section-blue .eyebrow, .section-ink .eyebrow { color: var(--accent); }
.section-ink .lead { color: rgba(248, 243, 230, .8); }

/* ---------- Прогрес и подсказка ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 5px; z-index: 100; background: var(--yellow); transform: scaleX(0); transform-origin: 0 50%; }
.sticker[data-drag] { cursor: grab; touch-action: none; user-select: none; }
.sticker.is-dragging { cursor: grabbing; animation-play-state: paused; z-index: 5; box-shadow: 0 16px 30px -10px rgba(0, 0, 0, .4); }
.drag-hint { margin: 14px 0 0; font: 600 14px/1 var(--font); color: rgba(255, 255, 255, .65); transition: opacity .4s ease; }
.drag-hint.is-done { opacity: 0; }

/* ---------- Резултат и карта „следващ проект“ ---------- */
.card-result { position: absolute; left: 16px; bottom: 16px; padding: 8px 14px; border-radius: 10px; border: 2px solid var(--ink); background: var(--yellow); color: var(--ink); font: 700 16px/1 var(--font-head); transform: rotate(-3deg); box-shadow: 3px 3px 0 var(--ink); }
.card-next .card-link { background: transparent; border-style: dashed; box-shadow: none; display: flex; }
.card-next .card-link:hover { background: var(--accent); box-shadow: var(--pop); }
.card-next-inner { display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 36px 30px; min-height: 100%; }
.card-next-plus { display: grid; place-items: center; width: 72px; height: 72px; margin-bottom: 18px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font: 700 46px/1 var(--font-head); border: 3px solid var(--ink); transition: transform .4s ease; }
.card-next .card-link:hover .card-next-plus { transform: rotate(90deg); }
.card-next-eyebrow { margin: 0; font: 700 14px/1 var(--font); color: var(--accent-text); }
.card-next .card-title { font-size: 34px; }
.card-next-cta { margin-top: 14px; font-weight: 800; }

/* ---------- SEO проверка ---------- */
.seo-check { max-width: 980px; margin-inline: auto; text-align: center; }
.seo-check .lead { margin-inline: auto; }
.seo-form {
	display: flex; align-items: center; gap: 8px; max-width: 680px; margin: 36px auto 0;
	padding: 8px; border-radius: 999px; background: #fff; border: 3px solid var(--ink); box-shadow: var(--pop);
}
.seo-form-prefix { padding-left: 18px; font-weight: 700; color: var(--ink-2); opacity: .6; }
.seo-form input { flex: 1; min-width: 0; padding: 14px 4px; border: 0; background: transparent; font: 700 18px var(--font); color: var(--ink); }
.seo-form input:focus { outline: none; }
.seo-form .btn { box-shadow: none; padding: 16px 28px; }
.seo-form .btn:disabled { opacity: .6; cursor: wait; }
.seo-note { margin: 14px 0 0; font-size: 14px; color: var(--ink-2); }
.seo-error { margin: 18px auto 0; max-width: 560px; padding: 12px 18px; border-radius: var(--radius-sm); background: var(--danger); color: #fff; font-weight: 700; border: 2px solid var(--ink); }
.seo-loading { margin-top: 36px; }
.seo-scan { position: relative; height: 14px; max-width: 420px; margin: 0 auto 14px; border-radius: 999px; border: 2px solid var(--ink); background: #fff; overflow: hidden; }
.seo-scan span { position: absolute; inset: 0 auto 0 0; width: 40%; border-radius: 999px; background: var(--blue); animation: scan 1.2s ease-in-out infinite alternate; }
@keyframes scan { to { left: 60%; } }
.seo-loading-text { margin: 0; font-weight: 700; }

.seo-result { display: grid; grid-template-columns: auto 1fr; gap: 28px 40px; align-items: center; margin-top: 48px; padding: clamp(24px, 4vw, 44px); border-radius: var(--radius); border: 3px solid var(--ink); background: #fff; box-shadow: 10px 10px 0 var(--ink); text-align: left; }
.seo-score { position: relative; width: 170px; }
.seo-score svg { width: 100%; transform: rotate(-90deg); }
.seo-score circle { fill: none; stroke-width: 12; }
.seo-score-bg { stroke: var(--cream-2); }
.seo-score-bar { stroke: var(--green); stroke-linecap: round; }
.tone-warn .seo-score-bar { stroke: #e9a628; }
.tone-bad .seo-score-bar { stroke: var(--danger); }
.seo-score-num { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.seo-score-num strong { font: 700 56px/1 var(--font-head); }
.seo-score-num span { font-weight: 700; color: var(--ink-2); font-size: 14px; }
.seo-site { margin: 0 0 4px; font-size: 14px; font-weight: 700; color: var(--ink-2); word-break: break-all; }
.seo-verdict { font-size: clamp(26px, 3vw, 38px); margin-bottom: 12px; }
.seo-counts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.seo-counts span { padding: 6px 12px; border-radius: 999px; font-weight: 800; font-size: 14px; border: 2px solid var(--ink); }
.seo-counts .is-good { background: #d8f2dc; }
.seo-counts .is-warn { background: #fdeec2; }
.seo-counts .is-bad { background: #fbd5cb; }
.seo-checks { grid-column: 1 / -1; width: 100%; text-align: left; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.seo-item { display: flex; gap: 14px; padding: 16px; border-radius: var(--radius-sm); background: var(--cream); border: 2px solid var(--ink); animation: pop-in .45s cubic-bezier(.2, .9, .3, 1.3) both; }
.seo-item strong { display: block; font-weight: 800; margin-bottom: 2px; }
.seo-item p { margin: 0; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
.seo-icon { flex: 0 0 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; font-weight: 800; color: #fff; border: 2px solid var(--ink); }
.seo-item.is-good .seo-icon { background: var(--green); }
.seo-item.is-warn .seo-icon { background: #e9a628; }
.seo-item.is-bad .seo-icon { background: var(--danger); }
@keyframes pop-in { from { opacity: 0; transform: translateY(12px) scale(.96); } }

/* ---------- Процес ---------- */
.process { margin-top: 48px; }
.process-tabs { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; }
.process-line { position: absolute; left: 28px; right: 28px; top: 27px; height: 4px; background: var(--cream-2); z-index: 0; border-radius: 4px; }
.process-line span { display: block; height: 100%; background: var(--ink); transform-origin: 0 50%; transition: transform .5s ease; border-radius: 4px; }
.process-tab { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 0; border: 0; background: none; cursor: pointer; text-align: left; color: var(--ink); }
.process-num { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; border: 3px solid var(--ink); background: var(--cream); font: 700 24px/1 var(--font-head); transition: all .25s ease; }
.process-tab:hover .process-num { background: var(--yellow); }
.process-tab.is-done .process-num { background: var(--ink); color: #fff; }
.process-tab.is-active .process-num { background: var(--accent); color: var(--on-accent); transform: scale(1.12) rotate(-6deg); box-shadow: 3px 3px 0 var(--ink); }
.process-name { font: 700 18px/1.1 var(--font-head); text-transform: uppercase; }
.process-panel { display: flex; align-items: center; gap: clamp(20px, 4vw, 48px); margin-top: 40px; padding: clamp(26px, 4vw, 44px); border-radius: var(--radius); border: 3px solid var(--ink); background: var(--yellow); box-shadow: var(--pop); animation: pop-in .4s ease both; }
.process-panel[hidden] { display: none; }
.process-big { font: 700 clamp(80px, 11vw, 150px)/.8 var(--font-head); color: var(--ink); }
.process-panel h3 { font-size: clamp(30px, 3.4vw, 44px); margin-bottom: 8px; }
.process-panel p { margin: 0; font-size: 19px; font-weight: 600; max-width: 640px; }

/* ---------- Преглед в Google ---------- */
.serp-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.serp-tool { padding: clamp(22px, 3vw, 32px); border-radius: var(--radius); background: var(--cream); color: var(--ink); border: 3px solid var(--cream); box-shadow: 10px 10px 0 var(--blue); }
.serp-device { display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 16px; border-radius: 999px; background: var(--cream-2); }
.serp-device button { padding: 8px 16px; border: 0; border-radius: 999px; background: none; font: 800 13px var(--font); cursor: pointer; color: var(--ink-2); }
.serp-device .is-active { background: var(--ink); color: #fff; }
.serp-preview { padding: 20px 22px; margin-bottom: 20px; border-radius: 14px; background: #fff; font-family: Arial, sans-serif; border: 1px solid #dadce0; transition: max-width .3s ease; max-width: 640px; }
.serp-preview.is-mobile { max-width: 380px; }
.serp-site { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.serp-favicon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 13px; font-weight: 700; }
.serp-site span:last-child { display: grid; line-height: 1.3; }
.serp-name { font-size: 14px; color: #202124; font-weight: 400; }
.serp-url { font-size: 12px; color: #4d5156; }
.serp-title { margin: 0 0 4px; font-size: 20px; line-height: 1.3; color: #1a0dab; }
.serp-preview.is-mobile .serp-title { font-size: 18px; }
.serp-desc { margin: 0; font-size: 14px; line-height: 1.58; color: #4d5156; }
.serp-field { position: relative; display: grid; gap: 6px; margin-top: 14px; font: 700 14px/1 var(--font); }
.serp-field input, .serp-field textarea { width: 100%; padding: 12px 14px; border-radius: var(--radius-sm); border: 2px solid var(--ink); font: 15px/1.5 var(--font); background: #fff; resize: vertical; }
.serp-count { position: absolute; right: 0; top: 0; font: 800 13px var(--font); letter-spacing: 0; }
.serp-count.is-good { color: var(--green); }
.serp-count.is-warn { color: #c98b10; }
.serp-count.is-bad { color: var(--danger); }
.serp-meter { height: 6px; border-radius: 6px; background: var(--cream-2); overflow: hidden; }
.serp-meter span { display: block; height: 100%; transition: width .2s ease, background .2s ease; }
.serp-meter .is-good { background: var(--green); }
.serp-meter .is-warn { background: #e9a628; }
.serp-meter .is-bad { background: var(--danger); }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq { display: grid; gap: 14px; }
.faq-item { border-radius: var(--radius-sm); border: 3px solid var(--ink); background: #fff; box-shadow: 4px 4px 0 var(--ink); transition: background .2s ease; }
.faq-item[open] { background: var(--yellow); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; cursor: pointer; list-style: none; font-weight: 800; font-size: 18px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { position: relative; flex: 0 0 32px; height: 32px; border-radius: 50%; background: var(--ink); transition: transform .3s ease; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 9px; right: 9px; top: 14px; height: 3px; background: #fff; border-radius: 2px; }
.faq-icon::after { transform: rotate(90deg); transition: transform .3s ease; }
.faq-item[open] .faq-icon { transform: rotate(180deg); background: var(--accent); }
.faq-item[open] .faq-icon::after { transform: rotate(0); }
.faq-body { padding: 0 24px 22px; }
.faq-body p { margin: 0; font-size: 17px; }

/* ---------- Форма: избор с чипове ---------- */
.chips-field { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips-field legend { width: 100%; margin-bottom: 10px; font: 700 15px/1 var(--font); }
.contact-form .chip-toggle { display: inline-block; font: 700 14px/1 var(--font); letter-spacing: 0; text-transform: none; cursor: pointer; }
.chip-toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip-toggle span { display: inline-block; padding: 10px 16px; border-radius: 999px; border: 2px solid var(--ink); background: #fff; transition: all .15s ease; }
.chip-toggle:hover span { background: var(--yellow); }
.chip-toggle input:checked + span { background: var(--ink); color: #fff; transform: rotate(-2deg); }
.chip-toggle input:checked + span::before { content: "✓ "; }
.chip-toggle input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.about-photo { width: 120px; margin-bottom: 24px; transform: rotate(-4deg); }
.about-photo img { border-radius: 50%; border: 4px solid var(--ink); aspect-ratio: 1; object-fit: cover; box-shadow: 4px 4px 0 var(--accent); }

/* ---------- Езици ---------- */
.lang-switch { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--cream-2); }
.lang-switch a { padding: 7px 12px; border-radius: 999px; font: 800 13px/1 var(--font); text-decoration: none; color: var(--ink-2); }
.lang-switch a:hover { color: var(--accent-text); }
.lang-switch a.is-current { background: var(--blue); color: #fff; }

/* ---------- Лента „Имате проект“ ---------- */
.cta-band { padding: clamp(56px, 7vw, 96px) 0; }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta-inner .section-title { margin: 0; font-size: clamp(44px, 6.4vw, 96px); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.marquee-flat { transform: none; margin: 0; }
.meta-result { display: inline-block; padding: 4px 10px; border-radius: 8px; background: var(--yellow); color: var(--ink); transform: rotate(-2deg); }
.page-hero + .section-blue { padding-top: 8px; }
.page-hero .lead { margin-bottom: 0; }

/* ---------- Анимации ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	html { scroll-behavior: auto; }
}

/* ---------- Мини браузър в картите ---------- */
.card-placeholder { display: grid; place-items: end center; padding: 28px 28px 0; background-image: none; }
.mini-browser { width: 100%; height: 88%; border-radius: 14px 14px 0 0; background: #fff; border: 3px solid var(--ink); border-bottom: 0; overflow: hidden; transition: transform .4s cubic-bezier(.2, .7, .2, 1); }
.card-link:hover .mini-browser { transform: translateY(-6px); }
.mini-bar { display: flex; align-items: center; gap: 5px; height: 22px; padding: 0 10px; background: var(--cream-2); border-bottom: 2px solid var(--ink); }
.mini-bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink); opacity: .35; }
.mini-bar span { flex: 1; height: 8px; margin-left: 8px; border-radius: 4px; background: #fff; }
.mini-page { display: grid; gap: 7px; padding: 14px; }
.mini-page > span { display: block; height: 8px; border-radius: 4px; background: var(--cream-2); }
.mini-page .mini-h { height: 14px; width: 70%; background: var(--ink); }
.mini-page .mini-p { width: 90%; }
.mini-page .mini-p--short { width: 55%; }
.mini-page .mini-btn { width: 30%; height: 16px; margin-top: 4px; border-radius: 999px; background: var(--accent); }
.mini-grid { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 6px; height: auto !important; background: none !important; margin-top: 6px; }
.mini-grid i { height: 34px; border-radius: 6px; background: var(--cream-2); }
.tone-red .mini-btn, .tone-yellow .mini-btn { background: var(--blue); }
.tone-blue .mini-h { background: var(--blue); }

/* ---------- Визитка в „За мен“ ---------- */
.about-side { display: grid; gap: 18px; }
.id-card { position: relative; display: flex; align-items: center; gap: 18px; padding: 22px; border-radius: var(--radius); background: var(--blue); color: #fff; border: 3px solid var(--ink); box-shadow: var(--pop); overflow: hidden; }
.id-photo { flex: 0 0 84px; height: 84px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--yellow); color: var(--ink); border: 3px solid var(--ink); font: 700 40px/1 var(--font-head); }
.id-photo img { width: 100%; height: 100%; object-fit: cover; }
.id-text { display: grid; gap: 2px; }
.id-text strong { font: 700 24px/1.1 var(--font-head); }
.id-text span { font-weight: 600; opacity: .9; }
.id-loc { font-size: 14px; }
.id-brand { position: absolute; right: -6px; bottom: -22px; font: 700 54px/1 var(--font-head); text-transform: uppercase; opacity: .1; white-space: nowrap; pointer-events: none; }
.id-brand .brand-hl { background: none; padding: 0; margin: 0; transform: none; }

/* ---------- Преди и след (проект) ---------- */
.ba { margin-top: clamp(48px, 6vw, 72px); margin-bottom: clamp(48px, 6vw, 72px); }
.ba h2 { font-size: clamp(36px, 4.4vw, 56px); margin-bottom: 24px; }
.ba-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.ba-item { padding: 24px 26px; border-radius: var(--radius); border: 3px solid var(--ink); background: #fff; box-shadow: var(--pop); }
.ba-label { margin: 0 0 14px; font-weight: 800; color: var(--ink-2); }
.ba-values { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.ba-before { font: 700 34px/1 var(--font-head); color: var(--ink-2); opacity: .55; text-decoration: line-through; text-decoration-thickness: 3px; }
.ba-arrow { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 800; }
.ba-after { padding: 4px 14px; border-radius: 12px; border: 3px solid var(--ink); background: var(--yellow); font: 700 46px/1 var(--font-head); transform: rotate(-3deg); }

/* ---------- 404 като Google ---------- */
.nf { min-height: 72vh; display: grid; align-items: center; padding: clamp(40px, 6vw, 80px) 0; }
.nf-card { max-width: 760px; margin: 0 auto; padding: clamp(22px, 4vw, 40px); border-radius: 30px; border: 3px solid var(--ink); background: #fff; box-shadow: 12px 12px 0 var(--ink); }
.nf-bar { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-radius: 999px; border: 2px solid var(--cream-2); font-weight: 600; overflow: hidden; }
.nf-bar span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nf-meta { margin: 14px 4px 28px; font-size: 14px; color: var(--ink-2); }
.nf-code { font: 700 clamp(110px, 20vw, 220px)/.85 var(--font-head); color: var(--blue); margin: 0; }
.nf-code span { display: inline-block; padding: 0 .08em; border-radius: .1em; background: var(--accent); color: var(--on-accent); transform: rotate(-6deg); }
.nf h1 { font-size: clamp(34px, 4.6vw, 56px); margin: 18px 0 10px; }
.nf p.lead { color: var(--ink-2); margin: 0 0 26px; }
.nf .hero-actions .btn-outline { background: #fff; color: var(--ink); }

/* =========================================================
   Разчупен стил: колаж, контури, наклони, кръстосани ленти
   ========================================================= */

/* Зърнеста текстура като печатна хартия */
body::after {
	content: ""; position: fixed; inset: 0; z-index: 200; pointer-events: none; opacity: .07; mix-blend-mode: multiply;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Заглавие: средният ред само с контур, редовете разместени */
.hero-title .line-2 { color: transparent; -webkit-text-stroke: clamp(2px, .28vw, 4px) #fff; paint-order: stroke; }
.hero-title .line-1 { margin-left: -.04em; }
.hero-title .line-2 { padding-left: 6%; }
.hero-title .line-3 { padding-left: 22%; }
@supports not (-webkit-text-stroke: 2px #fff) { .hero-title .line-2 { color: #fff; } }

/* Ръкописна бележка до бутона */
.hero-actions { position: relative; margin-bottom: 56px; }
.scribble { position: absolute; left: 120px; top: calc(100% + 2px); display: flex; flex-direction: row-reverse; align-items: flex-start; gap: 4px; color: var(--accent); transform: rotate(-4deg); pointer-events: none; }
.scribble-text { font: 700 30px/1 var(--font-hand); white-space: nowrap; }
.scribble svg { width: 58px; height: 40px; transform: scaleY(-1); }
.scribble-text { margin-top: 16px; }

/* Картата с Google — леко наклонена, като залепена */
.serp-mock { transform: rotate(1.6deg); }

/* Две кръстосани ленти */
.marquee-x { position: relative; z-index: 3; height: clamp(120px, 12vw, 170px); margin-top: -40px; }
.marquee-x .marquee { position: absolute; left: -20px; right: -20px; margin: 0; top: 50%; }
.marquee-x .marquee:first-child { transform: translateY(-50%) rotate(-3deg); z-index: 2; }
.marquee-x .marquee--back { transform: translateY(-50%) rotate(2.4deg); background: var(--accent); }
.marquee--back .marquee-track { animation-direction: reverse; animation-duration: 38s; }
.marquee--back li::after { color: var(--ink); }
.marquee-x--flat { height: auto; margin-top: 0; }
.marquee-x--flat .marquee { position: relative; left: 0; right: 0; transform: none; }

/* Скосени ръбове на цветните секции */
.section-blue:not(.page-hero + .section-blue) { clip-path: polygon(0 3.2vw, 100% 0, 100% calc(100% - 3.2vw), 0 100%); padding-top: calc(clamp(72px, 10vw, 130px) + 3vw); padding-bottom: calc(clamp(72px, 10vw, 130px) + 3vw); }
.cta-band.section-blue { clip-path: polygon(0 0, 100% 3.2vw, 100% 100%, 0 100%); }

/* SEO проверка — асиметрично: заглавие вляво, формата вдясно */
.seo-check { max-width: none; text-align: left; }
.seo-top { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: end; }
.seo-check .lead { margin-inline: 0; }
.seo-check .section-title { margin-bottom: .2em; }
.seo-side { padding-bottom: 8px; }
.seo-form { margin: 0; transform: rotate(-1.2deg); }
.seo-note { margin-left: 12px; }
.seo-check--compact .seo-top { grid-template-columns: minmax(0, 640px); }
.seo-result { transform: rotate(-.6deg); }

/* Проекти — разместени, наклонени, различни ъгли */
.grid { align-items: start; }
.grid .card:nth-child(4n+1) { transform: rotate(-1.4deg); }
.grid .card:nth-child(4n+2) { transform: rotate(1.1deg) translateY(48px); }
.grid .card:nth-child(4n+3) { transform: rotate(-.6deg) translateY(16px); }
.grid .card:nth-child(4n+4) { transform: rotate(1.8deg) translateY(70px); }
.grid .card:nth-child(4n+1) .card-link { border-radius: 28px 6px 28px 28px; }
.grid .card:nth-child(4n+2) .card-link { border-radius: 6px 28px 28px 28px; }
.grid .card:nth-child(4n+3) .card-link { border-radius: 28px 28px 6px 28px; }
.grid { margin-bottom: 110px; }

/* Услуги — редакционен списък вместо карти */
.svc-list { list-style: none; margin: 40px 0 0; padding: 0; border-top: 3px solid rgba(255, 255, 255, .9); }
.svc { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1.1fr) minmax(0, 1fr); gap: 12px clamp(20px, 3vw, 48px); align-items: center; padding: clamp(22px, 2.6vw, 34px) 0; border-bottom: 3px solid rgba(255, 255, 255, .9); color: #fff; isolation: isolate; }
.svc::before { content: ""; position: absolute; inset: 0 -24px; z-index: -1; background: var(--accent); transform: scaleY(0); transform-origin: 50% 100%; transition: transform .35s cubic-bezier(.2, .7, .2, 1); border-radius: 18px; }
.svc:hover::before { transform: scaleY(1); }
.svc:hover { color: var(--on-accent); }
.svc:nth-child(even) { padding-left: clamp(0px, 6vw, 96px); }
.svc .service-icon { grid-row: auto; margin: 0; }
.svc-title { margin: 0; font-size: clamp(32px, 4.4vw, 64px); line-height: .95; }
.svc-text { margin: 0; font-size: 17px; line-height: 1.55; opacity: .92; max-width: 38ch; }

/* Визитка — закачена с тиксо */
.id-card { transform: rotate(-2.5deg); overflow: visible; }
.id-card .id-brand { display: none; }
.tape { position: absolute; top: -16px; left: 50%; width: 110px; height: 30px; margin-left: -55px; background: rgba(255, 255, 255, .55); border: 1px dashed rgba(10, 15, 61, .25); transform: rotate(4deg); backdrop-filter: blur(1px); }
.stats .stat:nth-child(2) { margin-left: 28px; }
.stats .stat:nth-child(3) { margin-left: 8px; transform: rotate(1deg); }

/* Процес — панелът е леко наклонен */
.process-panel { transform: rotate(-.8deg); }

/* Голямото заглавие в лентата „Имате проект“ */
.cta-inner .section-title { font-size: clamp(54px, 8vw, 128px); }

/* ---------- Адаптивност ---------- */
@media (max-width: 960px) {
	.about, .contact, .serp-wrap, .faq-wrap { grid-template-columns: 1fr; }
	.process-tabs { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(3, 1fr); row-gap: 20px; }
	.process-line { display: none; }
	.seo-result { grid-template-columns: 1fr; justify-items: center; text-align: center; }
	.seo-counts { justify-content: center; }
	.contact-form { transform: none; }
}

@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
}

@media (max-width: 1360px) {
	.site-nav, .site-nav ul { gap: 18px; }
	.header-pill { padding-left: 28px; }
	.header-cta { padding: 12px 14px; }
}

@media (max-width: 1180px) {
	:root { --header-h: 84px; }
	.site-header { padding: 12px; }
	.header-pill { padding: 0 8px 0 24px; }
	.brand-name { font-size: 26px; }
	.nav-toggle { display: block; position: relative; z-index: 60; }
	.site-nav {
		position: fixed; top: calc(var(--header-h) + 4px); left: 12px; right: 12px;
		flex-direction: column; align-items: stretch; gap: 16px;
		padding: 24px; border-radius: var(--radius); background: var(--cream);
		border: 3px solid var(--ink); box-shadow: var(--pop);
		opacity: 0; visibility: hidden; transform: translateY(-10px); transition: all .25s ease;
	}
	.admin-bar .site-nav { top: calc(var(--header-h) + 50px); }
	.nav-open .site-nav { opacity: 1; visibility: visible; transform: none; }
	.site-nav ul { flex-direction: column; gap: 0; margin: 0; }
	.site-nav ul a { display: block; padding: 10px 0; font: 700 34px/1 var(--font-head); text-transform: uppercase; }
	.header-cta { text-align: center; background: var(--accent); color: var(--on-accent); padding: 16px; border: 3px solid var(--ink); }
	.lang-switch { align-self: flex-start; }
}

@media (max-width: 900px) {
	.hero-title { font-size: clamp(52px, 15.5vw, 120px); }
	.hero-title .line-3 { padding-left: 8%; }
	.sticker { font-size: 15px; }
	.hero-tags { gap: 14px 18px; }
	.spark { top: -36px; right: 4%; }
	.hero-bottom { grid-template-columns: 1fr; margin-top: 36px; }
	.bee { width: 120px; right: -6px; top: -92px; }
	.serp-mock { margin-top: 64px; }
	.bee-trail { display: none; }
	.hero-shape--arc { opacity: .9; }
	.services { grid-template-columns: 1fr; }
	.serp-mock { --row: 60px; box-shadow: 8px 8px 0 var(--ink); }
	.hero-photo { margin-left: 0; }
	.grid { grid-template-columns: 1fr; }
	.post-item a { grid-template-columns: 1fr; }
	.stat:nth-child(2) { margin-left: 0; }
}

@media (max-width: 480px) {
	body { font-size: 16px; }
	.form-row { grid-template-columns: 1fr; }
	.seo-form { flex-wrap: wrap; border-radius: var(--radius); }
	.seo-form-prefix { display: none; }
	.seo-form input { padding: 12px; }
	.seo-form .btn { width: 100%; }
	.process-tabs { grid-template-columns: repeat(2, 1fr); }
	.process-panel { flex-direction: column; align-items: flex-start; }
	.services { grid-template-columns: 1fr; }
	.service { grid-template-columns: 52px 1fr; column-gap: 16px; padding: 26px 22px; }
	.service-icon { width: 52px; height: 52px; border-radius: 14px; }
	.service-icon svg { width: 28px; height: 28px; }
	.card-next .card-title { font-size: 28px; }
	.hero-actions .btn { flex: 1 1 100%; }
	.service h3 { font-size: 30px; }
	.card-title { font-size: 24px; }
}

@media (min-width: 1181px) {
	.serp-mock { margin-top: -150px; position: relative; z-index: 3; }
}

@media (max-width: 900px) {
	.seo-top { grid-template-columns: 1fr; }
	.svc { grid-template-columns: 52px 1fr; }
	.svc-text { grid-column: 2; }
	.svc:nth-child(even) { padding-left: 0; }
	.grid .card:nth-child(n) { transform: none; }
	.grid .card:nth-child(even) { transform: rotate(1deg); }
	.grid .card:nth-child(odd) { transform: rotate(-1deg); }
	.grid { margin-bottom: 48px; }
	.scribble { display: none; }
	.hero-actions { margin-bottom: 0; }
	.scribble-text { font-size: 24px; }
	.stats .stat:nth-child(2) { margin-left: 0; }
	.hero-title .line-2 { padding-left: 0; }
	.hero-title .line-3 { padding-left: 10%; }
}

/* ---------- Rankadora refresh: editorial, bold, more dimensional ---------- */
:root {
	--blue: #1837ed;
	--blue-deep: #101fba;
	--accent: #c9ff24;
	--orange: #ff784f;
	--yellow: #55e5ef;
	--cream: #f7f5ef;
	--cream-2: #e8e5dc;
	--ink: #11152f;
	--ink-2: #555a70;
	--line: rgba(17, 21, 47, .16);
	--radius: 30px;
	--pop: 7px 7px 0 var(--ink);
}
body { background: var(--cream); }
::selection { background: var(--accent); color: var(--ink); }
.site-header { padding-top: 18px; }
.header-pill { border: 1px solid rgba(17,21,47,.08); box-shadow: 0 8px 30px rgba(10,15,61,.08); }
.site-header.is-scrolled .header-pill { box-shadow: 0 14px 38px rgba(10,15,61,.16); }
.site-nav ul a { transition: color .2s ease, transform .2s ease; }
.site-nav ul a:hover { transform: translateY(-2px); }
.header-cta { box-shadow: 0 4px 0 var(--ink); }
.header-cta:hover { transform: translateY(-3px) rotate(-1deg); }
.hero { background: radial-gradient(ellipse at 82% 18%, rgba(85,229,239,.22), transparent 28%), radial-gradient(ellipse at 8% 88%, rgba(201,255,36,.16), transparent 30%), linear-gradient(132deg, #1837ed 0%, #142bd7 58%, #101fba 100%); }
.hero::before { content: "RANKADORA"; position: absolute; right: -2vw; top: 18%; font: 900 clamp(100px, 19vw, 280px)/.8 var(--font-head); letter-spacing: -.06em; color: rgba(255,255,255,.035); transform: rotate(-90deg) translateX(12%); transform-origin: right top; pointer-events: none; }
.hero-title { letter-spacing: -.045em; }
.hero-title .line-2 { -webkit-text-stroke-width: clamp(1.5px, .2vw, 3px); }
.hero-tags { gap: 13px 18px; }
.sticker { box-shadow: 0 5px 0 rgba(10,15,61,.24); }
.sticker-2 { --c: var(--orange); }
.sticker-3 { --c: var(--yellow); }
.hero-intro { max-width: 31em; }
.hero-actions .btn:first-child { background: var(--accent); }
.hero-actions .btn-outline-light { border-width: 2px; }
.serp-mock { border: 2px solid var(--ink); box-shadow: 10px 10px 0 rgba(10,15,61,.9); border-radius: 30px 30px 22px 30px; }
.serp-row { transition: transform .25s ease, background .25s ease; }
.serp-row:first-child { background: var(--yellow); }
.serp-mock:hover .serp-row:first-child { transform: translateX(5px); }
.marquee { border-color: var(--ink); }
.marquee:first-child { background: var(--orange); }
.marquee--back { background: var(--accent); }
.section { isolation: isolate; }
.section:not(.section-blue) { background-color: var(--cream); }
.section-title { letter-spacing: -.035em; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: 12px; }
.hl { box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.section-head { align-items: end; }
.section-blue { background: radial-gradient(circle at 90% 15%, rgba(85,229,239,.16), transparent 26%), linear-gradient(140deg, #1837ed, #101fba); }
.section-blue::after { content: "✳"; position: absolute; z-index: -1; right: 4%; bottom: 4%; font-size: clamp(100px, 17vw, 240px); line-height: 1; color: rgba(255,255,255,.07); transform: rotate(14deg); }
.btn { transition: transform .22s cubic-bezier(.2,.8,.2,1), box-shadow .22s ease, background .2s ease; }
.btn:hover { transform: translate(-3px,-3px) rotate(-1deg); box-shadow: 8px 8px 0 var(--ink); }
.grid { column-gap: clamp(20px, 3vw, 38px); row-gap: 34px; }
.grid .card { transition: transform .3s ease, filter .3s ease; }
.grid .card:hover { transform: translateY(-9px) rotate(0deg) !important; filter: drop-shadow(0 12px 12px rgba(17,21,47,.12)); }
.grid .card .card-link { border-width: 2px; }
.card-title { letter-spacing: -.025em; }
.svc-list { border-top-width: 1px; }
.svc { border-bottom-width: 1px; }
.svc::before { border-radius: 4px 22px 4px 22px; }
.svc:hover { padding-inline: 22px; transition: padding .25s ease, color .25s ease; }
.svc-title { letter-spacing: -.035em; }
.service-icon { transition: transform .25s ease; }
.service:hover .service-icon, .svc:hover .service-icon { transform: rotate(-9deg) scale(1.08); }
.id-card, .process-panel, .seo-form, .seo-result { border-radius: 24px; }
.id-card { box-shadow: 10px 10px 0 var(--ink); }
.process-panel { box-shadow: 8px 8px 0 var(--ink); }
.seo-form { box-shadow: 8px 8px 0 var(--ink); }
.cta-band { position: relative; }
.cta-inner .section-title { letter-spacing: -.045em; }
a, button { -webkit-tap-highlight-color: transparent; }
@media (prefers-reduced-motion: no-preference) {
	.hero-title .line { animation: title-arrive .7s both cubic-bezier(.2,.8,.2,1); }
	.hero-title .line-2 { animation-delay: .08s; }
	.hero-title .line-3 { animation-delay: .16s; }
	@keyframes title-arrive { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
}
@media (max-width: 900px) {
	.hero::before { display: none; }
	.hero { background: radial-gradient(ellipse at 90% 8%, rgba(85,229,239,.18), transparent 32%), linear-gradient(145deg, #1837ed, #101fba); }
	.section-blue:not(.page-hero + .section-blue) { clip-path: none; }
	.svc:hover { padding-inline: 0; }
}
@media (max-width: 600px) {
	.site-header { padding-inline: 8px; }
	.header-pill { padding-left: 18px; }
	.hero { padding-bottom: 62px; }
	.hero-title { letter-spacing: -.055em; }
	.hero-tags { gap: 10px; }
	.sticker { padding: .48em .85em; }
	.serp-mock { transform: rotate(.5deg); padding: 12px; }
	.section { padding-block: 68px; }
}

/* =========================================================
   Конверсии: доверие, пакети, гаранции, отзиви, лепкав бутон
   ========================================================= */

/* Гаранции под бутоните в началния екран */
.trust { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 22px 0 0; padding: 0; font-weight: 700; font-size: 15px; color: rgba(255, 255, 255, .92); }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 18px; height: 18px; color: var(--accent); flex: 0 0 auto; }
.hero-actions { margin-bottom: 0; }
.hero-actions + .trust { margin-top: 22px; }

/* Следващи стъпки в контакта */
.next-steps { list-style: none; counter-reset: step; margin: 30px 0; padding: 0; display: grid; gap: 14px; }
.next-steps li { counter-increment: step; position: relative; display: grid; gap: 2px; padding-left: 52px; }
.next-steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--on-accent); font: 700 18px/1 var(--font-head); }
.next-steps strong { font-size: 18px; color: #fff; }
.next-steps span { color: rgba(255, 255, 255, .82); font-size: 15px; }
.quick-contact { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 26px; }
.optional { font-weight: 500; opacity: .7; }
.form-micro { margin: 2px 0 0; font-size: 13px; line-height: 1.45; color: var(--ink-2); text-align: center; }
.contact-form textarea::placeholder, .seo-lead input::placeholder { color: #8a8fa6; }

/* Имейл захват след SEO проверката */
.seo-lead { margin: 6px 0 0; padding: 16px; border-radius: 18px; background: var(--cream); border: 2px solid var(--ink); max-width: 560px; }
.seo-lead-title { margin: 0 0 10px; font-weight: 800; }
.seo-lead-row { display: flex; gap: 8px; flex-wrap: wrap; }
.seo-lead-row input { flex: 1 1 220px; min-width: 0; padding: 13px 14px; border-radius: 12px; border: 2px solid var(--ink); font: 16px var(--font); background: #fff; }
.seo-lead-row .btn { padding: 14px 20px; box-shadow: 3px 3px 0 var(--ink); }
.seo-lead .form-micro { text-align: left; margin-top: 8px; }
.seo-or { display: inline-block; margin-top: 12px; font-weight: 700; font-size: 15px; }

/* Пакети */
.packages { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 26px; align-items: stretch; }
.package { position: relative; display: flex; flex-direction: column; padding: 30px 28px 28px; border-radius: 26px; background: #fff; border: 2px solid var(--ink); box-shadow: var(--pop); }
.package--featured { background: var(--ink); color: #fff; transform: translateY(-10px) rotate(-.6deg); box-shadow: 10px 10px 0 var(--accent); }
.package-badge { position: absolute; top: -16px; right: 22px; padding: 7px 14px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font: 700 15px/1 var(--font-head); text-transform: uppercase; transform: rotate(4deg); border: 2px solid var(--ink); }
.package-name { font-size: clamp(32px, 3.2vw, 44px); margin: 0 0 6px; }
.package-for { margin: 0 0 18px; color: var(--ink-2); font-weight: 600; }
.package--featured .package-for { color: rgba(255, 255, 255, .78); }
.package-price { margin: 0 0 20px; font: 700 clamp(30px, 3vw, 40px)/1 var(--font-head); }
.package-from { font: 600 16px var(--font); opacity: .7; }
.package-quote { font: 800 18px/1.2 var(--font); padding: 6px 12px; border-radius: 10px; background: var(--cream-2); color: var(--ink); display: inline-block; }
.package--featured .package-quote { background: rgba(255, 255, 255, .14); color: #fff; }
.package-list { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 10px; flex: 1; }
.package-list li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.4; }
.package-list svg { width: 18px; height: 18px; flex: 0 0 18px; margin-top: 2px; color: var(--blue); }
.package--featured .package-list svg { color: var(--accent); }
.package--featured .btn { box-shadow: 4px 4px 0 var(--accent); }
.packages-note { margin: 30px 0 0; font-weight: 600; color: var(--ink-2); max-width: 60ch; }

/* Гаранции */
.guarantees { list-style: none; margin: 34px 0 0; padding: 22px 26px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px 28px; border-radius: 20px; background: var(--cream-2); font-weight: 700; }
.guarantees li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.4; }
.guarantee-dot { flex: 0 0 12px; height: 12px; margin-top: 5px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(24, 55, 237, .18); }

/* Отзиви */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 26px; margin-top: 40px; }
.quote { margin: 0; padding: 28px; border-radius: 24px; background: #fff; border: 2px solid var(--ink); box-shadow: var(--pop); }
.quote blockquote { margin: 0 0 18px; }
.quote blockquote p { margin: 0; font-size: 19px; font-weight: 600; line-height: 1.5; }
.quote blockquote p::before { content: "„"; } .quote blockquote p::after { content: "“"; }
.quote figcaption { display: grid; gap: 2px; }
.quote figcaption span { color: var(--ink-2); font-size: 15px; }

/* Лепкав бутон — само на телефон */
.sticky-cta { display: none; }
@media (max-width: 900px) {
	.sticky-cta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90; display: flex; gap: 10px; padding: 8px; border-radius: 999px; background: #fff; border: 2px solid var(--ink); box-shadow: 0 10px 30px rgba(10, 15, 61, .25); transform: translateY(140%); transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
	.sticky-cta.is-on { transform: none; }
	.sticky-cta[hidden] { display: none; }
	.sticky-cta .btn { padding: 14px 18px; box-shadow: none; }
	.sticky-call { flex: 0 0 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--blue); color: #fff; }
	.sticky-call svg { width: 22px; height: 22px; }
	.site-footer { padding-bottom: 96px; }
	.package--featured { transform: none; }
	.hero-actions { margin-bottom: 0; }
	.hero-actions + .trust { margin-top: 20px; }
}
@media (prefers-reduced-motion: reduce) { .sticky-cta { transition: none; } }

/* Основният бутон винаги е най-видим; двата бутона в един ред на компютър */
.hero-copy { max-width: 660px; }
.hero-actions .btn-cream { background: var(--accent); color: var(--on-accent); }
.hero-actions .btn { padding-inline: 26px; }

/* =========================================================
   Финална палитра: електриково синьо + лайм + мастило + хладно бяло
   (пише се последна, за да е единственият източник на цветове)
   ========================================================= */
:root {
	--blue: #2140ff;
	--blue-deep: #1229c9;
	--accent: #c8ff2e;
	--on-accent: #0b1230;
	--accent-text: #1a35e6;
	--accent-soft: #ecffbf;
	--orange: #ffffff;
	--yellow: #c8ff2e;
	--ink: #0b1230;
	--ink-2: #4b5272;
	--cream: #f5f6fb;
	--cream-2: #e8ebf7;
	--line: rgba(11, 18, 48, .14);
}
body { background: var(--cream); }

/* Сини секции: един и същ чист градиент */
.hero { background: radial-gradient(ellipse at 85% 12%, rgba(200, 255, 46, .14), transparent 30%), linear-gradient(135deg, #2546ff 0%, #1d38f0 55%, #1229c9 100%); }
.section-blue { background: radial-gradient(circle at 92% 12%, rgba(200, 255, 46, .1), transparent 26%), linear-gradient(140deg, #2140ff, #1229c9); }
.page-hero { background: linear-gradient(140deg, #2140ff, #1229c9); }
@media (max-width: 900px) { .hero { background: linear-gradient(150deg, #2546ff, #1229c9); } }

/* Етикети: лайм, бяло и прозрачен контур */
.sticker-1 { --c: var(--accent); color: var(--on-accent); }
.sticker-2 { --c: #ffffff; color: var(--ink); }
.sticker-3 { --c: transparent; color: #fff; box-shadow: inset 0 0 0 2px #fff; }
.hero-shape--pink { display: none; }
.hero-shape--arc { border-color: var(--accent); }
.status-dot { background: var(--accent); }

/* Ленти: лайм отпред, бяло отзад */
.marquee, .marquee:first-child { background: var(--accent); }
.marquee--back, .marquee-x .marquee--back { background: #ffffff; }
.marquee li::after { color: var(--blue); }
.marquee--back li::after { color: var(--blue); }

/* Акцентни повърхности: малки — лайм, големи — мек лайм */
.serp-row--you, .serp-row:first-child { background: var(--accent); }
.process-panel { background: var(--accent-soft); }
.faq-item[open] { background: var(--accent-soft); }
.faq-item[open] .faq-icon { background: var(--blue); }
.process-tab.is-active .process-num { background: var(--accent); color: var(--on-accent); }
.process-tab.is-done .process-num { background: var(--ink); color: #fff; }
.scroll-progress { background: var(--accent); }
.chip-toggle:hover span, .filter:hover { background: var(--accent-soft); }
.card-next .card-link:hover { background: var(--accent-soft); }
.entry-content blockquote { background: var(--accent-soft); }

/* Проекти: синьо, мастило, лайм, хладно сиво */
.tone-blue { background-color: var(--blue); }
.tone-red { background-color: var(--accent); }
.tone-green { background-color: var(--ink); }
.tone-yellow { background-color: var(--cream-2); background-image: none; }
.tone-green .mini-btn { background: var(--accent); }
.card-result { background: var(--accent); }

/* Иконки на услугите — едно и също лайм */
.service-icon, .service:nth-child(n) .service-icon { background: var(--accent); color: var(--on-accent); }

/* Статистики и визитка */
.stat strong, .stat-2 strong, .stat-3 strong { color: var(--blue); }
.id-card { background: var(--blue); }
.id-photo { background: var(--accent); }

/* Пакети */
.package-list svg { color: var(--blue); }
.package--featured { background: var(--ink); box-shadow: 10px 10px 0 var(--accent); }
.guarantee-dot { background: var(--blue); box-shadow: 0 0 0 4px rgba(33, 64, 255, .16); }

/* Заглавия на светли секции: етикетът над тях в синьо */
.eyebrow { color: var(--accent-text); }
.section-blue .eyebrow, .section-ink .eyebrow, .page-hero .eyebrow { color: var(--accent); }

/* Текстове и връзки */
a:hover { color: var(--accent-text); }
.section-blue a:hover, .site-footer a:hover, .hero a:hover { color: var(--accent); }
::selection { background: var(--accent); color: var(--on-accent); }
.serp-row--you .serp-rank { background: var(--ink); color: var(--accent); }
.serp-up { background: var(--ink); color: var(--accent); }

/* =========================================================
   Идеи от успешни фрийлансъри, преведени в стила на Rankadora
   ========================================================= */

/* Моментна снимка с числа под бутоните */
.snapshot { display: flex; flex-wrap: wrap; gap: 0; margin: 28px 0 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, .25); }
.snapshot > div { display: flex; flex-direction: column; justify-content: flex-start; gap: 4px; padding: 16px 26px 0 0; margin-right: 26px; border-right: 1px solid rgba(255, 255, 255, .25); }
.snapshot > div:last-child { border-right: 0; margin-right: 0; }
.snapshot dd { order: -1; margin: 0; font: 700 clamp(30px, 3vw, 42px)/1 var(--font-head); color: var(--accent); }
.snapshot dt { font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .78); max-width: 16ch; line-height: 1.35; }

/* „С какво да ви помогна?“ */
.paths { padding-bottom: clamp(48px, 6vw, 80px); }
.paths-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px clamp(28px, 5vw, 80px); align-items: end; margin-bottom: 40px; }
.paths-head .section-title { margin: 0; }
.paths-head .lead { margin: 0; }
.paths-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.path { position: relative; display: flex; flex-direction: column; gap: 10px; min-height: 280px; padding: 28px 26px; border-radius: 26px; border: 2px solid var(--ink); background: #fff; color: var(--ink); text-decoration: none; box-shadow: var(--pop); transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s ease, background .25s ease; }
.path:hover { color: var(--ink); transform: translate(-3px, -5px); box-shadow: 10px 10px 0 var(--ink); background: var(--accent-soft); }
.path-2 { background: var(--blue); color: #fff; }
.path-2:hover { background: var(--blue-deep); color: #fff; }
.path-2 .path-text { color: rgba(255, 255, 255, .85); }
.path .service-icon { width: 56px; height: 56px; border-radius: 16px; margin-bottom: 18px; }
.path-title { font-size: clamp(28px, 2.6vw, 38px); line-height: .98; margin: 0; }
.path-text { margin: 0; color: var(--ink-2); line-height: 1.5; flex: 1; }
.path-cta { font-weight: 800; display: inline-flex; gap: 6px; align-items: center; }
.path-cta span { transition: transform .25s ease; }
.path:hover .path-cta span { transform: translate(3px, -3px); }
.path-icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 18px; border-radius: 16px; border: 2px solid var(--ink); background: var(--accent); color: var(--on-accent); }
.path-icon svg { width: 30px; height: 30px; }

/* „Работя с“ */
.tools { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line); }
.tools-label { margin: 0; font-weight: 800; color: var(--ink-2); }
.tools-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 30px; margin: 0; padding: 0; }
.tools-list li { font: 700 clamp(17px, 1.5vw, 21px)/1.2 var(--font-head); letter-spacing: .01em; color: var(--ink); opacity: .55; text-transform: uppercase; transition: opacity .2s ease; }
.tools-list li:hover { opacity: 1; }

/* Открояващ се казус */
.case { background: var(--ink); color: #fff; }
.case-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.case .eyebrow { color: var(--accent); }
.case-title { font-size: clamp(40px, 5vw, 76px); line-height: .92; color: #fff; margin-bottom: 18px; }
.case .lead { color: rgba(255, 255, 255, .82); margin-bottom: 30px; }
.case .btn { box-shadow: 4px 4px 0 var(--accent); }
.case-board { position: relative; padding: clamp(24px, 3vw, 36px); border-radius: 28px; background: #fff; color: var(--ink); border: 2px solid var(--accent); box-shadow: 12px 12px 0 var(--accent); transform: rotate(1.2deg); }
.case-result { position: absolute; top: -18px; right: 24px; padding: 8px 16px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font: 700 18px/1 var(--font-head); text-transform: uppercase; border: 2px solid var(--ink); transform: rotate(4deg); }
.case-board-title { margin: 0 0 14px; font-weight: 800; color: var(--ink-2); }
.case-metrics { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.case-metrics li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.case-label { font-weight: 700; }
.case-values { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.case-values .ba-before { font-size: 24px; }
.case-values .ba-arrow { width: 28px; height: 28px; font-size: 14px; }
.case-after { padding: 3px 12px; border-radius: 10px; background: var(--accent); border: 2px solid var(--ink); font: 700 30px/1 var(--font-head); }

/* „Аз съм / Обичам / В момента“ */
.facts { display: grid; gap: 0; margin: 26px 0 28px; border-top: 2px solid var(--ink); }
.facts > div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts dt { font: 700 20px/1.2 var(--font-head); text-transform: uppercase; color: var(--blue); }
.facts dd { margin: 0; font-size: 17px; font-weight: 600; }

@media (max-width: 900px) {
	.paths-head, .case-inner { grid-template-columns: 1fr; }
	.paths-grid { grid-template-columns: 1fr; }
	.path { min-height: 0; }
	.snapshot > div { padding-right: 16px; margin-right: 16px; }
	.case-board { transform: none; }
	.facts > div { grid-template-columns: 1fr; gap: 2px; }
}
.section.case { background: var(--ink); color: #fff; }
@media (max-width: 600px) {
	.snapshot { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.snapshot > div { padding: 14px 10px 0 0; margin-right: 10px; }
	.snapshot dd { font-size: 26px; }
	.snapshot dt { font-size: 11.5px; }
}

/* Назъбени етикети като в първата версия (над заглавието, не върху буквите) */
.hero-tags .sticker {
	isolation: isolate;
	padding: .62em 1.15em .56em; border-radius: 12px; background: var(--c);
	box-shadow: none; letter-spacing: .02em;
}
.hero-tags .sticker::before {
	content: ""; position: absolute; inset: -6px; z-index: -1;
	background:
		radial-gradient(circle at 50% 50%, var(--c) 5.5px, transparent 6px) 0 0 / 13px 12px repeat-x,
		radial-gradient(circle at 50% 50%, var(--c) 5.5px, transparent 6px) 0 100% / 13px 12px repeat-x,
		radial-gradient(circle at 50% 50%, var(--c) 5.5px, transparent 6px) 0 0 / 12px 13px repeat-y,
		radial-gradient(circle at 50% 50%, var(--c) 5.5px, transparent 6px) 100% 0 / 12px 13px repeat-y;
}
.hero-tags .sticker-1 { --c: var(--accent); --r: -4deg; color: var(--on-accent); }
.hero-tags .sticker-2 { --c: #ffffff; --r: 3deg; color: var(--ink); }
.hero-tags .sticker-3 { --c: var(--ink); --r: -2deg; color: var(--accent); box-shadow: none; }
.hero-tags { gap: 22px 30px; margin-left: 10px; }
@media (max-width: 600px) { .hero-tags { gap: 18px 22px; } }

/* =========================================================
   Лилава палитра по модела на успешните технологични марки:
   индиго-виолет + дълбок морски + бяло + ярък циан за действия
   ========================================================= */
:root {
	--blue: #5b46ff;
	--blue-deep: #3f2bd9;
	--accent: #19d3ff;
	--on-accent: #0b2342;
	--accent-text: #4a35f0;
	--accent-soft: #dff6ff;
	--yellow: #19d3ff;
	--ink: #0b2342;
	--ink-2: #44546a;
	--cream: #f6f8fc;
	--cream-2: #e9edf7;
	--line: rgba(11, 35, 66, .13);
}
.hero { background: radial-gradient(ellipse at 86% 10%, rgba(25, 211, 255, .22), transparent 32%), radial-gradient(ellipse at 6% 92%, rgba(255, 255, 255, .08), transparent 30%), linear-gradient(135deg, #6a55ff 0%, #5b46ff 48%, #3f2bd9 100%); }
.section-blue { background: radial-gradient(circle at 92% 12%, rgba(25, 211, 255, .16), transparent 28%), linear-gradient(140deg, #5b46ff, #3f2bd9); }
.page-hero { background: linear-gradient(140deg, #5b46ff, #3f2bd9); }
@media (max-width: 900px) { .hero { background: linear-gradient(150deg, #6a55ff, #3f2bd9); } }
.guarantee-dot { box-shadow: 0 0 0 4px rgba(91, 70, 255, .16); }
.hero-tags .sticker-3 { color: var(--accent); }
.stat strong, .stat-2 strong, .stat-3 strong { color: var(--blue); }

/* Акцент: неонов лайм — допълващ цвят на лилавото, най-силен контраст */
:root {
	--accent: #ccff2e;
	--on-accent: #0b2342;
	--accent-soft: #f0ffc9;
	--yellow: #ccff2e;
}
.hero { background: radial-gradient(ellipse at 86% 10%, rgba(204, 255, 46, .14), transparent 30%), radial-gradient(ellipse at 6% 92%, rgba(255, 255, 255, .08), transparent 30%), linear-gradient(135deg, #6a55ff 0%, #5b46ff 48%, #3f2bd9 100%); }
.section-blue { background: radial-gradient(circle at 92% 12%, rgba(204, 255, 46, .1), transparent 28%), linear-gradient(140deg, #5b46ff, #3f2bd9); }

/* =========================================================
   Палитра „Растеж“: тъмнозелено + мандарина + мента + мастило
   ========================================================= */
:root {
	--blue: #0d5c45;
	--blue-deep: #08402f;
	--accent: #ff8a3d;
	--on-accent: #10231c;
	--accent-text: #b8480c;
	--accent-soft: #ffe7d6;
	--yellow: #ff8a3d;
	--ink: #10231c;
	--ink-2: #4a5d55;
	--cream: #f3f7f3;
	--cream-2: #e2ece4;
	--line: rgba(16, 35, 28, .14);
}
.hero { background: radial-gradient(ellipse at 88% 8%, rgba(255, 138, 61, .18), transparent 30%), radial-gradient(ellipse at 4% 94%, rgba(190, 240, 210, .10), transparent 32%), linear-gradient(135deg, #116b51 0%, #0d5c45 50%, #08402f 100%); }
.section-blue { background: radial-gradient(circle at 92% 12%, rgba(255, 138, 61, .12), transparent 28%), linear-gradient(140deg, #0d5c45, #08402f); }
.page-hero { background: linear-gradient(140deg, #0d5c45, #08402f); }
@media (max-width: 900px) { .hero { background: linear-gradient(150deg, #116b51, #08402f); } }
.hero-tags .sticker-2 { --c: #f3f7f3; color: var(--ink); }
.hero-tags .sticker-3 { --c: #bdf0d2; color: var(--ink); }
.guarantee-dot { background: var(--blue); box-shadow: 0 0 0 4px rgba(13, 92, 69, .16); }
.stat strong, .stat-2 strong, .stat-3 strong { color: var(--blue); }
.case .eyebrow { color: var(--accent); }
.tone-yellow { background-color: #bdf0d2; }
.marquee--back, .marquee-x .marquee--back { background: #bdf0d2; }
.marquee li::after, .marquee--back li::after { color: var(--blue); }
.serp-row--you .serp-title, .serp-row--you .serp-url { color: var(--ink); }

/* =========================================================
   Палитра „Ултрамарин и слънце“: синьо + жълто + небесно + мастило
   ========================================================= */
:root {
	--blue: #2233d6;
	--blue-deep: #141fa3;
	--accent: #ffd43b;
	--on-accent: #0d1440;
	--accent-text: #2233d6;
	--accent-soft: #fff3c4;
	--yellow: #ffd43b;
	--ink: #0d1440;
	--ink-2: #4a4f6e;
	--cream: #f5f6fa;
	--cream-2: #e4e8f6;
	--line: rgba(13, 20, 64, .13);
}
.hero { background: radial-gradient(ellipse at 88% 8%, rgba(255, 212, 59, .16), transparent 30%), radial-gradient(ellipse at 4% 94%, rgba(207, 224, 255, .12), transparent 32%), linear-gradient(135deg, #2a3ce6 0%, #2233d6 50%, #141fa3 100%); }
.section-blue { background: radial-gradient(circle at 92% 12%, rgba(255, 212, 59, .1), transparent 28%), linear-gradient(140deg, #2233d6, #141fa3); }
.page-hero { background: linear-gradient(140deg, #2233d6, #141fa3); }
@media (max-width: 900px) { .hero { background: linear-gradient(150deg, #2a3ce6, #141fa3); } }
.hero-tags .sticker-2 { --c: #ffffff; color: var(--ink); }
.hero-tags .sticker-3 { --c: #cfe0ff; color: var(--ink); }
.marquee--back, .marquee-x .marquee--back { background: #cfe0ff; }
.marquee li::after, .marquee--back li::after { color: var(--blue); }
.tone-yellow { background-color: #cfe0ff; }
.guarantee-dot { background: var(--blue); box-shadow: 0 0 0 4px rgba(34, 51, 214, .16); }
.stat strong, .stat-2 strong, .stat-3 strong { color: var(--blue); }

/* ===== Електрик: виолет + жълто + оранж ===== */
:root { --blue:#5b1cff; --blue-deep:#3a0fb8; --accent:#ffe600; --on-accent:#120a2e; --accent-text:#5b1cff; --accent-soft:#fff6a8; --yellow:#ffe600; --orange:#ff5a1f; --ink:#120a2e; --ink-2:#4b4566; --cream:#f6f4ff; --cream-2:#e9e3ff; --line:rgba(18,10,46,.13); }
.hero { background: radial-gradient(ellipse at 90% 6%, rgba(255,90,31,.28), transparent 30%), radial-gradient(ellipse at 4% 96%, rgba(255,230,0,.14), transparent 30%), linear-gradient(135deg,#6a2bff 0%,#5b1cff 50%,#3a0fb8 100%); }
.section-blue { background: radial-gradient(circle at 92% 12%, rgba(255,90,31,.22), transparent 28%), linear-gradient(140deg,#5b1cff,#3a0fb8); }
.page-hero { background: radial-gradient(circle at 90% 10%, rgba(255,90,31,.25), transparent 30%), linear-gradient(140deg,#5b1cff,#3a0fb8); }
.hero-tags .sticker-2 { --c:#ff5a1f; color:#fff; } .hero-tags .sticker-3 { --c:#ffffff; color:var(--ink); }
.marquee--back, .marquee-x .marquee--back { background:#ff5a1f; color:#fff; }
.marquee--back li::after { color:var(--accent); }
.tone-yellow { background-color:#ffe2d6; }
.guarantee-dot { background:var(--orange); box-shadow:0 0 0 4px rgba(255,90,31,.18); }
.stat strong, .stat-2 strong, .stat-3 strong { color:var(--blue); }
.serp-up { background:var(--orange); color:#fff; }

/* ===== Ново лого: знак + една дума ===== */
.brand-name { display: inline-flex; align-items: center; gap: 10px; font: 800 28px/1 var(--font-body, 'Manrope', sans-serif); text-transform: none; letter-spacing: -0.045em; color: var(--ink); }
.brand-name:hover { color: var(--ink); }
.brand-mark { width: 38px; height: 38px; flex: none; transition: transform .3s cubic-bezier(.3,1.6,.5,1); }
.brand-name:hover .brand-mark { transform: rotate(-8deg) scale(1.06); }
.brand-mark rect:nth-of-type(n+2) { transform-box: fill-box; transform-origin: bottom; }
.brand-name:hover .brand-mark rect:nth-of-type(4) { animation: pf-bar .5s ease; }
@keyframes pf-bar { 50% { transform: scaleY(1.25); } }
.brand-word { display: inline-block; padding-bottom: 2px; }
.brand-dot { color: var(--orange); }
.footer-big { text-transform: none; letter-spacing: -0.05em; font-family: var(--font-body, 'Manrope', sans-serif); font-weight: 800; }
.footer-big .brand-dot { color: var(--orange); }
.id-brand { text-transform: none; font-family: var(--font-body, 'Manrope', sans-serif); font-weight: 800; letter-spacing: -0.04em; }
.id-brand .brand-mark { display: none; }
@media (max-width: 760px) { .brand-name { font-size: 24px; gap: 8px; } .brand-mark { width: 34px; height: 34px; } }
@media (prefers-reduced-motion: reduce) { .brand-mark, .brand-name:hover .brand-mark rect { transition: none; animation: none; } }

/* ===== Къстъм интеракции (assets/js/custom.js) ===== */
::selection { background: var(--accent); color: var(--on-accent); }
html { scrollbar-color: var(--blue) var(--cream); }
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 12px; border: 3px solid var(--cream); }

/* Прожектор в заглавието */
.hero-title .spot-text { position: relative; display: inline-block; }
.hero-title .spot-text::after {
	content: attr(data-text); position: absolute; inset: 0; white-space: nowrap;
	color: var(--accent); -webkit-text-stroke: clamp(2px, .28vw, 4px) var(--accent);
	clip-path: circle(var(--r, .9em) at var(--mx, 50%) var(--my, 50%));
	pointer-events: none; transition: clip-path .05s linear;
}
.hero:hover .hero-title .spot-text::after { --r: 1.15em; }

/* Курсор */
.cursor { position: fixed; inset: 0 auto auto 0; z-index: 9999; pointer-events: none; opacity: 0; transition: opacity .3s ease; }
.cursor.is-on { opacity: 1; }
.cursor-dot, .cursor-ring { position: fixed; left: 0; top: 0; will-change: transform; }
.cursor-dot::before { content: ""; position: absolute; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--blue); transition: transform .2s ease, background .2s ease; }
.cursor-ring::before { content: ""; position: absolute; width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 2px solid var(--blue); border-radius: 50%; transition: width .3s cubic-bezier(.3,1.4,.5,1), height .3s cubic-bezier(.3,1.4,.5,1), margin .3s cubic-bezier(.3,1.4,.5,1), background .25s ease, border-color .25s ease; }
.cursor.is-dark .cursor-dot::before { background: var(--accent); }
.cursor.is-dark .cursor-ring::before { border-color: var(--accent); }
.cursor.is-link .cursor-ring::before { width: 58px; height: 58px; margin: -29px 0 0 -29px; background: rgba(255,230,0,.18); }
.cursor.is-link .cursor-dot::before { transform: scale(0); }
.cursor.is-label .cursor-ring::before { width: 78px; height: 78px; margin: -39px 0 0 -39px; background: var(--accent); border-color: var(--ink); }
.cursor.is-label .cursor-dot::before { transform: scale(0); }
.cursor-label { position: absolute; transform: translate(-50%, -50%); font: 800 13px/1 Manrope, sans-serif; color: var(--on-accent); white-space: nowrap; opacity: 0; transition: opacity .2s ease; }
.cursor.is-label .cursor-label { opacity: 1; }
.cursor.is-down .cursor-ring::before { width: 26px; height: 26px; margin: -13px 0 0 -13px; }
html.has-cursor, html.has-cursor body, html.has-cursor a, html.has-cursor button, html.has-cursor [data-drag], html.has-cursor label { cursor: none; }
html.has-cursor input, html.has-cursor textarea, html.has-cursor select { cursor: text; }

/* Магнитни бутони */
.btn, .header-cta { translate: var(--tx, 0px) var(--ty, 0px); transition: translate .35s cubic-bezier(.3,1.5,.5,1), transform .22s cubic-bezier(.2,.8,.2,1), box-shadow .22s ease, background .2s ease; }

/* 3D карти */
.card { transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s cubic-bezier(.2,.8,.2,1); transform-style: preserve-3d; }
.card.is-tilt { transition: transform .08s linear; }
.card .card-link { position: relative; }
.card .card-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,.45), transparent 45%); opacity: 0; transition: opacity .3s ease; mix-blend-mode: soft-light; }
.card.is-tilt .card-link::after { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
	.card, .btn, .header-cta { transform: none; translate: none; }
	.hero-title .spot-text::after { display: none; }
}

/* ===== Калкулатор „Колко ще струва?“ ===== */
.estimator { background: var(--cream); }
.est { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .9fr); gap: clamp(24px, 4vw, 56px); align-items: start; margin-top: 36px; }
.est-group { border: 0; margin: 0 0 30px; padding: 0; min-width: 0; }
.est-group legend { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; font: 800 18px/1.2 Manrope, sans-serif; color: var(--ink); }
.est-num { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--accent); font-size: 14px; flex: none; }
.est-types { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.est-type { position: relative; cursor: pointer; }
.est-type input { position: absolute; opacity: 0; pointer-events: none; }
.est-type-box { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 16px 16px 14px; border: 2px solid var(--ink); border-radius: 16px; background: #fff; transition: transform .2s cubic-bezier(.3,1.5,.5,1), box-shadow .2s ease, background .2s ease; }
.est-type-name { font-weight: 800; font-size: 16px; line-height: 1.2; color: var(--ink); }
.est-type-from { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.est-type:hover .est-type-box { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }
.est-type input:checked + .est-type-box { background: var(--blue); border-color: var(--ink); box-shadow: 5px 5px 0 var(--ink); transform: translate(-2px, -2px); }
.est-type input:checked + .est-type-box .est-type-name { color: #fff; }
.est-type input:checked + .est-type-box .est-type-from { color: var(--accent); }
.est-type input:focus-visible + .est-type-box { outline: 3px solid var(--orange); outline-offset: 3px; }
.est-pages-out { margin-left: auto; min-width: 52px; padding: 4px 12px; border-radius: 999px; background: var(--accent); color: var(--on-accent); text-align: center; font-weight: 800; }
.est-range { --p: 14%; width: 100%; height: 34px; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; }
.est-range::-webkit-slider-runnable-track { height: 12px; border-radius: 12px; border: 2px solid var(--ink); background: linear-gradient(90deg, var(--blue) var(--p), #fff var(--p)); }
.est-range::-moz-range-track { height: 8px; border-radius: 12px; border: 2px solid var(--ink); background: #fff; }
.est-range::-moz-range-progress { height: 8px; border-radius: 12px; background: var(--blue); }
.est-range::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -11px; border-radius: 50%; background: var(--accent); border: 3px solid var(--ink); box-shadow: 2px 2px 0 var(--ink); transition: transform .15s ease; }
.est-range::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: var(--accent); border: 3px solid var(--ink); }
.est-range:active::-webkit-slider-thumb { transform: scale(1.15); }
.est-range:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; border-radius: 12px; }
.est-scale { display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; color: var(--ink-2); padding: 0 6px; }
.est-extras { display: flex; flex-wrap: wrap; gap: 8px; }
.est-switch { display: inline-flex; padding: 4px; border: 2px solid var(--ink); border-radius: 999px; background: #fff; }
.est-switch label { cursor: pointer; }
.est-switch input { position: absolute; opacity: 0; }
.est-switch span { display: block; padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: 15px; transition: background .2s ease, color .2s ease; }
.est-switch input:checked + span { background: var(--ink); color: var(--accent); }
.est-switch input:focus-visible + span { outline: 3px solid var(--orange); }
.est-result { position: sticky; top: 110px; padding: 30px 28px 24px; border-radius: 26px; background: var(--ink); color: #fff; box-shadow: 8px 8px 0 var(--blue); overflow: hidden; }
.est-stamp { position: absolute; right: -10px; top: -34px; font: 800 150px/1 Manrope, sans-serif; color: rgba(255,255,255,.06); pointer-events: none; }
.est-label { margin: 0 0 4px; font-size: 14px; font-weight: 700; color: rgba(255,255,255,.7); }
.est-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; font: 800 clamp(38px, 4.4vw, 56px)/1 Manrope, sans-serif; letter-spacing: -0.04em; color: var(--accent); font-variant-numeric: tabular-nums; }
.est-dash { color: rgba(255,255,255,.4); }
.est-cur { font-size: .55em; color: #fff; margin-left: 4px; }
.est.is-bump .est-price { animation: est-bump .35s ease; }
@keyframes est-bump { 40% { transform: scale(1.04); } }
.est-weeks { margin: 0 0 10px; font-size: 16px; color: rgba(255,255,255,.85); }
.est-weeks strong { color: #fff; font-size: 18px; }
.est-bar { height: 8px; margin-bottom: 18px; border-radius: 8px; background: rgba(255,255,255,.12); overflow: hidden; }
.est-bar span { display: block; height: 100%; width: 0; border-radius: 8px; background: linear-gradient(90deg, var(--accent), var(--orange)); transition: width .45s cubic-bezier(.2,.8,.2,1); }
.est-summary { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 22px; padding: 0; }
.est-summary li { padding: 5px 11px; border-radius: 999px; background: rgba(255,255,255,.1); font-size: 13px; font-weight: 600; }
.est-cta { background: var(--accent); color: var(--on-accent); border-color: var(--accent); box-shadow: 4px 4px 0 var(--orange); }
.est-cta:hover { color: var(--on-accent); box-shadow: 7px 7px 0 var(--orange); }
.est-note { margin: 14px 0 0; font-size: 13px; line-height: 1.5; color: rgba(255,255,255,.65); text-align: center; }
@media (max-width: 900px) {
	.est { grid-template-columns: 1fr; }
	.est-result { position: relative; top: 0; }
}

/* ===== Форма на 2 стъпки ===== */
.form-progress { display: none; }
.js .contact-form[data-current] .form-progress { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.form-progress-text { font-size: 13px; font-weight: 700; color: var(--ink-2); white-space: nowrap; }
.form-progress-text b { color: var(--blue); }
.form-progress-bar { flex: 1; height: 6px; border-radius: 6px; background: var(--cream-2); overflow: hidden; }
.form-progress-bar span { display: block; height: 100%; width: 50%; border-radius: 6px; background: var(--blue); transition: width .4s cubic-bezier(.2,.8,.2,1); }
.contact-form[data-current="2"] .form-progress-bar span { width: 100%; }
.form-step-title { margin: 0 0 14px; font: 800 20px/1.2 Manrope, sans-serif; color: var(--ink); }
.form-next, .form-back, .form-step-title { display: none; }
.js .contact-form[data-current] .form-step-title { display: block; }
.js .contact-form[data-current] .form-next { display: flex; margin-top: 6px; }
.js .contact-form[data-current] .form-back { display: inline-block; margin-top: 10px; padding: 6px 0; background: none; border: 0; font: 700 14px Manrope, sans-serif; color: var(--ink-2); cursor: pointer; }
.form-back:hover { color: var(--blue); }
.js .contact-form[data-current="1"] [data-step="2"], .js .contact-form[data-current="2"] [data-step="1"] { display: none; }
.js .contact-form[data-current] .form-step { animation: step-in .35s cubic-bezier(.2,.8,.2,1); }
@keyframes step-in { from { opacity: 0; transform: translateX(14px); } }

/* ===== Предложение при излизане ===== */
.exit-offer { width: min(520px, calc(100vw - 32px)); padding: 34px 32px 26px; border: 3px solid var(--ink); border-radius: 28px; background: #fff; color: var(--ink); box-shadow: 10px 10px 0 var(--blue); text-align: center; }
.exit-offer::backdrop { background: rgba(18,10,46,.55); backdrop-filter: blur(4px); }
.exit-offer[open] { animation: exit-in .4s cubic-bezier(.3,1.4,.5,1); }
@keyframes exit-in { from { opacity: 0; transform: translateY(24px) scale(.96); } }
.exit-close { position: absolute; right: 14px; top: 10px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--cream); font: 400 26px/1 Manrope, sans-serif; color: var(--ink); cursor: pointer; }
.exit-close:hover { background: var(--accent); }
.exit-serp { display: flex; align-items: center; gap: 10px; max-width: 280px; margin: 0 auto 18px; padding: 10px 12px; border: 2px solid var(--ink); border-radius: 999px; background: var(--cream); }
.exit-g { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; font-size: 14px; }
.exit-bar { flex: 1; height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--cream-2) 30%, transparent 30%); background-color: var(--cream-2); position: relative; overflow: hidden; }
.exit-bar::after { content: ""; position: absolute; inset: 0; width: 40%; background: var(--blue); border-radius: 8px; animation: exit-scan 1.6s ease-in-out infinite alternate; }
@keyframes exit-scan { to { transform: translateX(150%); } }
.exit-rank { padding: 3px 9px; border-radius: 999px; background: var(--accent); font-weight: 800; font-size: 13px; }
.exit-kicker { margin: 0 0 6px; font-weight: 700; color: var(--orange); }
.exit-title { margin: 0 0 10px; font: 800 clamp(24px, 3vw, 30px)/1.1 Manrope, sans-serif; text-transform: none; letter-spacing: -0.02em; }
.exit-text { margin: 0 0 20px; color: var(--ink-2); }
.exit-form { display: flex; gap: 8px; }
.exit-form input { flex: 1; min-width: 0; padding: 14px 16px; border: 2px solid var(--ink); border-radius: 999px; font: 500 16px Manrope, sans-serif; }
.exit-form input:focus { outline: 3px solid var(--accent); outline-offset: 1px; }
.exit-form .btn { padding: 14px 22px; }
.exit-no { margin-top: 14px; background: none; border: 0; font: 600 14px Manrope, sans-serif; color: var(--ink-2); text-decoration: underline; cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .exit-offer[open], .exit-bar::after, .est.is-bump .est-price, .js .contact-form[data-current] .form-step { animation: none; } }
html.has-cursor .exit-offer, html.has-cursor .exit-offer * { cursor: auto; }
html.has-cursor .exit-offer button, html.has-cursor .exit-offer .btn { cursor: pointer; }
html.has-cursor .exit-offer input { cursor: text; }

/* =====================================================================
   v13 — Редакционен стил: светла лавандулова хартия, изречения вместо
   крещящи главни букви, статус лента, тъмна тема.
   ===================================================================== */
:root {
	--paper: #f1ecff; --paper-2: #e4dbff; --card: #ffffff; --card-2: #faf8ff;
	--ink: #170c3a; --ink-2: #514874; --line: rgba(23,12,58,.14);
	--blue: #5b1cff; --blue-deep: #3a0fb8; --accent: #ffe600; --on-accent: #170c3a; --orange: #ff5a1f;
	--cream: var(--paper); --cream-2: var(--paper-2);
	--font-display: "Inter Tight", "Inter Display", "Inter", system-ui, sans-serif;
	--pop: 5px 5px 0 var(--ink);
	color-scheme: light;
}
body { background: var(--paper); color: var(--ink); transition: background-color .35s ease, color .35s ease; }

/* Заглавия: изречения, плътен гротеск */
h1, h2, h3, h4, .section-title, .case-title, .card-title, .page-title, .package h3 { font-family: var(--font-display); text-transform: none; letter-spacing: -0.045em; }
.section-title { font-size: clamp(40px, 6.2vw, 92px); line-height: .95; font-weight: 800; }
h3, .card-title { letter-spacing: -0.03em; }
.eyebrow { letter-spacing: 0; text-transform: none; font-weight: 700; font-size: 15px; }
.eyebrow::before { content: "("; } .eyebrow::after { content: ")"; }

/* ---------- Начален екран: светъл ---------- */
.hero { background: var(--paper); color: var(--ink); padding-bottom: clamp(70px, 8vw, 110px); }
.hero::before { color: rgba(91,28,255,.05); -webkit-text-stroke: 0; }
.hero-dots { opacity: .5; background-image: radial-gradient(rgba(91,28,255,.22) 1px, transparent 1.3px); }
.hero-shape { display: none; }
.hero-meta { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 0 0 clamp(26px, 3vw, 40px); padding-bottom: 14px; border-bottom: 1.5px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink-2); }
.hero-meta time { font-variant-numeric: tabular-nums; color: var(--ink); font-weight: 800; }
.hero-title { font-family: var(--font-display); text-transform: none; color: var(--ink); font-weight: 800; letter-spacing: -0.055em; line-height: .9; }
.hero-title .line-2 { color: transparent; -webkit-text-stroke-color: var(--blue); }
.hero-title .spot-text::after { color: var(--blue); -webkit-text-stroke-color: var(--blue); }
.hero-intro { color: var(--ink-2); font-weight: 500; }
.hero .status { background: var(--card); color: var(--ink); border: 1.5px solid var(--line); }
.hero .trust li { color: var(--ink); }
.hero .trust svg { color: var(--blue); }
.hero .snapshot { border-color: var(--line); }
.hero .snapshot div { border-color: var(--line); }
.hero .snapshot dt { color: var(--ink-2); }
.hero .snapshot dd { color: var(--blue); }
.hero .btn-outline-light { color: var(--ink); border-color: var(--ink); background: transparent; }
.hero .btn-outline-light:hover { background: var(--ink); color: var(--paper); }
.hero-actions .btn-cream { box-shadow: var(--pop); }
.hero-actions .btn::after, .cta-actions .btn::after, .est-cta::after, .header-cta::after { content: "→"; margin-left: .5em; transition: transform .25s ease; display: inline-block; }
.hero-actions .btn:hover::after, .cta-actions .btn:hover::after, .est-cta:hover::after, .header-cta:hover::after { transform: translateX(4px); }
.hero-tags .sticker-3 { --c: var(--ink); color: var(--accent); }
.hero-scroll { position: absolute; left: 50%; bottom: 22px; translate: -50% 0; z-index: 2; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--ink-2); text-decoration: none; }
.hero-scroll svg { width: 12px; height: 18px; animation: scroll-cue 1.8s ease-in-out infinite; }
@keyframes scroll-cue { 50% { transform: translateY(5px); } }

/* Хедър: пил с тънка рамка */
.header-pill { background: color-mix(in srgb, var(--card) 88%, transparent); backdrop-filter: blur(12px); border: 1.5px solid var(--line); box-shadow: 0 10px 30px -18px rgba(23,12,58,.35); }

/* ---------- Проекти: номерирани ---------- */
.card-num { display: block; margin-bottom: 8px; font: 700 13px/1 var(--font); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.card-more { display: inline-block; margin-top: 12px; font-weight: 800; font-size: 15px; color: var(--blue); }
.card-more::after { content: " →"; transition: margin .25s ease; }
.card-link:hover .card-more::after { margin-left: 4px; }

/* ---------- Финален призив ---------- */
.closing { padding: clamp(80px, 11vw, 160px) 0; background: var(--paper); text-align: left; border-top: 1.5px solid var(--line); }
.closing-title { margin: 0 0 28px; font: 800 clamp(48px, 9.5vw, 150px)/.9 var(--font-display); letter-spacing: -0.06em; color: var(--ink); }
.closing-title em { font-style: normal; color: transparent; -webkit-text-stroke: clamp(1.5px, .2vw, 3px) var(--blue); }
.closing-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.closing-mail { font: 700 clamp(20px, 2.4vw, 30px)/1.2 var(--font-display); letter-spacing: -0.02em; color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: .18em; text-underline-offset: .12em; }
.closing-mail:hover { color: var(--blue); }

/* ---------- Футър: часовник ---------- */
.footer-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; opacity: .8; }
.footer-meta time { font-variant-numeric: tabular-nums; font-weight: 800; }

/* ---------- Статус лента (компютър) ---------- */
.status-bar { display: none; }
@media (min-width: 1024px) and (hover: hover) {
	.status-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 7px 20px; background: color-mix(in srgb, var(--paper) 90%, transparent); backdrop-filter: blur(10px); border-top: 1.5px solid var(--line); font-size: 12.5px; font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums; }
	body { padding-bottom: 38px; }
	.sticky-cta { bottom: 52px; }
}
.sb-group { display: flex; align-items: center; gap: 18px; }
.sb-live { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 700; }
.sb-dot { width: 8px; height: 8px; border-radius: 50%; background: #1fcf6b; box-shadow: 0 0 0 0 rgba(31,207,107,.5); animation: sb-pulse 2s infinite; }
@keyframes sb-pulse { 70% { box-shadow: 0 0 0 7px rgba(31,207,107,0); } 100% { box-shadow: 0 0 0 0 rgba(31,207,107,0); } }
.sb-item b, .sb-item time { color: var(--ink); font-weight: 800; }
.sb-theme { display: inline-flex; padding: 2px; border: 1.5px solid var(--line); border-radius: 999px; }
.sb-theme button, .sb-btn { padding: 3px 10px; border: 0; border-radius: 999px; background: none; font: inherit; color: inherit; cursor: pointer; }
.sb-theme button.is-active { background: var(--ink); color: var(--paper); }
.sb-btn:hover, .sb-theme button:hover:not(.is-active) { color: var(--blue); }
.sb-btn { display: inline-flex; align-items: center; gap: 6px; }
.sb-btn kbd, .keys-list kbd { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border: 1.5px solid currentColor; border-radius: 6px; font: 800 11px/1 var(--font); }
.sb-eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 11px; }
.sb-eq i { width: 2px; height: 3px; background: currentColor; border-radius: 1px; }
.is-sound .sb-eq i { animation: sb-eq .8s ease-in-out infinite alternate; }
.is-sound .sb-eq i:nth-child(2) { animation-delay: -.3s; } .is-sound .sb-eq i:nth-child(3) { animation-delay: -.6s; }
@keyframes sb-eq { to { height: 11px; } }

.keys-dialog { width: min(480px, calc(100vw - 32px)); padding: 30px 28px 24px; border: 1.5px solid var(--ink); border-radius: 24px; background: var(--card); color: var(--ink); box-shadow: 8px 8px 0 var(--blue); }
.keys-dialog::backdrop { background: rgba(23,12,58,.45); backdrop-filter: blur(4px); }
.keys-title { margin: 0 0 18px; font: 800 28px/1 var(--font-display); }
.keys-list { margin: 0; }
.keys-list div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.keys-list dt { display: flex; gap: 4px; } .keys-list dd { margin: 0; color: var(--ink-2); text-align: right; }
.keys-foot { margin: 18px 0 0; font-size: 14px; color: var(--ink-2); }
.keys-foot a { font-weight: 800; color: var(--blue); }
html.has-cursor .keys-dialog, html.has-cursor .keys-dialog * { cursor: auto; }
html.has-cursor .keys-dialog button, html.has-cursor .keys-dialog a { cursor: pointer; }

/* =====================================================================
   Тъмна тема
   ===================================================================== */
html[data-theme="dark"] {
	--paper: #110a2b; --paper-2: #1b1240; --card: #1d1446; --card-2: #241a52;
	--ink: #f1ecff; --ink-2: #b9b0dc; --line: rgba(241,236,255,.16);
	--on-accent: #170c3a; --pop: 5px 5px 0 #000;
	color-scheme: dark;
}
html[data-theme="dark"] .hero-title .line-2, html[data-theme="dark"] .closing-title em { -webkit-text-stroke-color: #a98bff; }
html[data-theme="dark"] .hero-title .spot-text::after { color: var(--accent); -webkit-text-stroke-color: var(--accent); }
html[data-theme="dark"] .hero .snapshot dd { color: var(--accent); }
html[data-theme="dark"] .card-more, html[data-theme="dark"] .keys-foot a { color: #a98bff; }
html[data-theme="dark"] :is(.serp-mock, .service, .seo-scan, .seo-result, .serp-preview, .faq-item, .chip-toggle span, .mini-browser, .ba-item, .nf-card, .package, .quote, .path, .case-board, .est-type-box, .est-switch, .exit-offer, .card-link, .contact-form, .post-item a, .seo-box, .seo-form, .id-card) { background-color: var(--card); color: var(--ink); }
html[data-theme="dark"] :is(input, textarea, select, .serp-field input, .serp-field textarea, .seo-lead-row input) { background: var(--card-2); color: var(--ink); border-color: var(--line); }
html[data-theme="dark"] :is(.card-link, .package, .est-type-box, .faq-item, .path, .service, .quote, .exit-offer, .keys-dialog, .chip-toggle span) { border-color: rgba(241,236,255,.3); }
html[data-theme="dark"] .chip-toggle input:checked + span { background: var(--accent); color: var(--on-accent); }
html[data-theme="dark"] .chip-toggle:hover span { background: var(--card-2); }
html[data-theme="dark"] .btn { border-color: #000; }
html[data-theme="dark"] .marquee { border-color: #000; }
html[data-theme="dark"] .section-blue, html[data-theme="dark"] .page-hero { background: linear-gradient(140deg, #2a0f8f, #170a52); }
html[data-theme="dark"] .est-result { background: #0a0620; box-shadow: 8px 8px 0 var(--blue); }
html[data-theme="dark"] .site-footer, html[data-theme="dark"] .section.case { background: #0a0620; }
html[data-theme="dark"] .mini-bar span { background: var(--card-2); }
html[data-theme="dark"] .serp-row--you .serp-title, html[data-theme="dark"] .serp-row--you .serp-url { color: var(--on-accent); }
html[data-theme="dark"] .cursor-dot::before { background: var(--accent); }
html[data-theme="dark"] .cursor-ring::before { border-color: var(--accent); }
html[data-theme="dark"] .header-pill { box-shadow: 0 10px 30px -18px #000; }
html[data-theme="dark"] .brand-name { color: var(--ink); }
html[data-theme="dark"] .site-nav a { color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .hero-scroll svg, .sb-dot, .is-sound .sb-eq i { animation: none; } body { transition: none; } }
.closing .btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); box-shadow: none; }
.closing .btn-outline:hover { background: var(--ink); color: var(--paper); }
.closing .btn-cream { background: var(--accent); color: var(--on-accent); }
/* Тъмна тема — елементи, които ползваха мастиленото като фон */
html[data-theme="dark"] :is(.filter.is-active, .process-tab.is-done .process-num, .serp-device .is-active, .faq-icon, .ba-arrow, .est-num, .est-switch input:checked + span, .pagination .page-numbers.current, .search-submit, .sb-theme button.is-active, .process-line span) { background-color: var(--accent); color: var(--on-accent); border-color: var(--accent); }
html[data-theme="dark"] .faq-icon::before, html[data-theme="dark"] .faq-icon::after { background: var(--on-accent); }
html[data-theme="dark"] :is(.mini-bar i, .mini-page .mini-h, .skip-link) { background-color: #0a0620; }
html[data-theme="dark"] .serp-row--you .serp-rank { background: #0a0620; color: var(--accent); }
html[data-theme="dark"] .hero-tags .sticker-3 { --c: #0a0620; color: var(--accent); }
html[data-theme="dark"] .process-panel, html[data-theme="dark"] .process-panel :is(h3, p, .process-big) { color: #170c3a; }
html[data-theme="dark"] .site-footer { color: #f1ecff; }
html[data-theme="dark"] .facts dt { color: #a98bff; }
html[data-theme="dark"] .hero .btn-outline-light:hover, html[data-theme="dark"] .closing .btn-outline:hover { background: var(--ink); color: #170c3a; }
html[data-theme="dark"] .marquee--back li, html[data-theme="dark"] .marquee li { color: #170c3a; }
.facts dt { text-transform: none; font-family: var(--font-display); letter-spacing: -0.02em; }
/* Оформление */
.est-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 16px 48px; align-items: end; }
.est-head .lead { margin: 0; }
.footer-inner { flex-wrap: wrap; }
.footer-inner .to-top { margin-left: auto; }
@media (max-width: 760px) {
	.hero-meta { font-size: 12.5px; flex-wrap: nowrap; }
	.hero-meta-item:last-child { white-space: nowrap; }
	.est-head { grid-template-columns: 1fr; }
}
@media (max-width: 420px) { .hero-meta-item:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } }

/* ===== Google с вашата дума ===== */
.serp-mock-bar { margin: 0; }
.serp-mock-query { cursor: text; }
.serp-mock-input { flex: 1; min-width: 0; border: 0; background: transparent; font: 600 16px/1.2 var(--font); color: var(--ink); outline: none; padding: 0; }
.serp-mock-input::placeholder { color: var(--ink-2); opacity: .7; }
.serp-mock.is-editing .serp-mock-bar { box-shadow: 0 0 0 3px var(--accent); }
.serp-mock-go { display: grid; place-items: center; margin-left: auto; padding: 4px; border: 0; background: none; color: var(--blue); cursor: pointer; border-radius: 50%; }
.serp-mock-go:hover { background: var(--paper-2); }
.serp-mock-cap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.serp-try { padding: 6px 12px; border: 1.5px dashed var(--blue); border-radius: 999px; background: var(--card); font: 700 13px/1 var(--font); color: var(--blue); cursor: pointer; animation: try-wiggle 3s ease-in-out 1s infinite; }
.serp-try:hover { background: var(--accent); color: var(--on-accent); border-style: solid; border-color: var(--ink); }
@keyframes try-wiggle { 0%, 88%, 100% { transform: none; } 92% { transform: rotate(-3deg); } 96% { transform: rotate(3deg); } }
.serp-want { font-weight: 800; font-size: 14px; color: var(--blue); }

/* ===== Бавен срещу бърз ===== */
.speed { background: var(--paper); }
.speed-box { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 64px); align-items: start; margin-top: 36px; }
.speed-label { display: block; margin-bottom: 10px; font: 800 20px/1.3 var(--font-display); letter-spacing: -0.02em; }
.speed-label output { display: inline-block; min-width: 2ch; padding: 2px 10px; border-radius: 999px; background: var(--accent); color: var(--on-accent); text-align: center; }
.speed-stat { display: flex; align-items: baseline; gap: 14px; margin: 26px 0 6px; font-size: 16px; line-height: 1.45; color: var(--ink-2); }
.speed-stat-num { flex: none; font: 800 clamp(46px, 5vw, 68px)/1 var(--font-display); letter-spacing: -0.05em; color: var(--orange); font-variant-numeric: tabular-nums; }
.speed-src { margin: 0 0 22px; font-size: 12.5px; color: var(--ink-2); opacity: .8; }
.speed-race { display: grid; gap: 14px; }
.speed-lane { padding: 14px; border: 1.5px solid var(--ink); border-radius: 20px; background: var(--card); box-shadow: 5px 5px 0 var(--ink); }
.speed-lane--fast { box-shadow: 5px 5px 0 var(--blue); }
.speed-top { display: flex; justify-content: space-between; margin-bottom: 10px; font-weight: 800; font-size: 14px; }
.speed-time { font-variant-numeric: tabular-nums; color: var(--ink-2); }
.speed-lane--fast .speed-time b { color: var(--blue); }
.speed-lane--slow.is-loading .speed-time b, .speed-lane--slow.is-left .speed-time b { color: var(--orange); }
.speed-screen { position: relative; height: 120px; overflow: hidden; border-radius: 12px; background: var(--paper-2); }
.speed-page { position: absolute; inset: 0; padding: 16px; display: grid; gap: 8px; align-content: start; clip-path: inset(0 0 100% 0); }
.speed-page i { display: block; height: 12px; border-radius: 6px; background: var(--card); }
.speed-page i:nth-child(1) { width: 45%; height: 18px; background: var(--ink); }
.speed-page i:nth-child(2) { width: 85%; } .speed-page i:nth-child(3) { width: 70%; }
.speed-page i:nth-child(4) { width: 30%; height: 22px; border-radius: 999px; background: var(--accent); }
.speed-lane--fast .speed-page i:nth-child(1) { background: var(--blue); }
.speed-lane.is-loading .speed-page { animation: page-load var(--dur, 1s) steps(6, end) forwards; }
.speed-lane.is-done .speed-page { clip-path: inset(0 0 0 0); }
@keyframes page-load { to { clip-path: inset(0 0 0 0); } }
.speed-spinner { position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border: 3px solid var(--line); border-top-color: var(--blue); border-radius: 50%; opacity: 0; }
.speed-lane.is-loading .speed-spinner { opacity: 1; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.speed-leave, .speed-win { position: absolute; right: 10px; bottom: 10px; padding: 6px 12px; border-radius: 999px; font-weight: 800; font-size: 13px; opacity: 0; transform: translateY(8px); transition: opacity .3s ease, transform .3s cubic-bezier(.3,1.5,.5,1); }
.speed-leave { background: var(--orange); color: #fff; }
.speed-win { background: #1fcf6b; color: #fff; }
.speed-lane.is-left .speed-leave, .speed-lane--fast.is-done .speed-win { opacity: 1; transform: none; }
.speed-lane.is-left .speed-page { filter: grayscale(1) opacity(.6); }
.speed-after { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 8px; }
.speed-after[hidden] { display: none; }
.speed-link { font-weight: 800; color: var(--blue); }
@media (max-width: 900px) { .speed-box { grid-template-columns: 1fr; } }

/* ===== Позиция, която расте със скрола ===== */
.rank-pill { position: fixed; right: 22px; top: 108px; z-index: 55; display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border: 1.5px solid var(--line); border-radius: 999px; background: color-mix(in srgb, var(--card) 92%, transparent); backdrop-filter: blur(10px); font-size: 12.5px; font-weight: 700; color: var(--ink-2); box-shadow: 0 10px 24px -14px rgba(23,12,58,.4); opacity: 0; transform: translateY(-8px); transition: opacity .3s ease, transform .3s ease; pointer-events: none; }
.rank-pill.is-on { opacity: 1; transform: none; }
.rank-pill-g { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 11px; font-weight: 800; }
.rank-pill b { min-width: 3ch; font: 800 16px/1 var(--font-display); color: var(--ink); font-variant-numeric: tabular-nums; }
.rank-pill.is-top b { color: var(--blue); }
.rank-pill.is-first { background: var(--accent); border-color: var(--ink); color: var(--on-accent); }
.rank-pill.is-first b { color: var(--on-accent); }
html[data-theme="dark"] .rank-pill.is-top:not(.is-first) b { color: var(--accent); }
@media (prefers-reduced-motion: reduce) { .serp-try { animation: none; } .speed-lane.is-loading .speed-spinner { animation: none; } }

/* =====================================================================
   v17 — Единен ховър за всички бутони: леко повдигане, по-дълга сянка,
   текстът винаги остава четлив. Без „магнитно“ движение.
   ===================================================================== */
.btn, .header-cta, .est-cta, .form-next {
	translate: none !important;
	transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease !important;
}
/* Основен (жълт) бутон — навсякъде еднакъв */
.btn:not(.btn-outline-light):not(.btn-outline),
.header-cta, .est-cta, .form-next, .exit-form .btn {
	background: var(--accent) !important;
	color: var(--on-accent) !important;
	border: 2px solid var(--ink) !important;
	box-shadow: 4px 4px 0 var(--ink) !important;
	transform: none;
}
.btn:not(.btn-outline-light):not(.btn-outline):hover,
.header-cta:hover, .est-cta:hover, .form-next:hover, .exit-form .btn:hover {
	background: #fff36b !important;
	color: var(--on-accent) !important;
	transform: translate(-2px, -2px) !important;
	box-shadow: 6px 6px 0 var(--ink) !important;
}
.btn:not(.btn-outline-light):not(.btn-outline):active,
.header-cta:active, .est-cta:active, .form-next:active {
	transform: translate(2px, 2px) !important;
	box-shadow: 1px 1px 0 var(--ink) !important;
}
/* На тъмен фон сянката е оранжева, за да се вижда */
:is(.section-blue, .page-hero, .est-result, .section.case, .site-footer, .package.is-featured, .package--featured) .btn:not(.btn-outline-light):not(.btn-outline),
.est-cta { border-color: #0d0826 !important; box-shadow: 4px 4px 0 var(--orange) !important; }
:is(.section-blue, .page-hero, .est-result, .section.case, .site-footer, .package.is-featured, .package--featured) .btn:not(.btn-outline-light):not(.btn-outline):hover,
.est-cta:hover { box-shadow: 6px 6px 0 var(--orange) !important; }

/* Контурен бутон */
.btn-outline-light, .btn-outline {
	background: transparent !important;
	color: var(--ink) !important;
	border: 2px solid var(--ink) !important;
	box-shadow: none !important;
}
.btn-outline-light:hover, .btn-outline:hover {
	background: var(--ink) !important;
	color: #fff !important;
	transform: translate(-2px, -2px);
	box-shadow: 4px 4px 0 var(--accent) !important;
}
:is(.section-blue, .page-hero, .section.case) :is(.btn-outline-light, .btn-outline) { color: #fff !important; border-color: #fff !important; }
:is(.section-blue, .page-hero, .section.case) :is(.btn-outline-light, .btn-outline):hover { background: #fff !important; color: var(--ink) !important; }

/* Филтри в проектите */
.filter { transition: background-color .18s ease, color .18s ease, transform .18s ease; }
.filter:not(.is-active):hover { background: var(--accent) !important; color: var(--on-accent) !important; transform: translateY(-2px); }
.filter.is-active, .filter.is-active:hover { background: var(--ink) !important; color: #fff !important; }

/* Малки бутони и връзки */
.serp-try:hover { transform: translateY(-2px); }
.card-link:hover .card-more { text-decoration: underline; text-underline-offset: 3px; }
.to-top:hover { color: var(--accent); }
.btn:focus-visible, .header-cta:focus-visible, .filter:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
	.btn, .header-cta, .est-cta, .form-next, .filter { transition: none !important; }
	.btn:hover, .header-cta:hover, .est-cta:hover, .form-next:hover, .filter:hover { transform: none !important; }
}

/* Снимки на сайтовете в страницата на проекта: в естествен размер, с рамка */
.single-project .wp-block-image, .project-body .wp-block-image, .entry-content .wp-block-image { margin: 28px auto; text-align: center; }
.single-project .wp-block-image img, .project-body .wp-block-image img, .entry-content .wp-block-image img { width: auto; max-width: 100%; height: auto; border: 2px solid var(--ink); border-radius: 14px; box-shadow: 6px 6px 0 var(--ink); }
/* Скрийншотите на сайтове се показват от горния ляв ъгъл (менюто и заглавието се виждат) */
.card-media img, .card-link img, .project-hero-media img, .single-cover img { object-position: left top; }

/* ===== Преди / след — плъзгач ===== */
.ba-compare { position: relative; margin: 32px 0; aspect-ratio: 16 / 10; overflow: hidden; border: 2px solid var(--ink); border-radius: 16px; box-shadow: 6px 6px 0 var(--ink); background: var(--paper-2); user-select: none; touch-action: pan-y; --pos: 50%; }
.ba-compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left top; border: 0 !important; box-shadow: none !important; border-radius: 0 !important; max-width: none; }
.ba-compare .ba-compare-old { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-tag { position: absolute; top: 14px; z-index: 3; padding: 6px 12px; border-radius: 999px; font: 800 13px/1 var(--font); border: 2px solid var(--ink); }
.ba-tag-old { left: 14px; background: #fff; color: var(--ink); }
.ba-tag-new { right: 14px; background: var(--accent); color: var(--on-accent); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 4; width: 3px; margin-left: -1.5px; background: var(--ink); pointer-events: none; }
.ba-handle::after { content: "↔"; position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 46px; height: 46px; margin: -23px 0 0 -23px; border: 2px solid var(--ink); border-radius: 50%; background: var(--accent); color: var(--on-accent); font: 800 20px/1 var(--font); box-shadow: 3px 3px 0 var(--ink); }
.ba-range { position: absolute; inset: 0; z-index: 5; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba-range:focus-visible + .ba-handle::after { outline: 3px solid var(--orange); outline-offset: 3px; }
.ba-hint { display: block; margin-top: 10px; text-align: center; font-size: 13px; font-weight: 700; color: var(--ink-2); }
