/* ==========================================================================
   Site header: ticker + main nav + mobile drawer (from home.html)
   ========================================================================== */

.wrap {
	max-width: 1220px;
	margin: 0 auto;
	padding: 0 28px;
}

.mono {
	font-family: "Estedad";
	letter-spacing: 0.02em;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 24px;
	border-radius: 10px;
	font-size: 14.5px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s;
	border: 1px solid transparent;
}

.btn-coral {
	background: linear-gradient(135deg, #e78652, #bd5f2e);
	color: #fff;
	box-shadow: 0 4px 15px rgba(231, 134, 82, 0.25);
}

.btn-coral:hover {
	background: linear-gradient(135deg, #efa074, #e78652);
	box-shadow: 0 8px 20px rgba(231, 134, 82, 0.35);
}

.btn-outline {
	border-color: #e2e8f0;
	background: #fff;
	color: #0f172a;
}

.btn-outline:hover {
	border-color: #e78652;
	color: #e78652;
	background: rgba(231, 134, 82, 0.04);
}

.btn-sm {
	padding: 10px 20px;
	font-size: 13.5px;
}

.btn-block {
	width: 100%;
}

/* ===== header topbar (2 branches + live status) ===== */
.header-topbar {
	background: #f8fafc;
	border-bottom: 1px solid #e2e8f0;
	position: relative;
	font-family: "Estedad", system-ui, sans-serif;
	font-size: 13px;
	color: #475569;
}

.header-topbar-wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 38px;
	padding: 0 28px;
}

.topbar-branches {
	display: flex;
	align-items: center;
	gap: 18px;
}

.topbar-branch-item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	line-height: 1;
}

.topbar-branch-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #e78652;
	box-shadow: 0 0 8px rgba(231, 134, 82, 0.6);
	flex-shrink: 0;
}

.topbar-branch-title {
	color: #0f172a;
	font-weight: 700;
	font-size: 12.5px;
}

.topbar-branch-phone {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	color: #475569;
	font-size: 13px;
	text-decoration: none;
	transition: color 0.2s ease;
	font-weight: 600;
}

.topbar-branch-phone:hover {
	color: #e78652;
}

.topbar-branch-phone svg {
	color: #e78652;
	flex-shrink: 0;
	transition: transform 0.2s ease;
}

.topbar-branch-phone:hover svg {
	transform: scale(1.15);
}

.topbar-divider {
	width: 1px;
	height: 14px;
	background: #cbd5e1;
	display: inline-block;
}

.topbar-status {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	background: rgba(16, 185, 129, 0.08);
	border: 1px solid rgba(16, 185, 129, 0.2);
	color: #065f46;
	padding: 3px 10px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.4;
}

.topbar-pulse {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #10b981;
	box-shadow: 0 0 0 rgba(16, 185, 129, 0.5);
	animation: topbarPulse 2s infinite;
}

@keyframes topbarPulse {
	0% {
		box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
	}
	70% {
		box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
	}
}

/* Fallback / legacy support */
.ticker-bar {
	background: #f8fafc;
	border-bottom: 1px solid #e2e8f0;
	overflow: hidden;
	height: 38px;
	display: flex;
	align-items: center;
}

/* ===== header ===== */
body > header {
	position: sticky !important;
	top: 0 !important;
	z-index: 100;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid #e2e8f0;
	transition: box-shadow 0.3s ease;
}

body > header.is-scrolled {
	box-shadow: 0 8px 24px -8px rgba(15, 23, 42, 0.12);
}

.header-main .wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 92px;
}

/* logo */
.brand-logo {
	display: flex;
	align-items: center;
	gap: 14px;
	transition: opacity 0.2s;
}

.brand-logo:hover {
	opacity: 0.9;
}

.brand-logo-img {
	height: 48px;
	width: auto;
	max-height: 52px;
	max-width: 210px;
	object-fit: contain;
	display: block;
}

.brand-logo-icon {
	width: 54px;
	height: 54px;
	flex-shrink: 0;
	filter: drop-shadow(0 4px 8px rgba(231, 134, 82, 0.2));
}

.logo-text {
	display: flex;
	flex-direction: column;
	line-height: 1.2;
}

.logo-text b {
	font-size: 22px;
	font-weight: 900;
	letter-spacing: -0.03em;
	color: #0f172a;
}

.logo-text span {
	font-size: 11px;
	color: #efa074;
	font-family: "Estedad";
	letter-spacing: 0.18em;
	margin-top: 2px;
	font-weight: 600;
}

/* ===== navigation & dropdown ===== */
nav {
	display: flex;
	align-items: center;
	gap: 32px;
}

nav>a,
nav .nav-item>a {
	position: relative;
	font-size: 15px;
	font-weight: 600;
	color: #475569;
	transition: color 0.2s;
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 10px 0;
}

nav a:hover,
nav .nav-item:hover>a {
	color: #e78652;
}

header nav>a::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 2px;
	width: 0;
	height: 2px;
	background: #e78652;
	transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

nav>a:hover::after {
	width: 100%;
}

.nav-item {
	position: relative;
}

.dropdown {
	position: absolute;
	top: 100%;
	right: 0;
	width: 240px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 8px 0;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: all 0.25s ease;
	z-index: 110;
}

