.lead-form .form-status.is-visible {
  position: absolute;
  left: 0;
  top: 232px;
  display: block;
  width: min(430px, 100%);
  color: #fff;
  font-size: 14px;
  line-height: 1.2;
}
@media (min-width: 1280px) {
  .lead-form .form-status.is-visible { left: 583px; width: 400px; }
}
@media (min-width: 901px) and (max-width: 1279px) {
  .lead-form .form-status.is-visible { left: 47vw; width: calc(45vw - 20px); }
}
@media (min-width: 768px) and (max-width: 900px) {
  .lead-form .form-status.is-visible { top: 226px; }
}
.consent-check.is-invalid .checkbox-ui {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.grecha-success-screen {
  position: fixed;
  inset: 0;
  width: 100vw;
  max-width: none;
  height: 100vh;
  height: 100lvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: #fff;
  color: #111;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.grecha-success-screen::backdrop { background: #fff; }
.grecha-success-layout {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  width: min(100%, 1300px);
  min-height: 100%;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 52px);
}
.grecha-success-top { display: flex; align-items: flex-start; justify-content: space-between; }
.grecha-success-logo { position: relative; display: block; width: 56px; height: 58px; }
.grecha-success-logo img { position: absolute; display: block; object-fit: contain; }
.grecha-success-logo img:nth-child(1) { left: 17px; top: 0; width: 22px; height: 25px; }
.grecha-success-logo img:nth-child(2) { left: 0; top: 22px; width: 30px; height: 34px; }
.grecha-success-logo img:nth-child(3) { left: 26px; top: 22px; width: 30px; height: 34px; }
.grecha-success-close {
  padding: 5px 0;
  border: 0;
  background: transparent;
  color: #111;
  font: inherit;
  font-size: 18px;
  cursor: pointer;
}
.grecha-success-main { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 48px 0; }
.grecha-success-main h2 {
  max-width: 1000px;
  margin: 0;
  font-size: clamp(52px, 10vw, 144px);
  font-weight: 400;
  line-height: .9;
  letter-spacing: -.065em;
}
.grecha-success-main h2:focus { outline: none; }
.grecha-success-mobile-break, .grecha-success-mobile-smile { display: none; }
.grecha-success-main p { margin: 28px 0 0; font-size: clamp(20px, 2vw, 28px); line-height: 1.1; }
.grecha-success-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.grecha-success-actions p { margin: 0; font-size: clamp(17px, 1.8vw, 24px); line-height: 1.1; }
.grecha-success-telegram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  background: #229ed9;
  color: #fff;
  text-decoration: none;
  font-size: 17px;
  transition: background-color .2s ease, transform .2s ease;
}
.grecha-success-telegram img { display: block; width: 22px; height: 22px; object-fit: contain; }
.grecha-success-telegram:hover { background: #1688be; transform: translateY(-2px); }
.grecha-success-close:focus-visible,
.grecha-success-telegram:focus-visible { outline: 2px solid #111; outline-offset: 4px; }
@media (max-width: 767px) {
  .lead-form .form-status.is-visible { position: static; width: 100%; margin-top: 18px; }
  .grecha-success-layout { min-height: 100dvh; padding: 24px 20px calc(32px + env(safe-area-inset-bottom)); }
  .grecha-success-logo { transform: scale(.82); transform-origin: top left; }
  .grecha-success-close { font-size: 16px; }
  .grecha-success-main { padding: 60px 0; }
  .grecha-success-main h2 { font-size: clamp(34px, 11.5vw, 64px); white-space: nowrap; }
  .grecha-success-desktop-break { display: none; }
  .grecha-success-mobile-break { display: block; }
  .grecha-success-mobile-smile { display: inline; }
  .grecha-success-actions { gap: 16px; }
}
