/* Block: Site Header */

.skip-link {
	position: absolute;
	left: -9999px;
	top: auto;
	z-index: 999999;
	padding: 0.75rem 1.5rem;
	background: var(--wp--preset--color--brand-gold);
	color: var(--wp--preset--color--brand-dark);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	text-decoration: none;
}
.skip-link:focus {
	left: 6px;
	top: 6px;
}

/* ── Header shell ── */
.site-header {
	position: fixed !important;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 999;
	background: var(--wp--preset--color--brand-dark);
	transition: background 0.5s ease, box-shadow 0.5s ease;
}
.site-header.has-shadow {
	background: rgba(31, 30, 28, 0.95);
	box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
}

/* ── Main bar ── */
.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 72px;
	padding: 0 1.5rem;
}
@media (min-width: 1024px) {
	.site-header__inner {
		height: 88px;
	}
}

/* ── Logo ── */
.site-header__logo {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	text-decoration: none;
	flex-shrink: 0;
}
.site-header__logo img {
	height: 48px;
	width: 48px;
	border-radius: 50%;
	object-fit: cover;
}
@media (min-width: 640px) {
	.site-header__logo img {
		height: 64px;
		width: 64px;
	}
}
.site-header__logo-text {
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 500;
	font-size: 1rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--wp--preset--color--brand-gold);
}
@media (min-width: 480px) {
	.site-header__logo-text {
		font-size: 1.125rem;
	}
}

/* ── Desktop nav ── */
.site-header__nav {
	display: none;
	align-items: center;
	gap: 1.75rem;
}
@media (min-width: 1024px) {
	.site-header__nav {
		display: flex;
	}
}
.site-header__link {
	display: flex;
	align-items: center;
	gap: 0.25rem;
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.8125rem;
	font-weight: 400;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(245, 243, 239, 0.8);
	text-decoration: none;
	transition: color 0.2s ease;
}
.site-header__link:hover {
	color: var(--wp--preset--color--brand-gold);
}
.site-header__chevron {
	transition: transform 0.2s ease;
}

/* ── Dropdown ── */
.site-header__dropdown {
	position: relative;
}
.site-header__dropdown-panel {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	padding-top: 0.5rem;
	z-index: 100;
}
.site-header__dropdown:hover .site-header__dropdown-panel {
	display: block;
}
.site-header__dropdown:hover .site-header__chevron {
	transform: rotate(180deg);
}
.site-header__dropdown-panel::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 0.5rem;
}
.site-header__dropdown-panel > :first-child {
	display: flex;
}
.site-header__dropdown-link {
	display: block;
	min-width: 200px;
	padding: 0.625rem 1.25rem;
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.75rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: rgba(245, 243, 239, 0.7);
	text-decoration: none;
	background: var(--wp--preset--color--brand-dark);
	border-left: 1px solid rgba(196, 154, 60, 0.1);
	border-right: 1px solid rgba(196, 154, 60, 0.1);
	transition: background 0.2s ease, color 0.2s ease;
}
.site-header__dropdown-link:first-child {
	border-top: 1px solid rgba(196, 154, 60, 0.1);
	padding-top: 0.75rem;
}
.site-header__dropdown-link:last-child {
	border-bottom: 1px solid rgba(196, 154, 60, 0.1);
	padding-bottom: 0.75rem;
}
.site-header__dropdown-link:hover {
	background: var(--wp--preset--color--brand-dark-surface);
	color: var(--wp--preset--color--brand-gold);
}

/* ── Right actions ── */
.site-header__actions {
	display: flex;
	align-items: center;
	gap: 1rem;
}
.site-header__phone {
	display: none;
	align-items: center;
	gap: 0.375rem;
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.8125rem;
	color: rgba(245, 243, 239, 0.8);
	text-decoration: none;
	transition: color 0.2s ease;
}
.site-header__phone:hover {
	color: var(--wp--preset--color--brand-gold);
}
@media (min-width: 1024px) {
	.site-header__phone {
		display: flex;
	}
}
.site-header__book-btn {
	display: none;
	padding: 0.5rem 1.25rem;
	border: 1px solid var(--wp--preset--color--brand-gold);
	background: transparent;
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.8125rem;
	font-weight: 400;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--wp--preset--color--brand-gold);
	text-decoration: none;
	transition: background 0.3s ease, color 0.3s ease;
}
.site-header__book-btn:hover {
	background: var(--wp--preset--color--brand-gold);
	color: var(--wp--preset--color--brand-dark);
}
@media (min-width: 640px) {
	.site-header__book-btn {
		display: inline-flex;
	}
}

