/* =========================================================
   Adtora Base v0.3.1
   Common Header / Navigation
   ========================================================= */

.site-header {
	position: relative;
	z-index: 50;
	border-bottom: 1px solid rgba(7, 26, 47, 0.09);
	background: rgba(255, 255, 255, 0.97);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 82px;
	gap: 28px;
}

.site-branding {
	flex: 0 0 auto;
}

.site-branding__link {
	display: inline-flex;
	flex-direction: column;
	gap: 2px;
	color: #071a2f;
	text-decoration: none;
}

.site-branding__link:hover,
.site-branding__link:focus {
	text-decoration: none;
}

.site-branding__eyebrow {
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.18em;
	color: #7d8792;
}

.site-branding__name {
	font-size: 1.12rem;
	font-weight: 800;
	letter-spacing: 0.02em;
	color: #071a2f;
}

.site-branding__logo .custom-logo-link {
	display: block;
}

.site-branding__logo img {
	display: block;
	width: auto;
	max-width: 250px;
	max-height: 56px;
}

.site-header__nav-wrap {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 22px;
	min-width: 0;
}

.site-nav {
	min-width: 0;
}

.site-nav__list {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-nav__list > li {
	margin: 0;
	padding: 0;
	white-space: nowrap;
}

.site-nav__list > li > a {
	display: flex;
	align-items: center;
	min-height: 82px;
	padding: 0 11px;
	font-size: 0.84rem;
	font-weight: 700;
	line-height: 1.2;
	color: #263548;
	text-decoration: none;
	transition: color 0.2s ease;
}

.site-nav__list > li > a:hover,
.site-nav__list > li > a:focus {
	color: #d71920;
	text-decoration: none;
}

.site-header__actions {
	display: flex;
	align-items: center;
	flex: 0 0 auto;
	gap: 14px;
}

.header-link {
	font-size: 0.82rem;
	font-weight: 700;
	color: #263548;
	text-decoration: none;
	white-space: nowrap;
}

.header-link:hover,
.header-link:focus {
	color: #d71920;
	text-decoration: none;
}

.header-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0 18px;
	border-radius: 999px;
	color: #fff;
	background: #d71920;
	font-size: 0.84rem;
	font-weight: 800;
	text-decoration: none;
	white-space: nowrap;
	box-shadow: 0 10px 24px rgba(215, 25, 32, 0.18);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.header-cta:hover,
.header-cta:focus {
	color: #fff;
	text-decoration: none;
	transform: translateY(-1px);
	box-shadow: 0 14px 30px rgba(215, 25, 32, 0.24);
}

.site-menu-toggle {
	display: none;
	border: 0;
	background: transparent;
	color: #071a2f;
	cursor: pointer;
}

@media (max-width: 1120px) {
	.site-header__inner {
		gap: 18px;
	}

	.site-header__nav-wrap {
		gap: 12px;
	}

	.site-nav__list > li > a {
		padding-inline: 8px;
		font-size: 0.78rem;
	}

	.header-link {
		font-size: 0.78rem;
	}

	.header-cta {
		padding-inline: 14px;
		font-size: 0.78rem;
	}
}

@media (max-width: 960px) {
	.site-header__inner {
		position: relative;
		flex-direction: row;
		align-items: center;
		min-height: 72px;
		padding-block: 0;
	}

	.site-menu-toggle {
		display: inline-flex;
		align-items: center;
		gap: 10px;
		padding: 10px 0;
		margin-left: auto;
	}

	.site-menu-toggle__label {
		font-size: 0.68rem;
		font-weight: 900;
		letter-spacing: 0.12em;
	}

	.site-menu-toggle__icon {
		display: grid;
		gap: 4px;
		width: 22px;
	}

	.site-menu-toggle__icon span {
		display: block;
		width: 100%;
		height: 2px;
		background: #071a2f;
	}

	.site-header__nav-wrap {
		position: absolute;
		top: 100%;
		right: 0;
		left: 0;
		display: none;
		align-items: stretch;
		flex-direction: column;
		gap: 12px;
		padding: 18px 20px 24px;
		border-top: 1px solid #e9edf1;
		background: #fff;
		box-shadow: 0 20px 38px rgba(7, 26, 47, 0.12);
	}

	.site-header__nav-wrap.is-open {
		display: flex;
	}

	.site-nav__list {
		display: grid;
	}

	.site-nav__list > li > a {
		min-height: auto;
		padding: 11px 0;
		font-size: 0.9rem;
	}

	.site-header__actions {
		align-items: stretch;
		flex-direction: column;
	}

	.header-link {
		padding: 8px 0;
	}

	.header-cta {
		min-height: 48px;
		border-radius: 6px;
	}
}

@media (max-width: 640px) {
	.site-header__inner {
		min-height: 68px;
	}

	.site-branding__name {
		font-size: 1rem;
	}

	.site-branding__eyebrow {
		font-size: 0.58rem;
	}

	.site-branding__logo img {
		max-width: 210px;
		max-height: 46px;
	}
}
