.site-header {
  position: relative;
  z-index: 11;
  background: #fff;
}

.site-header .header-ruler {
  height: 15px;
  background: url("/assets/header_line.png") repeat-x left top;
}

.site-header .header-main {
  display: grid;
  grid-template-columns: minmax(235px, 1fr) minmax(285px, 1.09fr) minmax(155px, 183px) 185px;
  grid-template-rows: auto 1fr;
  align-items: start;
  gap: 0 clamp(14px, 2.14vw, 27px);
  min-height: 170px;
  padding-block: 25px 12px;
  color: #434343;
  font: 400 18px/1.15 Oswald, Arial, sans-serif;
}

.header-main .brand-area {
  grid-area: 1 / 1 / span 2 / 2;
  min-width: 0;
  margin: 0;
}

.header-main .brand {
  display: flex;
  width: fit-content;
  gap: 14px;
  align-items: start;
  color: #3068b9;
  font-size: 18px;
  line-height: 20px;
  text-transform: uppercase;
  text-decoration: none;
}

.header-main .brand img {
  width: 101px;
  height: auto;
}

.header-main .brand span {
  padding-top: 3px;
  max-width: 170px;
}

.header-main .brand strong {
  display: block;
  font-weight: 700;
}

.header-main .header-city {
  position: relative;
  width: min(100%, 277px);
  margin-top: 8px;
  color: #234f8d;
  font: 400 15px/1.2 Oswald, Arial, sans-serif;
}

.header-city summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 34px;
  padding: 5px 10px;
  border-radius: 4px;
  background: #f1f5fa;
  transition: background .18s;
}

.header-city summary:hover,
.header-city[open] summary {
  background: #e8eff8;
}

.header-city summary .icon {
  width: 16px;
  height: 16px;
  transition: transform .2s var(--ease);
}

.header-city[open] summary .icon {
  transform: rotate(180deg);
}

.city-panel {
  position: absolute;
  z-index: 1;
  inset: calc(100% + 5px) 0 auto;
  padding: 7px;
  border: 1px solid #e3eaf3;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 8px 20px #182b401c;
}

.city-panel input {
  width: 100%;
  min-height: 35px;
  padding: 5px 8px;
  border: 1px solid transparent;
  border-radius: 3px;
  background: #f1f5fa;
  color: var(--ink);
}

.city-panel input:focus {
  outline: 0;
  border-color: var(--brand);
  background: white;
}

.city-options {
  max-height: min(236px, 42dvh);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 4px 0 0;
  list-style: none;
  scrollbar-width: thin;
  scrollbar-color: #9bb4d7 #edf3fa;
}

