/* header: */

/* .header {
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  position: fixed;
  top: 0;
  z-index: 6;
  transition: all 0.3s;
}

.stick {
  background: rgba(255, 255, 255, 1) !important;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 2px 5px 2px;
}

@media screen and (min-width: 1367px) {
  .header {
    background: linear-gradient(to top, #f5f5f5 0%, #fff 50%, #fff 100%) #f5f5f5;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 2px 5px 2px;
  }
} */

/* HEADER */
.header {
  width: 100%;
  position: relative;

  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  box-shadow: 0 8px 24px rgba(31, 38, 29, 0.07);

  padding: 4px 0;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

.header.stick {
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  padding: 2px 0;
}

/* LOGO — именно размер, а не transform */
.header img.logo {
  width: 64px;
  height: auto;
  transition: width 0.3s ease;
}

.header.stick img.logo {
  width: 48px; /* подгони под дизайн */
}

/* Hover zoom */
a.zoom img,
a.zoom svg {
  transform: scale(1);
  transition: transform 0.3s ease;
}

a.zoom:hover img,
a.zoom:hover svg {
  transform: scale(1.35);
}

/* ограничим hover в sticky */
.header.stick a.zoom:hover img,
.header.stick a.zoom:hover svg {
  transform: scale(1.05);
}

/* Mobile */
@media (max-width: 480px) {
  .header img.logo {
    width: 56px;
  }
  .header.stick img.logo {
    width: 48px;
  }
}

/* top-bar: */

.top-bar {
  display: none;
  grid-template-columns: 1fr 1fr;
  column-gap: 20px;
  padding: 5px 20px;
  border-bottom: 1px solid rgba(200, 200, 200, 0.3);
  font-size: 14px;
  color: #383432;
}
.top-bar > div {
  display: grid;
  height: 100%;
}
.top-bar > div > div {
  align-self: center;
}
.top-bar > div:nth-child(1) > div {
  text-align: left;
}
.top-bar > div:nth-child(2) > div {
  text-align: right;
}

.top-bar a {
  color: #383432;
}
.top-bar a:hover {
  color: darkolivegreen;
}

span.hours-of-work {
  display: inline-block;
}
span.top-bar-divider {
  display: inline-block;
  margin: 0 7px;
  color: #ddd;
}
span.office-location {
  display: inline-block;
}

@media screen and (min-width: 1367px) {
  .top-bar {
    max-width: 1366px;
    margin: 0 auto;
  }
}

@media screen and (max-width: 960px) and (min-width: 601px) {
  .top-bar {
    grid-template-columns: auto auto;
    font-size: 12px;
  }
  .top-bar a {
    font-size: 0px;
  }
}

@media screen and (max-width: 600px) {
  .top-bar {
    grid-template-columns: auto auto;
    font-size: 12px;
  }
  .top-bar a {
    font-size: 0px;
  }
  span.hours-of-work {
    display: none;
  }
  span.top-bar-divider {
    display: none;
  }
}

/* nav-bar: */

.nav-bar {
  display: grid;
  grid-template-columns: auto auto auto auto;
  column-gap: 20px;
  padding: 4px 20px;
}
.nav-bar > div {
  display: grid;
  height: 100%;
}
.nav-bar > div > div {
  align-self: center;
  text-align: center;
}
.nav-bar > div:nth-child(1) > div {
  text-align: left;
}
.nav-bar > div:nth-child(4) > div {
  text-align: right;
}

@media screen and (min-width: 1367px) {
  .nav-bar {
    max-width: 1366px;
    margin: 0 auto;
  }
}

@media screen and (max-width: 960px) and (min-width: 769px) {
  .nav-bar {
    grid-template-columns: auto 1fr auto auto;
  }
}

@media screen and (max-width: 768px) {
  .nav-bar {
    grid-template-columns: auto 1fr auto auto;
  }
  .nav-bar button {
    font-size: 12px;
  }
}

/* nav-main: */

ul.nav-main {
  margin: 0;
  padding: 0;
  list-style: none;
}
ul.nav-main li {
  display: inline-block;
}
ul.nav-main li a {
  display: block;
  padding: 10px;
  font-weight: 500;
  color: #383432;
}
ul.nav-main li a:hover {
  color: darkolivegreen;
}
ul.nav-main li.menu-item-has-children > a:after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
  transition: transform 0.2s ease;
}
ul.nav-main li.menu-item-has-children:hover > a:after {
  transform: translateY(1px) rotate(225deg);
}
ul.nav-main li.menu-item-has-children ul li a:after {
  content: "";
}

