@charset "utf-8";
/* ==========================================================================
   FORNEXT 2026 – нова визия
   Цветове от оригиналния бранд: синьо #0072bc, тъмносиньо (лого) #273896,
   зелено #40a740. Без зависимости (без jQuery), mobile-first.
   ========================================================================== */

:root {
	--fn-blue: #0072bc;
	--fn-blue-dark: #005a96;
	--fn-blue-soft: #e8f2fa;
	--fn-navy: #273896;
	--fn-green: #2f8f2f;          /* малко по-тъмно от #40a740 за контраст на текст */
	--fn-green-brand: #40a740;
	--fn-green-soft: #edf7ed;
	--fn-orange: #da3b01;

	--text: #1f1f1f;
	--text-muted: #555;
	--bg: #fff;
	--bg-soft: #f4f5f7;
	--bg-softer: #fafafa;
	--border: #e1e3e6;

	--radius: 10px;
	--radius-lg: 16px;
	--shadow: 0 1px 2px rgba(0,0,0,.06), 0 4px 16px rgba(0,0,0,.06);
	--shadow-hover: 0 2px 4px rgba(0,0,0,.08), 0 10px 28px rgba(0,0,0,.10);

	--wrap: 1240px;
	--gutter: 16px;
	--header-h: 68px;

	--font: "Segoe UI Variable Text", "Segoe UI", "Inter", Roboto, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
	--font-display: "Segoe UI Variable Display", "Segoe UI", "Inter", Roboto, system-ui, -apple-system, Arial, sans-serif;
}
@media (min-width: 768px) { :root { --gutter: 24px; } }
@media (min-width: 1100px) { :root { --gutter: 32px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 64px); }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.6;
	color: var(--text);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
}
img, video, iframe { max-width: 100%; }
img { height: auto; border: 0; vertical-align: middle; }
a { color: var(--fn-blue); text-decoration: none; }
a:hover { color: var(--fn-blue-dark); text-decoration: underline; }
:focus-visible { outline: 3px solid var(--fn-blue); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); line-height: 1.25; margin: 0 0 .5em; color: var(--text); font-weight: 600; }
h1 { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.75rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.125rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
hr { border: 0; border-top: 1px solid var(--border); margin: 1.5em 0; }
table { border-collapse: collapse; width: 100%; }
::selection { background: var(--fn-blue-soft); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 1000; background: #fff; padding: 10px 16px; border-radius: 6px; box-shadow: var(--shadow); }
.skip-link:focus { top: 8px; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	min-height: 44px; padding: 10px 22px;
	font: 600 15px/1.2 var(--font);
	border-radius: 6px; border: 2px solid transparent;
	cursor: pointer; text-decoration: none !important; transition: background .15s, border-color .15s, color .15s, box-shadow .15s;
	white-space: nowrap;
}
.btn-primary { background: var(--fn-blue); color: #fff !important; }
.btn-primary:hover { background: var(--fn-blue-dark); }
.btn-secondary { background: #fff; color: var(--fn-blue) !important; border-color: var(--fn-blue); }
.btn-secondary:hover { background: var(--fn-blue-soft); }
.btn-ghost { background: transparent; color: var(--text) !important; border-color: var(--border); }
.btn-ghost:hover { border-color: var(--text); }
.btn-lg { min-height: 52px; padding: 12px 28px; font-size: 16px; }
.btn-block { width: 100%; }
.link-arrow { font-weight: 600; display: inline-flex; align-items: center; gap: .35em; }
.link-arrow::after { content: "›"; font-size: 1.3em; line-height: 1; transition: transform .15s; }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255,255,255,.96); backdrop-filter: saturate(180%) blur(8px);
	border-bottom: 1px solid var(--border);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.site-logo { flex: 0 0 auto; display: block; line-height: 0; }
.site-logo img { width: 132px; height: auto; }
.main-nav { flex: 1 1 auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.main-nav a {
	display: block; padding: 8px 12px; border-radius: 6px;
	color: var(--text); font-size: 15px; font-weight: 500; text-decoration: none; position: relative;
}
.main-nav a:hover { background: var(--bg-soft); color: var(--text); }
.main-nav a[aria-current="page"], .main-nav li.is-active > a { color: var(--fn-blue); }
.main-nav a[aria-current="page"]::after, .main-nav li.is-active > a::after {
	content: ""; position: absolute; left: 12px; right: 12px; bottom: -13px; height: 3px; background: var(--fn-blue); border-radius: 3px 3px 0 0;
}
.header-contact { flex: 0 0 auto; display: flex; align-items: center; gap: 14px; font-size: 14px; }
.header-contact .phone { display: inline-flex; align-items: center; gap: 6px; color: var(--text); font-weight: 600; white-space: nowrap; }
.header-contact .phone svg { color: var(--fn-blue); }
.header-contact .phone-2 { color: var(--text-muted); font-weight: 500; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 6px; cursor: pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 22px; height: 2px; background: var(--text); margin: 0 auto; position: relative; transition: transform .2s, background .2s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -7px; } .nav-toggle span::after { top: 7px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1023px) {
	.header-contact .phone-2 { display: none; }
}
@media (max-width: 899px) {
	.site-header .wrap { gap: 12px; }
	.nav-toggle { display: block; }
	.header-contact { order: 2; margin-left: auto; }
	.header-contact .phone .num { display: none; }
	.nav-toggle { order: 3; margin-left: 0; }
	.main-nav {
		order: 4; flex-basis: 100%; display: none;
		border-top: 1px solid var(--border); margin: 0 calc(var(--gutter) * -1); padding: 8px var(--gutter) 16px;
	}
	.nav-open .main-nav { display: block; }
	.main-nav ul { flex-direction: column; gap: 0; }
	.main-nav a { padding: 12px 8px; font-size: 17px; border-radius: 0; border-bottom: 1px solid var(--border); }
	.main-nav a[aria-current="page"]::after, .main-nav li.is-active > a::after { display: none; }
	.site-header .wrap { flex-wrap: wrap; }
}

/* ---------- Breadcrumb ---------- */
.breadcrumb { background: var(--bg-softer); border-bottom: 1px solid var(--border); font-size: 14px; }
.breadcrumb ol { list-style: none; margin: 0; padding: 10px 0; display: flex; flex-wrap: wrap; gap: 4px 0; }
.breadcrumb li { color: var(--text-muted); }
.breadcrumb li + li::before { content: "/"; margin: 0 8px; color: #aaa; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--fn-blue); }
.breadcrumb [aria-current] { color: var(--text); }

/* ---------- Layout ---------- */
.page { padding-top: 40px; padding-bottom: 64px; }
.page-head { margin-bottom: 28px; }
.page-head h1 { margin-bottom: .3em; }
.page-head .lead, .lead { font-size: 1.15rem; color: var(--text-muted); max-width: 820px; }
.layout-sidebar { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 960px) {
	.layout-sidebar { grid-template-columns: 260px minmax(0, 1fr); }
	.layout-sidebar.sidebar-right { grid-template-columns: minmax(0, 1fr) 300px; }
}
.section { padding-top: 56px; padding-bottom: 56px; }
.section-soft { background: var(--bg-soft); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; margin-bottom: 28px; }
.section-head h2 { margin: 0; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--fn-blue); margin-bottom: 8px; }

/* ---------- Side navigation ---------- */
.side-nav { position: sticky; top: calc(var(--header-h) + 20px); max-height: calc(100vh - var(--header-h) - 40px); overflow-y: auto; overscroll-behavior: contain; }
/* В дясната колона под менюто има още карета – там менюто не е лепкаво, за да не минава върху тях */
.sidebar-right .side-nav { position: static; max-height: none; overflow: visible; }
.side-nav .side-date { display: block; font-size: 13px; color: var(--text-muted); margin-top: 2px; }
.side-nav h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); margin: 0 0 10px; }
.side-nav ul { list-style: none; margin: 0 0 28px; padding: 0; border-left: 2px solid var(--border); }
.side-nav a { display: block; padding: 8px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--text); font-size: 15px; line-height: 1.4; }
.side-nav a:hover { color: var(--fn-blue); text-decoration: none; border-left-color: #b9cfe0; }
.side-nav a[aria-current="page"] { color: var(--fn-blue); font-weight: 600; border-left-color: var(--fn-blue); }
@media (max-width: 959px) {
	.side-nav { position: static; max-height: none; overflow: visible; }
	.side-nav ul { display: flex; flex-wrap: wrap; gap: 8px; border: 0; margin-bottom: 8px; }
	.side-nav a { border: 1px solid var(--border) !important; border-radius: 999px; padding: 6px 14px; margin: 0; font-size: 14px; }
	.side-nav a[aria-current="page"] { background: var(--fn-blue); color: #fff; border-color: var(--fn-blue) !important; }
}

.info-card { background: var(--bg-soft); border-radius: var(--radius); padding: 20px; margin-bottom: 24px; }
.info-card h3 { font-size: 1.1rem; }
.info-card p { font-size: 15px; margin-bottom: .6em; }

/* ---------- Chips (раздели / филтри) ---------- */
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 28px; padding: 0; list-style: none; }
.chips .label { font-size: 14px; color: var(--text-muted); margin-right: 4px; }
.chips a { display: inline-block; padding: 7px 16px; border: 1px solid var(--border); border-radius: 999px; color: var(--text); font-size: 14px; font-weight: 500; }
.chips a:hover { border-color: var(--fn-blue); color: var(--fn-blue); text-decoration: none; }
.chips a[aria-current="page"] { background: var(--text); border-color: var(--text); color: #fff; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.card {
	position: relative; display: flex; flex-direction: column;
	background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
	overflow: hidden; transition: box-shadow .2s, transform .2s, border-color .2s;
}
.card:hover { box-shadow: var(--shadow-hover); border-color: transparent; }
.card-media { display: block; background: var(--bg-soft); aspect-ratio: 16 / 9; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-media.square { aspect-ratio: 1 / 1; background: #fff; display: flex; align-items: center; justify-content: center; padding: 16px; }
.card-media.square img { object-fit: contain; width: auto; max-height: 100%; }
@media (max-width: 599px) { .card-media.square { aspect-ratio: 16 / 10; } }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.card-body h2, .card-body h3 { font-size: 1.2rem; margin-bottom: .4em; }
.card-body h2 a, .card-body h3 a { color: var(--text); }
.card-body h2 a:hover, .card-body h3 a:hover { color: var(--fn-blue); text-decoration: none; }
.card-body .stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card-text { color: var(--text-muted); font-size: 15px; flex: 1; }
.card-text p:last-child { margin-bottom: 0; }
.card-meta { font-size: 13px; color: var(--text-muted); margin-bottom: 8px; display: flex; flex-wrap: wrap; gap: 4px 12px; }
.card-meta .tag { color: var(--fn-blue); font-weight: 600; }
.card-foot { margin-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.card-foot .btn, .card-foot a { position: relative; z-index: 2; }
.clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.clamp-4 { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }

/* Цена */
.price { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; color: var(--text); line-height: 1.2; }
.price small { display: block; font-family: var(--font); font-size: 13px; font-weight: 400; color: var(--text-muted); }
.price-free { color: var(--fn-green); }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--fn-green-soft); color: var(--fn-green); font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.badge-blue { background: var(--fn-blue-soft); color: var(--fn-blue); }

/* ---------- Home: hero ---------- */
.hero {
	position: relative; overflow: hidden;
	background: linear-gradient(135deg, #f3f8fc 0%, #e6f0f9 55%, #eef7ee 100%);
	border-bottom: 1px solid var(--border);
}
.hero .wrap { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; padding-top: 48px; padding-bottom: 48px; }
@media (min-width: 960px) { .hero .wrap { grid-template-columns: 1.05fr 1fr; padding-top: 72px; padding-bottom: 72px; } }
.hero h1 { font-size: clamp(2rem, 1.3rem + 2.8vw, 3.25rem); margin-bottom: .35em; }
.hero h1 strong { color: var(--fn-blue); font-weight: 700; }
.hero .lead { font-size: 1.2rem; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-points { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 15px; color: var(--text-muted); }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--fn-green-brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='3' d='M5 10.5l3.2 3L15 7'/%3E%3C/svg%3E") center/12px no-repeat; flex: 0 0 auto; }
.hero-media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-hover); }

/* Product quick-links bar under hero */
.quick-products { background: #fff; border-bottom: 1px solid var(--border); }
.quick-products ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: thin; }
.quick-products a { display: block; padding: 14px 16px; white-space: nowrap; color: var(--text); font-weight: 600; font-size: 14px; border-bottom: 3px solid transparent; }
.quick-products a:hover { border-bottom-color: var(--fn-blue); color: var(--fn-blue); text-decoration: none; }

/* Home: feature rows (от банерите в базата) */
.feature-row { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; padding: 40px 0; border-bottom: 1px solid var(--border); }
.feature-row:last-child { border-bottom: 0; }
@media (min-width: 900px) {
	.feature-row { grid-template-columns: 1.15fr 1fr; gap: 56px; padding: 56px 0; }
	.feature-row.is-right .feature-media { order: 2; }
}
.feature-media { display: block; border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-soft); box-shadow: var(--shadow); }
.feature-media img { width: 100%; display: block; transition: transform .4s; }
.feature-media:hover img { transform: scale(1.02); }
.feature-body h3 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); }
.feature-body h3 a { color: inherit; }
.feature-body h3 a:hover { text-decoration: none; color: var(--fn-blue); }
.feature-body h3 strong { color: var(--fn-blue); }
.feature-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 14px; }
.feature-list li { position: relative; padding-left: 30px; }
.feature-list li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--fn-blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='none' stroke='%230072bc' stroke-width='2.6' d='M5 10.5l3.2 3L15 7'/%3E%3C/svg%3E") center/13px no-repeat; }
.feature-list h4 { font-size: 1rem; margin: 0 0 2px; }
.feature-list p { margin: 0; color: var(--text-muted); font-size: 15px; }

