/* Fallbacks for media that was not preserved in the web archive. */
.img-placeholder {
  object-fit: contain;
  background: #eef1f4;
}

/* The original template faded the logo in with Bitrix JS. Use the plain
   logo and hide the anniversary overlay (its second image is not archived). */
#header .logoLnk > img {
  opacity: 1 !important;
}
#header .logo_15years {
  display: none;
}

/* Keep the hero slider from collapsing if Owl cannot measure a slide. */
#owl-mainslider {
  opacity: 1 !important;
}

/* Off-canvas mobile menu (the original was injected by Bitrix JS). */
#panel { display: none !important; }
#panel.open {
  display: block !important;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 300;
  background: #fff;
  overflow-y: auto;
  padding: 18px 22px 40px;
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
}
.local-panel-title {
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #8a97a5;
  margin: 18px 0 8px;
}
.local-panel-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.local-panel-list li a {
  display: block;
  padding: 11px 0;
  border-bottom: 1px solid #eef1f4;
  color: #124d8f;
  font-size: 17px;
}
.local-panel-phones {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.local-panel-phones a {
  color: #124d8f;
  font-size: 20px;
  font-weight: 700;
}
.local-panel-phones span {
  color: #8a97a5;
  font-size: 13px;
}
.local-panel-socials {
  margin-top: 18px;
  display: flex;
  gap: 16px;
}
.local-panel-socials a {
  color: #f08a24;
}
body.local-menu-open { overflow: hidden; }
@media (min-width: 1200px) { #panel.open { display: none !important; } }


/* Small toast used by the static form handlers. */
.local-notice {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 20px);
  background: #124d8f;
  color: #fff;
  padding: 14px 22px;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
  font-size: 15px;
  z-index: 10001;
  opacity: 0;
  transition: opacity .25s, transform .25s;
  max-width: calc(100% - 40px);
  text-align: center;
}
.local-notice.show { opacity: 1; transform: translate(-50%, 0); }

