@font-face {
  font-family: "Golos Text";
  src: url("./assets/golos-lat.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
}

@font-face {
  font-family: "Golos Text";
  src: url("./assets/golos-cyr.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

:root {
  color-scheme: light;
  font-family: "Golos Text", Arial, sans-serif;
  font-size: 100%;
  line-height: 1.5;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; }
address { font-style: normal; }
time { white-space: nowrap; }
section[id] { scroll-margin-top: 1.25rem; }
a:focus-visible, summary:focus-visible { outline: .15rem solid currentColor; outline-offset: .25rem; }
.wrap { width: min(100% - 2 * clamp(1rem, 5vw, 5rem), 84rem); margin-inline: auto; }
.skip-link { position: fixed; top: .7rem; left: .7rem; z-index: 5; padding: .8rem 1rem; color: #173d32; background: #f9f9f5; transform: translateY(-170%); }
.skip-link:focus { transform: none; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.5rem; min-height: 4.75rem; }
.brand, .header-phone, nav a { display: inline-flex; align-items: center; min-height: 2.75rem; text-decoration: none; white-space: nowrap; }
.brand { justify-self: start; gap: .55rem; font-size: 1.075rem; font-weight: 650; letter-spacing: -.035em; }
.brand-cross { display: inline-block; flex: none; width: 1.08em; aspect-ratio: 1; background: currentColor; clip-path: polygon(36% 0, 64% 0, 64% 36%, 100% 36%, 100% 64%, 64% 64%, 64% 100%, 36% 100%, 36% 64%, 0 64%, 0 36%, 36% 36%); }
.header-inner nav { display: flex; gap: clamp(1.05rem, 3vw, 2.3rem); }
.header-inner nav a { font-size: .9rem; font-weight: 500; }
.header-phone { justify-self: end; font-size: .935rem; font-weight: 600; }
.text-link { text-decoration-thickness: 1px; text-underline-offset: .24em; }
.text-link:hover, .header-inner a:hover { text-decoration: underline; text-underline-offset: .25em; }
.map-picker { position: relative; width: fit-content; --map-gap: .55rem; }
.map-picker[open] { z-index: 2; }
.map-button { display: inline-flex; align-items: center; justify-content: center; gap: .9rem; min-height: 3rem; padding: .65rem 1.05rem; border: 1px solid transparent; font-weight: 550; list-style: none; cursor: pointer; transition: background-color .18s ease; }
.map-button::-webkit-details-marker { display: none; }
.map-chevron { width: .52rem; height: .52rem; margin: -.22rem .12rem 0 0; border-right: 1.5px solid; border-bottom: 1.5px solid; transform: rotate(45deg); transition: transform .18s ease; }
.map-picker[open] .map-chevron { transform: translateY(.18rem) rotate(225deg); }
.map-options {
  position: absolute;
  inset-block-start: calc(100% + var(--map-gap));
  inset-inline-start: 0;
  width: min(21rem, 100vw - 2 * clamp(1rem, 5vw, 5rem));
  border: 1px solid #bacdc5;
  color: #17392f;
  background: #fff;
  box-shadow: 0 .75rem 2rem #152c3926;
}
.map-picker[data-opens-up] .map-options { inset-block: auto calc(100% + var(--map-gap)); }
.map-picker[open] .map-options { animation: reveal-map-options .18s ease-out both; }
.map-options > p { padding: .7rem .9rem; color: #465e56; font-size: .875rem; font-weight: 550; }
.map-options ul { margin: 0; padding: 0; list-style: none; }
.map-options li { border-top: 1px solid #dce5e0; }
.map-option { display: grid; grid-template-columns: 1.3rem minmax(0, 1fr); align-items: center; gap: .65rem; width: 100%; min-height: 3.9rem; padding: .65rem .9rem; text-decoration: none; text-align: left; }
.map-option strong, .map-option small { display: block; }
.map-option strong { font-weight: 600; line-height: 1.25; }
.map-option small { margin-top: .2rem; color: #406153; font-size: .83rem; }
.map-option svg { width: 1.3rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.map-option[href]:hover { color: #113c54; background: #e8f3f9; }
.map-option:focus-visible { outline-offset: -.2rem; }
.map-option:disabled { border: 0; color: #586862; background: #f2f5f2; font: inherit; opacity: 1; }
.map-option:disabled small { color: inherit; }

@keyframes reveal-map-options {
  from { opacity: 0; transform: translateY(.25rem); }
  to { opacity: 1; transform: translateY(0); }
}
.location-state { font-size: .875rem; font-weight: 600; }
.license-authority { margin-top: .32rem; }
.footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .65rem 1.1rem; min-height: 4.25rem; padding-block: .75rem; font-size: .875rem; }
.footer-inner a { display: inline-flex; align-items: center; min-height: 2.75rem; }

@media (max-width: 42rem) {
  .header-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 0 .75rem; padding-top: .45rem; }
  .header-inner nav { grid-row: 2; grid-column: 1 / -1; gap: 1.35rem; }
  .header-phone { grid-row: 1; grid-column: 2; font-size: .85rem; }
}

@media (max-width: 23rem) {
  .brand { font-size: .94rem; }
  .header-phone { font-size: .775rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .map-button, .map-chevron { transition: none; }
  .map-picker[open] .map-options { animation: none; }
}