/* ── Hamburger ── */
.site-header__hamburger {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
	width: 40px;
	height: 40px;
	position: relative;
}
.site-header__hamburger span {
	display: block;
	width: 22px;
	height: 1.5px;
	background: rgba(245, 243, 239, 0.9);
	position: absolute;
	transition: transform 0.3s ease, opacity 0.3s ease;
}
.site-header__hamburger span:nth-child(1) { transform: translateY(-6px); }
.site-header__hamburger span:nth-child(2) { transform: translateY(0); }
.site-header__hamburger span:nth-child(3) { transform: translateY(6px); }
.site-header__hamburger.is-active span:nth-child(1) { transform: rotate(45deg); }
.site-header__hamburger.is-active span:nth-child(2) { opacity: 0; }
.site-header__hamburger.is-active span:nth-child(3) { transform: rotate(-45deg); }

@media (min-width: 1024px) {
	.site-header__hamburger {
		display: none !important;
	}
}

/* ── Mobile menu ── */
.site-header__mobile {
	display: none;
	background: var(--wp--preset--color--brand-dark);
	border-top: 1px solid rgba(196, 154, 60, 0.1);
}
.site-header__mobile.is-open {
	display: block;
}
@media (min-width: 1024px) {
	.site-header__mobile {
		display: none !important;
	}
}
.site-header__mobile-nav {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	padding: 1.5rem;
}
.site-header__mobile-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 0.75rem 0;
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.875rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(245, 243, 239, 0.8);
	text-decoration: none;
	background: none;
	border: none;
	cursor: pointer;
	transition: color 0.2s ease;
}
.site-header__mobile-link:hover {
	color: var(--wp--preset--color--brand-gold);
}
.site-header__mobile-link--parent {
	text-align: left;
}
.site-header__mobile-chevron {
	transition: transform 0.2s ease;
	flex-shrink: 0;
}
.site-header__mobile-dropdown.is-expanded .site-header__mobile-chevron {
	transform: rotate(180deg);
}

/* Mobile sub-links */
.site-header__mobile-sub {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 0.3s ease;
}
.site-header__mobile-dropdown.is-expanded .site-header__mobile-sub {
	grid-template-rows: 1fr;
}
.site-header__mobile-sub-inner {
	overflow: hidden;
	margin-left: 1rem;
	padding-left: 1rem;
	border-left: 1px solid rgba(196, 154, 60, 0.1);
}
.site-header__mobile-sub-link {
	display: block;
	padding: 0.5rem 0;
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.8125rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: rgba(245, 243, 239, 0.6);
	text-decoration: none;
	transition: color 0.2s ease;
}
.site-header__mobile-sub-link:hover {
	color: var(--wp--preset--color--brand-gold);
}

/* Mobile phone */
.site-header__mobile-phone {
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px solid rgba(196, 154, 60, 0.1);
}
.site-header__mobile-phone-link {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 0;
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.875rem;
	color: rgba(245, 243, 239, 0.8);
	text-decoration: none;
}

/* Mobile book button */
.site-header__mobile-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	margin-top: 1rem;
	padding: 0.75rem 1.25rem;
	border: 1px solid var(--wp--preset--color--brand-gold);
	background: transparent;
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.875rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--wp--preset--color--brand-gold);
	text-decoration: none;
	transition: background 0.3s ease, color 0.3s ease;
}
.site-header__mobile-btn:hover {
	background: var(--wp--preset--color--brand-gold);
	color: var(--wp--preset--color--brand-dark);
}