.nav-item:hover>.dropdown {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.dropdown-item {
	position: relative;
}

.dropdown-item>a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 18px;
	font-size: 14px;
	font-weight: 500;
	color: #0f172a;
	transition: all 0.2s;
}

.dropdown-item>a:hover {
	background: #f8fafc;
	color: #e78652;
	padding-right: 22px;
}

.sub-dropdown {
	position: absolute;
	top: 0;
	right: 100%;
	width: 220px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 8px 0;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
	opacity: 0;
	visibility: hidden;
	transform: translateX(10px);
	transition: all 0.25s ease;
}

.dropdown-item:hover>.sub-dropdown {
	opacity: 1;
	visibility: visible;
	transform: translateX(0);
}

.sub-dropdown a {
	display: block;
	padding: 9px 16px;
	font-size: 13.5px;
	color: #475569;
	transition: all 0.2s;
}

.sub-dropdown a:hover {
	color: #e78652;
	background: rgba(231, 134, 82, 0.06);
	padding-right: 20px;
}

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

/* ===== mobile / tablet navigation ===== */
.menu-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 5px;
	width: 44px;
	height: 44px;
	border-radius: 10px;
	border: 1px solid #e2e8f0;
	background: #fff;
	cursor: pointer;
	flex: none;
}

.menu-toggle span {
	display: block;
	width: 20px;
	height: 2px;
	border-radius: 2px;
	background: #0f172a;
	transition:
		transform 0.3s ease,
		opacity 0.3s ease;
}

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

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

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

.mobile-nav-overlay {
	position: fixed;
	inset: 0;
	background: rgba(15, 23, 42, 0.5);
	backdrop-filter: blur(2px);
	z-index: 190;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease;
}

.mobile-nav-overlay.is-open {
	opacity: 1;
	visibility: visible;
}

.mobile-nav {
	position: fixed;
	top: 0;
	bottom: 0;
	right: 0;
	width: min(340px, 84vw);
	background: #fff;
	z-index: 200;
	display: flex;
	flex-direction: column;
	box-shadow: -24px 0 60px rgba(15, 23, 42, 0.18);
	transform: translateX(100%);
	transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav.is-open {
	transform: translateX(0);
}

.mobile-nav-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20px 20px;
	border-bottom: 1px solid #e2e8f0;
	flex: none;
}

.mobile-nav-close {
	width: 38px;
	height: 38px;
	border-radius: 10px;
	border: 1px solid #e2e8f0;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: #0f172a;
}

.mobile-nav-body {
	flex: 1;
	overflow-y: auto;
	padding: 12px 10px 24px;
}

.mobile-nav-foot {
	flex: none;
	padding: 16px 20px 24px;
	border-top: 1px solid #e2e8f0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.mnav-item {
	border-bottom: 1px solid #edf2f7;
}

.mnav-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	width: 100%;
	padding: 15px 12px;
	font-size: 15px;
	font-weight: 600;
	color: #0f172a;
	background: none;
	border: none;
	text-align: right;
	cursor: pointer;
	font-family: "Estedad";
	transition: color 0.2s;
}

a.mnav-link {
	display: flex;
}

.mnav-link:hover {
	color: #e78652;
}

.mnav-chevron {
	transition: transform 0.3s ease;
	flex: none;
	color: #94a3b8;
}

.mnav-item.is-expanded>.mnav-link .mnav-chevron {
	transform: rotate(180deg);
	color: #e78652;
}

.mnav-submenu {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.35s ease;
	padding-inline-start: 14px;
}

.mnav-item.is-expanded>.mnav-submenu {
	max-height: 600px;
}

.mnav-submenu .mnav-link {
	font-size: 14px;
	font-weight: 500;
	color: #475569;
	padding: 12px 12px;
}

.mnav-submenu .mnav-item {
	border-bottom: none;
}

.mnav-submenu .mnav-submenu .mnav-link {
	color: #94a3b8;
	font-size: 13.5px;
}

/* active states for WP menu */
nav > a.is-active,
nav .nav-item.is-active > a {
	color: #e78652;
}

nav > a.is-active::after {
	width: 100%;
}

@media (max-width: 980px) {
	nav {
		display: none;
	}

	.menu-toggle {
		display: flex;
	}

	.header-actions .btn-outline {
		display: none;
	}

	.topbar-status {
		display: none;
	}

	.header-topbar-wrap {
		justify-content: center;
	}
}

@media (max-width: 620px) {
	.header-main .wrap {
		height: 84px;
	}

	.brand-logo-icon {
		width: 46px;
		height: 46px;
	}

	.logo-text b {
		font-size: 18px;
	}

	.header-actions {
		display: none;
	}

	.wrap {
		padding: 0 20px;
	}

	.header-topbar-wrap {
		padding: 0 16px;
		height: 36px;
	}

	.topbar-branches {
		gap: 10px;
		width: 100%;
		justify-content: space-around;
	}

	.topbar-branch-item {
		gap: 5px;
	}

	.topbar-branch-title {
		font-size: 11.5px;
	}

	.topbar-branch-phone {
		font-size: 12px;
	}

	.topbar-branch-dot {
		display: none;
	}
}

@media (max-width: 480px) {
	.mobile-nav {
		width: 88vw;
	}

	.topbar-branch-phone svg {
		display: none;
	}
}
