@font-face {
  font-family: "VEDi Header Manrope";
  src: url("./assets/manrope-regular.ttf") format("truetype");
  font-display: swap;
}

.site-header {
  position: relative;
  z-index: 30;
  background: #252b2d;
  color: #f5f1e9;
  font: 14px/1.65 "VEDi Header Manrope", Arial, sans-serif;
}

.site-header, .site-header * { box-sizing: border-box; }
.site-header a { color: inherit; text-decoration: none; }
.site-header :is(a, button):focus-visible { outline: 2px solid #e2bd7c; outline-offset: 3px; }

.site-header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: min(1280px, calc(100% - 112px));
  min-height: 104px;
  margin-inline: auto;
  border-bottom: 1px solid #f5e5c32b;
}

.site-header .site-header-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  font: 28px/1.65 Arial, sans-serif;
  letter-spacing: -1.2px;
  white-space: nowrap;
}

.site-header-brand img { flex: none; object-fit: contain; }
.site-header-brand span span { color: #e1e3de; font-weight: 300; }

.site-header .site-header-menu {
  position: static;
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: #e0e2dc;
  backdrop-filter: none;
  box-shadow: none;
}

.site-header-menu a { padding-block: 8px; }
.site-header-menu a:is(:hover, [aria-current="page"]) { color: #e2bd7c; }

.site-header .site-header-calculate, .site-header .site-header-contact {
  flex-shrink: 0;
  border-radius: 4px;
  white-space: nowrap;
  font-size: 13px;
}

.site-header .site-header-calculate {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid #d4b377;
  color: #f2d9a2;
}

.site-header .site-header-contact { border: 1px solid #c7a56d8c; padding: 10px 18px; }
.site-header-contact span { margin-left: 17px; color: #e2bd7c; }
.site-header :is(.site-header-calculate, .site-header-contact):hover { background: #e2bd7c15; }
.site-header .site-header-toggle, .site-header .site-header-mobile-contact { display: none; }

@media (max-width: 1100px) {
  .site-header-inner { width: calc(100% - 64px); gap: 20px; }
  .site-header .site-header-brand { font-size: 25px; }
  .site-header .site-header-menu { gap: 20px; font-size: 12px; }
  .site-header .site-header-contact { padding: 8px 12px; font-size: 11px; }
}

@media (max-width: 800px) {
  .site-header-inner { width: calc(100% - 40px); min-height: 86px; }
  .site-header .site-header-brand { gap: 10px; }
  .site-header-brand img { width: 40px; height: 40px; }
  .site-header .site-header-calculate { margin-inline-start: auto; }
  .site-header .site-header-contact { display: none; }
  .site-header .site-header-mobile-contact { display: block; }

  .site-header .site-header-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    flex: 0 0 40px;
    padding: 0;
    height: 40px;
    border: 1px solid #495051;
    background: transparent;
    cursor: pointer;
  }

  .site-header-toggle span { width: 18px; height: 1px; background: #c5c4ba; }

  .site-header .site-header-menu {
    display: none;
    position: absolute;
    inset: 100% -20px auto;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 20px;
    border-bottom: 1px solid #495051;
    background: #30393c;
    box-shadow: 0 12px 24px #0003;
    font-size: 16px;
  }

  .site-header .site-header-menu[data-open="true"] { display: flex; }
  .site-header-menu a { padding-block: 10px; }
}

@media (max-width: 560px) {
  .site-header-inner { gap: 12px; }
  .site-header .site-header-brand { font-size: 23px; gap: 8px; }
  .site-header-brand img { width: 36px; height: 36px; }
}

@media (max-width: 480px) {
  .site-header-inner { gap: 8px; }
  .site-header .site-header-calculate { padding-inline: 8px; font-size: 11px; }
}

@media (max-width: 360px) {
  .site-header .site-header-brand { font-size: 17px; gap: 5px; }
  .site-header-brand img { width: 28px; height: 28px; }
}