/* Home: highlight boxes */
.hl-card .card-media { aspect-ratio: 312 / 136; }
.link-list { list-style: none; padding: 0; margin: 0; }
.link-list li { border-top: 1px solid var(--border); }
.link-list li:first-child { border-top: 0; }
.link-list a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; color: var(--text); font-size: 15px; line-height: 1.4; }
.link-list a::after { content: "›"; color: var(--fn-blue); font-size: 1.3em; line-height: 1; }
.link-list a:hover { color: var(--fn-blue); text-decoration: none; }
.link-list span.nolink { display: block; padding: 10px 0; color: var(--text-muted); font-size: 15px; }

/* CTA band */
.cta-band { background: var(--fn-navy); color: #fff; border-radius: var(--radius-lg); padding: 36px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.cta-band h2 { color: #fff; margin: 0 0 4px; font-size: 1.6rem; }
.cta-band p { margin: 0; color: #d6dcf5; }
.cta-band .btn-primary { background: #fff; color: var(--fn-navy) !important; }
.cta-band .btn-primary:hover { background: #e8ebfa; }
.cta-band .btn-secondary { background: transparent; color: #fff !important; border-color: rgba(255,255,255,.6); }
.cta-band .btn-secondary:hover { background: rgba(255,255,255,.1); }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Product page ---------- */
.product-hero { background: var(--bg-soft); border-bottom: 1px solid var(--border); }
.product-hero .wrap { display: grid; grid-template-columns: 1fr; gap: 32px; padding-top: 36px; padding-bottom: 40px; align-items: center; }
@media (min-width: 900px) { .product-hero .wrap { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; padding-top: 48px; padding-bottom: 56px; } }
.product-visual { background: #fff; border-radius: var(--radius-lg); padding: 24px; display: flex; justify-content: center; align-items: center; box-shadow: var(--shadow); }
.product-visual img { max-height: 420px; width: auto; }
.product-summary h1 { margin-bottom: .25em; }
.product-summary .lead { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 20px; }
.buy-box { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; margin: 20px 0 0; }
.buy-box .price { font-size: 2rem; }
.buy-box .price small { font-size: 14px; margin-top: 4px; }
.buy-box .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.buy-box .actions .btn { flex: 1 1 auto; }
.buy-box .assist { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--border); font-size: 14px; color: var(--text-muted); display: flex; flex-wrap: wrap; gap: 6px 18px; }
.buy-box .assist a { font-weight: 600; }

/* Ключови факти (GEO – кратък, цитируем резюмен блок) */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin: 0; }
.facts div { background: #fff; padding: 14px 16px; }
.facts dt { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); margin-bottom: 2px; }
.facts dd { margin: 0; font-weight: 600; font-size: 15px; }

/* Лепящо подменю на продукта (вместо скрити табове) */
.subnav { position: sticky; top: var(--header-h); z-index: 50; background: #fff; border-bottom: 1px solid var(--border); }
.subnav .wrap { display: flex; align-items: center; gap: 16px; }
.subnav .subnav-title { display: none; font-weight: 700; white-space: nowrap; font-size: 15px; }
.subnav.is-stuck .subnav-title { display: block; }
.subnav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; flex: 1; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: block; padding: 16px 14px 13px; color: var(--text); font-size: 15px; font-weight: 500; white-space: nowrap; border-bottom: 3px solid transparent; }
.subnav a:hover { color: var(--fn-blue); text-decoration: none; }
.subnav a.is-active { border-bottom-color: var(--fn-blue); color: var(--fn-blue); font-weight: 600; }
.subnav .btn { min-height: 38px; padding: 6px 16px; font-size: 14px; display: none; }
.subnav.is-stuck .btn { display: inline-flex; }
@media (max-width: 699px) { .subnav .subnav-title, .subnav.is-stuck .subnav-title, .subnav.is-stuck .btn { display: none; } }

.product-section { padding: 56px 0; border-bottom: 1px solid var(--border); }
.product-section:nth-of-type(even) { background: var(--bg-softer); }
.product-section > .wrap > h2 { margin-bottom: 28px; }

/* Intro (Представяне) – редуващи се редове */
.intro-list { display: grid; gap: 28px; }
.intro-item { display: grid; grid-template-columns: 1fr; gap: 20px 40px; align-items: center; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
@media (min-width: 800px) {
	.intro-item { grid-template-columns: 2fr 3fr; padding: 32px; }
	.intro-item:nth-child(even) .intro-media { order: 2; }
	.intro-item:nth-child(even) { grid-template-columns: 3fr 2fr; }
}
.intro-media { text-align: center; }
.intro-media img { border-radius: 8px; }
.intro-item h3 { font-size: 1.25rem; }

/* Цени */
.price-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); margin-bottom: 36px; }
.price-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px; display: flex; flex-direction: column; }
.price-card:first-child { border: 2px solid var(--fn-blue); box-shadow: var(--shadow); }
.price-card h3 { font-size: 1.15rem; padding-bottom: 12px; border-bottom: 1px solid var(--border); margin-bottom: 14px; }
.price-card p { font-size: 15px; }
.price-card strong { color: var(--text); font-size: 1.05em; }
.price-card .buttonSet, .price-card .actions { margin-top: auto; padding-top: 12px; }

/* Галерия (Презентация) */
.gallery { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.gallery a { display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: #fff; aspect-ratio: 876 / 548; }
.gallery a img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery a:hover img { transform: scale(1.03); }
.gallery figure { margin: 0; }
.gallery figcaption { font-size: 13px; color: var(--text-muted); padding: 8px 2px 0; }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 96vh; }
.lightbox::backdrop { background: rgba(10,14,20,.88); }
.lightbox img { display: block; max-width: 92vw; max-height: 82vh; border-radius: 8px; background: #fff; }
.lightbox p { color: #fff; text-align: center; margin: 12px 0 0; font-size: 15px; }
.lightbox .lb-close, .lightbox .lb-prev, .lightbox .lb-next { position: fixed; border: 0; background: rgba(255,255,255,.14); color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 26px; line-height: 1; cursor: pointer; }
.lightbox .lb-close { top: 16px; right: 16px; }
.lightbox .lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox button:hover { background: rgba(255,255,255,.28); }

/* ---------- Prose (HTML от базата) ---------- */
.prose { font-size: 17px; line-height: 1.7; max-width: 860px; }
.prose.wide { max-width: none; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose h4, .prose h5, .prose h6 { margin-top: 1.2em; }
.prose > :first-child { margin-top: 0; }
.prose img { border-radius: 8px; }
.prose ul { list-style: disc; }
.prose ul.circle { list-style: none; padding-left: 0; }
.prose ul.circle li { position: relative; padding: 8px 0 8px 22px; border-bottom: 1px solid var(--border); }
.prose ul.circle li::before { content: ""; position: absolute; left: 4px; top: 18px; width: 7px; height: 7px; border-radius: 50%; background: var(--fn-blue); }
.prose li { margin-bottom: .35em; }
.prose blockquote { margin: 1.5em 0; padding: 16px 20px; border-left: 4px solid var(--fn-blue); background: var(--fn-blue-soft); border-radius: 0 8px 8px 0; }
.prose table { margin: 1.5em 0; font-size: 15px; display: block; overflow-x: auto; }
.prose table:not(.noFormat) { border: 1px solid var(--border); border-radius: 8px; }
.prose table:not(.noFormat) th, .prose table:not(.noFormat) td { border-bottom: 1px solid var(--border); padding: 10px 14px; text-align: left; vertical-align: top; }
.prose table:not(.noFormat) th { background: var(--bg-soft); font-weight: 600; }
.prose table:not(.noFormat) tr:last-child td { border-bottom: 0; }
.prose table td p { margin: 0; }
.prose table.noFormat td { padding: 8px 12px 8px 0; vertical-align: top; border: 0; }
.prose iframe { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 10px; margin: 1em 0; }
.prose pre, .prose code { font-family: Consolas, "Courier New", monospace; font-size: .92em; background: var(--bg-soft); border-radius: 4px; padding: 2px 5px; }
.prose pre { padding: 14px; overflow-x: auto; }
/* Съвместимост със старите класове, използвани в съдържанието от базата */
.prose .button, .price-card .button { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 8px 20px; border-radius: 6px; font-weight: 600; background: var(--fn-blue); color: #fff; text-decoration: none; }
.prose .button:hover, .price-card .button:hover { background: var(--fn-blue-dark); color: #fff; text-decoration: none; }
.prose .button.orange, .price-card .button.orange { background: var(--fn-orange); }
.prose .button.orange:hover, .price-card .button.orange:hover { background: #b33000; }
.prose .fixedWidth { min-width: 180px; }
.prose .colsWrapper { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); margin: 1.5em 0; }
.prose .greyBox { background: var(--bg-soft); border-radius: var(--radius); padding: 20px; }
.prose .clear, .prose .clearH, .prose .clearH2, .prose .clearH3 { clear: both; }
.prose .clearH { height: 10px; } .prose .clearH2 { height: 20px; } .prose .clearH3 { height: 30px; }
.prose .left { float: left; margin: 0 20px 12px 0; } .prose .right { float: right; margin: 0 0 12px 20px; }
.prose .center { text-align: center; }
.prose::after { content: ""; display: table; clear: both; }
@media (max-width: 600px) { .prose .left, .prose .right { float: none; margin: 0 0 12px; } }

/* ---------- Article (блог, бюлетин) ---------- */
.article-head { margin-bottom: 24px; }
.article-head .meta { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--text-muted); font-size: 15px; }
.article-head .meta strong { color: var(--text); font-weight: 600; }
.article-cover { border-radius: var(--radius-lg); overflow: hidden; margin: 0 0 32px; }
.article-cover img { width: 100%; }
.article-foot { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.share { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-muted); }
.share a { width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--bg-soft); color: var(--text); }
.share a:hover { background: var(--fn-blue); color: #fff; }
.author-box { display: flex; gap: 16px; align-items: flex-start; background: var(--bg-soft); border-radius: var(--radius); padding: 20px; margin-top: 32px; }
.author-box .avatar { flex: 0 0 48px; height: 48px; border-radius: 50%; background: var(--fn-navy); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.author-box p { margin: 0; font-size: 15px; color: var(--text-muted); }
.author-box strong { display: block; color: var(--text); }

/* ---------- Pagination ---------- */
.pagination { margin-top: 40px; }
.pagination ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.pagination a { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 10px; border: 1px solid var(--border); border-radius: 6px; color: var(--text); font-weight: 500; }
.pagination a:hover { border-color: var(--fn-blue); color: var(--fn-blue); text-decoration: none; }
.pagination a[aria-current="page"] { background: var(--fn-blue); border-color: var(--fn-blue); color: #fff; }

/* ---------- Contacts ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; } }
.contact-cards { display: grid; gap: 16px; align-content: start; }
.contact-card { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; }
.contact-card .ico { flex: 0 0 44px; height: 44px; border-radius: 50%; background: var(--fn-blue-soft); color: var(--fn-blue); display: flex; align-items: center; justify-content: center; }
.contact-card h2, .contact-card h3 { font-size: 1rem; margin: 0 0 2px; }
.contact-card p { margin: 0; color: var(--text-muted); font-size: 15px; }
.contact-card a.big { font-size: 1.15rem; font-weight: 600; color: var(--text); }
.contact-card a.big:hover { color: var(--fn-blue); }
.map-embed { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); aspect-ratio: 16 / 7; background: var(--bg-soft); margin-top: 40px; }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 700px) { .map-embed { aspect-ratio: 4 / 3; } }

/* ---------- Forms ---------- */
.form-card { background: var(--bg-soft); border-radius: var(--radius-lg); padding: 28px; }
.form-card h2 { font-size: 1.4rem; }
.form-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.field label em { color: var(--fn-orange); font-style: normal; margin-left: 2px; }
.field input, .field textarea {
	width: 100%; min-height: 46px; padding: 10px 14px;
	font: inherit; font-size: 16px; color: var(--text);
	background: #fff; border: 1px solid #c8ccd1; border-radius: 6px;
	transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--fn-blue); box-shadow: 0 0 0 3px rgba(0,114,188,.18); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #c50f1f; }
.captcha-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.captcha-row img { border-radius: 4px; border: 1px solid var(--border); background: #fff; }
.captcha-row button { border: 0; background: transparent; color: var(--fn-blue); cursor: pointer; font: inherit; font-size: 14px; font-weight: 600; padding: 6px; }
.captcha-row input { max-width: 160px; }
.form-note { font-size: 13px; color: var(--text-muted); margin: 0 0 16px; }
.alert { padding: 14px 18px; border-radius: 8px; margin: 0 0 20px; font-size: 15px; border: 1px solid; }
.alert-success { background: var(--fn-green-soft); border-color: #b9dfb9; color: #1e5e1e; }
.alert-error { background: #fdf0f0; border-color: #f2c0c0; color: #8a1414; }

/* ---------- Guide ---------- */
.guide-group { margin-bottom: 36px; }
.guide-group h2 { font-size: 1.35rem; margin-bottom: 4px; }
.guide-group > p { color: var(--text-muted); margin-bottom: 14px; }
.guide-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.guide-links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 100%; padding: 14px 16px; border: 1px solid var(--border); border-radius: 8px; color: var(--text); background: #fff; font-size: 15px; line-height: 1.4; }
.guide-links a::after { content: "›"; color: var(--fn-blue); font-size: 1.4em; line-height: 1; }
.guide-links a:hover { border-color: var(--fn-blue); color: var(--fn-blue); text-decoration: none; box-shadow: var(--shadow); }
.next-steps { margin-top: 36px; padding: 24px; background: var(--bg-soft); border-radius: var(--radius); }
.next-steps h2 { font-size: 1.15rem; }

/* ---------- 404 ---------- */
.not-found { text-align: center; padding-top: 80px; padding-bottom: 80px; }
.not-found .code { font-size: 5rem; font-weight: 700; color: var(--fn-blue-soft); line-height: 1; }

/* ---------- Footer ---------- */
.site-footer { background: #1b2230; color: #c3c9d4; font-size: 15px; }
.site-footer a { color: #e6eaf0; }
.site-footer a:hover { color: #fff; }
.footer-top { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); padding: 56px 0 40px; }
.footer-brand img { width: 140px; background: #fff; border-radius: 8px; padding: 8px 10px; margin-bottom: 14px; }
.footer-brand p { margin: 0 0 6px; }
.site-footer h2 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .07em; margin: 0 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0 0 9px; }
.footer-bottom { border-top: 1px solid #2e3747; padding: 18px 0 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 13px; color: #98a1b0; }
.footer-bottom a { color: #c3c9d4; }

/* ---------- Cookie notice ---------- */
.cookie-note { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 300; max-width: 720px; margin: 0 auto; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-hover); padding: 16px 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; font-size: 14px; }
.cookie-note p { margin: 0; flex: 1 1 320px; }
.cookie-note[hidden] { display: none; }

/* ---------- Print ---------- */
@media print {
	.site-header, .site-footer, .subnav, .breadcrumb, .cookie-note, .side-nav, .buy-box .actions { display: none !important; }
	body { font-size: 12pt; }
	a { color: #000; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
