.gl-popup-lock {
  overflow: hidden;
}

.NOIntersectionObserver .elementor-invisible {
  visibility: visible !important;
}

[data-elementor-type="popup"] {
  display: none !important;
}

[data-elementor-type="popup"].gl-popup-open {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(28, 33, 26, 0.68);
}

[data-elementor-type="popup"].gl-popup-open .gl-popup__dialog {
  position: relative;
  width: min(960px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  overflow: auto;
  border-radius: 24px;
  background: #f6f4ed;
  box-shadow: 0 20px 80px rgba(17, 21, 16, 0.24);
}

[data-elementor-type="popup"].gl-popup-open iframe {
  min-height: 700px;
}

.gl-popup__close {
  position: sticky;
  top: 16px;
  z-index: 2;
  float: right;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 16px 16px 0 0;
  border: 0;
  border-radius: 999px;
  background: rgba(59, 65, 57, 0.92);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.elementor-widget-nav-menu.gl-menu-open .elementor-nav-menu--dropdown {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.gl-accordion-ready .elementor-accordion-item > .elementor-tab-content {
  display: none;
}

.gl-accordion-ready .elementor-accordion-item.gl-accordion-open > .elementor-tab-content {
  display: block;
}

.elementor-widget-video .elementor-custom-embed-image-overlay {
  cursor: pointer;
}

.elementor-widget-video .elementor-wrapper {
  position: relative;
  overflow: hidden;
}

.elementor-widget-video.gl-video-active .elementor-custom-embed-image-overlay {
  display: none;
}

.elementor-widget-video .elementor-video {
  position: relative;
}

.elementor-widget-video .gl-video-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  z-index: 1;
}

.gl-local-form-slot {
  width: 100%;
}

.gl-local-form-slot + br {
  display: none;
}

.gl-local-form-card {
  padding: 28px;
  border-radius: 28px;
  background: linear-gradient(160deg, #899485 0%, #5f6b5d 100%);
  color: #fff;
  box-shadow: 0 24px 60px rgba(30, 37, 29, 0.2);
}

.gl-local-form-header {
  margin-bottom: 20px;
}

.gl-local-form-header h3 {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.1;
}

.gl-local-form-header p {
  margin: 0;
  max-width: 58ch;
  color: rgba(255, 255, 255, 0.82);
}

.gl-local-form {
  display: grid;
  gap: 18px;
}

.gl-form-field,
.gl-form-group {
  display: grid;
  gap: 10px;
  margin: 0;
}

.gl-form-field > span,
.gl-form-group > legend {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
}

.gl-form-field input,
.gl-form-field select,
.gl-form-field textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  padding: 15px 18px;
  font: inherit;
}

.gl-form-field input::placeholder,
.gl-form-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.72);
}

.gl-form-field select option {
  color: #1d241d;
}

.gl-form-field textarea {
  resize: vertical;
  min-height: 120px;
}

.gl-choice-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.gl-choice-chip {
  position: relative;
  display: inline-flex;
}

.gl-choice-chip input {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.gl-choice-chip span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.08);
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease,
    transform 150ms ease;
}

.gl-choice-chip input:checked + span {
  background: #fff;
  border-color: #fff;
  color: #3b4139;
  transform: translateY(-1px);
}

.gl-form-check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.95rem;
  line-height: 1.5;
}

.gl-form-check input {
  margin-top: 4px;
}

.gl-group-error {
  margin: 0;
  color: #fff3c4;
  font-size: 0.88rem;
}

.gl-group-invalid .gl-choice-grid {
  outline: 1px solid rgba(255, 243, 196, 0.65);
  outline-offset: 8px;
  border-radius: 24px;
}

.gl-local-form-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.gl-form-status {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
}

.gl-form-submit {
  min-width: 180px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #3b4139;
  padding: 14px 24px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 767px) {
  [data-elementor-type="popup"].gl-popup-open {
    padding: 12px;
  }

  [data-elementor-type="popup"].gl-popup-open .gl-popup__dialog {
    width: calc(100vw - 24px);
    max-height: calc(100vh - 24px);
    border-radius: 18px;
  }

  [data-elementor-type="popup"].gl-popup-open iframe {
    min-height: 560px;
  }

  .gl-local-form-card {
    padding: 20px;
    border-radius: 22px;
  }

  .gl-local-form-footer {
    align-items: stretch;
  }

  .gl-form-submit {
    width: 100%;
  }
}