ul.nav-main li ul {
  visibility: hidden;
  position: absolute;
  top: 35px;
  left: 10px;
  min-width: 280px;
  max-height: none;
  padding: 12px;
  background: #fff;
  border-radius: 10px;
  box-shadow: rgba(0, 0, 0, 0.25) 0 5px 4px 1px;
  overflow: visible;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease;
}
ul.nav-main li ul li {
  display: block;
  margin-bottom: 5px;
  text-align: left;
  font-weight: 400;
}
ul.nav-main li ul li:last-child {
  margin-bottom: 0;
}
ul.nav-main li {
  position: relative;
  min-width: max-content;
  z-index: 1;
}
ul.nav-main li:hover {
  z-index: 2;
}
ul.nav-main li:hover ul {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}
ul.nav-main li ul li a {
  display: block;
  padding: 10px 12px;
  font-weight: 400;
}

@media screen and (max-width: 960px) and (min-width: 769px) {
  .nav-main {
    display: none;
  }
}

@media screen and (max-width: 768px) {
  .nav-main {
    display: none;
  }
}

/* global header: glass overlay */

body > header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  min-height: 0;
  padding: 0;
  pointer-events: none;
}

.header {
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: rgba(22, 38, 22, 0.42);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  color: #fff;
  overflow: visible;
  pointer-events: auto;
}

.header.stick {
  background: rgba(22, 38, 22, 0.42);
  border-radius: 0;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.16);
  color: #fff;
}

.header-scroll-progress {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.14);
}

.header-scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--service-single-accent), #9fe06d);
  box-shadow: 0 0 18px rgba(var(--service-single-accent-rgb), 0.46);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.08s linear;
}

.top-bar {
  display: grid;
  width: min(calc(100% - 44px), 1366px);
  min-height: 64px;
  margin: 0 auto;
  padding: 0 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  color: inherit;
  transition: min-height 0.25s ease, opacity 0.2s ease, padding 0.25s ease;
}

.header.stick .top-bar {
  min-height: 0;
  height: 0;
  padding-top: 0;
  padding-bottom: 0;
  border-bottom: 0;
  opacity: 0;
  overflow: hidden;
}

.top-bar a {
  color: inherit;
  font-weight: 600;
}

.top-bar a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.header.stick .top-bar a:hover {
  color: #fff;
}

.top-bar svg {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  vertical-align: -4px;
}

.top-bar svg [stroke] {
  stroke: currentColor;
}

.top-bar svg [fill]:not([fill="none"]) {
  fill: currentColor;
}

span.top-bar-divider {
  display: none;
}

span.hours-of-work,
span.office-location {
  font-weight: 600;
}

.nav-bar {
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  width: min(calc(100% - 44px), 1366px);
  min-height: 94px;
  margin: 0 auto;
  padding: 10px 22px;
  column-gap: 22px;
  transition: min-height 0.25s ease, padding 0.25s ease;
}

.header.stick .nav-bar {
  min-height: 58px;
  padding-top: 6px;
  padding-bottom: 6px;
}

.header img.logo {
  width: 154px;
  max-height: 52px;
  object-fit: contain;
  transition: width 0.25s ease, max-height 0.25s ease;
}

.header.stick img.logo {
  width: 108px;
  max-height: 36px;
}

ul.nav-main {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
}

ul.nav-main li a {
  padding: 13px 14px;
  border-radius: 999px;
  color: inherit;
  font-size: 17px;
  line-height: 20px;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease;
}

.header.stick ul.nav-main li a {
  padding: 9px 11px;
  font-size: 15px;
  line-height: 18px;
}

ul.nav-main li a:hover,
ul.nav-main li.current-menu-item > a,
ul.nav-main li.current_page_item > a {
  background: rgba(255, 255, 255, 0.94);
  color: var(--service-single-accent-hover);
}

.header.stick ul.nav-main li a:hover,
.header.stick ul.nav-main li.current-menu-item > a,
.header.stick ul.nav-main li.current_page_item > a {
  background: rgba(255, 255, 255, 0.94);
  color: var(--service-single-accent-hover);
}

