@font-face {
  font-family: "OC Montserrat";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/montserrat-cyrillic-400.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "OC Montserrat";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/montserrat-latin-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --oc-green: #588568;
  --oc-logo-green: #588568;
  --oc-text: #141414;
}

#masthead,
.home .elementor-element-ac5fa09 {
  display: none !important;
}

.oc-header,
.oc-header * {
  box-sizing: border-box;
}

.oc-header {
  position: absolute;
  top: 24px;
  left: 0;
  width: 100%;
  z-index: 10000;
  padding: 0 32px;
  color: var(--oc-text);
  font-family: "OC Montserrat", Montserrat, Arial, sans-serif;
}

.oc-header__bar {
  width: min(1840px, 100%);
  min-height: 84px;
  margin: 0 auto;
  padding: 10px 20px;
  display: grid;
  grid-template-columns: 150px minmax(210px, .9fr) auto minmax(190px, .75fr) auto minmax(180px, auto);
  align-items: center;
  gap: clamp(14px, 1.7vw, 34px);
  background: rgba(255, 255, 255, .94);
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.oc-header__logo {
  height: 64px;
  padding-right: 20px;
  display: flex;
  align-items: center;
  border-right: 1px solid #d5d5d5;
}

.oc-header__logo img {
  width: 122px;
  height: auto;
  display: block;
}

.oc-header__address,
.oc-header__phone {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.25;
}

.oc-header__address span,
.oc-header__phone span {
  color: #6a6a6a;
  font-size: 12px;
  font-weight: 400;
}

.oc-header__address strong,
.oc-header__phone a {
  color: var(--oc-text);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}

.oc-header__address strong {
  max-width: 270px;
  font-size: 13px;
  line-height: 1.18;
}

.oc-header__phone a {
  white-space: nowrap;
}

.oc-header__nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.45vw, 28px);
}

.oc-header__nav a {
  position: relative;
  color: var(--oc-text);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .01em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.oc-header__nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  background: var(--oc-logo-green);
  transform: scaleX(0);
  transition: transform .2s ease;
}

.oc-header__nav a:hover::after,
.oc-header__nav a:focus-visible::after {
  transform: scaleX(1);
}

.oc-header__phone a:hover,
.oc-header__phone a:focus-visible {
  color: var(--oc-logo-green);
}

.oc-header__socials {
  display: flex;
  gap: 9px;
}

.oc-header__socials a,
.oc-header__social--pending {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--oc-green);
  background: #fff;
  border: 1px solid rgba(88, 133, 104, .18);
  border-radius: 7px;
  transition: transform .2s ease, background-color .2s ease;
}

.oc-header__social--pending {
  opacity: .78;
  cursor: default;
}

.oc-header__socials a:hover,
.oc-header__socials a:focus-visible {
  background: #f4f6f4;
  transform: translateY(-1px);
}

.oc-header__socials img {
  width: 30px;
  height: 30px;
  display: block;
  object-fit: contain;
}

.oc-header__cta {
  min-height: 48px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--oc-green);
  border: 1.5px solid var(--oc-green);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color .2s ease, background-color .2s ease;
}

.oc-header__cta:hover,
.oc-header__cta:focus-visible {
  color: #fff;
  background: var(--oc-green);
}

.oc-header__toggle {
  display: none;
}

@media (max-width: 1439px) {
  .oc-header {
    padding-inline: 20px;
  }

  .oc-header__bar {
    grid-template-columns: 120px minmax(168px, .72fr) auto minmax(170px, .7fr) auto minmax(160px, auto);
    gap: 10px;
    padding-inline: 16px;
  }

  .oc-header__logo {
    padding-right: 14px;
  }

  .oc-header__logo img {
    width: 108px;
  }

  .oc-header__nav {
    gap: 12px;
  }

  .oc-header__nav a {
    font-size: 12px;
  }

  .oc-header__address strong,
  .oc-header__phone a {
    font-size: 14px;
  }

  .oc-header__address strong {
    max-width: 220px;
    font-size: 11px;
  }

}

@media (max-width: 1260px) {
  .oc-header__bar {
    grid-template-columns: 120px auto minmax(185px, .75fr) auto minmax(165px, auto);
  }

  .oc-header__address {
    display: none;
  }
}

@media (max-width: 1100px) {
  .oc-header {
    top: 14px;
    padding-inline: 14px;
  }

  .oc-header__bar {
    min-height: 68px;
    grid-template-columns: 118px 1fr auto;
    gap: 12px;
    padding: 8px 12px;
    border-radius: 10px;
  }

  .oc-header__logo {
    height: 52px;
    padding-right: 12px;
  }

  .oc-header__logo img {
    width: 100px;
  }

  .oc-header__address,
  .oc-header__socials {
    display: none;
  }

  .oc-header__cta {
    display: none;
  }

  .oc-header__phone {
    justify-self: end;
  }

  .oc-header__phone span {
    display: none;
  }

  .oc-header__phone a {
    font-size: 15px;
  }

  .oc-header__toggle {
    width: 42px;
    height: 42px;
    padding: 9px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    color: #fff;
    background: var(--oc-green);
    border: 0;
    border-radius: 7px;
    box-shadow: none;
  }

  .oc-header__toggle span {
    width: 100%;
    height: 2px;
    display: block;
    background: currentColor;
    border-radius: 2px;
    transition: transform .2s ease, opacity .2s ease;
  }

  .oc-header__toggle:hover,
  .oc-header__toggle:focus,
  .oc-header__toggle:active,
  .oc-header__toggle[aria-expanded="true"] {
    color: #fff;
    background: var(--oc-green);
    box-shadow: none;
  }

  .oc-header__toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .oc-header__toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .oc-header__toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .oc-header__nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 14px;
    left: 14px;
    padding: 18px;
    display: grid;
    gap: 0;
    visibility: hidden;
    opacity: 0;
    background: rgba(255, 255, 255, .98);
    border-radius: 10px;
    box-shadow: 0 16px 42px rgba(0, 0, 0, .18);
    transform: translateY(-8px);
    transition: visibility .2s ease, opacity .2s ease, transform .2s ease;
  }

  .oc-header.is-open .oc-header__nav {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .oc-header__nav a {
    padding: 14px 6px;
    border-bottom: 1px solid #e8e8e8;
    font-size: 14px;
  }

  .oc-header__nav a:last-child {
    border-bottom: 0;
  }

  .oc-header__nav a::after {
    display: none;
  }
}

@media (max-width: 560px) {
  .oc-header {
    top: 9px;
    padding-inline: 9px;
  }

  .oc-header__bar {
    min-height: 58px;
    grid-template-columns: 90px 1fr auto;
    padding: 5px 8px;
  }

  .oc-header__logo {
    height: 44px;
    padding-right: 8px;
  }

  .oc-header__logo img {
    width: 80px;
  }

  .oc-header__phone a {
    font-size: 13px;
  }

  .oc-header__toggle {
    width: 38px;
    height: 38px;
  }

  .oc-header__nav {
    top: calc(100% + 6px);
    right: 9px;
    left: 9px;
  }
}
