.resteklo-form__textarea {
  min-height: 120px;
  resize: vertical;
}

.resteklo-form__status {
  font-size: 14px;
  line-height: 1.5;
  color: #2b2b39;
  margin-top: 12px;
}

.resteklo-form__status.is-error {
  color: #b34141;
}

.resteklo-form__status.is-success {
  color: #2d6b53;
}

.resteklo-messengers {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.resteklo-messengers__link {
  min-width: 168px;
  padding: 14px 18px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(33, 38, 62, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.resteklo-messengers__link:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(33, 38, 62, 0.28);
}

.resteklo-messengers__link--wa {
  background: linear-gradient(135deg, #25d366, #139e4d);
}

.elementor-page-1313 .elementor-widget-image .elementor-image > a[href="nashi-raboty.html"] {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 8px;
  background: #eef2f6;
}

.elementor-page-1313 .elementor-widget-image .elementor-image > a[href="nashi-raboty.html"] img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.elementor-page-1313 .elementor-widget-image + .elementor-widget-heading .elementor-heading-title {
  min-height: 2.6em;
}

body.resteklo-lightbox-open {
  overflow: hidden;
}

.resteklo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 66px 24px 40px;
  overflow-y: auto;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.resteklo-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.resteklo-lightbox__dialog {
  position: relative;
  width: min(1000px, calc(100vw - 48px));
  background: #ffffff;
  box-shadow: 0 14px 38px rgba(58, 73, 94, 0.18);
}

.resteklo-lightbox__content {
  padding: 52px 40px 38px;
  max-height: calc(100vh - 106px);
  overflow-y: auto;
}

.resteklo-lightbox__title {
  margin: 0 44px 28px 0;
  color: #334c6c;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.25;
}

.resteklo-lightbox__gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.resteklo-lightbox__thumb {
  display: block;
  background: #eef2f6;
  text-decoration: none;
}

.resteklo-lightbox__thumb-image {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.resteklo-lightbox__close {
  position: absolute;
  top: 14px;
  right: 16px;
  border: 0;
  padding: 0;
  background: transparent;
  color: #3f3f3f;
  font-size: 36px;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 767px) {
  .resteklo-messengers {
    right: 14px;
    bottom: 14px;
    left: 14px;
  }

  .resteklo-messengers__link {
    min-width: 0;
    width: 100%;
  }

  .resteklo-lightbox {
    padding: 28px 12px 16px;
  }

  .resteklo-lightbox__dialog {
    width: 100%;
  }

  .resteklo-lightbox__content {
    padding: 44px 16px 20px;
    max-height: calc(100vh - 44px);
  }

  .resteklo-lightbox__title {
    margin-right: 26px;
    margin-bottom: 18px;
    font-size: 22px;
  }

  .resteklo-lightbox__gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .resteklo-lightbox__close {
    top: 10px;
    right: 12px;
    font-size: 30px;
  }
}
