@font-face {
  font-family: "Geologica Header";
  src: url("./geologica-v1.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
}

@font-face {
  font-family: "Geologica Header Fallback";
  src: local("Arial"), local("ArialMT"), local("Liberation Sans");
  size-adjust: 106.08%;
  ascent-override: 91.91%;
  descent-override: 25.92%;
  line-gap-override: 0%;
}

.site-header {
  --header-dark: #1e1e1e;
  --header-line: #eee;
  --header-blue: hsl(218 73% 44%);
  --header-blue-hover: #004388;
  --header-blue-soft: #def;
  --header-blue-text: #89c2ff;
  --header-muted: rgb(255 255 255 / 75%);
  --header-logo-height: 20px;
  position: relative;
  z-index: 20;
  font-family: "Geologica Header", "Geologica Header Fallback", Arial, sans-serif;
  font-synthesis: none;
  font-variant-numeric: normal;
}

.site-header a {
  color: inherit;
  text-decoration: none;
}

.site-header button {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.site-header svg {
  display: block;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  width: 16px;
  height: 16px;
}

.header-frame {
  box-sizing: border-box;
  width: 100%;
  max-width: 1536px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 60px);
}

.header-top {
  background: var(--header-dark);
  color: #fff;
  font-size: 14px;
  line-height: 17.5px;
}

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

.header-schedule {
  display: none;
  flex: none;
  margin: 0;
  color: var(--header-muted);
  font-size: 12px;
  line-height: 16px;
}

.header-contacts {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.header-contact-extra {
  display: none;
}

.header-contacts a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.header-contacts a:hover {
  text-decoration: underline;
}

.header-contacts svg {
  width: 14px;
  height: 14px;
  color: var(--header-blue-text);
}

.header-phone {
  min-height: 32px;
  white-space: nowrap;
}

.header-phone,
.header-max {
  font-weight: 500;
}

.header-contact-note {
  color: var(--header-muted);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.375;
}

.header-nav-surface {
  border-block: 1px solid var(--header-line);
  background: #fff;
  color: var(--header-dark);
}

.is-catalog .header-nav-surface {
  border-top: 0;
  border-bottom-color: rgb(255 255 255 / 25%);
  background: var(--header-blue);
  color: #fff;
}

.header-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  column-gap: 16px;
  height: 55px;
}

.header-logo {
  display: inline-flex;
  flex: none;
  align-items: center;
  min-height: 44px;
}

.header-logo img,
.header-menu-logo {
  display: block;
  width: auto;
  height: var(--header-logo-height);
}

.is-catalog .header-nav-row .header-logo img {
  filter: brightness(0) invert(1);
}

.header-nav-links {
  display: none;
}

.site-header :is(.header-menu-toggle, .header-menu-close) {
  box-sizing: border-box;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
}

.site-header .header-menu-toggle {
  border: 1px solid var(--header-line);
  border-radius: 8px;
}

.site-header :is(.header-menu-toggle, .header-menu-close) svg {
  width: 24px;
  height: 24px;
}

.header-packaging-link {
  gap: 7px;
}

.header-soon {
  padding: 2px 5px;
  background: #036cdd;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
}

.header-nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-underline-offset: 4px;
}

.site-header .header-nav-link:is(:hover, [aria-current="page"]) {
  text-decoration: underline;
}

.site-header .header-cta {
  height: 48px;
  padding-inline: 24px;
  border-radius: 8px;
  background: var(--header-blue);
  color: #fff;
  font-weight: 600;
}

.site-header .header-cta:is(:hover, [aria-expanded="true"]) {
  background: var(--header-blue-hover);
}

.is-catalog .header-cta {
  background: #fff;
  color: var(--header-blue);
}

.is-catalog .header-cta:is(:hover, [aria-expanded="true"]) {
  background: var(--header-blue-soft);
}

.header-panel {
  position: fixed;
  inset: auto;
  box-sizing: border-box;
  width: 288px;
  max-width: calc(100vw - 32px);
  margin: 0;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 8px;
  border: 1px solid var(--header-line);
  border-top: 2px solid #036cdd;
  background: #fff;
  color: var(--header-dark);
  font-size: 14px;
  line-height: 20px;
}

.header-panel a {
  display: block;
  padding: 10px 12px;
  text-align: left;
}

.header-panel a:hover {
  background: var(--header-blue-soft);
  color: var(--header-blue-hover);
}

html:has(.header-menu[open]) {
  overflow: hidden;
}

.header-menu {
  position: fixed;
  inset: 0;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 0;
  border: 0;
  background: var(--header-dark);
  color: #fff;
}

.header-menu-frame {
  box-sizing: border-box;
  max-width: 672px;
  margin-inline: auto;
  padding-inline: 16px;
}

.header-menu-row {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  border-bottom: 1px solid #444;
}

.header-menu-links {
  padding-block: 12px;
  font-size: 15px;
  font-weight: 500;
  line-height: 24.75px;
}

.header-menu-links a {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  min-height: 48px;
  padding-block: 12px;
}

.header-menu-contacts {
  padding-block: 20px;
  border-top: 1px solid #444;
  font-size: 14px;
  line-height: 20px;
}

.header-menu-contact-title {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin: 0;
  color: var(--header-muted);
  font-weight: 500;
}

.header-menu-contact-list a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 44px;
}

.header-menu-copyright {
  margin: 12px 0 0;
  color: var(--header-muted);
}

.header-menu a:hover,
.site-header .header-menu-close:hover {
  color: var(--header-blue-text);
}

.site-header .header-menu-toggle:hover {
  opacity: .75;
}

.seo-header__nav {
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
}

@media (max-width: 720px) {
  .seo-header__nav { display: none; }
}

@media (min-width: 561px) {
  .site-header { --header-logo-height: 23px; }
}

@media (min-width: 640px) {
  .header-nav-row { height: 63px; }
  .header-menu-frame { padding-inline: 24px; }
}

@media (min-width: 831px) {
  .site-header { --header-logo-height: 26px; }
}

@media (min-width: 1024px) {
  .header-schedule { display: block; }
  .header-contact-extra { display: block; }
  .header-contacts { min-height: 36px; margin-inline-start: auto; }
  .header-nav-row { height: 84px; }
  .header-nav-row .header-logo { --header-logo-height: 33px; }
  .header-nav-links {
    display: flex;
    align-items: center;
    gap: clamp(8px, 17.65vw - 172px, 32px);
    white-space: nowrap;
    font-size: clamp(15px, 1.05vw + 4.25px, 16px);
    font-weight: 500;
    line-height: 24px;
  }
  .site-header .header-menu-toggle { display: none; }
}

@media (min-width: 1280px) {
  .header-contacts { gap: 28px; }
  .header-nav-links { gap: clamp(24px, 20vw - 232px, 56px); }
  .header-nav-links, .seo-header__nav { font-size: 20px; line-height: 28px; }
}
