.getis-consult-popup[hidden] {
  display: none !important;
}

.getis-consult-popup,
.getis-consult-popup * {
  box-sizing: border-box;
}

.getis-consult-popup {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483647 !important;
  display: grid;
  place-items: center;
  padding: 32px;
  font-family: inherit;
  isolation: isolate;
}

.getis-consult-popup__overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(9, 16, 22, 0.74);
  backdrop-filter: blur(7px);
}

.getis-consult-popup__panel {
  position: relative;
  z-index: 1 !important;
  width: min(1180px, calc(100vw - 64px));
  max-height: min(860px, calc(100vh - 64px));
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(420px, 0.92fr);
  overflow: hidden;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.32);
}

.getis-consult-popup__close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  padding: 0;
  margin: 0;
  cursor: pointer;
  background: #f0f0f0;
  color: #27272d;
  box-shadow: none;
}

.getis-consult-popup__close span,
.getis-consult-popup__close span::after {
  width: 24px;
  height: 3px;
  display: block;
  border-radius: 999px;
  background: currentColor;
}

.getis-consult-popup__close span {
  transform: rotate(45deg);
}

.getis-consult-popup__close span::after {
  content: "";
  transform: rotate(90deg);
}

.getis-consult-popup__media {
  min-height: 640px;
  background: #f1f1ee;
}

.getis-consult-popup__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.getis-consult-popup__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 72px 52px 52px;
  color: #1e1d2f;
}

.getis-consult-popup__badge {
  align-self: flex-start;
  margin: 0 0 24px;
  padding: 10px 20px;
  border-radius: 999px;
  background: #edf2f6;
  color: #00578f;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.getis-consult-popup__title {
  margin: 0 0 20px;
  color: #1d1b31;
  font-size: 34px;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: 0;
}

.getis-consult-popup__description {
  margin: 0 0 32px;
  color: #676767;
  font-size: 19px;
  line-height: 1.5;
}

.getis-consult-popup__form,
.getis-consult-popup__cf7 form {
  display: grid;
  gap: 14px;
  margin: 0;
}

.getis-consult-popup__form input,
.getis-consult-popup__form select,
.getis-consult-popup__form textarea,
.getis-consult-popup__cf7 input,
.getis-consult-popup__cf7 select,
.getis-consult-popup__cf7 textarea {
  width: 100%;
  min-height: 56px;
  border: 1px solid #d8d8d8;
  border-radius: 10px;
  padding: 0 20px;
  background: #ffffff;
  color: #2f2f36;
  font: inherit;
  font-size: 18px;
  line-height: 1.3;
  box-shadow: none;
  outline: none;
}

.getis-consult-popup__form textarea,
.getis-consult-popup__cf7 textarea {
  min-height: 104px;
  padding-top: 16px;
  resize: vertical;
}

.getis-consult-popup__form input:focus,
.getis-consult-popup__form select:focus,
.getis-consult-popup__form textarea:focus,
.getis-consult-popup__cf7 input:focus,
.getis-consult-popup__cf7 select:focus,
.getis-consult-popup__cf7 textarea:focus {
  border-color: #075d97;
  box-shadow: 0 0 0 3px rgba(7, 93, 151, 0.14);
}

.getis-consult-popup__form button[type="submit"],
.getis-consult-popup__cf7 input[type="submit"],
.getis-consult-popup__cf7 button[type="submit"] {
  width: 100%;
  min-height: 60px;
  border: 0;
  border-radius: 10px;
  padding: 0 24px;
  margin: 4px 0 0;
  cursor: pointer;
  background: #075b93;
  color: #ffffff;
  font: inherit;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: none;
}

.getis-consult-popup__form button[type="submit"]:disabled,
.getis-consult-popup__cf7 input[type="submit"]:disabled,
.getis-consult-popup__cf7 button[type="submit"]:disabled {
  cursor: wait;
  opacity: 0.72;
}

.getis-consult-popup__cf7 p,
.getis-consult-popup__cf7 .column {
  width: 100%;
  margin: 0;
}

.getis-consult-popup__cf7 .wpcf7-form-control-wrap {
  display: block;
}

.getis-consult-popup__cf7 .wpcf7-spinner {
  position: absolute;
}

.getis-consult-popup__cf7 .wpcf7-not-valid-tip,
.getis-consult-popup__cf7 .wpcf7-response-output {
  margin: 6px 0 0;
  border: 0;
  padding: 0;
  color: #b42318;
  font-size: 13px;
  line-height: 1.35;
}

.getis-consult-popup__cf7 .wpcf7 form.sent .wpcf7-response-output {
  color: #075b93;
}

.getis-consult-popup__status {
  min-height: 20px;
  margin: 0;
  color: #075b93;
  font-size: 14px;
  line-height: 1.4;
}

.getis-consult-popup__status.is-error {
  color: #b42318;
}

.getis-consult-popup__phone {
  margin: 8px 0 0;
  color: #737373;
  text-align: center;
  font-size: 18px;
  line-height: 1.4;
}

.getis-consult-popup__phone a {
  color: #075b93;
  font-weight: 800;
  text-decoration: none;
}

body.getis-consult-popup-is-open {
  overflow: hidden;
}

@media (max-width: 900px) {
  .getis-consult-popup {
    align-items: end;
    padding: 12px;
  }

  .getis-consult-popup__panel {
    width: 100%;
    max-height: calc(100vh - 24px);
    grid-template-columns: 1fr;
    overflow-y: auto;
    border-radius: 18px;
  }

  .getis-consult-popup__media {
    min-height: 220px;
    max-height: 32vh;
  }

  .getis-consult-popup__body {
    padding: 28px 20px 24px;
  }

  .getis-consult-popup__close {
    top: 12px;
    right: 12px;
    width: 44px;
    height: 44px;
  }

  .getis-consult-popup__badge {
    margin-bottom: 16px;
    padding: 8px 14px;
    font-size: 12px;
    letter-spacing: 1.5px;
  }

  .getis-consult-popup__title {
    margin-bottom: 12px;
    font-size: 25px;
    line-height: 1.18;
  }

  .getis-consult-popup__description {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.45;
  }

  .getis-consult-popup__form {
    gap: 11px;
  }

  .getis-consult-popup__cf7 form {
    gap: 11px;
  }

  .getis-consult-popup__form input,
  .getis-consult-popup__form select,
  .getis-consult-popup__form textarea,
  .getis-consult-popup__cf7 input,
  .getis-consult-popup__cf7 select,
  .getis-consult-popup__cf7 textarea {
    min-height: 50px;
    border-radius: 9px;
    padding-left: 14px;
    padding-right: 14px;
    font-size: 16px;
  }

  .getis-consult-popup__form textarea {
    min-height: 92px;
  }

  .getis-consult-popup__form button[type="submit"],
  .getis-consult-popup__cf7 input[type="submit"],
  .getis-consult-popup__cf7 button[type="submit"] {
    min-height: 54px;
    font-size: 15px;
  }

  .getis-consult-popup__phone {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .getis-consult-popup__media {
    display: none;
  }

  .getis-consult-popup__body {
    padding-top: 58px;
  }
}
