/* =========================================================
   Общи настройки, header и footer – „Хаджийски“
   ========================================================= */

:root {
	--hl-navy: #101b2d;
	--hl-navy-light: #18263b;
	--hl-navy-dark: #091321;
	--hl-gold: #b99555;
	--hl-gold-light: #d3b77d;
	--hl-ivory: #f5f3ef;
	--hl-white: #ffffff;
	--hl-text: #242830;
	--hl-muted: #6c7078;
	--hl-border: rgba(16, 27, 45, 0.14);
	--hl-shadow: 0 20px 60px rgba(11, 23, 39, 0.1);
	--hl-serif: Georgia, "Times New Roman", serif;
	--hl-sans: Arial, Helvetica, sans-serif;
	--hl-container: 1240px;
}

.hl-container {
	width: min(calc(100% - 48px), var(--hl-container));
	margin-right: auto;
	margin-left: auto;
}

@media (max-width: 767px) {
	.hl-container {
		width: min(calc(100% - 32px), var(--hl-container));
	}
}

/* Header */

/* Скрива стария header на Energy само на тази страница */

body.hadzhiyski-custom-page #top-wrap {
	display: none !important;
}

.hl-site-header {
	position: relative;
	z-index: 1000;
	width: 100%;
	background: var(--hl-navy);
	font-family: var(--hl-sans);
}

.hl-header-top {
	min-height: 39px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	background: var(--hl-navy-dark);
	color: rgba(255, 255, 255, 0.7);
	font-size: 12px;
}

.hl-header-top__inner {
	display: flex;
	min-height: 39px;
	align-items: center;
	justify-content: space-between;
	gap: 25px;
}

.hl-header-top__emergency {
	display: flex;
	align-items: center;
	gap: 9px;
	color: rgba(255, 255, 255, 0.82);
	font-weight: 600;
	letter-spacing: 0.04em;
}

.hl-header-top__status {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--hl-gold);
	box-shadow: 0 0 0 4px rgba(185, 149, 85, 0.13);
}

.hl-header-top__contacts {
	display: flex;
	align-items: center;
	gap: 16px;
}

.hl-header-top__contacts a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: rgba(255, 255, 255, 0.75);
}

.hl-header-top__contacts a:hover {
	color: var(--hl-gold-light);
}

.hl-header-top__contacts a span {
	color: var(--hl-gold);
}

.hl-header-top__separator {
	width: 1px;
	height: 14px;
	background: rgba(255, 255, 255, 0.16);
}

/* Основен ред */

.hl-header-main {
	position: relative;
	background: var(--hl-navy);
}

.hl-header-main__inner {
	display: flex;
	min-height: 96px;
	align-items: center;
	gap: 35px;
}

/* Лого */

.hl-logo {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 13px;
	color: var(--hl-white);
}

.hl-logo:hover {
	color: var(--hl-white);
}

.hl-logo__symbol {
	display: flex;
	width: 48px;
	height: 48px;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--hl-gold);
	color: var(--hl-gold);
	font-family: var(--hl-serif);
	font-size: 27px;
	line-height: 1;
}

.hl-logo__text {
	display: flex;
	flex-direction: column;
}