ul.nav-main li ul {
  top: calc(100% + 8px);
  left: 0;
  min-width: 310px;
  padding: 12px;
  border: 1px solid var(--service-single-border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 22px 54px rgba(31, 38, 29, 0.18);
  overflow: visible;
}

ul.nav-main li ul li a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 13px;
  color: var(--service-single-ink);
  border-radius: 7px;
  font-size: 15px;
  line-height: 20px;
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

ul.nav-main li ul li a:hover {
  background: rgba(var(--service-single-accent-rgb), 0.1);
  color: var(--service-single-accent-hover);
  transform: translateX(3px);
}

.nav-extra {
  display: none;
}

.nav-bar > div:nth-child(3) > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.messenger-links {
  display: flex;
  align-items: center;
  gap: 9px;
}

.messenger-links a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(31, 44, 32, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  color: var(--service-single-accent-hover);
  box-shadow: 0 10px 24px rgba(28, 42, 25, 0.08);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.messenger-links a:hover {
  border-color: rgba(var(--service-single-accent-rgb), 0.34);
  background: rgba(255, 255, 255, 0.95);
  color: var(--service-single-accent);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(28, 42, 25, 0.12);
}

.messenger-links svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.header.stick .messenger-links a {
  width: 34px;
  height: 34px;
}

.header.stick .messenger-links svg {
  width: 18px;
  height: 18px;
}

.nav-bar > div:nth-child(4) .btn-orange {
  min-width: 218px;
  padding: 16px 24px;
  border: 1px solid rgba(var(--service-single-accent-rgb), 0.42);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: none;
  color: var(--service-single-accent);
  font-size: 17px;
  line-height: 20px;
  font-weight: 800;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, padding 0.25s ease, min-width 0.25s ease, font-size 0.25s ease;
}

.header.stick .nav-bar > div:nth-child(4) .btn-orange {
  min-width: 166px;
  padding: 10px 17px;
  font-size: 14px;
  line-height: 18px;
}

.nav-bar > div:nth-child(4) .btn-orange:hover {
  background: var(--service-single-accent);
  color: #fff;
  transform: translateY(-2px);
}

@media screen and (max-width: 1180px) {
  ul.nav-main li a {
    padding: 11px 9px;
    font-size: 15px;
  }
  .nav-bar > div:nth-child(4) .btn-orange {
    min-width: 170px;
    padding: 13px 18px;
    font-size: 15px;
  }
}

@media screen and (max-width: 960px) {
  body > header {
    top: 0;
    padding: 0;
    position: relative;
    z-index: 2000;
  }
  .header {
    border-radius: 0;
  }
  .top-bar {
    display: none;
  }
  .nav-bar {
    width: 100%;
    max-width: 100%;
    min-height: 70px;
    grid-template-columns: auto auto;
    column-gap: 10px;
    justify-content: flex-end;
    padding: 10px 14px;
  }
  .nav-bar > div:nth-child(1),
  .nav-bar > div:nth-child(2) {
    display: none;
  }
  .header img.logo,
  .header.stick img.logo {
    width: 112px;
    max-height: 42px;
  }
  body .nav-main {
    display: none;
  }
  body .nav-extra {
    display: block;
  }
  .nav-bar > div:nth-child(3) > div {
    gap: 8px;
  }
  .nav-bar > div:nth-child(3) .nav-extra {
    width: 48px;
    margin-right: 0;
  }
  .nav-bar > div:nth-child(3) .nav-extra > .equiv {
    width: 48px;
    height: 48px;
    font-size: 38px;
    line-height: 1;
  }
  .nav-bar > div:nth-child(3) .nav-extra > .equiv[aria-expanded="true"] {
    font-size: 34px;
  }
  .nav-bar > div:nth-child(4) .btn-orange,
  .header.stick .nav-bar > div:nth-child(4) .btn-orange {
    min-width: 132px;
    padding: 9px 12px;
    font-size: 13px;
    line-height: 16px;
  }
  #drop-menu {
    height: 100dvh;
    top: 0;
    z-index: 1990;
  }
  .offcanvas-menu__panel {
    height: calc(100dvh - 70px);
    margin-top: 70px;
  }
}

/* nav-extra: */

.nav-extra {
  display: none;
  margin-right: 0;
}

#drop-menu ul.nav-extra,
#drop-menu ul.nav-extra li {
  padding: 0;
  margin: 0;
  text-align: left;
  list-style-type: none;
}
#drop-menu ul.nav-extra {
  display: grid;
  width: 100%;
  min-width: 0;
  max-width: none;
  gap: 2px;
}
#drop-menu ul.nav-extra > li {
  margin-bottom: 0;
}
#drop-menu ul.nav-extra li a {
  display: block;
  padding: 8px 4px;
  border: none;
  border-radius: 0;
  background: transparent;
  color: var(--service-single-ink);
  box-shadow: none;
  font-size: 16px;
  line-height: 20px;
  font-weight: 760;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

