/** Desktop utility bar and readable two-zone MetrYMMO header. */
.site-header {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 9999;
	width: 100%;
	background: rgba(11, 11, 11, .97);
	border-bottom: 1px solid rgba(224, 187, 128, .14);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
}

.site-header.scrolled { box-shadow: 0 12px 36px rgba(0, 0, 0, .24); }
.header-topbar { min-height: 32px; border-bottom: 1px solid rgba(255,255,255,.07); background: #080808; }
.header-topbar__inner { display: flex; align-items: center; justify-content: flex-end; gap: 22px; width: min(calc(100% - 64px),1480px); min-height: 32px; margin: 0 auto; }
.header-topbar__contact { display: flex; align-items: center; gap: 22px; }
.header-topbar__contact a { color: rgba(245,238,227,.78); font-size: .78rem; font-weight: 500; line-height: 1.2; text-decoration: none; transition: color .2s ease; }
.header-topbar__contact a:hover { color: #e0bb80; }
.header-topbar__instagram { display: grid; place-items: center; width: 26px; height: 26px; color: #e0bb80; }
.header-topbar__instagram svg { display: block; width: 18px; height: 18px; }

.header-main { height: 88px; }
.header-container { display: flex; align-items: center; gap: 20px; width: min(calc(100% - 64px),1480px); height: 88px; margin: 0 auto; box-sizing: border-box; }
.site-branding { display: flex; align-items: center; flex: 0 0 auto; height: 100%; }
.site-branding__link { display: inline-flex; align-items: center; height: 100%; text-decoration: none; }
.site-branding__logo,
.site-branding img { display: block; width: auto; max-width: 170px; max-height: 76px; object-fit: contain; }

.site-navigation { display: flex; align-items: center; justify-content: flex-end; flex: 1 1 auto; min-width: 0; }
.site-navigation ul { display: flex; align-items: center; gap: clamp(16px,1.25vw,23px); margin: 0; padding: 0; list-style: none; }
.site-navigation li { margin: 0; padding: 0; }
.site-navigation a { position: relative; display: inline-flex; align-items: center; padding: 10px 0; color: rgba(255,255,255,.92); font-size: 1rem; font-weight: 600; line-height: 1.35; text-decoration: none; white-space: nowrap; transition: color .2s ease; }
.site-navigation a::after { position: absolute; right: 0; bottom: 3px; left: 0; height: 1px; background: linear-gradient(90deg,#e0bb80,#a86f3d); content: ""; transform: scaleX(0); transform-origin: center; transition: transform .2s ease; }
.site-navigation a:hover,
.site-navigation .current-menu-item > a,
.site-navigation .current_page_item > a { color: #e0bb80; }
.site-navigation a:hover::after,
.site-navigation .current-menu-item > a::after,
.site-navigation .current_page_item > a::after { transform: scaleX(1); }
.site-navigation li.menu-item--finance,
.site-navigation li.menu-item--instagram { display: none !important; }
.site-navigation__instagram-link { gap: 9px; }
.site-navigation__instagram-link svg { width: 18px; height: 18px; flex: 0 0 auto; }
.site-navigation__contact { display: none; }

.header-actions { display: flex; align-items: center; flex: 0 0 auto; gap: 10px; }
.header-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 19px; border: 1px solid rgba(224,187,128,.3); border-radius: 999px; background: linear-gradient(135deg,#e0bb80,#c99a55); color: #0b0b0b; font-size: .82rem; font-weight: 800; line-height: 1.2; text-align: center; text-decoration: none; white-space: nowrap; box-shadow: 0 8px 22px rgba(201,154,85,.13); transition: transform .2s ease,box-shadow .2s ease,background .2s ease; }
.header-button:hover { background: linear-gradient(135deg,#f0d7ae,#e0bb80); box-shadow: 0 12px 28px rgba(201,154,85,.22); transform: translateY(-1px); }
.menu-toggle { display: none; align-items: center; justify-content: center; flex-direction: column; flex: 0 0 auto; gap: 5px; width: 46px; height: 46px; padding: 0; border: 1px solid rgba(224,187,128,.28); border-radius: 13px; background: rgba(255,255,255,.04); cursor: pointer; }
.menu-toggle span { display: block; width: 20px; height: 2px; border-radius: 10px; background: #f5eee3; transition: transform .2s ease,opacity .2s 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); }
.site-navigation a:focus-visible,
.site-navigation__contact a:focus-visible,
.header-topbar a:focus-visible,
.header-button:focus-visible,
.menu-toggle:focus-visible { outline: 3px solid #f0d7ae; outline-offset: 4px; }

@media (min-width: 1351px) and (max-width: 1480px) {
	.header-container { gap: 14px; }
	.site-navigation ul { gap: 16px; }
	.site-navigation a { font-size: .96rem; }
	.header-actions { gap: 8px; }
	.header-button { padding-inline: 15px; }
}

@media (max-width: 1350px) {
	.header-topbar { display: none; }
	.header-main,
	.header-container { height: 80px; }
	.header-container { width: calc(100% - 36px); justify-content: space-between; }
	.site-branding img { max-width: 150px; max-height: 68px; }
	.header-actions { display: none; }
	.menu-toggle { position: relative; z-index: 10001; display: flex; }
	.site-navigation { position: fixed; top: 80px; right: 0; left: 0; z-index: 10000; display: block; width: 100%; max-height: calc(100vh - 80px); margin: 0; padding: 18px 18px 25px; box-sizing: border-box; overflow-x: hidden; overflow-y: auto; border-top: 1px solid rgba(224,187,128,.12); background: #0b0b0b; box-shadow: 0 25px 50px rgba(0,0,0,.35); opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-12px); transition: opacity .22s ease,visibility .22s ease,transform .22s ease; }
	.site-navigation.is-open { display: block; opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
	.site-navigation ul { display: flex; align-items: stretch; flex-direction: column; gap: 0; width: 100%; margin: 0; padding: 0; list-style: none; }
	.site-navigation li,
	.site-navigation li.menu-item--finance { display: block; width: 100%; margin: 0; padding: 0; border-bottom: 1px solid rgba(255,255,255,.08); }
	.site-navigation li.menu-item--finance,
	.site-navigation li.menu-item--instagram { display: block !important; }
	.site-navigation li:last-child { border-bottom: 0; }
	.site-navigation a { display: flex; align-items: center; width: 100%; min-height: 50px; padding: 14px 8px; box-sizing: border-box; color: #f5eee3; font-size: 1rem; font-weight: 600; line-height: 1.4; white-space: normal; }
	.site-navigation a::after { display: none; }
	.site-navigation a:hover,
	.site-navigation .current-menu-item > a,
	.site-navigation .current_page_item > a { color: #e0bb80; }
	.site-navigation__contact { display: grid; gap: 8px; padding: 14px 8px 4px; }
	.site-navigation__contact a { min-height: 36px; padding: 5px 0; color: rgba(245,238,227,.78); font-size: .9rem; }
	.site-navigation li.menu-item--finance > a { justify-content: center; min-height: 48px; margin: 10px 0; border: 0; border-radius: 999px; background: linear-gradient(135deg,#e0bb80,#c99a55); color: #0b0b0b; }
}

@media (max-width: 600px) {
	.header-container { width: calc(100% - 28px); }
	.site-branding img { max-width: 125px; max-height: 62px; }
	.menu-toggle { width: 43px; height: 43px; }
}

@media (prefers-reduced-motion: reduce) {
	.site-header,
	.site-navigation,
	.site-navigation a,
	.header-button,
	.menu-toggle span { transition-duration: .01ms !important; }
}