.hl-logo__text strong {
	color: var(--hl-white);
	font-family: var(--hl-serif);
	font-size: 25px;
	font-weight: 500;
	line-height: 1;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.hl-logo__text small {
	margin-top: 7px;
	color: var(--hl-gold-light);
	font-size: 9px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

/* Навигация */

.hl-navigation {
	margin-left: auto;
}

.hl-navigation__menu,
.hl-navigation__submenu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.hl-navigation__menu {
	display: flex;
	align-items: center;
	gap: clamp(18px, 2vw, 32px);
}

.hl-navigation__menu > li {
	position: relative;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hl-navigation__menu > li::before,
.hl-navigation__menu > li::after {
	display: none !important;
	content: none !important;
}

.hl-navigation__menu > li > a {
	position: relative;
	display: flex;
	align-items: center;
	gap: 5px;
	padding: 37px 0 34px;
	color: rgba(255, 255, 255, 0.8);
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.hl-navigation__menu > li > a::after {
	position: absolute;
	right: 0;
	bottom: 25px;
	left: 0;
	height: 1px;
	background: var(--hl-gold);
	content: "";
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 0.25s ease;
}

.hl-navigation__menu > li > a:hover,
.hl-navigation__menu > li > a.is-current {
	color: var(--hl-white);
}

.hl-navigation__menu > li > a:hover::after,
.hl-navigation__menu > li > a.is-current::after {
	transform: scaleX(1);
	transform-origin: left;
}

/* Подменю */

.hl-navigation__submenu {
	position: absolute;
	z-index: 100;
	top: calc(100% - 12px);
	left: -25px;
	width: 270px;
	padding: 12px 0;
	border-top: 2px solid var(--hl-gold);
	background: var(--hl-white);
	box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px);
	transition:
		opacity 0.2s ease,
		visibility 0.2s ease,
		transform 0.2s ease;
}

.hl-navigation__has-submenu:hover .hl-navigation__submenu,
.hl-navigation__has-submenu:focus-within .hl-navigation__submenu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.hl-navigation__submenu li {
	margin: 0;
	padding: 0;
	list-style: none;
}

.hl-navigation__submenu li::before,
.hl-navigation__submenu li::after {
	display: none !important;
	content: none !important;
}

.hl-navigation__submenu a {
	display: block;
	padding: 12px 25px;
	color: var(--hl-navy);
	font-size: 13px;
	line-height: 1.4;
}

.hl-navigation__submenu a:hover {
	background: var(--hl-ivory);
	color: var(--hl-gold);
}

/* Бутон */

.hl-header-cta {
	display: inline-flex;
	min-height: 46px;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	padding: 11px 19px;
	border: 1px solid var(--hl-gold);
	color: var(--hl-gold-light);
	font-size: 11px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.hl-header-cta:hover {
	background: var(--hl-gold);
	color: var(--hl-white);
}

/* Мобилен бутон */

.hl-menu-toggle {
	display: none;
	width: 46px;
	height: 46px;
	flex: 0 0 46px;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 5px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 0;
	background: transparent;
	cursor: pointer;
}

.hl-menu-toggle span {
	display: block;
	width: 21px;
	height: 1px;
	background: var(--hl-white);
	transition:
		transform 0.25s ease,
		opacity 0.25s ease;
}

.hl-menu-toggle.is-active span:nth-child(1) {
	transform: translateY(6px) rotate(45deg);
}

.hl-menu-toggle.is-active span:nth-child(2) {
	opacity: 0;
}

.hl-menu-toggle.is-active span:nth-child(3) {
	transform: translateY(-6px) rotate(-45deg);
}

/* Мобилно меню */

.hl-mobile-menu {
	display: none;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	background: var(--hl-navy-dark);
}

.hl-mobile-menu.is-open {
	display: block;
}

.hl-mobile-menu nav {
	display: flex;
	flex-direction: column;
	padding: 15px 24px 25px;
}

.hl-mobile-menu nav > a {
	padding: 14px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.09);
	color: rgba(255, 255, 255, 0.82);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.hl-mobile-menu nav > a:hover {
	color: var(--hl-gold-light);
}

.hl-mobile-menu .hl-mobile-menu__cta {
	margin-top: 20px;
	padding: 15px 20px;
	border: 1px solid var(--hl-gold);
	background: var(--hl-gold);
	color: var(--hl-white);
	text-align: center;
}

.hl-mobile-menu .hl-mobile-menu__phone {
	margin-top: 12px;
	border-bottom: 0;
	color: rgba(255, 255, 255, 0.65);
	text-align: center;
}

.hl-mobile-menu__phone strong {
	display: inline-block;
	margin-top: 6px;
	color: var(--hl-white);
	font-family: var(--hl-serif);
	font-size: 20px;
	font-weight: 400;
}

/* Header responsive */

@media (max-width: 1120px) {
	.hl-navigation__menu {
		gap: 17px;
	}

	.hl-navigation__menu > li > a {
		font-size: 11px;
	}

	.hl-header-cta {
		display: none;
	}
}

@media (max-width: 900px) {
	.hl-header-top__contacts > span:last-child,
	.hl-header-top__separator {
		display: none;
	}

	.hl-header-main__inner {
		min-height: 78px;
	}

	.hl-navigation {
		display: none;
	}

	.hl-menu-toggle {
		display: flex;
		margin-left: auto;
	}
}

@media (max-width: 560px) {
	.hl-header-top__inner {
		justify-content: center;
	}

	.hl-header-top__emergency {
		display: none;
	}

	.hl-logo__symbol {
		width: 42px;
		height: 42px;
		font-size: 23px;
	}

	.hl-logo__text strong {
		font-size: 20px;
	}

	.hl-logo__text small {
		font-size: 8px;
		letter-spacing: 0.15em;
	}
}
/* =========================================================
   Корекция на мобилния бутон в новия header
   ========================================================= */

/* Скрит на десктоп */

body.hadzhiyski-custom-page
.hl-site-header
button.hl-menu-toggle {
	display: none !important;
	width: 46px !important;
	height: 46px !important;
	min-width: 46px !important;
	min-height: 46px !important;
	flex: 0 0 46px !important;
	flex-direction: column !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 5px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 1px solid rgba(255, 255, 255, 0.2) !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	font-size: 0 !important;
	line-height: 0 !important;
}

/* Премахва декоративните елементи на Energy */

body.hadzhiyski-custom-page
.hl-site-header
button.hl-menu-toggle::before,
body.hadzhiyski-custom-page
.hl-site-header
button.hl-menu-toggle::after {
	display: none !important;
	content: none !important;
}

/* Трите линии */

body.hadzhiyski-custom-page
.hl-site-header
button.hl-menu-toggle > span {
	display: block !important;
	width: 21px !important;
	height: 1px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: #ffffff !important;
}

/* Показва се само на таблет и телефон */

@media (max-width: 900px) {
	body.hadzhiyski-custom-page
	.hl-site-header
	button.hl-menu-toggle {
		display: flex !important;
		margin-left: auto !important;
	}
}
/* =========================================================
   Footer – Адвокатска кантора „Хаджийски“
   ========================================================= */

/* Скрива стария footer и copyright на Energy */

body.hadzhiyski-custom-page #footer,
body.hadzhiyski-custom-page #copyright {
	display: none !important;
}

.hl-footer {
	position: relative;
	z-index: 10;
	width: 100%;
	background: #091321;
	color: rgba(255, 255, 255, 0.68);
	font-family: var(--hl-sans);
}

.hl-footer,
.hl-footer * {
	box-sizing: border-box;
}

.hl-footer a {
	text-decoration: none;
}

.hl-footer__main {
	position: relative;
	padding: 88px 0 78px;
	overflow: hidden;
	border-top: 1px solid rgba(185, 149, 85, 0.35);
	background:
		radial-gradient(
			circle at 5% 15%,
			rgba(185, 149, 85, 0.08),
			transparent 28%
		),
		#0d1929;
}

.hl-footer__main::after {
	position: absolute;
	top: -150px;
	right: -150px;
	width: 430px;
	height: 430px;
	border: 1px solid rgba(185, 149, 85, 0.08);
	border-radius: 50%;
	content: "";
	pointer-events: none;
}

.hl-footer__grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns:
		minmax(260px, 1.35fr)
		minmax(150px, 0.7fr)
		minmax(180px, 0.85fr)
		minmax(260px, 1.1fr);
	gap: clamp(35px, 5vw, 75px);
}

/* Лого */

.hl-footer-logo {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	color: #ffffff;
}

.hl-footer-logo:hover {
	color: #ffffff;
}

.hl-footer-logo__symbol {
	display: flex;
	width: 52px;
	height: 52px;
	flex: 0 0 52px;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--hl-gold);
	color: var(--hl-gold);
	font-family: var(--hl-serif);
	font-size: 28px;
	line-height: 1;
}

.hl-footer-logo__text {
	display: flex;
	flex-direction: column;
}

.hl-footer-logo__text strong {
	color: #ffffff;
	font-family: var(--hl-serif);
	font-size: 27px;
	font-weight: 500;
	line-height: 1;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.hl-footer-logo__text small {
	margin-top: 8px;
	color: var(--hl-gold-light);
	font-size: 9px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

.hl-footer__about > p {
	max-width: 330px;
	margin: 27px 0 25px;
	color: rgba(255, 255, 255, 0.59);
	font-size: 14px;
	line-height: 1.8;
}

.hl-footer__languages {
	display: flex;
	gap: 7px;
}

.hl-footer__languages span {
	display: flex;
	width: 34px;
	height: 29px;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(255, 255, 255, 0.13);
	color: rgba(255, 255, 255, 0.63);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.05em;
}

/* Заглавия */

.hl-footer h2 {
	position: relative;
	margin: 4px 0 29px;
	padding-bottom: 17px;
	color: #ffffff;
	font-family: var(--hl-serif);
	font-size: 20px;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: 0;
	text-transform: none;
}

.hl-footer h2::after {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 33px;
	height: 1px;
	background: var(--hl-gold);
	content: "";
}

/* Връзки */

.hl-footer__column ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.hl-footer__column li {
	margin: 0;
	padding: 0;
	list-style: none;
}

.hl-footer__column li::before,
.hl-footer__column li::after {
	display: none !important;
	content: none !important;
}

.hl-footer__column li + li {
	margin-top: 12px;
}

.hl-footer__column a {
	position: relative;
	display: inline-block;
	padding-left: 0;
	color: rgba(255, 255, 255, 0.61);
	font-size: 13px;
	line-height: 1.5;
	transition:
		color 0.2s ease,
		padding-left 0.2s ease;
}

.hl-footer__column a::before {
	position: absolute;
	top: 9px;
	left: 0;
	width: 0;
	height: 1px;
	background: var(--hl-gold);
	content: "";
	transition: width 0.2s ease;
}

.hl-footer__column a:hover {
	padding-left: 15px;
	color: var(--hl-gold-light);
}

.hl-footer__column a:hover::before {
	width: 8px;
}

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

.hl-footer__contact-intro {
	margin: 0 0 25px;
	color: rgba(255, 255, 255, 0.58);
	font-size: 13px;
	line-height: 1.75;
}

.hl-footer__phone {
	display: flex;
	align-items: center;
	gap: 14px;
	color: #ffffff;
}

.hl-footer__phone > span:first-child {
	display: flex;
	width: 42px;
	height: 42px;
	flex: 0 0 42px;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(185, 149, 85, 0.55);
	color: var(--hl-gold);
}

.hl-footer__phone svg {
	width: 19px;
	height: 19px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.5;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.hl-footer__phone small,
.hl-footer__phone strong {
	display: block;
}

.hl-footer__phone small {
	margin-bottom: 4px;
	color: rgba(255, 255, 255, 0.55);
	font-size: 10px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.hl-footer__phone strong {
	color: #ffffff;
	font-family: var(--hl-serif);
	font-size: 20px;
	font-weight: 400;
	line-height: 1.2;
}

.hl-footer__phone:hover strong {
	color: var(--hl-gold-light);
}

.hl-footer__consultation {
	display: inline-flex;
	align-items: center;
	gap: 11px;
	margin-top: 28px;
	padding-bottom: 5px;
	border-bottom: 1px solid rgba(185, 149, 85, 0.65);
	color: var(--hl-gold-light);
	font-size: 11px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.hl-footer__consultation:hover {
	color: #ffffff;
}

/* Долна лента */

.hl-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.07);
	background: #091321;
}

.hl-footer__bottom-inner {
	display: flex;
	min-height: 76px;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
}

.hl-footer__bottom p {
	margin: 0;
	color: rgba(255, 255, 255, 0.42);
	font-size: 11px;
	line-height: 1.5;
}

.hl-footer__bottom p a {
	margin-left: 4px;
	color: var(--hl-gold-light);
	font-weight: 600;
}

.hl-footer__bottom p a:hover {
	color: var(--hl-white);
}

.hl-footer__legal {
	display: flex;
	align-items: center;
	gap: 25px;
}

.hl-footer__legal a {
	color: rgba(255, 255, 255, 0.45);
	font-size: 11px;
	line-height: 1.5;
}

.hl-footer__legal a:hover {
	color: var(--hl-gold-light);
}

/* Footer responsive */

@media (max-width: 1050px) {
	.hl-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		row-gap: 55px;
	}
}

@media (max-width: 650px) {
	.hl-footer__main {
		padding: 68px 0 55px;
	}

	.hl-footer__grid {
		grid-template-columns: 1fr;
		gap: 46px;
	}

	.hl-footer__about > p {
		max-width: none;
	}

	.hl-footer__bottom-inner {
		flex-direction: column;
		align-items: flex-start;
		justify-content: center;
		padding-top: 24px;
		padding-bottom: 24px;
	}

	.hl-footer__legal {
		flex-wrap: wrap;
		gap: 10px 20px;
	}
}