#drop-menu ul.nav-extra li a:hover,
#drop-menu ul.nav-extra li.current-menu-item > a,
#drop-menu ul.nav-extra li.current-menu-ancestor > a {
  border-color: rgba(var(--service-single-accent-rgb), 0.28);
  background: transparent;
  color: var(--service-single-accent-hover);
  transform: translateX(4px);
}

#drop-menu ul.nav-extra li ul {
  display: grid;
  gap: 1px;
  padding-top: 2px;
  margin: 0 0 0 14px;
}

#drop-menu ul.nav-extra li ul li a {
  padding: 5px 4px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-size: 13px;
  line-height: 16px;
  font-weight: 650;
  color: rgba(31, 44, 32, 0.76);
}

.nav-extra button {
  padding: 0;
  border: 1px solid rgba(36, 48, 39, 0.1);
  outline: none;
  background: #fff;
  color: var(--service-single-ink);
  cursor: pointer;
}

.equiv {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 0;
  line-height: 0;
  font-weight: 700;
  vertical-align: middle;
  opacity: 1;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.equiv::before,
.equiv::after {
  content: "";
  display: block;
  grid-area: 1 / 1;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.equiv::before {
  box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
  transform: none;
}

.equiv::after {
  opacity: 0;
  transform: none;
}

.equiv:hover {
  background: var(--service-single-accent);
  color: #fff;
  cursor: pointer;
  transform: none;
}

.nav-extra > .equiv[aria-expanded="true"] {
  position: relative;
  z-index: 2100;
  border-color: rgba(36, 48, 39, 0.1);
  background: #fff;
  color: var(--service-single-ink);
}

.nav-extra > .equiv[aria-expanded="true"]::before {
  box-shadow: none;
  transform: rotate(45deg);
}

.nav-extra > .equiv[aria-expanded="true"]::after {
  opacity: 1;
  transform: rotate(-45deg);
}

.nav-extra > .equiv[aria-expanded="true"]:hover {
  background: var(--service-single-accent);
  color: #fff;
  transform: rotate(90deg);
}

#drop-menu {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  background: rgba(10, 18, 12, 0.52);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.28s ease;
}

.offcanvas-menu__panel {
  width: min(86vw, 390px);
  height: 100%;
  padding: 26px 22px 38px;
  border-right: 1px solid rgba(255, 255, 255, 0.38);
  background:
    radial-gradient(circle at 18% 8%, rgba(var(--service-single-accent-rgb), 0.22), transparent 34%),
    linear-gradient(180deg, rgba(247, 250, 244, 0.98), rgba(231, 240, 226, 0.98));
  overflow-y: auto;
  box-shadow: 24px 0 80px rgba(8, 16, 10, 0.32);
  transform: translateX(0);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.offcanvas-menu__brand {
  display: flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.offcanvas-menu__brand img {
  display: block;
  width: 88px;
  max-height: 46px;
  object-fit: contain;
}

.hide-menu {
  opacity: 0 !important;
  pointer-events: none !important;
}

.hide-menu .offcanvas-menu__panel {
  transform: translateX(-105%);
}

.body-overflow-hidden-fix {
  overflow: hidden;
} /* fix for body overflow hidden */

@media screen and (max-width: 960px) and (min-width: 769px) {
  .nav-extra {
    display: inline-block;
  }
}

@media screen and (max-width: 768px) {
  .nav-extra {
    display: inline-block;
  }
}

@media screen and (max-width: 960px) {
  body > header {
    position: relative;
    z-index: 2000;
  }
  #drop-menu {
    height: 100dvh;
    top: 0;
    z-index: 1990;
  }
  .offcanvas-menu__panel {
    height: calc(100dvh - 70px);
    margin-top: 70px;
  }
}

/* 

page templates:

*/

/* 

home page:

*/
