/* =========================================================
   FastApp — Custom Header & Footer Styles
   Matches fastapp.se design (replaces JetThemeCore header)
   ========================================================= */

/* --- Shared container --- */
.fastapp-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 15px;
	box-sizing: border-box;
}

/* =========================================================
   INFO BAR (top bar: logo + phone + email)
   ========================================================= */

.fastapp-info-bar {
	background: #ffffff;
	border-bottom: 1px solid #e6e8e8;
	padding: 14px 0 12px;
}

.fastapp-info-bar .fastapp-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

/* Logo */
.fastapp-info-bar__logo {
	flex: 0 0 auto;
}

.fastapp-info-bar__logo img {
	max-height: 60px;
	width: auto;
	display: block;
}

/* Contacts (desktop) */
.fastapp-info-bar__contacts {
	display: flex;
	align-items: center;
	gap: 0;
}

.fastapp-contact-item {
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 5px 25px 5px 9px;
}

.fastapp-contact-item--border-right {
	border-right: 1px solid #e6e8e8;
}

.fastapp-contact-icon {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

.fastapp-contact-content {
	display: flex;
	flex-direction: column;
	line-height: 1.3;
}

.fastapp-contact-label {
	font-family: 'Open Sans', sans-serif;
	font-size: 13px;
	font-weight: 400;
	text-transform: uppercase;
	color: #5f656d;
	line-height: 1.1;
}

.fastapp-contact-value {
	font-family: 'Hind', sans-serif;
	font-size: 16px;
	font-weight: 600;
	color: #848a90;
	text-decoration: none;
	line-height: 1.4;
}

.fastapp-contact-value:hover {
	color: #EF7726;
}

/* Mobile contacts (hidden on desktop) */
.fastapp-info-bar__mobile-contacts {
	display: none;
	font-family: 'Hind', sans-serif;
	font-size: 13px;
	text-align: center;
	color: #222931;
}

.fastapp-info-bar__mobile-contacts a {
	color: #222931;
	text-decoration: none;
}

/* =========================================================
   NAV BAR
   ========================================================= */

.fastapp-nav-bar {
	background-color: #222931;
	position: relative;
	z-index: 100;
}

.fastapp-nav-container {
	display: flex;
	align-items: stretch;
	justify-content: space-between;
}

/* Nav menu */
#fastapp-site-navigation {
	flex: 1;
}

.fastapp-nav-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
}

.fastapp-nav-menu > li > a {
	display: block;
	padding: 14px 13px 13px;
	font-family: 'Hind', sans-serif;
	font-size: 14px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.56px;
	color: #ffffff;
	text-decoration: none;
	line-height: 1.4;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.fastapp-nav-menu > li > a:hover,
.fastapp-nav-menu > li:hover > a {
	background-color: #EF7726;
	color: #222931;
}

.fastapp-nav-menu > li.current-menu-item > a,
.fastapp-nav-menu > li.current_page_item > a,
.fastapp-nav-menu > li.current-menu-ancestor > a {
	background-color: #EF7726;
	color: #222931;
}

/* Sub-menus */
.fastapp-nav-menu li {
	position: relative;
}

.fastapp-nav-menu li ul {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 200px;
	background: #222931;
	list-style: none;
	margin: 0;
	padding: 0;
	z-index: 200;
}

.fastapp-nav-menu li:hover > ul {
	display: block;
}

.fastapp-nav-menu li ul li a {
	display: block;
	padding: 10px 15px;
	font-family: 'Hind', sans-serif;
	font-size: 14px;
	font-weight: 400;
	color: #ffffff;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.fastapp-nav-menu li ul li a:hover {
	background-color: #ffe718;
	color: #222931;
}

/* Mobile toggle button */
.fastapp-mobile-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	background: #fe7d0b;
	border: none;
	cursor: pointer;
	padding: 14px 16px;
	align-self: stretch;
}

.fastapp-mobile-toggle span {
	display: block;
	width: 22px;
	height: 2px;
	background: #ffffff;
	border-radius: 1px;
	transition: all 0.3s ease;
}

/* Toggle open state */
.fastapp-mobile-toggle.is-active span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

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

.fastapp-mobile-toggle.is-active span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/* =========================================================
   FOOTER
   ========================================================= */

.fastapp-footer {
	background: #f8f9f9;
	border-top: 1px solid #e6e8e8;
	padding: 25px 0;
}

.fastapp-footer__copyright {
	font-family: 'Archivo', sans-serif;
	font-size: 11px;
	font-weight: 400;
	color: #848a90;
	margin: 0;
	line-height: 2.07;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 768px) {

	/* Info bar: stack logo + show mobile contacts only */
	.fastapp-info-bar .fastapp-container {
		flex-direction: column;
		align-items: center;
		gap: 10px;
		padding: 20px 20px;
	}

	.fastapp-info-bar__contacts {
		display: none;
	}

	.fastapp-info-bar__mobile-contacts {
		display: block;
	}

	/* Nav: show toggle, hide menu by default */
	.fastapp-mobile-toggle {
		display: flex;
	}

	#fastapp-site-navigation {
		display: none;
		width: 100%;
		order: 3;
	}

	#fastapp-site-navigation.is-open {
		display: block;
	}

	.fastapp-nav-container {
		flex-wrap: wrap;
	}

	.fastapp-nav-menu {
		flex-direction: column;
		background: #292929;
	}

	.fastapp-nav-menu > li > a {
		padding: 14px 20px;
		border-bottom: 1px solid rgba(255,255,255,0.08);
	}

	.fastapp-nav-menu li ul {
		position: static;
		display: none;
		background: #1a1f25;
	}

	.fastapp-nav-menu li.is-open > ul {
		display: block;
	}

	.fastapp-footer {
		text-align: center;
		padding: 20px;
	}
}

@media (max-width: 480px) {
	.fastapp-info-bar__logo img {
		max-height: 45px;
	}
}