@supports selector(::-webkit-scrollbar) {
  .city-options { scrollbar-width: auto; scrollbar-color: auto; }
  .city-options::-webkit-scrollbar { width: 6px; }
  .city-options::-webkit-scrollbar-track { background: #edf3fa; border-radius: 6px; }
  .city-options::-webkit-scrollbar-thumb { background: #9bb4d7; border-radius: 6px; }
  .city-options::-webkit-scrollbar-thumb:hover { background: #638bbe; }
}

.city-options a {
  display: block;
  padding: 8px;
  border-radius: 3px;
  color: var(--ink);
  text-decoration: none;
}

.city-options a:hover,
.city-options a:focus-visible,
.city-options a[aria-current] {
  background: #eef3f9;
  color: #234f8d;
}

.city-options a:focus-visible {
  outline-offset: -2px;
}

.city-empty {
  padding: 8px;
  color: var(--muted);
}

.header-main .header-address,
.header-main .header-hours {
  display: flex;
  align-items: start;
  gap: 5px;
  color: #434343;
  font: inherit;
}

.header-main .header-address {
  grid-area: 1 / 2;
  margin-top: -4px;
}

.header-main .header-hours {
  grid-area: 1 / 3 / span 2 / 4;
  gap: 9px;
  font-size: min(1em, 17px);
}

.header-main .header-hours > div {
  margin-top: -4px;
}

.header-main .header-label {
  display: block;
  margin: 0;
  color: inherit;
  font-weight: 400;
}

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

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

.header-main .header-pin,
.header-main .header-clock {
  width: 43px;
  height: 43px;
  margin-top: -3px;
  color: #3068b9;
}

.header-main .header-pin {
  width: 37px;
  fill: currentColor;
  stroke: none;
}

.header-main .header-clock {
  stroke-width: 2.8;
}

.header-main .header-email {
  display: flex;
  position: relative;
  grid-area: 2 / 2;
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin: 18px 0 0 7px;
  color: #3068b9;
  flex-wrap: nowrap;
}

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

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

.header-main .copy-email {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 29px;
  height: 29px;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: #444;
}

.header-main .copy-email:hover {
  background: #edf2f9;
  color: #3068b9;
}

.header-main .header-email .copy-email .icon {
  width: 21px;
  height: 21px;
  stroke-width: 1.35;
}

.header-main .copy-status {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  color: #434343;
  font: 400 12px/1.25 Raleway, Arial, sans-serif;
}

.header-main .copy-status:empty {
  display: none;
}

.header-main .header-contact {
  grid-area: 1 / 4 / span 2 / 5;
  min-width: 0;
  margin-top: -8px;
  padding: 8px 0 0 25px;
  border-left: 1px solid #ccc;
  text-align: left;
}

.header-main .header-phone {
  display: block;
  margin: 0;
  color: #3068b9;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.24;
  text-decoration: none;
  white-space: nowrap;
}

.header-main .header-phone:hover {
  text-decoration: underline;
}

.header-main .header-actions {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 9px;
}

.header-main .mobile-toggle,
.header-main .menu-close,
.header-main [aria-expanded="true"] .menu-open {
  display: none;
}

.header-main [aria-expanded="true"] .menu-close {
  display: block;
}

.header-main .header-actions .button {
  min-height: 30px;
  padding: 0 6px;
  border-radius: 4px;
  font: 400 16px/1.1 Oswald, Arial, sans-serif;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-footer {
  padding: 80px 0 56px;
  background: #222;
  color: #ccc;
  font: 400 14px/1.45 Raleway, Arial, sans-serif;
}

.site-footer .footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  padding: 0;
}

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

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.site-footer a:focus-visible {
  outline-color: #fff;
}

.site-footer ul {
  list-style: none;
  padding: 0;
}

.footer-company {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 38px;
}

.site-footer .footer-brand img {
  width: 101px;
  height: auto;
}

.site-footer .footer-rating {
  display: block;
  margin: 0;
  border: 0;
}

.site-footer h2,
.site-footer h3 {
  margin: 1px 0 12px;
  color: #fff;
  font: 600 16px/1.2 Raleway, Arial, sans-serif;
  text-transform: uppercase;
  text-align: center;
}

.site-footer .footer-links {
  display: grid;
  gap: 7px 8px;
  list-style: square;
  padding-left: 17px;
}

.site-footer .footer-sitemap {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-count: unset;
}

.site-footer .footer-links li {
  margin: 0;
}

.site-footer .footer-links a {
  display: inline-block;
  padding-block: 1px;
  color: #fff;
}

.footer-address,
.footer-hours p {
  font: 400 14px/1.4 Oswald, Arial, sans-serif;
}

.footer-address ul {
  padding-top: 6px;
}

.footer-address li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  min-height: 28px;
}

.site-footer .footer-address li + li {
  margin-top: 17px;
}

.footer-address .icon {
  width: 23px;
  height: 23px;
  color: #777;
}

.site-footer .footer-address div a {
  color: #fff;
  text-decoration: underline;
}

.site-footer .footer-phone {
  font-size: 24px;
  line-height: 1.1;
  white-space: nowrap;
}

.footer-hours {
  margin-top: 33px;
  margin-inline-start: 50px;
}

.site-footer .footer-hours h3 {
  text-align: left;
}

.site-footer .footer-hours p {
  margin: 0;
}

.site-footer .footer-bottom {
  display: grid;
  justify-items: center;
  justify-content: center;
  gap: 22px;
  padding: 30px 0 0;
  border: 0;
  color: #a8a8a8;
  text-align: center;
  font-size: 14px;
}

.site-footer .footer-bottom p {
  margin: 0;
}

@media (max-width: 1040px) {
  .site-header .header-main {
    grid-template-columns: minmax(205px, 1fr) minmax(245px, 1.14fr) minmax(136px, .65fr) 159px;
    font-size: 16px;
  }

  .header-main .header-contact {
    padding-left: 12px;
  }

  .header-main .header-phone {
    font-size: 21px;
  }

}

@media (max-width: 880px) {
  .site-header .header-main {
    grid-template-columns: minmax(205px, 1fr) minmax(230px, 1.22fr) 159px;
  }

  .header-main .header-hours {
    display: none;
  }

  .header-main .header-contact {
    grid-area: 1 / 3 / span 2 / 4;
  }

  .site-footer {
    padding-top: 54px;
  }

  .site-footer .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 33px;
  }

  .site-footer h2 {
    text-align: left;
  }
}

@media (max-width: 767px) {
  .site-header .header-main {
    grid-template-columns: minmax(73px, 1fr) minmax(0, max-content) 44px;
    column-gap: clamp(6px, 2vw, 12px);
    align-items: start;
    min-height: 0;
    padding: 9px 0 12px;
  }

  .header-main .brand {
    gap: 8px;
    font-size: 13px;
    line-height: 1.15;
  }

  .header-main .brand img {
    width: 76px;
  }

  .header-main .brand span {
    padding-top: 0;
  }

  .header-main .header-city {
    max-width: 175px;
    margin-top: 5px;
  }

  .header-main .header-address,
  .header-main .header-actions,
  .header-main .header-envelope {
    display: none;
  }

  .header-main .header-contact {
    display: block;
    grid-area: 1 / 2;
    margin: 0;
    padding: 4px 0 0;
    border: 0;
  }

  .header-main .header-phone {
    font-size: clamp(16px, 4vw, 21px);
    line-height: 1.3;
  }

  .header-main .header-email {
    margin: 1px 0 0;
    gap: 2px;
    font-size: clamp(12px, 3.55vw, 18px);
    flex-wrap: wrap;
  }

  .header-main .copy-email {
    width: 30px;
    height: 32px;
  }

  .header-main .copy-status {
    position: static;
    flex: 1 1 100%;
    max-width: 19ch;
  }

  .header-main .mobile-toggle {
    display: inline-grid;
    grid-area: 1 / 3 / span 2 / 4;
    margin-top: 5px;
    background: #fff;
    color: #767676;
  }

  .header-main .mobile-toggle:hover {
    background: #edf2f9;
    color: #234f8d;
  }
}

@media (max-width: 520px) {
  .site-header .header-main {
    grid-template-columns: minmax(70px, 1fr) minmax(0, max-content) 44px;
    grid-template-rows: auto auto auto;
    column-gap: 7px;
  }

  .header-main .brand-area {
    display: contents;
  }

  .header-main .brand {
    grid-area: 1 / 1 / span 2 / 2;
  }

  .header-main .brand img {
    width: 74px;
  }

  .header-main .brand span {
    display: none;
  }

  .header-main .header-city {
    grid-area: 3 / 1 / 4 / -1;
    width: 100%;
    max-width: none;
    margin-top: 7px;
  }

  .header-main .header-phone {
    font-size: clamp(18px, 5.55vw, 24px);
    line-height: 1.15;
  }

  .site-footer .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-company {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px 24px;
  }

  .footer-hours {
    margin-inline-start: 0;
  }
}
