/* Clone extras: slider, modal, lightbox, map, yclients-like FAB, accordion open */

html {
  scroll-behavior: smooth;
}

.loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.accordion .set.is-open .contentbox {
  display: block;
}

.accordion .set.is-open > a i.fa-plus:before {
  content: "\f068";
}

.pum-overlay.is-open {
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: var(--c-overlay);
}

.pum-overlay.is-open .pum-container {
  position: relative;
  top: auto;
  width: 330px;
  max-width: calc(100% - 32px);
  background: var(--c-soft-2);
  padding: 28px 22px 22px;
  box-shadow: 1px 1px 3px 0 rgba(2, 2, 2, 0.23);
}

.pum-close {
  position: absolute;
  top: 8px;
  right: 10px;
  border: 0;
  background: transparent;
  color: var(--c-text);
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
}

.ui-slider {
  position: relative;
}

.ui-slider__viewport {
  overflow: hidden;
}

.ui-slider__track {
  display: flex;
  transition: transform 0.45s ease;
}

.ui-slider__track > * {
  flex: 0 0 auto;
}

.ui-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border: 0;
  background: var(--c-white);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  border-radius: 50%;
  cursor: pointer;
  color: var(--c-text);
  font-size: 18px;
}

.ui-arrow.prev { left: 8px; }
.ui-arrow.next { right: 8px; }

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(0, 0, 0, 0.85);
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox.is-open { display: flex; }

.lightbox img {
  max-width: 92vw;
  max-height: 90vh;
  object-fit: contain;
}

.lightbox__close {
  position: absolute;
  top: 16px;
  right: 20px;
  color: #fff;
  font-size: 32px;
  background: none;
  border: 0;
  cursor: pointer;
}

.ymap-container {
  height: 665px;
}

.ymap-container iframe,
.map-embed {
  width: 100%;
  height: 665px;
  min-height: 665px;
  border: 0;
  display: block;
}

@media (max-width: 768px) {
  .ymap-container,
  .ymap-container iframe,
  .map-embed {
    height: 320px;
    min-height: 320px;
  }
}

.yButton {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 99;
  width: 90px;
  height: 90px;
  border: 0;
  border-radius: 50%;
  background: var(--c-yclients);
  color: #fff;
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 1px;
  line-height: 16px;
  text-transform: none;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(224, 122, 112, 0.45);
}

.yButton span {
  display: block;
  width: 70px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .yButton {
    width: 65px;
    height: 65px;
    bottom: 70px;
    right: 0;
    font-size: 11px;
    letter-spacing: 0;
    line-height: 13px;
  }
}

.form-alert {
  display: none;
  margin: 12px 0;
  color: var(--c-accent-dark);
  font-size: 14px;
}

.form-alert.is-on { display: block; }

.page-not-found {
  min-height: 50vh;
  padding: 120px 0 80px;
  text-align: center;
}

.page-not-found h1 {
  font-family: var(--font-display);
  font-size: 90px;
  line-height: 1;
  color: var(--c-accent);
}

.legal-page .section-policy {
  padding: 140px 0 80px;
}

.legal-page .policy-title h1 {
  font-family: var(--font-display);
  font-size: 42px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 30px;
}

.legal-page .policy-info {
  max-width: 820px;
  margin: 0 auto;
  color: var(--c-text);
  font-size: 16px;
  line-height: 26px;
}

.legal-page .policy-info h3 {
  font-family: var(--font-display);
  font-size: 20px;
  margin: 22px 0 10px;
  text-align: left;
  line-height: 1.35;
}

.legal-page .policy-info p {
  margin: 0 0 12px;
}

body.modal-open,
html.pushNavIsOpen {
  overflow: hidden;
}

.form-ok:empty,
.form-err:empty {
  display: none;
}

.form-ok {
  color: #3a7a3a;
  margin: 0 0 12px;
}

.form-err {
  color: #b42318;
  margin: 0 0 12px;
}
