/*
 * Допълнения към стиловете на темата (зарежда се последен).
 * Цветовете и шрифтовете са CSS променливи от config/site.php (виж <style> в <head>).
 */

/* ── Общи ─────────────────────────────────────────────── */
.sr-only-focusable:focus { position: static; width: auto; height: auto; margin: 0; overflow: visible; clip: auto; }
address { font-style: normal; margin: 0; }
figure { margin: 0; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
img { max-width: 100%; height: auto; }
.h1 { display: block; }

/* Без анимации, ако човекът ги е изключил в системата */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.wow { visibility: visible !important; }
	.parallax.fixed-desktop, .testimonialfull { background-attachment: scroll !important; }
}

/* ── Лого ─────────────────────────────────────────────── */
.logo-link { display: inline-block; vertical-align: middle; }
.logo-img { max-height: 40px; width: auto; }
.logo-text {
	display: inline-block;
	font-family: var(--font-heading);
	font-size: 24px;
	font-weight: 700;
	letter-spacing: 3px;
	line-height: 32px;
	text-transform: uppercase;
	color: var(--color-heading);
	white-space: nowrap;
}
.logo-text::first-letter { color: var(--color-primary); }
.header-dark .logo-text, .header_dark_0 .fix-header .logo-text, .header_dark_1 .fix-header .logo-text,
.header_dark_2 .fix-header .logo-text, .header_dark_3 .fix-header .logo-text, .header_dark_4 .fix-header .logo-text { color: #fff; }
.logo a:hover { text-decoration: none; }

/* ── Хедър ────────────────────────────────────────────── */
.topinfo .col-md-6 { white-space: nowrap; }
.topinfo .fa { margin-right: 6px; }
.topinfo a:hover { color: var(--color-primary); }
.header-dark-top .topinfo a:hover { color: #fff; }
.top-bar-section ul li > a { font-family: var(--font-heading); }

/* Бутон в хедъра (стил v3, v4, v5) */
.loginbtn { float: right; }
.loginbtn .btn, .serchdiv .btn { text-transform: none; }
.serchdiv .btn { margin-top: 0; }
.btn .fa-1x-before { margin-right: 6px; }
.header_style_3 .serchdiv, .header_dark_3 .serchdiv { padding-top: 22px; width: auto; }
.header_style_4 .serchdiv, .header_dark_4 .serchdiv { width: auto; padding-top: 20px; }
.header_style_3 .top-bar-section, .header_dark_3 .top-bar-section { margin-left: 30px; }

/* Тъмен хедър v1 (в темата има само светъл) */
.header_dark_0 .fix-header { background: var(--color-black); }
.header_dark_0 .topinfo { padding-top: 0; }

/* Тъмен хедър: менюто е светло */
.header-dark .top-bar-section ul li > a { color: #fff; }
.header-dark .top-bar-section ul li > a.active, .header-dark .top-bar-section ul li > a:hover { color: var(--color-primary); }
.header-dark .top-bar-section ul li > a .fa-2x-after { color: #fff; }

/* Меню за телефон: бутон в края на менюто */
.mobile-menu-button { display: block; margin: 15px; text-align: center; }

/* ── Социални мрежи (вместо картинките на темата) ─────── */
.social-icons { display: inline-block; }
.social-icons a {
	display: inline-block;
	width: 28px;
	height: 28px;
	line-height: 28px;
	margin: 0 5px;
	border-radius: 50%;
	text-align: center;
	font-size: 14px;
	vertical-align: middle;
	transition: background .2s, color .2s;
}
.social-icons a svg { vertical-align: -2px; }
.social-icons a:hover { text-decoration: none; }
/* върху светъл фон: черни кръгове */
.social-dark a { background: var(--color-black); color: #fff; }
.social-dark a:hover { background: var(--color-primary); color: #fff; }
/* върху тъмен фон: бели кръгове */
.social-light a { background: #fff; color: var(--color-black); }
.social-light a:hover { background: var(--color-primary); color: #fff; }
/* във футъра: кръгове в основния цвят */
.social-brand a { width: 34px; height: 34px; line-height: 34px; font-size: 16px; background: var(--color-primary); color: #fff; }
.social-brand a:hover { background: #fff; color: var(--color-primary); }
.footer-gray-bg .social-brand a:hover { background: var(--color-black); color: #fff; }
.header_social_style1 .social-icons a, .header_dark_social .social-icons a { background-image: none; }
.header_social_style1, .header_dark_social { padding-top: 0; }

/* ── Банер със снимки ─────────────────────────────────── */
.hero { background: var(--color-dark); }
.hero-slides { position: relative; }
.hero-slide {
	position: relative;
	height: clamp(300px, 42.6vw, 900px);
	overflow: hidden;
}
.hero-slides:not(.slick-initialized) .hero-slide + .hero-slide { display: none; }
.hero-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100% !important;
	object-fit: cover;
}
.hero-caption {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	padding-bottom: 30px;
}
.hero-left .hero-caption .container { text-align: left; }
.hero-right .hero-caption .container { text-align: right; }
.hero .hero-title {
	margin: 0;
	font-size: 36px;
	line-height: 36px;
	letter-spacing: 5px;
	text-transform: uppercase;
	color: #fff;
	text-align: inherit;
}
.hero .hero-title > span { display: table; margin-left: auto; margin-right: auto; }
.hero-left .hero-title > span { margin-left: 0; }
.hero-right .hero-title > span { margin-right: 0; }
.hero .hero-title span span { color: #fff; font-weight: 300; }
.hero .hero-title strong { font-weight: 700; }
.hero .caption-blue { padding: 10px 25px; margin-bottom: 14px; }
.hero .caption-black { padding: 10px 30px; margin-bottom: 30px; }
.hero-right .caption-blue { line-height: 48px; margin-bottom: 30px; }
.hero-btn { margin-top: 0; }
.hero .slick-dots { bottom: 60px; }
.hero-left .slick-dots { bottom: 70px; }
.hero-right .slick-dots { bottom: 20px; }
.hero .slick-dots li button:before { color: #fff; opacity: .6; font-size: 12px; }
.hero .slick-dots li.slick-active button:before { color: #fff; opacity: 1; }
.hero .divider, .hero .dividerfull { z-index: 2; }

@media (max-width: 991px) {
	.hero .hero-title { font-size: 24px; line-height: 28px; letter-spacing: 3px; }
	.hero-right .caption-blue { line-height: 36px; }
}
@media (max-width: 640px) {
	.hero-slide { height: 340px; }
	.hero .hero-title { font-size: 16px; line-height: 22px; letter-spacing: 1px; }
	.hero .caption-blue { padding: 8px 12px; margin-bottom: 8px; }
	.hero .caption-black { padding: 8px 12px; margin-bottom: 20px; }
	.hero-right .caption-blue { line-height: 26px; }
	.hero .slick-dots { bottom: 30px; }
	.hero-left .hero-caption .container, .hero-right .hero-caption .container { text-align: center; }
	.hero-left .hero-title > span, .hero-right .hero-title > span { margin-left: auto; margin-right: auto; }
}

/* ── Секции на началната страница ─────────────────────── */
.section-intro .section-md p { margin-bottom: 10px; }
.diamond-shapes-preview { color: inherit; }
.diamond-shapes-preview:hover, .diamond-shapes-preview:focus { text-decoration: none; }
.diamond-shapes-data h3 { color: var(--color-heading); }

.parallax-bg { background-color: var(--color-dark); background-position: 50% 50%; }
.parallax-data-info .h5 span { color: #fff; }
.features-title { color: #fff; margin-bottom: 40px; }

.portfolio-full-slide .h1 { margin-bottom: 30px; }
.portfolio-full-slide .mask .info:hover { text-decoration: none; }
.portfolio-full-slide .h6 { margin: 0; }

.blogcell .h4 a { color: #fff; }
.blogcell .h4 a:hover { color: var(--color-primary-light); text-decoration: none; }
.blogcell .h4 { margin-top: 20px; }

.testimonialfull { background-color: var(--color-dark); background-size: cover; }
.testimonial blockquote { border: 0; padding: 0; margin: 0; font-size: inherit; }
.testimonial blockquote p { color: #fff; }
.testimonial figcaption .h4 { color: #fff; margin-bottom: 5px; }
.testimonialfull .slick-dots li button:before { color: #fff; }

.clientslider img { margin: 0 auto; }
.clientslider .imgoverflow img { filter: grayscale(1); opacity: .8; transition: opacity .2s, filter .2s; }
.clientslider .imgoverflow:hover img { filter: none; opacity: 1; }

/* ── Вътрешни страници ────────────────────────────────── */
.innerpagetitle { background-color: var(--color-primary); background-position: center center; }
.innerpagetitle .innerbreadcrumb span.activelink { color: #fff; }
.error404 { background-color: var(--color-dark); background-size: cover; background-position: center; }

/* ── Футър ────────────────────────────────────────────── */
.footerinfo address p, .footerinfo-light address p { margin: 0; }
.footer-sec .h5 { margin-bottom: 15px; }
.footer-black-bg .footer-sec .h5 { color: #fff; }
.footer-gray-bg .footer-sec .h5 { color: var(--color-heading); font-size: 20px; }
.footer-hours { list-style: none; margin: 0; padding: 0; }
.footer-hours li { padding: 4px 0; }
.footer-hours strong { font-weight: 400; color: var(--color-primary); white-space: nowrap; }
.footer-black-bg .footer-hours span { color: var(--color-muted); }
.footer-hours-note { font-size: 13px; }
.footer-bottom-company { text-align: right; }
@media (max-width: 767px) {
	.footer-bottom-company { text-align: left; margin-top: 5px; }
}

/* Форма: съобщения и грешки */
.contact-form .alert { padding: 10px 15px; margin-bottom: 15px; }
.contact-form .has-error .form-control, .contact-form .has-error textarea { border: 1px solid var(--color-error) !important; }
.form-consent { margin: 5px 0 15px; font-size: 13px; clear: both; }
.form-consent input { margin-right: 6px; }
.contact-form button[disabled] { opacity: .6; }
.contact-form .cf-turnstile { clear: both; margin-bottom: 15px; }

/* Хедър v5: менюто на сивия ред винаги е с тъмен текст */
.header-nav-gray .top-bar-section ul li > a { color: var(--color-text-light); }
.header-nav-gray .top-bar-section ul li > a.active, .header-nav-gray .top-bar-section ul li > a:hover { color: var(--color-primary); }

/* ── Телефон и таблет (до 1024px): един и същ закачен хедър за всички стилове ── */
@media (max-width: 1024px) {
	body { padding-top: 56px; }
	.site-header .header-top, .site-header .header-dark-top, .site-header .header-nav-gray { display: none !important; }
	.site-header .fix-header {
		position: fixed !important;
		top: 0;
		left: 0;
		right: 0;
		height: 56px;
		background: #fff;
	}
	.site-header.header_dark_0 .fix-header, .site-header.header_dark_1 .fix-header, .site-header.header_dark_2 .fix-header,
	.site-header.header_dark_3 .fix-header, .site-header.header_dark_4 .fix-header { background: var(--color-black); }
	.site-header .fix-header .container { position: relative; }
	.site-header .fix-header .logo { padding: 12px 15px; }
	.site-header .res-bar, .site-header .res-bar .nav { position: static !important; margin: 0 !important; padding: 0; float: none; }
	.site-header .nav-toggle { position: absolute; top: 3px; right: 15px; }
	.site-header .nav-menu .menu-item.active > .menu-link { color: var(--color-primary); }
	.site-header .nav-container { top: 56px; max-height: calc(100vh - 56px); }
	.logo-text { font-size: 20px; letter-spacing: 2px; }
	.innerpagetitle { padding-top: 40px; }
}
@media (max-width: 400px) {
	.logo-text { font-size: 17px; letter-spacing: 1px; }
}

/* ── Галерия / проекти ────────────────────────────────── */
.gallery-section { padding-top: 60px; }
.gallery-section-full { padding-top: 60px; }
.gallery-section .h1 { margin-bottom: 30px; }
/* бутоните на филтъра (в темата са линкове) */
.gallery-filter ul li button {
	display: block;
	padding: 8px 20px;
	border: 0;
	background: var(--color-light);
	color: var(--color-heading);
	font-family: inherit;
	font-size: 14px;
	line-height: 20px;
	cursor: pointer;
}
.gallery-filter ul li button.active, .gallery-filter ul li button:hover, .gallery-filter ul li button:focus-visible {
	background: var(--color-primary);
	color: #fff;
}
.gallery-grid { display: flex; flex-wrap: wrap; }
.gallery-grid .gallery-item { float: none; }
.gallery-item.is-hidden { display: none !important; }
.gallery-item a { display: block; }
.gallery-item a:hover, .gallery-item a:focus { text-decoration: none; }
.gallery-item img { width: 100%; height: auto; display: block; }
.portfoliobox .portfolio1 img, .portfoliobox2 .portfolio2 img, .portfoliobox3 .portfolio3 img { aspect-ratio: 10 / 7; object-fit: cover; }
.portfolio1 .mask-img, .portfolio3 .mask-img { inset: 0; }
.portfolio1 .zoomicon, .portfolio3 .zoomicn { margin: 0; position: absolute; top: 50%; left: 0; right: 0; transform: translateY(-50%); }
.portfolio3 .mask-img { display: flex; flex-direction: column; justify-content: center; }
.portfolio3 .zoomicn { position: static; transform: none; margin-bottom: 15px; }
.portfolio2 .h4 span { color: #fff; }
/* „зидария“: колони вместо Isotope */
.gallery-masonry { column-count: 3; column-gap: 0; }
.gallery-masonry .portfoliobox4 { width: 100%; float: none; display: inline-block; break-inside: avoid; }
.portfolio4 .mask-img { inset: 0; }
.portfolio4 .hvrlink { margin-top: 0; transform: translateY(-50%); }
@media (max-width: 991px) { .gallery-masonry { column-count: 2; } }
@media (max-width: 550px) { .gallery-masonry { column-count: 1; } }
/* по дати */
h2.monthtitle { font-size: 14px; line-height: 20px; letter-spacing: 0; text-transform: none; margin: 0 0 10px; display: inline-block; }
.timeline-date { margin: 10px 20px; font-size: 20px; color: var(--color-heading); }
.portfolio5 .mask-img { inset: 0; }
.portfolio5 .hvrlink { margin-top: 0; transform: translateY(-50%); }

/* Голяма снимка в прозорец */
.lightbox {
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: none;
	align-items: center;
	justify-content: center;
	background: color-mix(in srgb, var(--color-black) 92%, transparent);
}
.lightbox.is-open { display: flex; }
html.lightbox-open { overflow: hidden; }
.lightbox figure { margin: 0; max-width: calc(100% - 140px); max-height: calc(100% - 80px); text-align: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 120px); width: auto; height: auto; display: block; margin: 0 auto; }
.lightbox figcaption { color: #fff; padding-top: 10px; font-size: 14px; }
.lightbox-count { color: var(--color-muted); margin-left: 10px; }
.lightbox button {
	position: absolute;
	border: 0;
	background: transparent;
	color: #fff;
	cursor: pointer;
	font-size: 40px;
	line-height: 1;
	padding: 10px 16px;
}
.lightbox button:hover, .lightbox button:focus-visible { color: var(--color-primary); }
.lightbox-close { top: 10px; right: 10px; }
.lightbox-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 10px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
	.lightbox figure { max-width: 100%; }
	.lightbox-prev, .lightbox-next { top: auto; bottom: 10px; transform: none; }
}
@media (max-width: 767px) {
	.gallery-filter ul { text-align: center; }
	.gallery-filter ul li { display: inline-block !important; margin: 0 2px 4px !important; width: auto !important; }
	.gallery-filter ul li button { padding: 6px 12px; }
}

/* ── Вътрешни страници: разстояние след заглавието ── */
.innerpagetitle + section, .innerpagetitle + div { margin-top: 60px; }
.section-image-slider { margin-bottom: 40px; }
.section-image-slider .singleslider img { width: 100%; }
.section-skills .h1 { margin-top: 20px; }
.section-skills .progressbar strong { font-weight: 700; }
.section-columns { margin-bottom: 40px; }
.section-team { margin-bottom: 40px; }
.team-row { display: flex; flex-wrap: wrap; }
.teamuser img { width: 100%; }
.section-team h3 { margin-top: 15px; }
.section-cta { background-size: cover; background-position: center; }
.text-image-block p { margin-bottom: 12px; }
@media (max-width: 767px) {
	.section-team h3 { font-size: 16px; }
	.text-image-block .pull-left, .text-image-block .pull-right { float: none !important; margin: 0 0 15px; }
}

/* ── Услуги в колони ── */
.servicesdiv { display: flex; flex-wrap: wrap; }
.servicesdiv .serviceslist { float: none; margin-bottom: 30px; }
.section-service-boxes { margin-bottom: 30px; }

/* ── Контакти ── */
.section-contact { margin-bottom: 60px; }
.section-contact .h5 { margin-bottom: 20px; }
.contact-form-page label strong { font-weight: 500; }
.contact-form-page textarea { min-height: 120px; }
.contact-form-page button[type=submit] {
	background: var(--color-primary);
	color: #fff;
	border: 0;
	padding: 10px 20px;
	text-transform: uppercase;
	letter-spacing: 2px;
	font-size: 13px;
}
.contact-form-page button[type=submit]:hover { background: var(--color-black); }
.contact-info address { margin: 0; }
.contact-2-info .map { margin-top: 20px; }
.contact-2-info .map iframe { width: 100%; height: 360px; border: 0; background: var(--color-light); }
.maps { width: 100%; line-height: 0; }
.maps .map-embed { width: 100%; height: 420px; border: 0; background: var(--color-light); }

/* ── Блог ── */
.blog-section { margin-bottom: 60px; }
.blog-columns { column-width: 320px; column-gap: 30px; }
.blog-columns .p-gallery { display: inline-block; width: 100%; break-inside: avoid; }
.p-gallery-img img, .blog3-img img, .blog2-img img, .blog5-img img { width: 100%; height: auto; display: block; }
.blog .h3 a, .blog5-info .h5 a { color: var(--color-primary); }
.blog .h3 a:hover, .blog5-info .h5 a:hover { color: var(--color-heading); text-decoration: none; }
.blog-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; }
.blog-grid .blog2 { width: auto; float: none; }
.blog2-img { display: block; position: relative; }
.blog2-img .mask-blog .h4 { color: #fff; margin: 0; }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }
.news-filter { background: var(--color-light); padding: 10px 15px; margin-bottom: 25px; }
.blog-pagination { margin-top: 20px; }
.blog-pagination .pagination > li.active > a { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }
.blog-pagination .pagination > li > a { color: var(--color-heading); }
.blog-sidebar .h3 { font-size: 20px; margin-bottom: 15px; }
.blog-sidebar .bullet-gray a.active { color: var(--color-primary); font-weight: 500; }
.blogtag .btn { margin: 0 4px 6px 0; text-transform: none; }
.read-more { font-weight: 500; }
/* статия */
.post-article .post-title { text-align: left; text-transform: none; letter-spacing: 0; font-size: 30px; line-height: 38px; margin: 25px 0 10px; color: var(--color-heading); }
.post-body { margin: 20px 0 30px; }
.post-body p { margin-bottom: 15px; }
.post-body .h3 { margin: 30px 0 12px; }
.post-body blockquote { border-left: 4px solid var(--color-primary); padding: 10px 20px; margin: 20px 0; background: var(--color-light); font-size: 17px; }
.post-body .post-image { margin: 20px 0; }
.post-body figcaption { color: var(--color-muted); font-size: 13px; padding-top: 6px; }
.post-tags, .post-share { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 12px; }
.post-tags span, .post-share span { margin-right: 6px; font-weight: 500; }
.post-tags .btn { margin: 0; }
.post-share a { width: 34px; height: 34px; line-height: 34px; text-align: center; border-radius: 50%; background: var(--color-light); color: var(--color-text); }
.post-share a:hover { background: var(--color-primary); color: #fff; }
.post-navigation { display: flex; justify-content: space-between; gap: 15px; border-top: 1px solid var(--color-border); padding-top: 20px; margin-top: 10px; font-size: 14px; }
.post-navigation > * { flex: 1; }
.post-navigation .nav-back { text-align: center; }
.post-navigation .nav-older { text-align: right; }
@media (max-width: 767px) {
	.post-navigation { flex-direction: column; text-align: center; }
	.post-navigation > * { text-align: center !important; }
	.post-article .post-title { font-size: 24px; line-height: 30px; }
}

/* ── Ценоразпис ── */
.section-pricing { margin-bottom: 40px; }
.pricing-table .price { margin: 0 0 10px; font-family: var(--font-heading); font-size: 48px; line-height: 1.1; color: #fff; }
.pricing-table .price sup, .pricing-table .price sub { font-size: 18px; }
.pricing-table .price sub { margin-left: 2px; }
.pricing-row { display: flex; align-items: flex-start; }
.pricing-row .pricing-table-1 { float: none; flex: 1; width: auto; }
.pricing-table-1 .price-head-1 { position: relative; background: var(--plan-color, var(--color-primary)); padding-bottom: 20px; }
.pricing-table-1 .price-head-1 .h4 { color: #fff; margin-bottom: 15px; }
.pricing-table-1 .price-head-1::after {          /* малкият триъгълник под главата (вместо картинката на темата) */
	content: "";
	position: absolute;
	left: 50%;
	bottom: -12px;
	margin-left: -12px;
	border-left: 12px solid transparent;
	border-right: 12px solid transparent;
	border-top: 12px solid var(--plan-color, var(--color-primary));
}
.pricing-table-1 .price-info-1 { min-height: 100%; }
.pricing-table-1 .plan-btn, .pricing-table-2 .plan-btn { display: table; margin-left: auto; margin-right: auto; }
.pricing-table-2 .price { color: var(--color-primary); }
.pricing-table-2 .plan-btn { background: var(--color-primary); color: #fff; padding: 8px 20px; letter-spacing: 2px; text-transform: uppercase; }
.pricing-table-2 .plan-btn:hover { background: var(--color-black); color: #fff; text-decoration: none; }
.pricing-table-2.featured-plan { border-color: var(--color-primary); }
.pricing-table-3 .pricing-head-3 .h4 { color: #fff; }
.pricing-table-3 .pricing-shape-3 { border-left-width: 0; width: 100%; border-left: none; clip-path: polygon(100% 0, 100% 100%, 0 100%); height: 20px; background: #fff; border-bottom: 0; }
.pricing-table-3 .plan-btn { display: inline-block; background: var(--color-primary); color: #fff; padding: 8px 20px; letter-spacing: 2px; text-transform: uppercase; }
.pricing-table-3 .plan-btn:hover { background: var(--color-black); color: #fff; text-decoration: none; }
.pricing-table-3.featured-plan .pricing-head-3 { background: var(--color-primary); }
.pricing-table ul { list-style: none; padding: 0; }
.pricing-table ul li strong { font-weight: 700; }
.pricing-table .fa-check { color: var(--color-primary); margin-right: 6px; }
.pricing-cols { display: flex; flex-wrap: wrap; }
@media (max-width: 991px) {
	.pricing-row { flex-wrap: wrap; }
	.pricing-row .pricing-table-1 { flex: 0 0 50%; margin: 30px 0; }
	.select-plan { top: 0; }
}
@media (max-width: 600px) {
	.pricing-row .pricing-table-1 { flex: 0 0 100%; }
}

/* ── Въпроси (FAQ) ── */
.section-faq { margin-bottom: 50px; }
.faq-list { margin-bottom: 30px; }
.faq-q { margin: 0; }
.faq-q button {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
	width: 100%;
	border: 0;
	background: none;
	padding: 0;
	text-align: left;
	font-family: inherit;
	font-size: 18px;
	line-height: 26px;
	color: var(--color-primary);
	cursor: pointer;
}
.faq-icon {                  /* квадратче с + / − в основния цвят (вместо картинките на темата) */
	position: relative;
	flex: 0 0 30px;
	width: 30px;
	height: 30px;
	background: var(--color-primary);
}
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 8px; right: 8px; top: 14px; height: 2px; background: #fff; }
.faq-icon::after { transform: rotate(90deg); transition: transform .2s; }
.faq-item.is-open .faq-icon::after { transform: rotate(0); }
.faq-a p { margin-bottom: 10px; }
/* стил 1: сиви ленти */
.faq-style-boxes .faq-q button { background: var(--color-light); padding: 12px 15px 12px 25px; margin-bottom: 10px; }
.faq-style-boxes .faq-a { padding: 5px 25px 25px; }
/* стил 2: линии, иконата вляво */
.faq-style-lines .faq-q button { flex-direction: row-reverse; justify-content: flex-end; padding-bottom: 15px; margin-bottom: 15px; border-bottom: 1px solid var(--color-border); }
.faq-style-lines .faq-q button span { flex: 1; }
.faq-style-lines .faq-item.is-open .faq-q button { color: var(--color-heading); }
.faq-style-lines .faq-a { padding: 0 15px 20px 45px; }
.faq-q button:hover { color: var(--color-heading); }
.faq-q button:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
/* без JavaScript всички отговори се виждат; с JavaScript се отварят с клик */
.faq-list.is-ready .faq-item:not(.is-open) .faq-a { display: none; }

/* ── Хедър: повече точки в менюто да се побират ── */
@media (min-width: 1025px) {
	/* v4: лого, меню и бутон на един ред, ширините се нагласят сами */
	.header_style_3 .header-data, .header_dark_3 .header-data { display: flex; align-items: center; flex-wrap: nowrap; }
	.header_style_3 .header-data > div, .header_dark_3 .header-data > div { float: none; width: auto; }
	.header_style_3 .header-data > .logo, .header_dark_3 .header-data > .logo { flex: 0 0 auto; }
	.header_style_3 .header-data > .pull-right, .header_dark_3 .header-data > .pull-right { flex: 1 1 auto; display: flex; align-items: center; justify-content: flex-end; }
	.header_style_3 .header-data > .clr, .header_dark_3 .header-data > .clr { display: none; }
	.header_style_3 .top-bar-section, .header_dark_3 .top-bar-section { float: none; margin-left: 20px; }
	.header_style_3 .serchdiv, .header_dark_3 .serchdiv { float: none; padding-top: 0; margin-left: 15px; }
	.header_style_3 .pull-right > .clr, .header_dark_3 .pull-right > .clr { display: none; }
}
@media (min-width: 1025px) and (max-width: 1199px) {
	.top-bar-section ul li > a { padding-left: 10px; padding-right: 10px; font-size: 15px; }
	.logo-text { font-size: 21px; letter-spacing: 2px; }
}
@media (min-width: 1025px) {
	.header_style_3 .top-bar-section, .header_dark_3 .top-bar-section { width: auto !important; flex: 0 1 auto; }
	.header_style_3 .serchdiv, .header_dark_3 .serchdiv { width: auto !important; flex: 0 0 auto; }
	/* v5: менюто на сивия ред заема цялата ширина */
	.header-nav-gray .top-bar-section { width: 100% !important; }
	.top-bar-section ul#menu-main-menu-1 { white-space: nowrap; }
}
@media (min-width: 1025px) and (max-width: 1199px) {
	/* v4: меню, лого и бутон на един ред и при по-тесен екран */
	.header_style_3 .top-bar-section ul li > a, .header_dark_3 .top-bar-section ul li > a { padding-left: 7px; padding-right: 7px; font-size: 14px; }
	.header_style_3 .logo-text, .header_dark_3 .logo-text { font-size: 18px; letter-spacing: 1px; }
	.header_style_3 .top-bar-section, .header_dark_3 .top-bar-section { margin-left: 10px; }
	.header_style_3 .serchdiv .btn, .header_dark_3 .serchdiv .btn { padding: 8px 10px; }
}

/* ── Проекти (портфолио като карти) ─────────────────────────────── */
.projects-lead { max-width: 760px; margin: -10px auto 50px; }
.project-card { display: flex; align-items: center; gap: 50px; margin-bottom: 80px; }
.project-card:last-child { margin-bottom: 0; }
.project-card-reverse { flex-direction: row-reverse; }
.project-media { flex: 0 0 58%; max-width: 58%; }
.project-media img { display: block; width: 100%; height: auto; border-radius: 10px; box-shadow: 0 20px 50px color-mix(in srgb, var(--color-black) 14%, transparent); transition: transform .3s; }
.project-media a:hover img { transform: translateY(-4px); }
.project-body { flex: 1; min-width: 0; }
.project-meta { margin: 0 0 10px; display: flex; flex-wrap: wrap; gap: 8px; }
.project-cat, .project-status { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; padding: 4px 10px; border-radius: 20px; }
.project-cat { background: var(--color-primary-light); color: var(--color-primary); }
.project-status { background: var(--color-light); color: var(--color-text-light); border: 1px solid var(--color-border); }
.project-title { font-size: 28px; margin: 0 0 6px; color: var(--color-heading); text-transform: none; letter-spacing: 0; }
.project-place { color: var(--color-muted); margin: 0 0 16px; }
.project-place .fa { color: var(--color-primary); }
.project-text { margin-bottom: 16px; }
.project-features { list-style: none; padding: 0; margin: 0 0 26px; }
.project-features li { padding: 4px 0 4px 26px; position: relative; }
.project-features .fa { position: absolute; left: 0; top: 8px; color: var(--color-primary); }
.project-btn { display: inline-block; }
.project-btn .project-host { font-weight: 400; opacity: .85; text-transform: none; }
@media (max-width: 991px) {
	.project-card, .project-card-reverse { flex-direction: column; gap: 26px; margin-bottom: 60px; }
	.project-media { flex-basis: auto; max-width: 100%; width: 100%; }
	.project-title { font-size: 24px; }
}
@media (max-width: 480px) {
	.project-btn .project-host { display: none; }
}

/* Логото е SVG – височина по-голяма от текстовото */
.logo-img { max-height: 46px; height: 46px; }
@media (max-width: 1024px) { .logo-img { max-height: 38px; height: 38px; } }

/* Montserrat: стандартна кирилица (без българските форми д/и/т), както е в логото и банера */
body, h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, nav, .menu, button, .default-btn { font-feature-settings: "locl" 0; }
/* Safari не спира българските форми с горното, затова ползва руския локал за шрифта */
body { -webkit-locale: "ru"; }

/* Тъмните слоеве върху снимки – в тъмносиньо на марката вместо черно */
.parallaxfix-overlay-black, .parallax-overlay-black, .sec-overlay-black { background: color-mix(in srgb, var(--color-black) 82%, transparent); }

/* На телефон снимките в банера се местят наляво, за да не стоят лаптопът и телефонът зад текста */
@media (max-width: 767px) { .hero-left .hero-img { object-position: 8% 50%; } }

/* Видео в банера: тъмен преход отляво, за да се чете текстът */
.hero-video { background: var(--color-black); }
.hero-shade { position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(90deg, color-mix(in srgb, var(--color-black) 78%, transparent) 0%, color-mix(in srgb, var(--color-black) 45%, transparent) 40%, color-mix(in srgb, var(--color-black) 5%, transparent) 75%); }
.hero-center .hero-shade { background: color-mix(in srgb, var(--color-black) 45%, transparent); }
@media (max-width: 767px) { .hero-shade { background: color-mix(in srgb, var(--color-black) 55%, transparent); } }

/* ── Цветни икони на услугите (svc-*) – неподвижни картинки ───── */
.svc-icon { width: 72px; height: 72px; display: inline-block; vertical-align: middle; overflow: visible; }
.dismond-icn { margin-bottom: 14px; height: 46px; display: flex; align-items: center; justify-content: center; }
.dismond-icn .svc-icon { width: 58px; height: 58px; margin: 0; }
.servicesicn.svc-box { background: none !important; width: auto; height: auto; padding: 0; margin-right: 14px; }
.servicesicn.svc-box .svc-icon { width: 60px; height: 60px; }

/* ── Тихи скици на елементи от сайтове, които сме правили (само на широк екран) ─────────
   Файловете са в public/images/sketches: machine, robot, dresses, castle, bungalows, tower, wavebuilding, mountains
   (-dark = тъмни линии за светъл фон, -light = бели линии за тъмен фон).
   Размер: width/height, видимост: opacity. Махат се, като се изтрие този блок. */
@media (min-width: 1200px) {
	.page-about #columns,
	.page-about #intro,
	.page-about #skills,
	.page-contact #contact,
	.page-contact #intro,
	.page-faq #faq,
	.page-home #features,
	.page-home #intro,
	.page-home #latest,
	.page-home #portfolio,
	.page-home #services,
	.page-news #news,
	.page-portfolio #projects,
	.page-pricing #pricing,
	.page-services #intro,
	.page-services #service-boxes,
	.section-cta,
	.section-cta .parallaxfix-overlay-black { position: relative; }
	.page-about #columns,
	.page-about #intro,
	.page-about #skills,
	.page-contact #contact,
	.page-contact #intro,
	.page-faq #faq,
	.page-home #intro,
	.page-home #services,
	.page-news #news,
	.page-portfolio #projects,
	.page-pricing #pricing,
	.page-services #intro,
	.page-services #service-boxes,
	.section-cta { overflow: hidden; }
	.page-about #columns > .container,
	.page-about #intro > .container,
	.page-about #skills > .container,
	.page-contact #contact > .container,
	.page-contact #intro > .container,
	.page-faq #faq > .container,
	.page-home #features > .container,
	.page-home #intro > .container,
	.page-home #latest > .container,
	.page-home #portfolio > .container,
	.page-home #services > .container,
	.page-news #news > .container,
	.page-portfolio #projects > .container,
	.page-pricing #pricing > .container,
	.page-services #intro > .container,
	.page-services #service-boxes > .container,
	.section-cta > .container { position: relative; z-index: 1; }
	.section-cta .parallaxfix-overlay-black > .container { position: relative; z-index: 1; }
	.page-home #intro::before,
	.page-home #services::before,
	.page-home #services::after,
	.page-home #features::after,
	.page-home #portfolio::before,
	.page-home #latest::before,
	.page-home #latest::after,
	.page-portfolio #projects::before,
	.page-portfolio #projects::after,
	.page-services #intro::before,
	.page-services #service-boxes::before,
	.page-about #intro::before,
	.page-about #skills::before,
	.page-about #columns::before,
	.page-contact #intro::before,
	.page-contact #contact::before,
	.page-faq #faq::before,
	.page-faq #faq::after,
	.page-pricing #pricing::before,
	.page-pricing #pricing::after,
	.page-news #news::before,
	.section-cta::after,
	.section-cta .parallaxfix-overlay-black::before {
		content: ""; position: absolute; z-index: 0; pointer-events: none; background: no-repeat center / contain;
	}
	.page-home #intro::before { background-image: url(../../images/sketches/machine-dark.png); width: 380px; height: 285px; right: -40px; top: 0; opacity: 0.09; }
	.page-home #services::before { background-image: url(../../images/sketches/robot-dark.png); width: 360px; height: 340px; left: 1%; bottom: 30px; opacity: 0.08; }
	.page-home #services::after { background-image: url(../../images/sketches/wavebuilding-dark.png); width: 380px; height: 208px; right: 1%; bottom: 60px; opacity: 0.08; }
	.page-home #features::after { background-image: url(../../images/sketches/bungalows-light.png); width: 340px; height: 225px; right: 2%; bottom: 14px; opacity: 0.09; }
	.page-home #portfolio::before { background-image: url(../../images/sketches/dresses-dark.png); width: 240px; height: 221px; left: 3%; top: 0; opacity: 0.08; }
	.page-home #latest::before { background-image: url(../../images/sketches/tower-light.png); width: 230px; height: 274px; right: 3%; bottom: 0; opacity: 0.12; }
	.page-home #latest::after { background-image: url(../../images/sketches/mountains-light.png); width: 460px; height: 164px; left: 2%; bottom: 10px; opacity: 0.12; }
	.page-portfolio #projects::before { background-image: url(../../images/sketches/dresses-dark.png); width: 280px; height: 258px; left: 0; top: 10px; opacity: 0.08; }
	.page-portfolio #projects::after { background-image: url(../../images/sketches/machine-dark.png); width: 380px; height: 285px; right: -60px; top: 42%; opacity: 0.08; }
	.page-services #intro::before { background-image: url(../../images/sketches/bungalows-dark.png); width: 380px; height: 251px; right: -30px; top: 0; opacity: 0.08; }
	.page-services #service-boxes::before { background-image: url(../../images/sketches/wavebuilding-dark.png); width: 380px; height: 208px; left: -40px; bottom: 0; opacity: 0.07; }
	.page-about #intro::before { background-image: url(../../images/sketches/robot-dark.png); width: 300px; height: 283px; left: -20px; top: 0; opacity: 0.07; }
	.page-about #skills::before { background-image: url(../../images/sketches/tower-dark.png); width: 230px; height: 274px; right: 2%; top: 0; opacity: 0.08; }
	.page-about #columns::before { background-image: url(../../images/sketches/mountains-dark.png); width: 480px; height: 171px; left: 0; bottom: 0; opacity: 0.08; }
	.page-contact #intro::before { background-image: url(../../images/sketches/castle-dark.png); width: 240px; height: 271px; left: 2%; top: 0; opacity: 0.08; }
	.page-contact #contact::before { background-image: url(../../images/sketches/wavebuilding-dark.png); width: 360px; height: 197px; right: -40px; bottom: 10px; opacity: 0.07; }
	.page-faq #faq::before { background-image: url(../../images/sketches/machine-dark.png); width: 380px; height: 285px; left: -60px; bottom: 20px; opacity: 0.08; }
	.page-faq #faq::after { background-image: url(../../images/sketches/dresses-dark.png); width: 240px; height: 221px; right: 0; top: 10px; opacity: 0.07; }
	.page-pricing #pricing::before { background-image: url(../../images/sketches/dresses-dark.png); width: 260px; height: 240px; left: -10px; top: 30px; opacity: 0.07; }
	.page-pricing #pricing::after { background-image: url(../../images/sketches/robot-dark.png); width: 320px; height: 302px; right: -30px; bottom: 20px; opacity: 0.07; }
	.page-news #news::before { background-image: url(../../images/sketches/mountains-dark.png); width: 460px; height: 164px; left: 0; bottom: 0; opacity: 0.07; }
	.section-cta::after { background-image: url(../../images/sketches/robot-light.png); width: 320px; height: 302px; left: 3%; top: 50%; transform: translateY(-50%); opacity: 0.08; }
	.section-cta .parallaxfix-overlay-black::before { background-image: url(../../images/sketches/tower-light.png); width: 200px; height: 238px; right: 4%; bottom: 0; opacity: 0.09; }
}

/* Телефонът с примерния сайт: по-висок от оригинала, затова е с фиксирана ширина */
@media (min-width: 992px) { .parallax-object img { width: 340px; max-width: 100%; height: auto; } }

/* Блог: заглавието и данните не опират в рамката на картата */
.blog-columns .p-gallery h2, .blog-columns .p-gallery .h3 { padding: 18px 20px 4px; margin: 0; font-size: 22px; line-height: 1.3; }
.blog-columns .p-gallery .bloginfo { padding: 0 20px; margin-left: 0; } .blog-columns .p-gallery > p { padding: 0 20px 6px; margin-left: 0; margin-right: 0; }
.p-gallery h2 a { color: var(--color-heading); }
.p-gallery h2 a:hover { color: var(--color-primary); text-decoration: none; }

/* Цени: текст вместо число („По запитване“) – по-малък шрифт, за да не опира в ръба */
.price .price-text { display: inline-block; font-size: 30px; line-height: 1.2; padding: 6px 14px; white-space: normal; }
@media (max-width: 991px) { .price .price-text { font-size: 26px; } }

/* Видео в банера: без бутона „Play“ на iPhone/Safari (когато браузърът не пусне видеото, се вижда само кадърът) */
video.hero-video { pointer-events: none; }
video.hero-video::-webkit-media-controls,
video.hero-video::-webkit-media-controls-panel,
video.hero-video::-webkit-media-controls-overlay-play-button,
video.hero-video::-webkit-media-controls-start-playback-button { display: none !important; -webkit-appearance: none; opacity: 0 !important; }

/* Политика за поверителност и други дълги текстове */
.legal-text { max-width: 820px; margin: 0 auto; }
.legal-text h2 { font-size: 24px; margin: 38px 0 12px; text-transform: none; letter-spacing: 0; color: var(--color-heading); }
.legal-text p, .legal-text li { font-size: 16px; line-height: 1.7; }
.legal-text ul { padding-left: 22px; margin-bottom: 18px; }
.legal-text li { margin-bottom: 6px; }
.legal-updated { color: var(--color-muted); font-size: 14px !important; }

/* Достъпност: линк „Към съдържанието“ (вижда се само с Tab) и ясна рамка при навигация с клавиатура */
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 10000; background: var(--color-primary); color: #fff; padding: 10px 16px; font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 12px; color: #fff; }
main:focus { outline: none; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, [tabindex]:focus-visible {
	outline: 3px solid var(--color-accent); outline-offset: 2px;
}

/* Печат: без меню, банери и футър – само съдържанието */
@media print {
	.site-header, .mobile-header, .hero-slides, .section-cta, footer, .backtotop, .skip-link { display: none !important; }
	body { color: #000; }
	a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 90%; }
}
.legal-text ul li { list-style: disc; }
.legal-section { padding-top: 50px; }
