/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
Template: hello-elementor
Author: Elementor Team
Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
Description: Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
Tags: accessibility-ready,flexible-header,custom-colors,custom-menu,custom-logo,featured-images,rtl-language-support,threaded-comments,translation-ready
Version: 3.4.9.1786799164
Updated: 2026-08-15 13:06:04

*/

/* ===================================================================
   S5 HEADER — глобален хедър (копие на хедъра от demo296.super5.bg)
   Токени: тъмно #171717, акцент #FF6600, текст в падащите менюта #33373D.
   Шрифт: Work Sans 16px/1.4. Контейнер 1140px. Брейкпойнти 1024px / 767px.
   Височини: горна лента 52px + основна лента 80px = 132px (без layout shift).
   =================================================================== */

.s5-header {
	--s5-dark: #171717;
	--s5-accent: #FF6600;
	--s5-dd-text: #33373D;
	--s5-dd-hover: #3F444B;
	--s5-topbar-h: 52px;
	font-family: "Work Sans", sans-serif;
	position: relative;
	z-index: 999;
}

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

.s5-container {
	width: 100%;
	max-width: 1140px;
	margin: 0 auto;
}

/* ---------- горна лента ---------- */

.s5-topbar {
	background-color: var(--s5-dark);
	padding: 0 10px;
}

.s5-topbar-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 10px 0;
	height: var(--s5-topbar-h);
}

.s5-info {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	list-style: none;
	margin: 0 -8px;
	padding: 0;
}

.s5-info-item {
	display: flex;
	align-items: center;
	margin: 0 8px;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.4em;
	color: #fff;
}

.s5-info-item a {
	display: flex;
	align-items: center;
	color: inherit;
	text-decoration: none;
}

.s5-info-ico {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	width: 17.5px;
	height: 14px;
	color: #fff;
	flex: 0 0 auto;
}

.s5-info-ico svg {
	width: 14px;
	height: 14px;
	display: block;
}

.s5-info-txt {
	padding-inline-start: 5px;
	color: #fff;
}

.s5-social {
	display: flex;
	align-items: center;
	gap: 5px;
	flex: 0 0 auto;
}

.s5-soc {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background-color: transparent;
	text-decoration: none;
}

.s5-soc svg {
	width: 16px;
	height: 16px;
	fill: #fff;
	transition: fill 0.3s;
}

.s5-soc:hover svg,
.s5-soc:focus svg {
	fill: var(--s5-accent);
}

/* ---------- основна лента ---------- */

.s5-mainbar {
	position: relative;
	background-color: var(--s5-dark);
	padding: 0;
}

/* Страници с hero: лентата излиза от потока и лежи върху изображението с
   градиента от оригинала. Хедърът заема само 52px, hero-ът започва под тях. */
body.s5-overlay .s5-mainbar {
	position: absolute;
	top: var(--s5-topbar-h);
	left: 0;
	right: 0;
	background-color: transparent;
	background-image: linear-gradient(180deg, #171717 0%, rgba(255, 255, 255, 0) 100%);
}

.s5-mainbar-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 80px;
}

.s5-logo {
	width: 25%;
	display: flex;
	flex-direction: column;
	flex: 0 0 auto;
}

.s5-logo-a {
	display: block;
	line-height: 0;
	text-decoration: none;
}

.s5-logo-a img {
	max-width: 220px;
	height: auto;
}

/* ---------- меню (десктоп) ---------- */

.s5-nav {
	display: flex;
	margin-inline-start: auto;
}

.s5-menu,
.s5-menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.s5-nav .s5-menu {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
}

.s5-nav .s5-menu > li {
	display: flex;
	position: relative;
}

.s5-nav .s5-menu > li > a {
	position: relative;
	display: flex;
	align-items: center;
	padding: 13px 0;
	color: #fff;
	font-size: 16px;
	font-weight: 400;
	line-height: 20px;
	text-decoration: none;
	white-space: nowrap;
	transition: 0.4s;
}

.s5-nav .s5-menu > li:not(:first-child) > a {
	margin-inline-start: 15px;
}

.s5-nav .s5-menu > li:not(:last-child) > a {
	margin-inline-end: 15px;
}

/* underline pointer — оранжева линия под айтема (hover, фокус, текуща страница) */
.s5-nav .s5-menu > li > a::before {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 3px;
	background-color: var(--s5-accent);
	opacity: 0;
	transition: 0.3s cubic-bezier(0.58, 0.3, 0.005, 1);
}

.s5-nav .s5-menu > li > a:hover::before,
.s5-nav .s5-menu > li > a:focus::before,
.s5-nav .s5-menu > li.current-menu-item > a::before,
.s5-nav .s5-menu > li.current-menu-ancestor > a::before {
	opacity: 1;
}

/* caret за пунктовете с подменю */
.s5-nav .s5-menu > li.menu-item-has-children > a::after {
	content: "";
	margin-inline-start: 10px;
	border-inline-start: 5px solid transparent;
	border-inline-end: 5px solid transparent;
	border-top: 8px solid currentColor;
	flex: 0 0 auto;
}

/* падащо подменю */
.s5-nav .sub-menu {
	position: absolute;
	top: 100%;
	inset-inline-start: 0;
	font-size: 13px;
	width: 12em;
	background-color: #fff;
	display: none;
	z-index: 3;
}

.s5-nav .s5-menu > li:not(:first-child) .sub-menu {
	inset-inline-start: 15px;
}

.s5-nav .s5-menu > li:hover > .sub-menu,
.s5-nav .s5-menu > li:focus-within > .sub-menu {
	display: block;
}

.s5-nav .sub-menu a {
	display: flex;
	align-items: center;
	padding: 13px 20px;
	color: var(--s5-dd-text);
	font-size: 13px;
	line-height: 20px;
	text-decoration: none;
	white-space: nowrap;
	transition: 0.4s;
}

.s5-nav .sub-menu a:hover,
.s5-nav .sub-menu a:focus,
.s5-nav .sub-menu .current-menu-item > a {
	background-color: var(--s5-dd-hover);
	color: #fff;
}

/* ---------- бургер и мобилен панел ---------- */

.s5-header .s5-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 33px;
	height: 33px;
	padding: 5.5px;
	border: 0;
	border-radius: 3px;
	background-color: rgba(0, 0, 0, 0.05);
	color: #fff;
	cursor: pointer;
	flex: 0 0 auto;
}

/* Темата стилизира button и button:focus (кант и фон #c36) — държим ги настрана. */
.s5-header .s5-toggle:hover,
.s5-header .s5-toggle:focus {
	background-color: rgba(0, 0, 0, 0.05);
	border: 0;
	color: #fff;
}

.s5-header .s5-toggle svg {
	width: 22px;
	height: 22px;
	fill: currentColor;
}

.s5-header .s5-toggle .s5-toggle-close,
.s5-nav-open .s5-toggle .s5-toggle-open {
	display: none;
}

.s5-nav-open .s5-toggle .s5-toggle-close {
	display: block;
}

.s5-nav-mobile {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	background-color: #fff;
	font-size: 13px;
	z-index: 9997;
	max-height: 0;
	overflow: hidden;
	transform: scaleY(0);
	transform-origin: top;
	transition: max-height 0.3s, transform 0.3s;
}

.s5-nav-open .s5-nav-mobile {
	max-height: calc(100vh - 132px);
	overflow-y: auto;
	transform: scaleY(1);
}

.s5-nav-mobile a {
	display: flex;
	align-items: center;
	padding: 10px 20px;
	border-inline-start: 8px solid transparent;
	color: var(--s5-dd-text);
	font-size: 13px;
	line-height: 20px;
	text-decoration: none;
}

.s5-nav-mobile a:hover,
.s5-nav-mobile a:focus,
.s5-nav-mobile .current-menu-item > a {
	background-color: var(--s5-dd-hover);
	color: #fff;
}

.s5-nav-mobile .menu-item-has-children {
	position: relative;
}

.s5-nav-mobile .sub-menu {
	display: none;
}

.s5-nav-mobile .s5-open > .sub-menu {
	display: block;
}

.s5-nav-mobile .sub-menu a {
	border-inline-start: 16px solid transparent;
	font-size: 0.85em;
}

.s5-header .s5-sub-toggle {
	position: absolute;
	top: 0;
	inset-inline-end: 0;
	width: 46px;
	height: 40px;
	padding: 0;
	border: 0;
	background-color: transparent;
	cursor: pointer;
}

.s5-header .s5-sub-toggle:hover,
.s5-header .s5-sub-toggle:focus {
	background-color: transparent;
	border: 0;
}

.s5-header .s5-sub-toggle::after {
	content: "";
	display: block;
	width: 0;
	height: 0;
	margin: 0 auto;
	border-inline-start: 5px solid transparent;
	border-inline-end: 5px solid transparent;
	border-top: 8px solid var(--s5-dd-text);
}

.s5-nav-mobile .s5-open > .s5-sub-toggle::after {
	transform: rotate(180deg);
}

/* ---------- ≤1024px: бургер вместо хоризонтално меню ---------- */

@media (max-width: 1024px) {
	.s5-topbar {
		padding: 0 20px;
	}

	/* Адресът пада: без него контактите се събират на един ред и горната лента
	   остава точно --s5-topbar-h, върху която ляга основната лента при overlay. */
	.s5-info-item--pin {
		display: none;
	}

	.s5-mainbar {
		padding: 0 20px;
	}

	.s5-logo {
		width: 95%;
	}

	.s5-nav {
		display: none;
	}

	.s5-header .s5-toggle {
		display: flex;
	}

	.s5-nav-mobile {
		display: block;
	}
}

/* ---------- ≤767px ---------- */

@media (max-width: 767px) {
	.s5-topbar-row {
		justify-content: center;
	}

	.s5-info {
		display: none;
	}

	.s5-logo {
		width: 88%;
	}

	.s5-logo-a img {
		max-width: 120px;
	}
}
